-
... methods Examples s.boot; a= Pbind(\dur, 1/3, \legato, 0.4, \midinote, POneZero(Pseq([12, 0, 0, 0, 0, 0, 0, 0, 0, 0], inf), 0.25).trace+50).play a.stop a= Pbind(\dur, 1/6, \legato, 0.2, \amp, POneZero(PImpulse(8), PSaw(64)).trace).play a.st ...
-
... place(\test2, sched:AlgaStep(1)); a.from(220, \f, sched: AlgaStep(1)); ) a.from(Pseq([0.25, 0.5], inf), \dur, sched: AlgaStep(2)) a.from(1, \dur, sched: AlgaStep(0)) s.scope //Now fix the fade in play time!!!!
-
... to switch between these two ( p = PHSpar(h, Pwhite(2.5, 3), // switch duration Pseq([0,1],inf), // switch indices // helpSynthArgs: always default values for help synth #0, always set help synth #1 [nil, [\freq, 1.2, \center, Pwhite(60, 80 ...
-
... }; }; }; Ppar(a.collect({|c, r| Pbind( \instrument, \peep, \freq, Pif(Pseq(a[r], inf).coin, 100+(a.size-100*r), \rest), \dur, 0.25 )}), inf).play;
-
... e methods Examples s.boot; a= Pbind(\dur, 1/3, \legato, 0.4, \midinote, PLinLin(Pseq([0, 1, 2, 3, 4], inf), 0, 4, 50, 60).trace).play a.stop a= Pbind(\dur, 1/6, \legato, 0.2, \amp, PLinLin(PSinOsc(16), -1, 1, 0.001, 0.5).trace).play a.stop ...
-
... e methods Examples s.boot; a= Pbind(\dur, 1/3, \legato, 0.4, \midinote, PLinExp(Pseq([0, 1, 2, 3, 4], inf), 0, 4, 50, 60).trace).play a.stop a= Pbind(\dur, 1/6, \legato, 0.2, \amp, PLinExp(PSinOsc(16), -1, 1, 0.001, 0.5).trace).play a.stop ...
-
... d( \instrument, \guitar, \strum, 2/Pstep([32,16,3,12],2,inf), \degree, Pseq([ [0,2,4,6], [-1,2,4,6], [0,2,4,6], [0,2,4,6]-2, ],inf), \octave, 5, \dur, 1, \decay, Pseq([1],inf), ), Ppar([ ...
-
... _result = e.result.as(Array).collect { |x| x.asString.interpret }; Pbind(\note, Pseq(e.calc_result), \dur, 0.1).play;
-
... methods Examples s.boot; a= Pbind(\dur, 1/3, \legato, 0.4, \midinote, PSchmidt(Pseq([0, 2, 4, 6, 5, 3, 1], 1), 2.5, 4.5).trace*5+60).play a.stop a= Pbind(\dur, 1/6, \legato, 0.2, \amp, PSchmidt(PSinOsc(16), 0.5, 0.7).trace*0.5).play a.stop ...
-
... efficiency bench { Pprob([0, 1]) } // this is fairly expensive bench { 16.do { Pseq([0, 1] ! 32) } } x = Pprob([0, 1]).asStream; y = Pseq([0, 1], inf).asStream; bench { 100.do { x.next } }; // this very efficient bench { 100.do { y.next } ...