-
PRand: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Examples Classes (extension) | Streams-Patterns-Events > UGenPatterns'>UGenPatterns > UGenPatterns>Generators'>Generators PRand ...
-
Prand: Filter: Description Class methods Inherited class methods Instance methods Inherited instance methods Undocumented instance methods embedInStream Examples Classes | Streams-Patterns-Events > Patterns'>Patterns > Patterns>List'>List P ...
-
... s s.waitForBoot({ s.plotTree }); ( var p, q, r, o; Pbus( Pgpar([ Pbind(\degree, Prand((0..7), inf), \dur, 0.3, \legato, 0.2), Pbind(\instrument, \echo, \dur, 3, \legato, 1.1, \dtime, Pwhite(0.01, 0.1, inf), \decay, 3), Pbind(\instrument, \d ...
-
... global library \instrument, \sweep, \n, 15, \degree, Pseq([0, 0, 6, 3], inf) + Prand([0, [0, 3], [0, 5], [0, 15]], inf), \ratio, Prand([ 0.1, 0.1, [0.1, -0.1] ], inf) ).play ) // various instruments and synthdefs can be used on the same le ...
-
... nd stoppable within Server-latency. // dalek mating season I ( f = StreamKrDur( Prand(Array.fill(rrand(4,16),{ rrand(20,80).midicps }),inf), 0.125,// a float 0.05); Tempo.bpm = 100; // times are in beats Patch({ arg freq; Saw.ar(freq,0.2) } ...
-
... tterns = value Examples ( Pchain( Pbind(\detune, Pseq([-30, 0, 40], inf), \dur, Prand([0.2, 0.4], inf)), Pbind(\degree, Pseq([1, 2, 3], inf), \dur, 1) ).trace.play; ) // also events can be used directly: ( Pchain( Pbind(\degree, Pseq([1, 2, ...
-
... ( a = Pbind(\x, Pseq([1, 2, 3]), \zzz, 9000); // input stream b = Pbindf(a, \y, Prand([100, 300, 200], inf), \zzz, 99); x = b.asStream; ) x.next(()); // pass in an event () x.next(()); x.next(()); x.next(()); // end: nil // sound examples / ...
-
... 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 ...
-
... 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. ...