-
... 1/4, 1/4, 1/4, 1/4, Rest(1/6), 1/3, 1/4, 1/4, 1/4, 1/4, 1]) * 1.25, \rel, Pseq([Pn(0.3, 34), 0.6]), \ctranspose, -18, \amp, 0.3, \degree, Pseq([-2, -2, \rest, -2, 0, 1, 0, 2, 4, 1, 1, \rest, -5, -4, -4, \rest, -3, -2, -2, \rest, -2, 0, 1, 0 ...
-
... , \dur , 1/3) ]) ).play; ) x.source = Prand ([0, 3, [1s, 4]], inf ); x.source = Pn ( Pshuf ([0, 3, 2, 7, 6], 2), inf ); // if quant is set, the update is done at the next beat or whatever is specified: x.quant = 4; x.source = Pn ( Pseries ( ...
-
... [ Pmulpre Paddpre ] FuncFilterPattern [ Pwhile Pfset Preject Pselect Pcollect ] Pn [ Ploop ] ] Phid Pdict Pdefn [ Tdef [ Pdef ] ] Pswitch [ Pswitch1 ] ListPattern [ Pwalk Pslide Ptuple Ppar [ Ptpar ] Pdfsm Pfsm Pwrand Pxrand Prand Pshuf Pse ...
-
... doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( var c, b; c = Pn ( Pfin ({ rrand(3, 5)}, Pseq ([1, 2, 3, 4, 5, 6], inf )*4+65), inf ); b = c.asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , b.next.midicps]); ...
-
... oneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( a = Pn( Pwrap( Pgeom(200, 1.07, 96), 200, 1000.0 ), inf ); x = a.asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, x.next.debug, \dur, 0.3]); 0.12.wait; }) ...
-
... ) ); b = Pbind ( \degree , Pseq (#[0, 2b, 3], 1), \dur , 2, \ctranspose , -7 ); Pn ( Pfset ({ ~tempo = #[1, 2, 4].choose.postln }, Pseq ([ Event .silent(1.25), Ppar ([a, b]) ]) ) ).play )
-
... "_").postln; if(segIndex.isNil) { ^nil }; proxy = switch(str[0..segIndex - 1], "pn", { PatternProxy.new }, "pe", { EventPatternProxy.new }, "t", { TaskProxy.new }, "n", { proxyspace.at(key) }, "f", { Maybe.new } ); if(this.clock.notNil and: ...
-
... note numbers -- .asChord method does this for me #{ |notes| notes.isArray.if({ Pn (notes.asChord, 1) }, { Pn (notes, 1) }); } => ArpegPat ( \block ); #{ |notes| Pxrand (notes, inf ) } => ArpegPat ( \xrand ); #{ |notes| Pseq (notes.sort, in ...
-
... note numbers -- .asChord method does this for me #{ |notes| notes.isArray.if({ Pn (notes.asChord, 1) }, { Pn (notes, 1) }); } => ArpegPat ( \block ); #{ |notes| Pxrand (notes, inf ) } => ArpegPat ( \xrand ); #{ |notes| Pseq (notes.sort, in ...
-
... eate a new pattern each time it is called Pdefn(\x, { Pseq({ 10.rand } ! 8) }); Pn(Pdefn(\x)).asStream.nextN(16); // the function is called in the incoming event as current environment, so parameters can be passed: Pdef(\stut, { Pdup(~dup ? ...