Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1483) Code (412) Doc (388) Help (177) Quark (503) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. GettingStartedWithChucklib Quark

    ... ef ( \sinGrain , { |freq = 440, amp = 0.1| var sig = SinOsc .ar(freq, 0, amp) * EnvGen .kr( Env .perc(0.01, 0.1), doneAction: 2); Out .ar(0, sig ! 2); }).send(s); Proto ({ ~calcPitch = { (rrand(0, 7).degreeToKey(#[0, 2, 4, 5, 7, 9, 11], 12) ...

  2. GettingStartedWithChucklib Quark

    ... ef ( \sinGrain , { |freq = 440, amp = 0.1| var sig = SinOsc .ar(freq, 0, amp) * EnvGen .kr( Env .perc(0.01, 0.1), doneAction: 2); Out .ar(0, sig ! 2); }).send(s); Proto ({ ~calcPitch = { (rrand(0, 7).degreeToKey(#[0, 2, 4, 5, 7, 9, 11], 12) ...

  3. EZKnob Help

    ... = RLPF .ar(x, fc, rq, amp).softclip; x = Balance2 .ar(x[0], x[1], bal); x = x * EnvGen .kr( Env .cutoff, gate, doneAction: 2); Out .ar(0, x); }, [0.1, 0.1, 0.1, 0.1, 0.1, 0] ).load(s); // make the window w = Window ( "another control panel" ...

  4. XiiMushrooms Quark

    ... thDef(\xiiMushroom, {arg outbus=0, freq=440, pan=0, amp=1; var env, sine; env = EnvGen.ar(Env.perc, doneAction:2); sine = SinOsc.ar(freq, 0, env*amp); Out.ar(outbus, Pan2.ar(sine, pan)); }).play(Server.default)}.asCompileString; oscResponde ...

  5. create_simple_instrument_view Doc

    ... (\instrView, { |out = 0, amp = 0.25, freq = 440, dur = 1.0| var snd, env; env = EnvGen.kr(Env.perc(dur * 0.01, dur * 0.99), doneAction: Done.freeSelf); snd = SinOsc.ar(freq, mul: amp); snd = snd * env; snd = snd!2; Out.ar(out, snd); }).add; ...

  6. SCDraw Quark

    ... ver .local; SynthDef ( "pluck" , { arg dur, amp, freq, pan; var sig, env; env = EnvGen .kr( Env ([ 1, 0 ], [ dur ], 'linear' ), 1, amp, 0, 1, 2); sig = Pluck .ar( WhiteNoise .ar(1.0), Impulse .kr(0), freq.reciprocal, freq.reciprocal, dur, 0 ...

  7. News-3_14 Doc

    ... of https://github.com/supercollider/supercollider/pull/6110 by @mtmccrea Fixed IEnvGen initialization refactored by @mtmccrea in https://github.com/supercollider/supercollider/pull/6187 EnvGen: fix endtime by @mtmccrea in https://github.com ...

  8. Instr Doc

    ... index Returns: a Synth Discussion: Instr("saw",{ arg freq=440,amp=0.9,dur=0.25; EnvGen.kr(Env.sine(dur:dur),doneAction:2) * Saw.ar(freq,amp) }) Instr("saw").tail( s, (freq: rrand(100,400) ) ) ⧉ ✔ . replace spawn a Synth that replace an alre ...

  9. CuePlayer Doc

    ... time: SinOsc.kr(15, mul: 25/SampleRate.ir, add: 50/SampleRate.ir )); envelope = EnvGen.kr(Env.perc(attackTime:0.1,releaseTime: dec), 1, doneAction: 2); Out.ar( [0,1], (signal + delay) * envelope) } ).store; ) // Create a new CuePlayer insta ...

  10. EZKnob Doc

    ... x = RLPF.ar(x, fc, rq, amp).softclip; x = Balance2.ar(x[0], x[1], bal); x = x * EnvGen.kr(Env.cutoff, gate, doneAction: Done.freeSelf); Out.ar(out, x); }, [0.1, 0.1, 0.1, 0.1, 0.1, 0] ).add; // make the window w = Window("another control pa ...

prev 141 142 143 144 145 146 147 148 149 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow