diff --git a/strudel/MIDI Setting Sample.md b/strudel/MIDI Setting Sample.md index 0fcc674..f62a598 100644 --- a/strudel/MIDI Setting Sample.md +++ b/strudel/MIDI Setting Sample.md @@ -17,4 +17,27 @@ $:stack( //ccv(sine.segment(16).slow(2)).ccn(3), //gain ccv(0.2).ccn(3), //gain ).midi().midichan(2) //synth +``` + +```javascript +setcps(120/60/2) +$: note("c2 |c#2| d2| d#2").fast(4) + .midi().midichan(1) //drumrack + +$_:stack( + note("c2(3,4)"), + note("c#2(3,4,1)").degradeBy(0.2), + note("d2*8").degradeBy(0.3), +).midi().midichan(1) //drumrack + +$_:stack( + note("c3 c#3 e3 f3 e2 c3"), + ccv(perlin.segment(16).fast(4)).ccn(2), //filter + //ccv(sine.segment(16).slow(2)).ccn(3), //gain + ccv(0.2).ccn(3), //gain +).midi().midichan(2) //synth + +$:note("c2 a2 f2 e2") + .control([74, sine.slow(4)]) + .midi().midichan(2) ``` \ No newline at end of file