-
... 0 // add each role at a separate slot Ndef(\sin)[i+1] = \seti -> Pbind( \freq, Prand(#[674, 249, 330, 76, 298, 1007], inf), \phase, Pwhite(0.0, 50.0), \dur, Prand(#[0.1, 0.3, 0.5], inf), // important! \channelOffset, i ) }) ) ⧉ ✔ \setm -> ...
-
... | Streams-Patterns-Events > PLx suite'>PLx suite PLrand Extension dynamic scope Prand variant Location: NOT INSTALLED! See also: miSCellaneous , Prand , PLxrand , PLwrand , PLshuf , PLshufn , PLx suite , Event patterns and Functions , VarGu ...
-
... . tolerance . tolerance = value Examples ( var a, b; a = Pfindur(5, Pbind(\dur, Prand([1, 2, 0.5, 0.1], inf))); x = a.asStream; 9.do({ x.next(Event.default).postln }); ) ( var a, b; a = Pfindur(5, Pbind(\dur, Prand([1, 2, 0.5, 0.1], 4))); x ...
-
... ,2,2); },[ nil, nil, \envperc ]); Patch.new(\Stream2Trig, [ Stream2Trig( Pseq([ Prand([1,1,1,1,1,0,0,0,0],2)],inf), Pseq([0.25,0.25,0.25,0.125,0.125],inf) ), StreamKrDur(Pseq( Array.rand(16,30,50).midicps,inf ), 0.25,0.1 ) ]).gui ) ⧉ ✔ ( Pa ...
-
... eld the object x = 5; y = x.repeat(6); y.nextN(8); ⧉ ✔ Pattern: -repeat (n) x = Prand([1, 2]).repeat(6).asStream; x.nextN(8); ⧉ ✔ Pattern: -loop x = Prand([1, 2]).loop.asStream; x.nextN(8); ⧉ ✔ Stream: -repeat (n) embeds the stream repeated ...
-
... interval p = Pstep( Pbind( \ctranspose, [0, 4, 7], \note, Pwhite(0, 12), \dur, Prand([0.2, 0.4, 0.8], inf) ), Prand([1, 2, 4], inf)/4 ); Ppar([p, p]).play; ) // change degree independently of number of events that have been playing ( Pchai ...
-
... ject embed values randomly chosen from a list Source: ListPatterns.sc See also: Prand , Pwrand Description Like Prand , returns one item from the list at random for each repeat, but Pxrand never repeats the same element twice in a row. Clas ...
-
... tance. Arguments: pattern The source pattern for the "impulses." The default is Prand([-1, 1], inf) , corresponding to the classic definition of velvet noise. num The "duration" for the current impulse, measured as the number of output valu ...
-
... ject embed values randomly chosen from a list Source: ListPatterns.sc See also: Prand , Pxrand Description Returns one item from the list at random for each repeat, the probability for each item is determined by a list of weights which shou ...
-
... rvals to a melody that's always on top. It's a compound pattern, Pseries(...) + Prand(...), where Pseries returns a single number and Prand returns an array. As with regular math operations, a number plus an array is an array. If the curren ...