-
... 0.8) ]) ).play; ) Pdefn ( \deg , Prand ([0, 3, [1s, 4]], inf )); Pdefn ( \deg , Pn ( Pshuf ([0, 3, 2, 7, 6],2), inf )); ( Pdefn ( \deg , Plazy { var pat; pat = [ Pshuf ([0, 3, 2, 7, 6],2), Pseries (0, 1, 11), Pseries (11, -1, 11)].choose; P ...
-
... dur: Pseg ([0,0,0.25,0.5, 0.75, 1],10).linexp(0,1,0.01,2), legato: 4, startPos: Pn ( Pseg ([0,1], 20), inf ), rate: Pwhite (1, 1).midiratio, loop: 0, group: Pkey ( \newgroup ), bufnum: Pkey ( \sf1 ) ]) ); a.play; ) //a.render("sounds/test.a ...
-
... p; // EventPatternProxy can be used in multiple patterns ( x = Ppar ([ Pbindf ( Pn (a, inf ), \gtranspose , Pstutter (8, Pseq (#[0, 2, 0, 3], inf )) ), Pbindf ( Pn (a, inf ), \gtranspose , Pstutter (8, Pseq (#[7, 4, 0, 3], inf )), \dur , 0. ...
-
... PlazyEnvir ({ arg a=0, b=1; Pshuf ([a, a, b], 2) }); // a, b default to 0,1 x = Pn (a, inf ).asStream; 10.do { x.next.postln }; Post .nl; e = (a:100); 10.do { x.next(e).postln }; Post .nl; e = (a:100, b:200); 10.do { x.next(e).postln }; ) P ...
-
... note, not just frequency \degree , Pwhite (-7, 12, inf ), \dur , Pwrand ([0.25, Pn (0.125, 2)], #[0.8, 0.2], inf ), \legato , sin( Ptime ( inf ) * 0.5).linexp(-1, 1, 1/3, 3), \amp , Pexprand (0.5, 1.0, inf ) ).play(quant: 1); ) p.stop; Prev ...
-
... t; // example: ( // a fixed duration pattern: f = Pbind ( \dur , 0.5, \degree , Pn (4,1), \instrument , \help_sinegrain ); // this pattern has indetermined length: a = Prand ([ Pbind ( \dur , Pseq ([0.02, 0.002, 0.1, 0.1],2), \degree , Pseq ...
-
... 1, 1, -1], #[2, 2], \sin ), \dur , 0.125 ).play; p.stop; The releaseNode and loopNode envelope parameters do not take effect, because they are meaningful only when used in a Synth with a gated EnvGen. When the envelope ends, the stream will ...
-
... degree , 7.rand); Pbindef ( \x , \degree , Pseq ([0, 7, 3, 7, 4], inf ), \dur , Pn ( Pseries (0.2, -0.02, 10))); Pbindef ( \x , \stretch , 2);
-
... modwheel ) ( p = Pbind ( \degree , Pwhite (-7, 12, inf ), \dur , Pwrand ([0.25, Pn (0.125, 2)], #[0.8, 0.2], inf ), \legato , Pfunc { ~legato } // retrieves value set by MIDI control ).play; ) p.stop; c.remove; If Pfunc { } is bothersome in ...
-
... patterns modify the output of value patterns. These are called FilterPatterns. Pn(pattern, repeats) -- repeat the pattern as many times as repeats indicates Pstutter(n, pattern) -- repeat individual values from a pattern n times. n may be ...