2 summary:: modify a given pattern before passing it into the stream
3 related:: Classes/Plazy
4 categories:: Streams-Patterns-Events>Patterns>Filter
11 A link::Classes/Function:: that modifies the enclosed pattern and embeds it in the stream.
22 pat.list = list.put(list.size.rand, 2);
26 30.do({ x.next.postln });
30 //Ppatmod used to modify a pattern that produces a sequence of pitches:
33 SynthDef(\help_sinegrain,
34 { arg out=0, freq=440, sustain=0.05;
36 env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction:2);
37 Out.ar(out, SinOsc.ar(freq, 0, env))
48 pat.list = list.put(list.size.rand, 2);
54 Synth(\help_sinegrain, [\freq, (a.next*5+77).midicps]);