-
... .postln }; ⧉ ✔ drop(n) Discard the first n values, and return whatever is left. Pseries(1, 1, 20).drop(5).do { |x| x.postln }; ⧉ ✔ differentiate Return the difference between successive values: second - first, third - second, and so on. Arr ...
-
... 58], inf) ).play ) ( // changing legato value Pbind( \dur, 0.2, \legato, Pseq([ Pseries(0.05, 0.05, 40), Pseries(2.05, -0.05, 40) ], inf), \midinote, Pseq(#[48, 51, 55, 58, 60, 58, 55, 51], inf) ).play ) ⧉ ✔ To go to the next file: Understa ...
-
... 5.do { x.advance(1); 2.0.rand.wait; } }.play; ) x.advance(8.1); Pbind(\degree, Pseries(0, 2, 8), \dur, 0.25).play(x); ( Task { 5.do { x.advance(0.20); 1.0.wait; } }.play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Cla ...
-
... x, degree: 7.rand + 1); Pbindef(\x, degree: Pseq([0, 7, 3, 7, 4], inf), dur: Pn(Pseries(0.2, -0.02, 10))); Pbindef(\x, \stretch, 2); Pdef(\x).stop; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pbindef.schelp link:: ...
-
... saw_grain, \d, 0.2, \m, Pwhite(60, 90) ) ) ~u.play ~u.d = 0.1 ~u.m = Pn(Plazy { Pseries(rrand(50, 70), 1.5, 20) }) ~u.m = ~u.m + [0, 4, 7] ~u.i = PLseq([\sin_grain, \saw_grain]) ~u.a = Pn(Pseries(0.05, 0.01, 20)) ~u.m = 70 // stop + cleanup ...
-
... the specified duration"). ( p = Pspawner { |sp| var notes, dur; loop { notes = Pseries( rrand(-9, -5), Pconst(16, Pwrand([1, 2, 3, 4], [1, 4, 4, 2].normalizeSum, inf)), inf ).asStream.all; dur = exprand(2.5, 6.0); sp.par(Pbind( \instrument ...
-
... one parameter ( Pbind( \degree, Pstep(Pseq([1, 2, 3, 4, 5]), 1.0).trace, \dur, Pseries(0.1, 0.1, 15) ).play; ) // change degree independant of number of events that have been playing ( var a, b; a = Pbind( \degree, Pstep(Pseq([0, 2b, 3], 1 ...
-
... ber generators that produce specific distributions, and also chaotic functions. Pseries (start, step, length) arithmetic series, e.g., 1, 2, 3, 4, 5 Pgeom (start, grow, length) geometric series, e.g., 1, 2, 4, 8, 16 Pwhite (lo, hi, length) ...
-
... age is used, // so it's easiest to wrap the original pattern into a PS ( p = PS(Pseries()); q = PSdup(p); // PSx patterns have a state and, in this regard, behave like Streams. // However, like other Patterns, for generating they must be ma ...
-
... e is done at the next beat or whatever is specified: x.quant = 4; x.source = Pn(Pseries(0, 1, 8), inf); x.quant = nil; // reactivate immediacy ( x.source = Prout { loop { 4.do { |i| #[2, 3, 4].choose.yield; #[5, 0, 11].choose.yield; #[6, 3, ...