Strudel Cheat Sheet
Strudel is TidalCycles ported to JavaScript, running at strudel.cc with no install. Same mini-notation, method-chaining instead of Haskell operators.
Play
sound("bd sn hh sn")Play a drum patternnote("c e g").sound("piano")Play notes through a soundn("0 2 4").scale("C:minor").sound("triangle")Scale degrees into a synthsilenceAn empty pattern$: sound("bd*4")Name a running pattern (REPL)Mini-notation (in the strings)
"bd sn hh cp"Sequence across the cycle"bd*2"Twice as fast"[bd sn]"Grouped into one step"bd(3,8)"Euclidean rhythm"<bd sn>"Alternate each cycle"bd:3"Sample index"~"RestTransformations (method chain)
.fast(2).slow(2) — change tempo of the pattern.rev()Reverse each cycle.every(4, x=>x.fast(2))Every 4th cycle, transform.jux(rev)Stereo split with a transform on the right.off(0.125, x=>x.add(7))Echo a shifted copystack(a, b)Layer patternscat(a, b)One per cycle in turnEffects
.gain(0.8)Level.lpf(800).hpf(200) — filters.room(0.5)Reverb.delay(0.5)Delay send.pan(0.3)Stereo pan.crush(4)Bit-crush.speed(2)Sample speed / pitchSetup
setcps(0.5)Cycles per second (tempo)samples('github:tidalcycles/dirt-samples')Load a sample packStrudel — TidalCycles patterns in the browser (JavaScript). · Strudel in the tool directory →