-
Pbindef( \sillyVoice, \instrument, "sillyVoice", \ctranspose, -12, \degree, Prand([0, 1, 2, 4, 5, 7], inf), \vowel, Pwhite(0.0, 3.0), \dur, Pseq([Pseq([1, 2, 1], 4), 4]) / 3, \amp, 1 );
-
... Pan2.ar(SinOsc.ar(freq, 0, env), pan)) }).add; ) Pdefn(\x, Pn(1, 3)); Pdefn(\y, Prand([5, 9, 1], 2)); Pdefn(\z, Pdefn(\y) * 2); ( Pdef(\play, Pbind( \instrument, \gpdef, \harmonic, Pnsym(Pseq([\x, \x, Prand([\x, \y]), [\z, \y], \y], inf)).t ...
-
... SinOsc .ar([freq, freq + 0.1.rand2], 0, env)) }).add; ) ( var p; p = Pdfsm ( [ Prand ([0,1,2], inf ), // signalStream IdentityDictionary [ // state 0 0 -> [ 2, Pseq ([67,68,69], 2) ], 1 -> [ 0, 66 ], 2 -> [ 1, 65 ] ], IdentityDictionary [ ...
-
... aster/HelpSource/Classes/example1.svg) ```supercollider ( p = Pbind( \midinote, Prand((60,60.5..80), inf), \dur, Prand([0.125, 0.25, 0.5], inf) ); //p.play; f = Fomus(p.asStream, 30); f.fileName = "~/SCFomus_"; // complete file path f.ly; f ...
-
... sum = value . tolerance . tolerance = value Examples ( var a, x; a = Pconst(5, Prand([1, 2, 0.5, 0.1], inf)); x = a.asStream; 9.do({ x.next(Event.default).postln }); ) // Pconst used as a sequence of durations ( SynthDef(\help_sinegrain, { ...
-
... pattern 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) ), player, ...
-
... lk01.wav'); Pdef(\p, Pbind(*[ instrument: \simpler ,buf: ~buf ,octave: Prand([3,4,5],inf) ,degree: Pn(Plazy({Pseq([-4,0,5,7,9,12].scramble.clump(2),2)})) ,dur: 0.5 ,strum: Prand([0, 0.125, 0.25], inf) ,strumEndsTogether: fa ...
-
... ,~bus1],~control); y = Synth(\playbuf); // Pluck ( var dur; dur = Prand([0.2, 0.4, 0.8], inf); a = Pbind( \instrument, "plucking", \krBus, ~bus1, \scale, Scale.dorian, \degree, Prand( ...
-
... divide 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), 1); x ...
-
... 0.1).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, \wah); Pse ...