GitHub - vakofmaya/BreathOfStrudle: A Complete A -to- Final Track Course designed for Strudle. From Sound Desing, music theory to building tracks..

GitHub

25 min read Original article β†—

Breath of Strudel

🌬️ Breath of Strudel

v0.2.0

GitHub tag License: CC BY 4.0 Platform Modules Difficulty Browser Based Made with Live Coding GitHub stars Chat on Matrix

A Complete Sound Design & Music Production Course

From your first sound to a finished Minimal Techno track β€” entirely in your browser.


Sound Design Β· Music Theory Β· Pattern Composition Β· Live Performance


Acknowledgements

This course wouldn't exist without the people who built the instruments and the community that plays them.

πŸ™ James McCartney β€” creator of SuperCollider, the open-source audio engine that started it all. The foundation upon which so much of computer music stands.

πŸ™ Felix Roos and the Strudel community β€” for building Strudel and making live coding accessible to anyone with a browser. And to Alex McLean and the TidalCycles project that inspired it.

πŸ™ The live coding music community β€” algorave performers, TOPLAP members, and creative coders around the world who proved that code can be an instrument, a performance, and an art form.

πŸ™ Switch Angel β€” live coding artist whose performances were a direct inspiration for this course. Proof that minimal tools and maximal creativity can move a room.


Philosophy

"Music is the space between the notes." β€” Claude Debussy

Electronic music didn't begin in a Berlin nightclub. It began wherever someone first asked: can a machine make sound that moves people?

The lineage is global. In the 1940s and 50s, musique concrète (Paris) and elektronische Musik (Cologne) proved that recorded and synthesized sound could be art. By the 1960s, Robert Moog's synthesizer put those sounds into the hands of musicians. Kraftwerk fused it with pop. Detroit techno gave it soul. And the dance floor became a laboratory.

India was there from the start. In the late 1960s, the National Institute of Design (NID) in Ahmedabad built one of the country's first electronic music studios, where composers like Gita Sarabhai, I.S. Mathur, and Jinraj Joshipura experimented with Moog synthesizers and tape machines β€” work recently rediscovered and released as the NID Tapes: Electronic Music from India 1969–1972. In 1982, Charanjit Singh released Ten Ragas to a Disco Beat, an album that fused Indian classical ragas with the Roland TB-303 β€” predating acid house by half a decade and now considered a proto-acid house classic worldwide.

Then came live coding. The idea that writing code could be a performance β€” improvised, visible, vulnerable β€” emerged from the academic fringes (TOPLAP, founded 2004) and grew into Algorave, a global movement where programmers make music for dance floors in real time. The tools followed: TidalCycles (Haskell, by Alex McLean), Sonic Pi, FoxDot, and finally Strudel β€” which brought it all into the browser with zero setup.

India embraced it. In 2018, Algorave India β€” founded by Abhinay Khoparzi and Dhanya Pilo β€” began organizing live coding concerts, workshops, and community events across the country, bridging computational art with India's deep musical traditions. Today, Indian live coders perform with Strudel, TidalCycles, and SuperCollider at venues and festivals that didn't exist a decade ago.

This course exists at the intersection of all these threads: the experimental spirit of the NID studio, the rhythmic sophistication of Indian music, the radical transparency of live coding, and the accessibility of the browser. You're not just learning a tool β€” you're joining a lineage.


Breath of Strudel is a self-paced course that takes you from absolute zero to performing and producing complete electronic music β€” using nothing but Strudel, a free, browser-based live coding environment. No software to install. No plugins to buy. Just open a tab and start making music.

The course covers four pillars that every electronic musician needs: the tools to make sound, the theory to understand it, the design to shape it, and the structure to arrange it into something people want to listen to.

By the end, you'll have built a full Minimal Techno track from scratch and have the skills to perform it live.


Who This Course Is For

You belong here if any of these describe you:

  • 🎡 Complete beginners β€” you've never made electronic music before
  • πŸ’» Programmers curious about music β€” you know code but not chords
  • 🎹 Musicians new to live coding β€” you make music but want to try a code-based approach
  • 🎧 Techno fans who want to understand how their favourite tracks are built

Note

No prior music knowledge is required. This course teaches music theory as you need it β€” intervals, scales, chords, arrangement β€” all in context, all with immediately audible results.


What You'll Need

Requirement Details
Browser Chromium-based (Chrome, Brave, Edge) recommended for best audio performance
Headphones Any headphones β€” you need to hear low frequencies clearly
Time ~2–4 hours per module, self-paced
That's it No DAW, no plugins, no installs, no money. Just strudel.cc

The Four Pillars

This course doesn't just teach you Strudel β€” it builds four essential skills that transfer to any music production environment.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   πŸ”§ TOOLS  β”‚  β”‚  🎼 THEORY  β”‚  β”‚  πŸŽ›οΈ DESIGN  β”‚  β”‚  πŸ—οΈ ARRANGE β”‚
β”‚             β”‚  β”‚             β”‚  β”‚             β”‚  β”‚             β”‚
β”‚ Strudel     β”‚  β”‚ Rhythm      β”‚  β”‚ Synthesis   β”‚  β”‚ Song parts  β”‚
β”‚ Mini-nota-  β”‚  β”‚ Scales      β”‚  β”‚ Sampling    β”‚  β”‚ Transitions β”‚
β”‚ tion        β”‚  β”‚ Chords      β”‚  β”‚ Effects     β”‚  β”‚ Energy      β”‚
β”‚ Patterns    β”‚  β”‚ Melody      β”‚  β”‚ Mixing      β”‚  β”‚ Performance β”‚
β”‚ Live coding β”‚  β”‚ Intervals   β”‚  β”‚ Layering    β”‚  β”‚ DJ workflow β”‚
β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
       β”‚                β”‚                β”‚                β”‚
       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                β”‚
                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    β”‚   🎡 YOUR MUSIC 🎡    β”‚
                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ”§ Tools β€” How to talk to the machine

The Strudel REPL, mini-notation, pattern language, $: labels, keyboard shortcuts, MIDI output, visual feedback. Everything you need to operate the instrument.

🎼 Theory β€” Why certain notes sound good together

Cycles and tempo, scales (minor, pentatonic, dorian, phrygian), intervals, chord construction, voicings, voice leading, transposition. Not "textbook theory" β€” practical theory that makes your music sound better, immediately.

πŸŽ›οΈ Design β€” How to sculpt sound

Oscillators, filters, envelopes, FM synthesis, wavetables, samples, drum machines, effects (delay, reverb, distortion, sidechain), dynamics (compression, gain staging). You'll design every sound from scratch.

πŸ—οΈ Arrangement β€” How to turn loops into music

Song structure (intro, build, drop, breakdown, outro), transitions (filter sweeps, risers, fades), energy dynamics, layering constructs (stack, cat, arrange), and live performance workflow.


How to Use This Course

The Learning Path

Each module builds on the previous ones. Follow them in order your first time through:

Module 1    The Strudel Environment              ← Start here         ~1 hour
   ↓
Module 2    Cycles, Tempo & Mini-Notation        ← Understand time    ~2 hours
   ↓
Module 3    Synths & Oscillators                 ← Make raw sounds    ~2 hours
   ↓
Module 4    Subtractive Synthesis                ← Shape sounds       ~3 hours
   ↓
Module 5    Samples & Drum Machines              ← Pre-made sounds    ~2 hours
   ↓
Module 6    Envelopes & Dynamics                 ← Control over time  ~3 hours
   ↓
Module 7    Building Core Sounds                 ← Design elements    ~2 hours
   ↓
Module 8    Writing Chords & Melodies            ← Harmony & melody   ~3 hours
   ↓
Module 9    Effects & Spatial Processing         ← Space & depth      ~3 hours
   ↓
Module 10   Pattern Manipulation & Variation     ← Evolve patterns    ~3 hours
   ↓
Module 11   Structuring a Full Track             ← Arrange a song     ~2 hours
   ↓
Module 12   Live Performance Techniques          ← Perform live       ~2 hours
   ↓
Final Project  Build a Complete Track            ← Put it together    ~4 hours

Total: ~32 hours of hands-on learning. Most modules can be completed in one session.

Tips for Beginners

Tip

Paste and play first, understand second. Every code example in this course can be copied directly into strudel.cc. Press Ctrl+Enter and listen. Then read the explanation. Your ears will teach you faster than your eyes.

Tip

Change one thing at a time. See a number in a code example? Change it. Listen to what happens. Change it back. This is the fastest way to build intuition for what every parameter does.

Tip

Don't skip the exercises. Each module ends with practice challenges. These aren't homework β€” they're where the real learning happens. The solutions are hidden behind <details> dropdowns if you get stuck.

Tip

It's okay to sound bad. Your first sounds will be rough. That's normal. Every producer's first kick sounded terrible. The course takes you from terrible to polished β€” trust the process.


Skills You'll Gain

By the time you complete this course, you'll be able to:

Skill What You Can Do Module(s)
Operate Strudel Navigate the REPL, evaluate code, use shortcuts 1, 2
Write rhythmic patterns Mini-notation, Euclidean rhythms, polyrhythms 2
Synthesize sounds Oscillators, FM synthesis, wavetables, noise 3
Shape timbres Subtractive filtering (LPF/HPF/BPF), resonance, vowel 4
Use samples Load, select, manipulate (chop/slice/splice/granular) 5
Control dynamics ADSR envelopes, pitch envelopes, compression 6
Design individual sounds Kick drums, bass, pads, leads, hi-hats, percussion 7
Write harmony Scales, chords, voicings, progressions, arpeggios 8
Compose melodies Scale degrees, generative patterns, transposition 8
Apply effects Delay, reverb, distortion, phaser, panning 9
Create the techno pump Sidechain ducking with orbits 9
Make patterns evolve Time modifiers, probability, signals, conditional logic 10
Structure a song Intro β†’ build β†’ drop β†’ breakdown β†’ outro 11
Perform live Real-time modification, error recovery, MIDI output 12
Produce a full track A complete Minimal Techno track from scratch Final

Course Modules

Part I β€” Foundations

Learn the instrument and the language it speaks.

πŸ“

Module 1 β€” The Strudel Environment

What Strudel is, how it works, the REPL interface, your very first sound. If you've never opened Strudel before, start here.

πŸ•

Module 2 β€” Cycles, Tempo & Mini-Notation

How Strudel thinks about time (cycles, not bars). Setting tempo with setcpm(). The complete mini-notation syntax β€” sequences, rests, subdivision, multiplication, Euclidean rhythms. This is the grammar of everything that follows.


Part II β€” Sound Creation

Understand how electronic sound is made and shaped.

πŸ”Š

Module 3 β€” Synths & Oscillators

The four basic waveforms (sine, saw, square, triangle), noise sources, FM synthesis, and wavetable synthesis. Practical recipes for techno sounds.

πŸŽ›οΈ

Module 4 β€” Subtractive Synthesis

Filters (LPF, HPF, BPF, Vowel), resonance, filter types (12db, ladder, 24db), filter envelopes. The most important sound-shaping technique in electronic music.

πŸ₯

Module 5 β€” Samples & Drum Machines

Default samples, classic drum machine banks (TR-808, TR-909, CR-78, LinnDrum), sample selection, cut groups, custom loading, and granular techniques (chop, slice, splice).

πŸ“ˆ

Module 6 β€” Envelopes & Dynamics

ADSR amplitude envelopes, pitch envelopes (for kick drum design), filter envelopes, dynamics control with gain, velocity, and compression. How sound changes over time.


Part III β€” Sound Design & Music Theory

Design the sounds, write the notes. This is where loops become music.

🎨

Module 7 β€” Building Core Sounds

Step-by-step design of every element in a techno track: kick (3 approaches), hi-hat, clap, bass (5 styles), pad (5 styles), lead (5 styles), percussion, and texture. Includes a complete palette playing all elements together.

🎹

Module 8 β€” Writing Chords & Melodies

Note names, MIDI numbers, and scale degrees. Scales for techno. Chord progressions with chord().voicing(). Arpeggios. Melody writing (manual, scale-based, generative). Transposition. Music theory made practical.


Part IV β€” Effects & Evolution

Add space, depth, and movement. Make your patterns breathe.

🌊

Module 9 β€” Effects & Spatial Processing

Delay (with tempo sync), reverb (shaping and recipes), orbits for independent buses, distortion, bit crush, phaser, tremolo. Sidechain ducking β€” the defining effect of Minimal Techno. Panning and stereo width.

πŸ”„

Module 10 β€” Pattern Manipulation & Variation

Time modifiers (slow, fast, rev, iter, ply), swing, random modifiers (sometimes, rarely, degrade), conditional modifiers (lastOf, when, chunk), continuous signals (sine, saw, perlin) for modulation, and layering constructs (stack, cat, arrange). Turn static loops into living music.


Part V β€” Arrangement & Performance

Turn your sounds into a track. Then perform it.

πŸ—οΈ

Module 11 β€” Structuring a Full Track

Minimal Techno arrangement (intro β†’ build β†’ main β†’ breakdown β†’ drop β†’ outro). Three arrangement methods: arrange(), cat(), $: additive. Transition techniques: filter sweeps, reverb washes, risers, snare rolls. A complete scripted ~4-minute track.

🎀

Module 12 β€” Live Performance Techniques

The $: pattern system, phased performance workflow, real-time modification techniques, muting and hush, MIDI/OSC output, error recovery, and a complete performance template. A performance checklist for before every set.


🎯 Final Project

Everything comes together.

🏁

Final Project β€” Building a Complete Minimal Techno Track

A guided, research-informed walkthrough of building a complete track called "Pulse". Includes analysis of what makes great minimal techno (Robert Hood, Richie Hawtin, Ricardo Villalobos), 7 production rules, element-by-element sound design with rationale for every parameter, a full scripted arrangement (~144 bars), a live performance template, and a customization guide to make the track your own.


Quick-Start: Your First 5 Minutes

If you want to hear something right now, do this:

1. Open strudel.cc

2. Delete everything in the editor and paste this:

setcpm(128/4)
s("bd*4, hh*8, ~ cp ~ cp").bank("RolandTR909")

3. Press Ctrl+Enter (or click Play)

You just made a techno beat. The kick (bd) hits 4 times per cycle. Hi-hats (hh) hit 8 times. The clap (cp) hits on beats 2 and 4. All from a single line of code.

4. Now paste this and press Ctrl+Enter:

setcpm(128/4)

$: s("bd*4").bank("RolandTR909")
$: s("hh*16").bank("RolandTR909").gain(".5 .3 .8 .3").hpf(6000)
$: s("~ cp ~ cp").bank("RolandTR909").room(0.15)
$: note("[c2 c2 <eb2 f2> c2]*2").s("sawtooth")
  .lpf(400).lpq(12).ftype("ladder")
  .decay(0.2).sustain(0)
$: note("<[c4,eb4,g4] [bb3,d4,f4]>").s("sawtooth")
  .lpf(2000).attack(0.3).release(1)
  .room(0.4).gain(0.2)

That's a full minimal techno groove β€” kick, hi-hats, clap, acid bass, and a dark chord pad β€” in 10 lines of code. This is what you'll learn to build from scratch.

5. Press Ctrl+. to stop. Start Module 1.


The Final Track: A Preview

Here's a taste of what you'll build by the end of the course. This is the "Pulse" track from the Final Project β€” a complete, self-contained Minimal Techno track:

// ╔═══════════════════════════════════════════════════╗
// β•‘             " P U L S E "                         β•‘
// β•‘      Minimal Techno β€” 128 BPM β€” C minor           β•‘
// β•‘      Built in Breath of Strudel                   β•‘
// β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

setcpm(128/4)

$: note("c1!4").s("sine")
  .penv(24).pdecay(.05).decay(.35).sustain(0)
  .distort("1.2:.6").gain(0.85)

$: s("[hh hh hh hh hh hh hh <hh oh>]*2")
  .bank("RolandTR909")
  .gain(".5 .3 .7 .3 .5 .3 1 .3")
  .hpf(6000).swingBy(1/6, 4).cut(1)

$: s("~ <cp cp cp [cp cp]> ~ <cp [~ sd]>")
  .bank("RolandTR909")
  .room(0.12).roomsize(0.25).gain(0.65).orbit(1)

$: s("rim(5,16)").bank("RolandTR909")
  .gain(0.28).pan(rand)
  .delay(0.15).delaytime(0.1875).delayfeedback(0.3)
  .iter(4)

$: note("<c2!8 f2!8>").s("sawtooth")
  .lpf(350).lpq(14)
  .lpenv(4).lpa(0.005).lpd(0.10).lps(0)
  .ftype("ladder")
  .decay(0.18).sustain(0).release(0.03).gain(0.55)

$: chord("<Cm!2 Fm!2 Ab!2 Bb!2>").voicing()
  .s("sawtooth")
  .lpf(sine.range(1000, 2800).slow(16)).lpq(2)
  .attack(0.5).decay(1.0).sustain(0.5).release(1.5)
  .room(0.45).roomsize(0.65).roomlp(3000)
  .gain(0.22).orbit(2)

$: s("bd*4").bank("RolandTR909")
  .duckorbit(2).duckattack(0.2).duckdepth(1).gain(0)

$: n("<0 ~ 4 ~ , ~ 2 ~ 5>")
  .scale("C4:minor:pentatonic").s("triangle")
  .lpf(3500).decay(0.12).sustain(0).release(0.08)
  .delay(0.45).delaytime(0.1875).delayfeedback(0.55)
  .pan(sine.range(0.3, 0.7).slow(4))
  .degradeBy(0.25).gain(0.25)

$: s("crackle*2").density(0.03).gain(0.08)

Copy-paste into strudel.cc and hit Play. This is what ~30 lines of code sounds like when every parameter is intentional.


Appendices

A. Strudel Keyboard Shortcuts

Shortcut Action
Ctrl+Enter Evaluate all code β€” your "play/update" button
Ctrl+. Hush β€” stop all sound instantly (emergency stop)

Note: Strudel evaluates all code at once β€” there is no block evaluation shortcut. To selectively mute parts, prefix a $: pattern with _ (e.g. _$: s("hh*8")) to silence it.

B. Common Drum Machine Banks

Bank Name Era Character Best For
RolandTR808 1980 Boomy, deep, long decay Hip-hop, electro, deep techno
RolandTR909 1983 Punchy, snappy, bright House, techno (industry standard)
rolandcompurhythm78 1978 Vintage, lo-fi, organic Retro, minimal
LinnDrum 1982 Clean, crisp, 80s pop Synthwave, electro
AkaiXR10 1988 Raw, industrial Dark techno, industrial

C. Scales Reference for Techno

Scale Strudel Name Character When to Use
Natural Minor C:minor Dark, classic Standard dark techno
Minor Pentatonic C:minor:pentatonic Safe, melodic Melodies β€” can't go wrong
Dorian C:dorian Slightly brighter minor Groovier, warmer techno
Phrygian C:phrygian Dark, Eastern Tension, exotic mood
Harmonic Minor C:harmonic:minor Dramatic Builds, cinematic drops
Whole Tone C:whole:tone Dreamy, floating Breakdowns, transitions
Lydian C:lydian Bright, ethereal Melodic techno
Chromatic C:chromatic All 12 notes Experimental, atonal

D. Quick Reference β€” Essential Functions

Category Functions
Sound s(), note(), n(), .scale(), .bank()
Filters .lpf(), .hpf(), .bpf(), .vowel(), .lpq(), .ftype()
Envelopes .attack(), .decay(), .sustain(), .release()
Filter Env .lpenv(), .lpa(), .lpd(), .lps()
Pitch Env .penv(), .pdecay()
Volume .gain(), .velocity(), .compressor()
Effects .delay(), .room(), .roomsize(), .distort(), .crush(), .phaser()
Sidechain .duckorbit(), .duckattack(), .duckdepth()
Stereo .pan(), .jux(), .juxBy()
FM Synth .fm(), .fmh(), .fmdecay(), .fmsustain()
Time .slow(), .fast(), .rev(), .iter(), .ply(), .palindrome()
Random .sometimes(), .often(), .rarely(), .degrade(), .degradeBy()
Conditional .lastOf(), .firstOf(), .when(), .chunk()
Signals sine, cosine, saw, tri, square, rand, irand, perlin
Structure stack(), cat(), arrange(), $:
Layer/Copy .superimpose(), .off()
Chords chord(), .voicing(), .transpose(), .scaleTranspose()
Samples .begin(), .end(), .speed(), .chop(), .slice(), .splice(), .cut()
Tempo setcpm(), setcps(), .cpm()
Swing .swingBy()
Control hush, ._scope()
I/O .midi(), .osc()

E. Resources

Resource Link
Strudel REPL strudel.cc
Official Docs strudel.cc/learn/getting-started
Workshop strudel.cc/workshop/first-sounds
Patterns strudel.cc/learn/mini-notation
Source Code github.com/tidalcycles/strudel
TidalCycles tidalcycles.org
AKWF Wavetables adventurekid.se

F. Mixing & Gain Staging

Good mixing is about balance β€” ensuring every element occupies its own space without fighting others. Here's a starting-point gain structure for Minimal Techno:

Element Typical Gain Why
Kick 0.80–0.90 Loudest element. The anchor everything else is mixed around.
Clap/Snare 0.60–0.70 Clearly audible but not dominant
Bass 0.50–0.60 Felt more than heard β€” keep below kick
Hi-Hats 0.30–0.50 Groove, not attack. Let accent patterns provide dynamics
Pad 0.20–0.30 Atmospheric β€” felt, not focused on
Lead/Melody 0.20–0.30 Sparse notes + delay fill the space
Percussion 0.25–0.35 Texture layer, not competing
Texture 0.05–0.10 Almost subliminal β€” adds warmth/air

Key principles:

  • Start with the kick β€” set it at ~0.85, then mix everything else relative to it
  • Sum it mentally β€” 8 elements at high gain will clip. Keep non-kick elements moderate
  • HPF everything except kick and bass β€” .hpf(200) on pads, .hpf(6000) on hats removes low-end competition
  • If it sounds muddy, turn something down rather than turning the kick up
  • Test on headphones AND speakers β€” what sounds balanced on studio monitors may lack bass on earbuds

G. Genre Variations

The skills in this course transfer to other genres. Here's how to adapt the Final Project:

Deep House (118–122 BPM)

setcpm(120/4)
// Slower, warmer. Use TR-808 kick, triangle bass, major chords
  • Tempo: setcpm(120/4) instead of setcpm(128/4)
  • Kick: .bank("RolandTR808") for deep, boomy character
  • Bass: triangle instead of sawtooth, shorter filter envelope
  • Chords: Major or dominant 7th progressions

Dub Techno (120–130 BPM)

// Heavy reverb, long delays, stripped percussion
.room(0.8).roomsize(0.95).roomlp(2000)
.delay(0.6).delaytime(0.375).delayfeedback(0.7)
  • Effects: Much more reverb and delay on everything
  • Percussion: Minimal β€” kick + sparse hats only
  • Chords: Short stabs with long reverb tails

Ambient (no fixed tempo)

setcps(0.1)  // very slow
// No kick. Generative melodies. Long pads. Focus on texture.
  • Remove the kick entirely
  • Long attack/release on everything
  • Use perlin signals for slow, organic evolution
  • Generative melodies with irand and heavy delay

Drum & Bass (170–180 BPM)

setcpm(174/4)
// Breakbeat patterns, fast bass, Amen break slicing
  • Tempo: setcpm(174/4) β€” much faster
  • Drums: Use slice() on breakbeats instead of individual hits
  • Bass: Heavier, with more distort() and faster filter envelopes

H. Glossary

Term Definition
ADSR Attack, Decay, Sustain, Release β€” the four phases of an envelope
BPM Beats Per Minute β€” the tempo of a track
Cutoff The frequency at which a filter begins attenuating sound
Cycle Strudel's fundamental time unit β€” one complete pass through a pattern
DAW Digital Audio Workstation (Ableton, FL Studio, etc.)
Envelope A shape that controls how a parameter changes over a note's lifetime
Filter Removes frequencies from a sound (LPF, HPF, BPF)
FM Synthesis Frequency Modulation β€” using one oscillator to modulate another's pitch
Formant Resonant frequencies of the human vocal tract (used in vowel filters)
Harmonics Overtones above the fundamental frequency that define timbre
LFO Low Frequency Oscillator β€” a signal used for modulation, not audio
Mini-notation Strudel's text-based pattern language inside quote marks
Orbit An independent audio bus with its own effects chain
Oscillator A circuit/algorithm that generates a repeating waveform
Resonance (Q) Boost at a filter's cutoff point β€” adds character and "squelch"
REPL Read-Eval-Print Loop β€” the interactive editor where you write code
Sample A short recording of sound, played back by a sampler
Sidechain Ducking one sound's volume in response to another (the "pump")
Subtractive Synthesis Starting with a harmonically rich sound and filtering to shape it
Timbre The tonal "color" or character of a sound (what makes a saw β‰  sine)
Transient The initial attack/click of a sound
Wavetable A single-cycle waveform looped to produce a pitched tone

I. Recording & Exporting Your Music

Strudel runs in the browser and doesn't have a built-in "export to WAV" button. Here's how to capture your work:

Method 1: Browser Audio Recording (Simplest)

  • Use a browser extension like Chrome Audio Capture to record the tab's audio output directly
  • Or use OBS Studio (free) to capture system audio

Method 2: Screen Recording

  • Use OBS or your OS's built-in screen recorder to capture both audio and the visual code performance
  • Great for sharing live coding sets on YouTube/social media

Method 3: Strudel's Share URL

  • Click Share in the Strudel toolbar to generate a URL that encodes your entire code
  • Anyone with the URL can open and play your exact pattern
  • No audio file, but the code IS the music

Method 4: MIDI to a DAW

  • Use .midi() to send your patterns to a DAW (Ableton, Reaper, etc.) via a virtual MIDI bus
  • Record the MIDI and render audio in the DAW with your own synth plugins
  • Best for production-quality output

J. Concept Cross-Reference

Looking for where a concept is first introduced vs. fully explained?

Concept Introduced Full Coverage
Cycles & tempo Module 1 (briefly) Module 2
Mini-notation Module 1 (basics) Module 2 (complete)
Oscillators / waveforms Module 3 Module 3
Filters (LPF/HPF/BPF) Module 4 Module 4
Filter envelopes Module 4 Module 6 (deep dive)
Pitch envelopes Module 3 (recipe) Module 6 (full)
ADSR envelopes Module 3 (used) Module 6 (explained)
Samples & .bank() Module 1 (preview) Module 5
Kick drum design Module 3 (recipe) Module 7 (3 approaches)
Sidechain ducking Module 7 (preview) Module 9 (full)
Scales & chords Module 3 (basics) Module 8 (complete)
Delay & reverb Module 7 (used) Module 9 (full)
Pattern modifiers Module 2 (EuclideanM) Module 10 (complete)
superimpose & off β€” Module 10
Track arrangement β€” Module 11
Live performance β€” Module 12
MIDI output β€” Module 12

K. The Theory of Perfect Chords

β†’ Appendix K β€” The Theory of Perfect Chords

A deep dive into the music theory behind building chords that work β€” from the physics of why certain notes sound good together (overtone series, consonance, beating frequencies), through triads, seventh chords, extended harmony, inversions, and voicing techniques (close, open, drop-2), to genre-specific chord recipes for Minimal Techno, Deep House, Dub Techno, Ambient, Melodic Techno, Trance, Drum & Bass, Acid House, and Lo-Fi. Includes complete Strudel code examples, a guide to building custom voicing dictionaries with addVoicings(), chord design techniques (layering, detuning, sidechain), and 5 graded practice challenges.


L. The Art of Scales

β†’ Appendix L β€” The Art of Scales

Everything you need to know about musical scales β€” how they're built, why each mode sounds different, and how to choose the right one for your track. Covers all 7 modes in depth (Ionian through Locrian), the minor scale family (natural, harmonic, melodic), pentatonic and blues scales, 14+ exotic scales from around the world (Hirajoshi, Hungarian Minor, Phrygian Dominant, Bhairav, whole tone, diminished, and more), a mood-based decision framework for scale selection, genre-specific recipes for 7 electronic genres, the complete 80+ Strudel scale reference, and advanced techniques like scale switching and layering.


M. The Craft of Melody

β†’ Appendix M β€” The Craft of Melody

How to write melodies that work β€” from the five elements of a strong melody (contour, rhythm, repetition, variation, resolution) through motif development, stepwise motion vs. leaps, rhythmic techniques, tension and resolution arcs, call-and-response structures, and 8 generative melody methods in Strudel (irand, perlin, sine.segment, .iter(), .superimpose()). Includes genre-specific melody approaches for Minimal Techno, Melodic Techno, Ambient, Trance, Drum & Bass, and Acid, plus techniques for combining melody with effects and harmony.


N. The Science of Rhythm

β†’ Appendix N β€” The Science of Rhythm

Everything you need to know about drums and rhythm β€” from the physics of why beats make you move (entrainment, syncopation, micro-timing), through the 16th-note grid system, drum kit anatomy and frequency mapping, electronic adaptations of acoustic rudiments (paradiddles, flams, ghost notes, drags), four-on-the-floor and beyond (syncopated kicks, half-time, breakbeats), a complete Euclidean rhythm reference table with world music origins (tresillo, cinquillo, clave, Bossa Nova), velocity shaping and swing, polyrhythms and polymeters, hi-hat artistry, genre-specific drum recipes for 9 electronic genres (Minimal Techno, Deep House, Dub Techno, Acid House, Drum & Bass, Industrial Techno, Trance, Lo-Fi, Breakbeat), fill and transition techniques, and 5 graded practice challenges with working Strudel code.


πŸ“‹ Cheat Sheets

β†’ Beginner Cheat Sheet β€” All basic memory items required to perform live. Keyboard shortcuts, tempo setup, mini-notation, waveforms, drum banks, filters, envelopes, effects, chords, scales, sound design recipes, and common mistakes β€” in a quick-scan table format ordered by frequency of use.

β†’ Advanced Cheat Sheet β€” Advanced tough-to-remember items that make performing easy. Filter envelopes, FM synthesis parameters, sidechain ducking setup, continuous signal modulation, pattern manipulation (time/random/conditional modifiers), voicing system, transition techniques, arrangement structure, MIDI/OSC output, sample slicing, and performance power-move recipes ready to copy-paste.

β†’ Genre Alteration Cheat Sheet β€” How to transform the base Minimal Techno template into 11 different electronic genres. Each genre includes researched facts, origin story, sonic character, parameter comparison table, and a complete working Strudel setup: Deep House, Dub Techno, Acid House, Psytrance, Drum & Bass, Lo-Fi Hip Hop, Ambient, Synthwave, Melodic Techno, Trance, and Industrial Techno.

β†’ Song Starters Cheat Sheet β€” 25 ready-to-paste deep/minimal techno openers for when the audience walks in. Organized into 5 mood categories (Fog & Atmosphere, Pulse & Heartbeat, Deep Currents, Tension & Edge, Groove & Motion), each with an evocative name, minimum 3 elements, and variety across tempo, key, timbre, and effects. Includes a researched Song Starter Formula, a suggested 30–45 minute set flow, and a quick reference table.

🌬️

Music is just patterns in time. And time is just a cycle.

Open strudel.cc, follow the modules, and breathe your first sound into existence.


Breath of Strudel β€” A β†’ Z Electronic Music Production in the Browser


How to Contribute

This course is open source and grows with community input. Whether you spot a typo or want to write an entire new module β€” contributions are welcome.

Ways to Contribute

Contribution Description Difficulty
πŸ› Bug fixes & corrections Fix typos, broken code examples, inaccurate explanations Easy
πŸ“ Improve existing content Clarify confusing sections, add better examples, expand explanations Easy–Medium
🎯 New exercises & challenges Add practice problems to existing modules Medium
πŸ“¦ New sub-modules Add focused sections within existing modules (e.g., a granular synthesis deep-dive in Module 5) Medium
πŸ“š New appendices Self-contained reference material (e.g., Appendix N β€” MIDI Mapping, Appendix O β€” Wavetable Design) Medium–Hard
πŸ†• New modules Full teaching modules covering new topics (e.g., collaborative live coding, visual output with Hydra) Hard
🌍 Translations Translate modules into other languages Medium
🎨 Design & UX Improve README formatting, navigation, diagrams, or visual aids Easy–Medium

Pull Request Workflow

  1. Fork the repository
  2. Create a branch for your change:
    git checkout -b fix/module-3-typo
    # or
    git checkout -b feature/appendix-wavetable-design
    # or
    git checkout -b content/module-5-granular-section
  3. Make your changes β€” follow the existing style and structure
  4. Test all code examples β€” paste every code block into strudel.cc and verify it runs correctly
  5. Submit a Pull Request with a clear description of what you changed and why

Branch Naming Convention

Type Prefix Example
Bug fix / correction fix/ fix/module-8-chord-voicing
New content content/ content/module-5-granular-section
New module feature/ feature/module-13-collaborative-coding
New appendix feature/ feature/appendix-n-midi-mapping
Translation translate/ translate/module-1-spanish
Docs / formatting docs/ docs/readme-navigation

Guidelines

Important

Every code example must work. Paste it into strudel.cc, press Ctrl+Enter, and confirm it produces the expected sound. Broken examples break trust.

  • Match the voice. The course is conversational, direct, and practical β€” not academic. Write like you're explaining to a friend.
  • Show, don't just tell. Every concept should have a runnable code example immediately after the explanation.
  • One idea per section. Don't cram multiple concepts into a single block.
  • Use the $: pattern style for multi-element examples (consistent with Modules 7–12 and the Final Project).
  • Include setcpm(128/4) in any example that relies on tempo.
  • Add exercises with solutions in <details> dropdowns when possible.

Commit Message Format

type(scope): short description

Examples:
fix(module-3): correct sawtooth filter cutoff value
feat(appendix-n): add MIDI mapping reference guide
content(module-5): add granular synthesis sub-section
docs(readme): update module descriptions

Got an Idea?

Not ready to write a PR? Open an issue to suggest:

  • New topics you'd like covered
  • Sections that confused you
  • Features of Strudel the course doesn't cover yet
  • Genres you'd like a recipe for

Every issue helps shape the course. πŸ™

πŸ’¬ Community Chat

Join the conversation on Matrix β€” ask questions, share your tracks, find collaborators, or just hang out with other live coders.

β†’ #breathofstrudel:matrix.org


Contributors

Thank you to everyone who has helped improve this course! πŸ™

Contributor Contribution
MrXlebNick @MrXlebNick Wavetable import fix (PR #5)
denisfitz57 @denisfitz57 Bug reports & issue feedback

Want to see your name here? Check the contribution guide above!


License

This work is licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0).

You are free to share and adapt this material for any purpose, even commercially, as long as you give appropriate credit, provide a link to the license, and indicate if changes were made.

CC BY 4.0


πŸ“ This course material was prepared with the assistance of Antigravity (AI coding agent, Claude Opus 4), the official Strudel documentation, and customized prompts structured around a personal learning workflow. All code examples have been designed to run directly in the Strudel REPL at strudel.cc.