Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... oneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( a = Pn( Pwrap( Pgeom(200, 1.07, 96), 200, 1000.0 ), inf ); x = a.asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, x.next.debug, \dur, 0.3]); 0.12.wait; }) ...

  2. Pdefn Doc

    ... eate a new pattern each time it is called Pdefn(\x, { Pseq({ 10.rand } ! 8) }); Pn(Pdefn(\x)).asStream.nextN(16); // the function is called in the incoming event as current environment, so parameters can be passed: Pdef(\stut, { Pdup(~dup ? ...

  3. Pshuf Doc

    ... oneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( a = Pn(Pshuf(#[60, 60, 60, 61, 63, 65, 72], 4), inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, a.next.midicps]); 0.15.wait; }) }).play; ) ⧉ ✔ helpfi ...

  4. Pfinval Doc

    ... Done.freeSelf); 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]); 0.12.wa ...

  5. PIdev Doc

    ... -1; ~hiDev = 1; ~lookBack = 2; p = Pbind( \dur, 1/7, \midinote, PIdev( 78, 10, Pn(Plazy { ~loDev }), Pn(Plazy { ~hiDev }).trace(prefix: "absolute deviation "), Pn(Plazy { ~lookBack }) ).trace(prefix: "midi "); ).play ) // start parameter m ...

  6. Pclutch Doc

    ... ) }).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; ) ⧉ ✔ helpfile source: /usr/lo ...

  7. Block Doc

    ... //play soundfile marylin1 pl 1 2 marylin2 //play, bus 1, slot 2, file lp 2 ant pn 1 rave //pattern in block 1 called rave sn 1 textures //synth in block 1 called textures sn 1 {SinOsc.ar(440)} //create temp synth def pn 1 Pbind(\note, [1,3 ...

  8. StreamClutch Doc

    ... }); ⧉ ✔ s.boot; // sound example: ( var clutch, pat, decision; decision = Pseq([Pn(true, 10), Prand([true, false], 10)], inf).asStream; pat = Pbind(\freq, Pseq([200, [300, 302], 400, 450], inf), \dur, 0.3); clutch = StreamClutch(pat, decisi ...

  9. play Doc

    ... rn.play (clock, protoEvent) returns: an EventStreamPlayer ( Pseq([ Pbind(\freq, Pn(500, 1)), Pbind(\dur, Pn(0.1, 1)) ], 2).play; ) ⧉ ✔ See Pattern: -play Playing single Synths from SynthDefs on the server The following play messages both ca ...

  10. Ppatmod Doc

    ... oneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( a = Pn( Ppatmod( Pseq([0, 0, 0, 0], 1), { |pat, i| var list; list = pat.list; pat.list = list.put(list.size.rand, 2); }, 15), inf).asStream; Routine({ loop({ Synth( ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow