The Patchbay_

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 pattern
note("c e g").sound("piano")Play notes through a sound
n("0 2 4").scale("C:minor").sound("triangle")Scale degrees into a synth
silenceAn 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
"~"Rest

Transformations (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 copy
stack(a, b)Layer patterns
cat(a, b)One per cycle in turn

Effects

.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 / pitch

Setup

setcps(0.5)Cycles per second (tempo)
samples('github:tidalcycles/dirt-samples')Load a sample pack

Strudel — TidalCycles patterns in the browser (JavaScript). · Strudel in the tool directory →

← All cheat sheets