-
... 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 ...
-
... .softclip * 0.8); }, [ \ir , 0]).add; ) ( var p, q, r, o; p = Pbind ( \degree , Prand ((0..7),12), \dur , 0.3, \legato , 0.2); q = Pfxb (p, \echo , \dtime , 0.2, \decay , 3); r = Pfxb (q, \distort , \pregain , 20, \amp , 0.25); o = Pfxb (r, ...
-
... rn by a GUI ( var pattern = Pbind ( \degree , Pseries (7, Pwhite (1, 3, inf ) * Prand (#[-1, 1], inf ), inf ).fold(0, 14) + Prand (#[[0, -2, -4], [0, -3, -5], [0, -2, -5], [0, -1, -4]], inf ), \dur , Pwrand (#[1, 0.5], #[0.8, 0.2], inf ) ), ...
-
... .01); patternArray[2] = Pbind( \instrument, "noise-quneo-2", \degree, Prand([0,3,5,7,9,11,14,17], inf) - 12, \pulseFreq, Pwhite(1, 9), \dur, 0.3, \sustain, 0.1, \amp, 1, \rq, 0.1); patternArray[3] = Pbind( \i ...
-
... embedInStream ( inval ) . randSeed . randSeed = value Examples a = Pseed(1972, Prand([1, 2, 3], inf)); b = a.asStream; 10.do({ b.next.post }); c = a.asStream; 10.do({ c.next.post }); // using a seed pattern as input: a = Pseed(Pseq([1812, ...
-
... ar a, b; a = Pbind( \degree, Pswitch(#[0, 2b, 3], Ptime(8).round(2) / 2), \dur, Prand(#[0.2, 0.5, 1.1, 0.25, 0.15], inf) ); b = Pbind( \degree, Pseq(#[0, 2b, 3], 1), \dur, 2, \ctranspose, -7 ); Pseq([Event.silent(1.25), Ppar([a, b])], inf). ...
-
Pbindef(\rissetBell, \instrument, "rissetBell", \freq, Prand([1, 1.5, 2, 2.1], 4) * 600, \dur, Pwhite(1/4, 3), \amp, 0.05, \att, 0.005, \rel, Pwhite(3, 7) );
-
... p, \degree, Pseq(([8, 6, 5, 3, 4, 6]!3).flat[0..(6*3)-2] - 1, inf), \dur, Prand([Pseq([1, 1, 1, 1, 1, 1] / 4, 4), Prand([1/8, 3/8], 1)], inf) ) ).quant_([3, 0, 0, 1]); c = Pdef(\c, Pbind( \instrument, \sound, \amp, ~amp ...
-
... -- Pbind( \instrument, \warpSample, \buffer, ~sample, \fscale, Pseq([Prand(~ms[0..3]), Prand(~ms[4..7]), Prand(~ms[8..11]), Prand(~ms[12..15])], 4), \wsize, 0.1, \warp, 1, \dn, Pwhite(1, 4, inf), \panStart, Pseq([~pan ...
-
Pbindef(\hihat1, \instrument, "hihat1", \dur, Pseq([ 1, 1, 1, 1, Prand([1, 1, Pn(0.5, 2)], 4) ], 2) * 0.2, \ffreq, Pwhite(7000, 11000), \rel, 0.1, \amp, 0.5 );