-
... 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 ...
-
... \scale, Scale.mixolydian, \n, Pwhite(1,4,inf), \octave, Pclump(Pkey(\n), Prand([6,7], inf)), // \degree, Pclump(Pkey(\n), Pwrand([0,2,3,4,5,6], [10,7,3,5,2,1].normalizeSum, inf)), \degree, Pclump(Pkey(\n), Place([[0,1,2,3,4], [2,3 ...
-
... .add; ) ( a = Plambda ( Pseq ([ Pfindur (5, Ppar ([ Pbind ( \note , Plet ( \x , Prand ([1, 5, 1, [10, 14]], inf )), \dur , 8/3, \pan , -1), Pbind ( \note , Plet ( \y , Pseq ([5, 3, 2, 0, [0, 5, 6, 9]], inf )), \dur , 0.5, \pan ,1), Pbind ( ...
-
In Divisions - Midterm: Plunderphonics with Granular Sampling (musc-9-plunderphonics) by jonathan-coon (Jonathan Coon) Code
... nf), \pos, Pseq([0.2, 0.11, 0.12, 0.14], inf), \pan, Pwhite(-1, 1), \amp, Prand([0.9, 1], inf), \envbuf, -1, \dur, Pseq([0.25, 0.125, 0.125, 0.6], inf); ).play; ) /* Explanation of pattern expressions: Pwhite(0, 1) = wi ...
-
... ~p4 = Pbind( \instrument, "plucking", \mtranspose, [7,0,14], \amp, Prand([0.8,0.75,0.65],inf), \decay, 4, \dampen, 0.9, \phase, 0.5, \glissf, Prand([0.1, 0.2, 0.3, 0.4],inf), \dur, Prand([0.25, 0.25, 0.125, 0.125], in ...
-
... ide a pattern into various proportions ( a = Prorate ( Pseq ([0.35, 0.5, 0.8]), Prand ([20, 1], inf )); x = a.asStream; x.nextN(8) ) // divide 1 into several parts ( a = Prorate ( Pseq ([[1, 2], [5, 7], [4, 8, 9]]).collect( _ .normalizeSum) ...
-
... 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 ...
-
... \att, 0.1, \rel, 4, \modfreq, Pseq([12, 9, 7, 5, 3], inf), \pos, Prand([-100, 100], inf) ); ~amy = Pbind( \instrument, "am1", \midinote, Prand([72, 79, 77, 79, 82, 79, 87, 86, 84, 82, 84, 79], 12), \ctranspose ...
-
... dMH", \degree, Pwhite(-10, 15, inf), \amp, Pwhite(0.06, 0.2, inf), \mtranspose, Prand([ 0, [0, 4], 0, [0, 5, 7] ], inf), \dur, Prand([1, 2, 2.6], inf), \att, Pwhite(0.9, 1.5), \rel, 6, //Pn(Pgeom(0.01, 1.25), inf), \legato, 1, \vibratoRate, ...
-
... 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 ...