-
... nherited instance methods Examples // Read 10 values from Pstep, all at once // Pseries never advances! (Because logical time doesn't advance) Pstep(Pseries(0, 1, inf), 1).asStream.nextN(10); // Pull from Pstep in a Routine // Now the clock ...
-
... stance Methods Inherited instance methods Examples PcollectFinal({ |x| x * 2 }, Pseries(0, 1, 5), { |x| x * 200 }).asStream.all; -> [ 0, 2, 4, 6, 800 ] ( p = PmonoArtic(\default, \legato, 1.01, \dur, 0.5, \degree, Pn( PcollectFinal( { |x| x ...
-
... tream, \leapFrog], { arg root = 36, numEvents=20, oneSkip=1, twoSkip=2; Prand([ Pseries(root, oneSkip, numEvents), Pseries(root - 12, twoSkip, numEvents) ], inf) }, [ StaticIntegerSpec(-100, 100), StaticIntegerSpec(2, 100), StaticIntegerSpe ...
-
... \scale, ~scale, \ffreq, Pseq(((1..2) ++ (3..1)),inf), \degree, Pseq([ Pseries({ rrand(0, 7) }, { ([1,2]).choose }, { rrand(4, 8) }), Pseries({ rrand(0, 7) }, {([1,2]).choose}, { rrand(4, 8) }), Pseries({ rrand(7, 14) }, 0-{( ...
-
... ith the wavesets size for the current name Pwavesets(Pbind(\name, \one, \start, Pseries(0, 1, Pwavesets.currentSize - 1))).play; Pwavesets(Pbind(\name, Pdup(30, Prand([\one, \two], inf)), \start, Pseries(0, 1, Pwavesets.currentSize - 1))).p ...
-
... geom(22500, 8/9, 35), 2), \preamp, Pn(Pgeom(1, 1.025, 35), 2), \bitdepth, Pseq([Pseries(34, -1, 33), 2, 2, Pseries(34, -1, 33)]), \filterswitch, Pseq([Pn(0, 35), Pn(1, 33)]), \amp, 0.3, );
-
... tance methods Examples // stops after 2 beats a = Pbind( \degree, Pfintime(2.0, Pseries(0, 1, inf)), \dur, 0.25 ).play; // Pseries plays 5 notes. // Then, Pfintime pads with enough rests to reach 2.0 beats, // before Pn repeats the Pbind. a ...
-
... e(inf)).asStream), Pclutch(this, Pfunc { ~delta.next > minDelta }), true) } } + Pseries { *fromEndpoints { |start, end, length = 2| (length >= 2 and: { length != inf }).if({ length = length.asInteger; ^this.new(start, (end - start) / (lengt ...
-
... e(inf)).asStream), Pclutch(this, Pfunc { ~delta.next > minDelta }), true) } } + Pseries { *fromEndpoints { |start, end, length = 2| (length >= 2 and: { length != inf }).if({ length = length.asInteger; ^this.new(start, (end - start) / (lengt ...
-
... ind( \instrument, \piano_MDA, \octave, 3, \degree, Ppatlace([ Pseries(0, 1, 8), // first, third etc. notes Pseries(2, 1, 7) // second, fourth etc. notes ], inf), \legato, 1, \dur, 0.25 ).play; ...