Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... delay equal to lag buffer source = Pulse.ar(freq + freqAdjust, width: dis, mul: EnvGen.kr(delEnv, doneAction: 2)); Out.ar(outbus, source); // or try stereo. Don't forget to put 2 channels for embedSynth // and getSCBuse below. Comment out t ...

  2. Influx Doc

    ... 0, loopnode=0, dens = 10, resfreq = 500, ringtime = 0.01| var n = 15; var env = EnvGen.kr( Env({ 1.0.rand2 }!(n+1), {1.0.rand}!n, curve, releaseNode: n-1, loopNode: loopnode.min(n-3)), timeScale: timescale); var pitch = (env * [1, 0.33, -1] ...

  3. Ndef Doc

    ... f(\grain, { |out = 0, freq = 300, amp = 0.3| OffsetOut.ar(out, Pulse.ar(freq) * EnvGen.kr(Env.perc, doneAction: Done.freeSelf) * amp) }).add; ) // number of channels ~numChans = 5; // values in a Pattern may be set in various ways // here w ...

  4. PG_06g_Data_Sharing Doc

    ... g = PlayBuf.ar(1, bufnum, BufRateScale.ir(bufnum), 0, start); sig = sig * amp * EnvGen.kr(Env.linen(0.01, dur, 0.01), doneAction: Done.freeSelf); Out.ar(out, sig ! 2) }).add; ) ( TempoClock.default.tempo = 1; p = Pfset({ ~buf = Buffer.read( ...

  5. Buffer_Granulation Doc

    ... 1, round(pos * BufFrames.kr(sndBuf)), loop, 2); window = BufRd.ar(1, windowBuf, EnvGen.ar(Env([0, BufFrames.kr(windowBuf)], [granDur]), doneAction: 2), loop, 4); OffsetOut.ar(out, Pan2.ar(src, panMax, amp) * window); }).add; b = Buffer.read ...

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

  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 31 32 33 34 35 36 37 38 39 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow