2 summary:: sequentially embed values in a list
4 categories:: Streams-Patterns-Events>Patterns>List
8 is like link::Classes/Pseq::, however the repeats variable gives strong::the number of items:: returned instead of the number of complete cycles.
15 a = Pser([1, 2, 3], 5); // return 5 items
17 6.do({ b.next.postln; });
20 //Pser used as a sequence of pitches:
23 SynthDef(\help_sinegrain,
24 { arg out=0, freq=440, sustain=0.05;
26 env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction:2);
27 Out.ar(out, SinOsc.ar(freq, 0, env))
32 a = Pser([Pser(#[60, 61, 63, 65, 72], 3)], inf).asStream;
35 Synth(\help_sinegrain, [\freq, a.next.midicps]);