-
... Pwhite (-0.1, 0.1)]), Pbind (*[mtranspose: Pkey ( \mtranspose ) + Pstutter (8, Prand ([0,[-3,0,2],[0,2,4,6,8,10]], inf )) ] ), Pn ( Pseq ([p, (type: \rest , dur: 0.4)]) ), Pbind (*[ db: Pstep ( Pseq ([-10, -13, -13, -11, -13, -13], inf ), ...
-
... ev[ \freq ] * rand(0.01) }), \sustain , Pwhite (log(0.1), log(20)).exp, \dur , Prand ([0.1,0.1,0.1,0.1,0.2,1,2], inf ), \db , Pstep ( Pseq ([-20,-30,-25,-30], inf ),0.2) ); // unrelated cluster pattern running on TempoClock.default Pbind ( ...
-
... ithin a given range: rrand(24, 48) // linear distribution in the given range. exprand(0.01, 1) // exponential distribution; // both numbers must have the same sign. Test them multiple times with a do loop: 20.do({ 5.rand.postln; }); // even ...
-
... v = EnvGen .kr( Env .perc(0.03, sustain), 1, doneAction:2); 5.do { var d; d = exprand(0.01, 1); u = SinOsc .ar(d * 300, u, rrand(0.1,1.2) * d, 1) }; Out .ar(out, Pan2 .ar( SinOsc .ar(u + 1 * freq, 0, amp * env), pan)); }).store; ) s.boot; x ...
-
... repeats, offset): Play through the entire list 'repeats' times. Like list.do. * Prand(list, repeats): Choose items from the list randomly (same as list.choose). * Pxrand(list, repeats): Choose randomly, but never repeat the same item twice. ...
-
... ld just pass in your own protoEvent to the play method. ( Pbind ( \instrument , Prand ([ \help_SPE7_BerlinB , \help_SPE7_CFString1 ], inf ), \degree , Pseq ([0,1,2,4,6,3,4,8], inf ), \dur , 0.8, \octave , 3, \amp , 0.03 ).play; // this retu ...
-
... e continuity should still be audible. ( var melodies = ( lowMelody: Pseries (4, Prand (#[-2, -1, 1, 2], inf ), inf ).fold(-7, 11), highMelody: Pseries (14, Prand (#[-3, -2, 2, 3], inf ), inf ).fold(7, 18) ); p = Pbind ( \degree , Pnsym1 ( P ...
-
... - Pdefn ( \a )); // (re)define Pdefn(\c) 8.do { t.value.postln }; Pdefn ( \a , Prand ([1, 4, 2], inf )); // (re)define Pdefn(\a) Embedding Pdefn in other patterns Pdefn ( \x , Pseq ([1, 2, 3], inf )); x = Pseq ([0, 0, Pdefn ( \x )], inf ). ...
-
... v = EnvGen .kr( Env .perc(0.01, sustain), 1, doneAction:2); 5.do { var d; d = exprand(0.01, 1); u = SinOsc .ar(d * 300, u, rrand(0.1,1.2) * d, 1) }; Out .ar(out, Pan2 .ar( SinOsc .ar(u + 1 * freq, 0, amp * env), pan)); }).store; ) s.boot; P ...
-
... hite (1, 16) * 100, detune: Pfunc { Array .fill(3.rand + 1, {3.0.rand}) }, dur: Prand ([2,2,2.5,1],10), db: Pn ( Pstep ([-10, -20, -20, -15, -20, -20, -20], 0.5) ), legato: Pwhite (0.0,1).linexp(0,1,0.1, 3) ]), Pbind (*[ type: \sine1 , amps ...