2 summary:: slide over a list of values and embed them
3 related:: Classes/Ptuple
4 categories:: Streams-Patterns-Events>Patterns>List
16 length of each segment.
19 how far to step the start of each segment from previous. step can be negative.
22 what index to start at.
25 if true (default), indexing wraps around if goes past beginning or end. If false, the pattern stops if it hits a nil element or goes outside the list bounds.
32 a = Pslide([1, 2, 3, 4, 5], inf, 3, 1, 0);
34 13.do({ x.next.postln; });
37 //Pslide used as a sequence of pitches:
40 SynthDef(\help_sinegrain,
41 { arg out=0, freq=440, sustain=0.05;
43 env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction:2);
44 Out.ar(out, SinOsc.ar(freq, 0, env))
49 c = Pslide(#[1, 2, 3, 4, 5], inf, 3, 1, 0) * 3 + 67;
53 Synth(\help_sinegrain, [\freq, x.next.midicps]);