-
... notes p = Pbind( \freq, Pwhite(0, log(32)).exp.round(1) * 36.midicps, \detune, Pfunc({ |ev| ev[\freq] * rand(0.01) }), \sustain, Pwhite(log(0.1), log(20)).exp, \dur, Prand([0.1, 0.1, 0.1, 0.1, 0.2, 1, 2], inf), \db, Pstep(Pseq([-20, -30, - ...
-
... y({ ("" ++ ~phrase ++ ": ?").postln; Pseq([velPart3], 2); }), Pif(Pfunc({~theEnd.not}), Pseq([ Plazy({ Pseq([velPart3]); }) ], inf) ), Plazy({ "*** Nod back ***".postln; Pseq([velPart3], 4 ...
-
... ar startTime; p = (Psync(Pbind( \dur, 0.25, // total duration = infinite \time, Pfunc { startTime = startTime ? (thisThread.clock.beats.debug("time")) } ), 1, 4) ++ Pfuncn({ thisThread.clock.beats.debug("finish time"); (thisThread.clock.bea ...
-
... 7,inf)), \shifttempo, Pstutter(8,Pbrown(1.8,3.1,1.0,inf)), \shifttempo, Pfunc({|e|TempoClock.default.tempo = e.shifttempo}), \out, b.reverb ), Pmono( \reverb, \in, b.reverb, \roomsize,10, \revtime,3, \d ...
-
... ", "qop", "", "hello"],inf), \dur, 0.25, \voice, Pseq([0],inf), \func, Pfunc{|k| q.playWord(k.voice,k.word)})) ) ( Pdef(\vocable, Pbind( \degree, \rest, \word, Pclump(Pwhite(1,2), Pseq(["soup", "tackle", "qop", " ...
-
... p = Pbind ( \degree , Pswitch1 ([ Pwhite (7, 14, inf ), Pwhite (-7, 0, inf )], Pfunc { 0.7.coin.binaryValue }), \dur , 0.25 ).play; ) p.stop; Compare to the following: ( p = Pbind ( \degree , Pswitch ([ Pwhite (7, 14, inf ), Pwhite (-7, 0, ...
-
... "); ) // comparison: emulate a linrand ( var a, b, x, y; a = Pprob([1, 0]); x = Pfunc({ 1.0.linrand }); b = a.asStream; y = x.asStream; postf("Pprob mean: % linrand mean: % \n", b.nextN(800).mean, y.nextN(800).mean); b.nextN(800).sort.plot( ...
-
... move = (view.value * 4 - 2).round; }) .value_(0.5); window.front; p = Pbind( // Pfunc is the direction to move through the array // it could be anything // - could read from MIDI or HID and convert it into a step // - could be a GUI control ...
-
... player; var <>players; var <>latestPlayersAtParam; var <>paramContainsAlgaReaderPfunc = false; //Check for manualDur var manualDur = false; //Start pattern when creted var <>startPattern = true; //Mainly used for Arrayed \def var eventEntri ...
-
... mpo = 1; p = Pbind( \degree, Pswitch1([Pwhite(7, 14, inf), Pwhite(-7, 0, inf)], Pfunc { 0.7.coin.binaryValue }), \dur, 0.25 ).play; ) p.stop; ⧉ ✔ Compare to the following: ( p = Pbind( \degree, Pswitch([Pwhite(7, 14, inf), Pwhite(-7, 0, inf ...