-
... lse.ar(rate * [1, 1.2]), freq, dt)*0.1 }; a.play; ( a[1] = \set -> Pbind( \dur, Prand([1, 0.5], inf), \freq, Pwhite(200.0, 1000, inf), \rate, Pdup(4, Prand([1, 3, 6, 10], inf)), \dt, Pwhite(0.01, 0.1, inf) ) ); // modify the source in the m ...
-
... ( Pdef( \rhythm, Pbind( \instrument, \bufplay, \dur, 1/8, \buf, Prand(d[\kuerbis], inf), \rate, Pexprand(3.3,3.301, inf), \amp, Pseq([1,0.3,0.2,2,0.3,0.3,0.5,0.3,0.4],inf), \pan, 0.1, ) ) ) Pdef(\rhythm).stop ...
-
... w(#[1, 2, 3], 5); // return 5 items b = a.asStream; 6.do({ b.next.postln; }); ) Prand returns one item from the list at random for each repeat. ( var a, b; a = Prand .new(#[1, 2, 3, 4, 5], 6); // return 6 items b = a.asStream; 7.do({ b.next ...
-
... ) ~peet.play; ( ~peet = Pbind( \instrument, "syn1", \rate, Prand([0.125, 0.25, 0.125, 0.0625, 0.003125, 0.003125, 0.0625, 0.0625], inf), \amp, Pwhite(10.75, 11), \startPos, Prand([0.78, 0.5], 32), \attack, 0.0 ...
-
... * 0.5); }).add; ) ( ~snd1 = Pbind( \instrument, "am1", \midinote, Prand([ [72, 77, 79], [79, 82, 86], [87, 86, 84], [82, 84, 79], ], 8), \ctranspose, Prand([-12, 0], inf), \dur, Prand([0.5, 1.5], inf), ...
-
... Pbind(\dur, Pn(0.25, 3), \instrument, \gpdef)); Pdef(\y, Pchain(Pbind(\degree, Prand([5, 9, 0], inf), \legato, Pseq([0.3, 2.2], inf)), Pdef(\x))); Pdef(\z, Pchain(Pbind(\degree, Pseq([0, 2, 5, 7, 8, 9], 1)), Pn(Pdef(\y)))); Pdef(\play, Psy ...
-
... 1, 2, 3], 5); // return 5 items b = a.asStream; 6.do({ b.next.postln; }); ) ⧉ ✔ Prand returns one item from the list at random for each repeat. ( var a, b; a = Prand.new(#[1, 2, 3, 4, 5], 6); // return 6 items b = a.asStream; 7.do({ b.next. ...
-
PLrand dynamic scope Prand variant Part of: miSCellaneous Inherits from: PL_ListPattern Takes Symbol args for later reference by the Streams, which will read from variables in the Environments of their instantiation. See PLx suite . See als ...
-
... Pbindef(\cello_lick, \instrument, \cello, \scale, Scale.minor, \octave, Prand([3,4], inf), \degree, Prand([0,2,4,5,6,7], inf), \pan, 0.0, \dur, Pstutter(Prand([1,2,3,4], inf), Prand([0.25, 0.5, 1], inf)), \amp, 0.9, \atk, ...
-
... s around all members ( Pdef(\x, Pbind( \instrument, \xxy, \server, r.s, \where, Prand(r.nameList, 8), // \dur, 1, \legato, 0.3, \freq, Pwhite().linexp(0, 1, 500, 2000) ).trace ).play; ) // getting to the different servers: r.servers; r.name ...