-
... 0.5,0.5,0.5,1,0.5,0.5,1,1]*0.25,inf), \dur , 2, \degree, Pseq([1,8,8,8,8,8,8,-6,Prand([9,10,11],1),1,7,8]-8, inf), \amp , Pwhite(0.2,0.8), \c3 , Pseq([Pseq([1400],24),Pseq([300],24)],inf), \pan , Pwhite(-1,1), ).play; ) */ /* ~nodeName="sou ...
-
... r changes p.( PSVop_i ([5, 9], Pn ( Pshuf ([ \u , \d ])))) p.( PSVop_i ([5, 9], Prand ([ \u , \d ], inf ))) // change of difIndex: p.( PSVop_i ([5, 2, 3], \d )) p.( PSVop_i ([5, 9], Prand ([ \u , \d ], inf ))) // "subtract" from index 0: mu ...
-
... )); Pdefn(\orig, Plazy({ "\norig.".postln; Pseq(c.pAll.choose) })); Pdefn(\mel, Prand([Pdefn(\snake), Pdefn(\orig)])); )
-
... ence functions asPseq{|repeats=1, offset=0| ^Pseq(buffers, repeats, offset) } asPrand{|repeats=1| ^Prand(buffers, repeats) } asPxrand{|repeats=1| ^Pxrand(buffers, repeats) } asPwalk{|stepPattern, directionPattern=1, startPos=0| ^Pwalk(buffe ...
-
... ern method patterns can be turned into midi files as well: ( p = Pbind ( \dur , Prand ( [ 0.25 , 0.5 , 1 ], inf ), \freq , Pwhite ( 440 , 880 ), \db , Pwhite ( -40 , -10 ), \legato , Pwhite ( 0.25 , 4 ) ); m = SimpleMIDIFile ( "~/Desktop/te ...
-
... Pvelvet : FilterPattern { var <>num, // should be >= 1 <>zero; *new { |pattern(Prand([-1, 1], inf)), num = 1, zero = 0| ^super.new(pattern).num_(num).zero_(zero) } embedInStream { |inval| var stream = pattern.asStream; var numStream = num. ...
-
... inote , Pkey ( \thisVal ) + Pseq ([0,1], inf ), \legato , 0.2 ] ], hsIndices: [ Prand ([0,1], inf ) ] ).play; ) p.free; // hsIndices also accepts collections of indices or patterns thereof, referenced by ~theseVals (which is always a collec ...
-
... nt as in basic example above \default .pVarGui(pReplace: [ \dur , PL ( \dur ) * Prand ([2,1,1], inf )] ).gui; // adding a pattern pair after the main block of pairs, // same effect as before \default .pVarGui(pAfter: [ \dur , Pkey ( \dur ) ...
-
... \p ).play(1); BP ( \p ).degree = Pbrown (0, 14, 4, inf ).round; BP ( \p ).dur = Prand ([ Pn (0.0625, 4), Pn (0.125, 2), 0.25, 0.5], inf ); BP ( \p ).stop(1); BP ( \p ).free; Why go through the extra layer of the PR? You could just chuck the ...
-
... \p ).play(1); BP ( \p ).degree = Pbrown (0, 14, 4, inf ).round; BP ( \p ).dur = Prand ([ Pn (0.0625, 4), Pn (0.125, 2), 0.25, 0.5], inf ); BP ( \p ).stop(1); BP ( \p ).free; Why go through the extra layer of the PR? You could just chuck the ...