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