-
... .rand, \pitchdec: 0.3.rand, \env: 128.rand.midicps, \pol: [-1, 1].choose, \amp: Pseq({1.0.rand2.round(0.25).clip(0, 1)}.dup(16), inf).asStream, \level: 0 ); }; objsFunc.dup(n); //create n agents for startup //--sequence Tdef(\seq, { //play ...
-
... Font.defaultSansFace, 20, true)) ; flow.nextLine.shift(0, 0); progressStates = Pseq(34.collect{ |i| "collecting" + ($.!i).join(' ') }, inf).asStream; progressRoutine = fork({ loop({ progress.string_(progressStates.next); 0.5.wait; }) }, Ap ...
-
... (\ppar); Ndef(\stereo).play; // change durations ~durs.do({ |pp, i| pp.source = Pseq(Array.fib(5, i/10 + 0.1, i+1/5), inf) }); ~durs.do({ |pp, i| pp.source = 0.5 + (i/10) }); ~durs.do({ |pp| pp.source.postcs }); // frequencies ~freqs.setn(A ...
-
... 0.2, \midinote, Pxrand([58, 60, 61, 63, 64, 67, 69, 70], inf) + [-7, 0, 5, 9] + Pseq([0.2, -0.2],inf), \amp, 0.03 ).play(c, quant: q); ) // pause and stop are synonym p.pause; // resume p in sync p.play(c, q); // stop and free ( r.stop; p.f ...
-
... the variables Pxrand ((0..7), inf ) =>.degree BP ( \flexscale ); Pwrand ([0.25, Pseq ([0.25, 0.125], 1)], [2, 1].normalizeSum, inf ) =>.delta BP ( \flexscale ); // assignment syntax also works BP ( \flexscale ).legato = Pn ( Pgeom (0.1, 1.2 ...
-
... the variables Pxrand ((0..7), inf ) =>.degree BP ( \flexscale ); Pwrand ([0.25, Pseq ([0.25, 0.125], 1)], [2, 1].normalizeSum, inf ) =>.delta BP ( \flexscale ); // assignment syntax also works BP ( \flexscale ).legato = Pn ( Pgeom (0.1, 1.2 ...
-
... totalDuration).postvg }; // parallelise polyphonic series res = Pevent(PvgFlop(Pseq(res)), ()).asStream.all; ^res } *unconvert { arg eventList; var str = ""; eventList.do { |event| str = str ++(event[\degree] ? "*"); reverseDiacritica.do { ...
-
... 0.98, 0.01, 0.01, 0.98, 0.01, 0.01, 0.98, 0.01, 0.01, 0.98], 1 ].asNotes); b.dumpSeq; MIDIRecBuf("cmaj") 0 : [ 60, 0.01, 1, nil ] 1 : [ 64, 0.01, 1, nil ] 2 : [ 67, 0.98, 1, nil ] 3 : [ 60, 0.01, 1, nil ] 4 : [ 65, 0.01, 1, nil ] 5 : [ 69, ...
-
... 0.98, 0.01, 0.01, 0.98, 0.01, 0.01, 0.98, 0.01, 0.01, 0.98], 1 ].asNotes); b.dumpSeq; MIDIRecBuf("cmaj") 0 : [ 60, 0.01, 1, nil ] 1 : [ 64, 0.01, 1, nil ] 2 : [ 67, 0.98, 1, nil ] 3 : [ 60, 0.01, 1, nil ] 4 : [ 65, 0.01, 1, nil ] 5 : [ 69, ...
-
... er and: { ~nextSync.isNumber and: { ~nextChildEventTime > ~nextSync } } }).if({ Pseq([(play: 0, delta: ~nextChildEventTime - ~nextSync), pattern], 1) }, { pattern }); }; // user hook to provide a Pbindf or other processing ~wrapPattern = { ...