-
... ) ) }).store ); ) // start a process ( q.rout = Routine { var dt; loop { dt = exprand(0.01, 1.2); Synth ( \help_PlayBuf , [ \bufnum , q.b[ \apollo ], \rate , 0.06 * [1, 2, 3, -1, -2, -3].choose + 1, \offset , 1.0.rand, \sustain , dt * rrand ...
-
... , ~rhythm).play; ~melody.source = PmonoArtic ( \default , \degree , Pseries (4, Prand (#[-1, 1], inf ), inf ).fold(-4, 11)); ~melody.source = Pbind ( \degree , Pseries (4, Pwrand (#[-2, -1, 1, 2], #[0.3, 0.2, 0.2, 0.3], inf ), inf ).fold(-4 ...
-
... tes \trig in the // event to \t_trig in the synth. ( Pmono(\trigTest1, *[ trig: Prand([0, 1], inf), // for random trigger, use trig, not t_trig freq: Pwhite(lo: 220, hi: 440, length: 10), dur: 1 ]).play; ) // Note that With event type \set, ...
-
... nf) , \amp, Pwhite(0.2, 0.5), \att, 0.01, \rel, 0.1, \modfreq, Prand([10, 20, 25, 30], inf), \pos, 0 ); ~fmletsdothis = Pbind( \instrument, "fm2", \dur, Pseq([ Pn(1/8, 6), 3/8, Pn(2/8, 5), 5/8 ...
-
... Eve").play; // overrride default // in a Pbind: Pbind(\type, \happyEvent, \who, Prand(["Alice", "Bob", "Eve"], inf), \dur, Pwhite(0.1, 1.0, inf)).play; // parent event type for indirect calls: Event.addEventType(\test, { ("x was" + ~x.value ...
-
... themselves when they become silent loop { var note = rrand(60, 63); var elev = Prand([-90, -60, 30, 0, 90]).asStream; // Kamikaze is a special case of synth generated by SATIE // it frees itself when its envelope falls to silence self.sati ...
-
... + freqOffest, 0, 0.1 / 8)), LFNoise0 .kr(2)) }; ) ~out.setn( \array , Array .exprand(8, 400, 2000)); ~out.set( \freqOffest , rrand(300,200)); ~out.map( \freqOffest , ~lfo); // a simpler short form for this is: ( ~out = { arg freqOffest=0, ...
-
... "granny3", \rate, Pseq([60, 50, 60, 70, 50], 20), \amp, 0.25, \startPos, Prand([0.5, 0.36, 0.8, 0.3, 0.4], 20), \attack, 0.05, \release, 0.02, \ffreq, 500, \rq, 0.04, \delay, 0, \decay, 0.5, \buffer, b, \d ...
-
... elody, ~rhythm).play; ~melody.source = PmonoArtic(\default, \degree, Pseries(4, Prand(#[-1, 1], inf), inf).fold(-4, 11)); ~melody.source = Pbind(\degree, Pseries(4, Pwrand(#[-2, -1, 1, 2], #[0.3, 0.2, 0.2, 0.3], inf), inf).fold(-4, 11)); p. ...
-
... - called internally. Inherited instance methods Examples Pdef(\a, Pbind(\freq, Prand((1..16) * 55, inf))); Pdef(\a).play; t = PdefGui(Pdef(\a), 4); Pdef(\a).set(\dur, 0.125, \amp, 0.05); Pdef(\a).stop; Pdef(\a).play; Pdef(\a).pause; Pdef(\ ...