Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live coding: making music with code

Curious?

We work with code every day, but music is also built on patterns and logical structures. In this live demo I'll show how we can generate music directly in the browser using only code, and how musical ideas like rhythm, harmony, and progression can be expressed through simple logic and repetition.


What you need

  • A PC with a modern browser (Chrome or Firefox recommended)
  • Speakers or headphones
  • strudel.cc — no installation required, runs entirely in the browser

References


Outline

1. Piano: Notes

Start with the basics — play a melody using note names and numbers on a piano sound. Introduce sequences, rhythm, and how notes map to pitches.

2. Arpeggio

Turn the notes into an arpeggio — a rapid succession of individual notes from a chord. Show how speed, repetition, and pattern structure create movement.

3. Strings: Chords

Introduce a second layer using a strings sound playing chords. Show how multiple notes played together create harmony.

4. Arpeggio and Strings Together — Transposing

Combine both layers and play them simultaneously. Show how to transpose the pattern — shifting all notes up or down — to create chord progressions.

5. Effects and Filters

Shape the sound with effects: low-pass filter to add warmth or brightness, reverb for space, delay for echo. Show how effects bring the music to life.

6. LFO-like Effects

Make effects move over time using signals like sine and saw. Automate filter cutoffs, gain, and other parameters to create evolving, breathing textures.

7. Drums: Pattern, Sounds, Compression

Add the rhythm section — build a drum pattern from scratch, swap drum machine sounds, and use gain to add dynamics and punch.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages