-
... next }; }); // keep the method, but change the variable o = n.clone({ ~stream = Pseq ([0, 1, 2], inf ).asStream }); ) 10.do({ [n.next, o.next].postln }); // .next evaluates ~next, returning ~stream.next // stream is different for both nodes ...
-
... next }; }); // keep the method, but change the variable o = n.clone({ ~stream = Pseq ([0, 1, 2], inf ).asStream }); ) 10.do({ [n.next, o.next].postln }); // .next evaluates ~next, returning ~stream.next // stream is different for both nodes ...
-
... *", "2", 0, 0)"; // alternate between accel and decel /y = "\ramp("*", 1, 0.2, {Pseq([0, 1], inf)}, `exp)::\pitch("*", "2", 0, 0)"; /y = "\ramp("*", 1, 0.2, 0.5, `exp)::\pitch("*", "2", 0, 0)"; // pulls 1 -> 0.2 curve to the right, biasing ...
-
... close); win.layout = layout; win.front(); } // Pattern convenience functions asPseq{|repeats=1, offset=0| ^Pseq(buffers, repeats, offset) } asPrand{|repeats=1| ^Prand(buffers, repeats) } asPxrand{|repeats=1| ^Pxrand(buffers, repeats) } asP ...
-
... mediately instead of with the AppClock delay ( t = Task ({ var pt; pt = PintC ( Pseq ( [b.value, Pwhite ( 0.0 , 1.0 , inf )], 1 ), 1 / Pseries ( 2 , 0.25 , inf ) ).asStream; b.doAction; 100 .do({ |i| b.value = pt.next; b.background = Color ...
-
... ence Rest().yield; }, { durations = (indices.shift(-1, 32) - indices)*1/16; b = Pseq(durations).asStream; while({outval = b.next; outval.notNil}, { inval = outval.yield; }); }); }, { inval=nil.yield }); }); ^inval; } } PgridsValue : Pattern ...
-
... } startAliveThread { if(thread.isNil) { thread = Routine { // var testStream = Pseq([Pn(0, 200), Pn(1, inf)]).asStream; loop { // randomized sync times, to avoid contention at integer valued beats // stealing this idea from Scott Wilson's ...
-
... utput the phrase objects in the order desired for play. By default it returns a Pseq. You could replace it with a different function, to output the phrases in any arbitrary order. If you change this function, do it after chucking in the sou ...
-
... utput the phrase objects in the order desired for play. By default it returns a Pseq. You could replace it with a different function, to output the phrases in any arbitrary order. If you change this function, do it after chucking in the sou ...
-
... leRate_resample = Pn ( Plazy { var freqs = (1..rrand(8, 15)) * rrand(100, 600); Pseq (freqs, rrand(3, 6)) }); ~fxOrder = 1; ~mix_resample = Pseg ( PLseq ([0.0, 0.9]), // see PS help, examples for "counted embedding" PLseq ([ PS ( Pwhite (2. ...