-
... ([ [0, 2, 4, 6], 3, [7, 9, 14], 9 ], inf), \modfreq, 1, \amp, Pwhite(0.05, 0.2), \dur, 4, \att, 0.01, \pos, Pseq([-0.5, 0.5], inf) ); ~amshort.play; ) ( ~amshort2 = Pbind( \instrument, "am1", \degree, Pseq ...
-
... }).add; ) // Example 1 ( Pbind( \instrument, "plucking", \freq, Pwhite(440, 880), \amp, 0.1, \decay, 4, \dampen, 0.1, \dur, Prand([0.51, 0.1, 0.1], inf) ).play; ) // Example 2 ( Pbind( \instru ...
-
... ; Ndef(\ping, Pbind( \instrument, \ping, \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)), \degr ...
-
... 12], 0+12,2+12,4+12, [2,4], ], Prand([ Pseq([ 1,-2,Pwhite(0,3,1), Pwhite(0,-3,5), ],1), Pseq([ 1,-2,Pwhite(0,3,1), Pwhite(0,-3,1), ],1), Pseq([ Pwhite(0,3,8), ],1), ],inf ...
-
... t, \default, \degree, Pwalk(#[c, e, g, c],1, Prand([-1,1],inf).stutter(Pwhite(1,10))) + Pseq([Pn(0,64), Prand([ 0, [0,2,3], ],inf) ...
-
... sample, 1.0=end of sample \dur, 0.1, \att, 0.001, \rel, 0, \rate, 1, //Pwhite(1, 1.5), // 1=original speed, 0.5=half speed, 2=twice speed, etc. // a negative number for \rate makes sound goes backward \amp, 0.5, \pan, Pwhite( ...
-
... ctranspose, Prand([-12, 0], inf), \dur, Prand([0.5, 1.5], inf), \amp, Pwhite(0.1, 0.2), \att, Pwhite(0.1, 0.2), \rel, Pwhite(1, 3.0), \modfreq, Prand([2.5, 5, 7.5, 10, 15], inf), \pos, Prand([-0.5, 0, 0.5], inf) ); ~sn ...
-
... 000, \fm, 100, \idx, 100, \amp, 0.6, \atk, 0.01, \rls, 0.001, \dur, Pwhite(0.1, 0.05, 10) ).asEventStreamPlayer; ) // 3. play it p.play; // 4. Here are some presets // "cricket" preset ( Pbind( \instrument, \fmmo ...
-
... nd([ 4, 8, 2, 2, 1, 1, 0.25,0.25, 0.25], inf)/3, \sus, 3.5 , \db, Pwhite(-20, -10), \mix, Pwhite(0.05, 0.15), \octave, 3, \degree, Pgauss(15, 5).round, \scale, Scale.harmonicMinor, \oct, Pbrown(0.01, 1, 0.0 ...
-
... , 60, 70, 75, 69], inf), \dur, Pseq([Pn(0.5, 5), 1.5], inf), \amp, Pwhite(0.15, 0.2), \att, 0.1, \rel, 3, \modfreq, Pseq([12, 9, 7, 5, 3], inf), \pos, 0 ); ~b= Pbind( \instrument, "am2", \degree, Ps ...