Trigger on Strudel music generation, `.strudel` files, live coding music tasks. Use when generating algorithmic music with Strudel.cc. Apply for pattern composition, effects processing, genre-specific production, browser-based live coding. Keywords: Strudel, TidalCycles, live coding, algorithmic music, mini-notation, patterns, electronic music, trance, ambient, techno.
setcpm(BPM/4), see reference/tempo-timing.md* multiply, / divide, <> alternate, [] subdivide, ~ rest, see reference/mini-notation.mdstack() to combine patterns, each layer independent, see reference/layering.mdbd, sd, hh, oh, cp; Synths: sine, sawtooth, square, triangle, see reference/sounds.md.gain(), .lpf(), .room(), .delay(), .shape(), .crush(), see reference/effects.mdsine.range(a,b).slow(n) for sweeps, perlin for organic variation, see reference/modulation.md.every(n, fn), .sometimes(fn), .degradeBy(p) for variation, see reference/conditionals.md.mask() for sections, arrange() for song form, see reference/arrangement.mdsetcpm(138 / 4);
stack(
s("bd*4").gain(0.8),
s("~ cp ~ cp").gain(0.5).room(0.3),
s("hh*16").gain(0.3).lpf(sine.range(800, 4000).slow(4)),
note("a2*8").sound("sawtooth").lpf(700).gain(0.5),
note("<a3 f3 c4 g3>").sound("sawtooth").lpf(2000).room(0.8).gain(0.3),
);