-
... doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( var c, b; c = Pn ( Pfinval ({ 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 ...
-
... .add; ) ( var a; a = Pclutch ( Pseq ([1, 2, 3, 4, 5], inf ), Pseq ([0, 0, 1, 0, Pn (0, {30.rand}), 0, 1, 1], inf ) ).asStream; { loop { Synth ( \help_sinegrain , [ \freq , a.next * 200 + 200]); 0.02.wait; } }.fork; )
-
... ext.postln }); //sound example: ( var clutch, pat, decicion; decicion = Pseq ([ Pn ( true ,10), Prand ([ true , false ], 10)], inf ).asStream; pat = Pbind ( \freq , Pseq ([200, [300, 302], 400, 450], inf ), \dur , 0.3); clutch = StreamClutc ...
-
... play(clock, protoEvent) returns: an EventStreamPlayer ( Pseq ([ Pbind ( \freq , Pn (500, 1)), Pbind ( \dur , Pn (0.1, 1)) ], 2).play; ) Playing single Synths from SynthDefs on the server The following play messages both cause a SynthDef to ...
-
... in, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( a = Pn ( Ppatmod ( Pseq ([0, 0, 0, 0],1), { arg pat, i; var list; list = pat.list; pat.list = list.put(list.size.rand, 2); }, 15), inf ).asStream; Routine ({ loop({ ...
-
... , \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]); ...
-
... ) ); 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 )
-
... ustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( Pn ( Pbind ( \dur , Pconst (1, Prand ([1, 0.02, 0.2], inf )), \instrument , \help_sinegrain , \degree , Pseries (0, 1, inf ), \octave , 6 ) ).play; )