Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. FreeSelf Help

    ... for release, so amp = 0 // doesn't cause synth buildup. }).send(s); ) ( Task { loop({ fork { exprand(34, 156).do { |i| i = i + 1; Synth .grain( \dirac , [ \amp , 1 / i]); (0.006 * i).wait; }; }; 1.wait; }) } .play; )

  2. RandSeed Help

    ... n, doneAction:2) ) }).send(s); ) // the exact same sound is reproduced ( fork { loop { Synth ( \pseudorandom ); 1.1.wait; // wait a bit longer than sustain, so sounds don't overlap } } ) // changing the rand seed changes the sound: ( fork { ...

  3. Pn Help

    ... 0, env)) }).add; ) ( var a; a = Pn ( Pshuf ([1, 2, 2, 3, 3, 3], 4)).asStream; { loop { Synth ( \help_sinegrain , [ \freq , a.next * 600 + 300]); 0.2.wait; } }.fork; )

  4. PMOsc Help

    ... ,20,8), 0, 0.1) }); // modulate index ( e = Env .linen(2, 5, 2); Routine .run({ loop({ play({ LinPan2 .ar( EnvGen .ar(e) * PMOsc .ar(2000.0.rand,800.0.rand, Line .kr(0.0, 12.0.rand,9),0,0.1), 1.0.rand2)}); 2.wait; }) }))

  5. Pwrand Help

    ... [60, 61, 63, 65, 72], [10, 2, 3, 1, 3].normalizeSum, inf ).asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , a.next.midicps]); 0.1.wait; }) }).play; )

  6. jitlib_efficiency Help

    ... dy on the server ~a = Pbind ( \instrument , name, \freq , ...); ~a = Routine ({ loop({ s.sendMsg( "/s_new" , name, ...)}) }); ~a.refresh; ~a.wakeUp; // waking up a stopped proxy does not require a resend these resend the synth with new prop ...

  7. PV_MagNoise Help

    ... var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT(LocalBuf(2048) , in); chain = PV_MagNoise (chain); Out .ar(out, 0.5 * IFFT (chain).dup); }).play(s,[ \out , 0, \soundBufnum , c]); ) c.fre ...

  8. Pfinval Help

    ... , 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.wait; }) }).play; )

  9. Prand Help

    ... env)) }).add; ) ( a = Prand (#[60, 61, 63, 65, 72], inf ).asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , a.next.midicps]); 0.2.wait; }) }).play; )

  10. PV_BinScramble Help

    ... var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT ( LocalBuf (2048), in); chain = PV_BinScramble (chain, MouseX .kr , 0.1, MouseY .kr > 0.5 ); Out .ar(out, 0.5 * IFFT (chain).dup); }).play ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow