Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (408) Code (88) Doc (107) Help (49) Quark (164) SCDoc ↗ Forum ↗ Google ↗
  1. Pfinval Help

    ... 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 ...

  2. Pclutch Help

    ... .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; )

  3. StreamClutch Help

    ... 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 ...

  4. play Help

    ... 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 ...

  5. Ppatmod Help

    ... 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({ ...

  6. PatternProxy Help

    ... , \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 ( ...

  7. PatternsDocumentedAndNot Help

    ... [ 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 ...

  8. Pfin Help

    ... 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]); ...

  9. Ptime Help

    ... ) ); 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 )

  10. Pconst Help

    ... 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; )

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow