-
... SinOsc .ar([freq, freq + 0.1.rand2], 0, env)) }).add; ) ( var p; p = Pdfsm ( [ Prand ([0,1,2], inf ), // signalStream IdentityDictionary [ // state 0 0 -> [ 2, Pseq ([67,68,69], 2) ], 1 -> [ 0, 66 ], 2 -> [ 1, 65 ] ], IdentityDictionary [ ...
-
... seq ([50, 45], inf )) ]).play ) ( // Ppars can be nested Ppar ([ Pbind ( \dur , Prand ([0.2, 0.4, 0.6], inf ), \midinote , Prand ([72, 74, 76, 77, 79, 81], inf ), \db , -26, \legato , 1.1 ), Pseq ([ Pbind ( \dur , 3.2, \freq , Pseq ([ \rest ...
-
... ( \dur , 0.3, \degree , Pseq ([0, 1, 2], 2)) ); x = Pdict (e, Pseq ([ \a , \b , Prand ([ \a , \c ]) ], 4) ); x.play; )
-
... 1), -1, rrand(4, 10)), \dur , 0.125 * 4/3) } ); p = Pspawn ( Pbind ( \pattern , Prand ([ \up , \down ], inf ), \delta , Pwhite (1, 5, inf ) * 0.125, \method , \par ), (dict: patternChoices)).play; ) p.stop; // Using pattern composition (per ...
-
... .softclip * 0.8); }, [ \ir , 0]).add; ) ( var p, q, r, o; p = Pbind ( \degree , Prand ((0..7),12), \dur , 0.3, \legato , 0.2); q = Pfx (p, \echo , \dtime , 0.2, \decay , 3); r = Pfx (q, \distort , \pregain , 20, \amp , 0.25); o = Pfx (r, \w ...
-
... elements as there are keys. Examples ( a = Pbind ( \x , Pseq ([1, 2, 3]), \y , Prand ([100, 300, 200], inf ), \zzz , 99); x = a.asStream; ) x.next(()); // pass in an event () x.next(()); x.next(()); x.next(()); // end: nil // sound example ...
-
... s-Events7 ] - Practical Considerations Specific classes: ListPatterns Pseq Pser Prand Pwrand Pxrand Pshuf Place Ptuple Pslide Pfsm Place ... FilterPatterns Pseed Prewrite Pswitch Pswitch1 Pn Pstutter Pfin Psync Pcollect Pselect Preject Pdur ...
-
... f values or other ugens length number of values to return structurally related: Prand see also: Demand Dxrand never plays the same value twice, whereas Drand chooses any value in the list // example ( { var a, freq, trig; a = Drand ([1, 3, ...
-
... roupReleaseTime, releaseLag)); Example: ( var p, q, r, o; p = Pbind ( \degree , Prand ((0..7),12), \dur , 0.3, \legato , 0.2); Pgroup (p).play; // post the node structure: fork { s.queryAllNodes; 3.wait; s.queryAllNodes; 2.wait; s.queryAllN ...
-
... eAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( c = Pstutter (3, Prand ([1, 2, 3], inf )*4+65); x = c.asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , x.next.midicps]); 0.12.wait; }) }).play; )