Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... Cutoff); // Envelope -- delays start until recording has finished env = EnvGen.kr(Env.dadsr(1, attackTime, decayTime, sustainLevel, releaseTime), gate, amp, doneAction: 2); sig = dist * env; // Output sig = Out.ar(outBus, ...

  2. BlumRotate Doc

    ... ); inR = SinOsc.ar(330 * freqMod, mul: 0.3); // L and R envelopes #env1, env2 = EnvGen.kr( Env.perc(releaseTime: 0.3), Impulse.kr([5, 3]) ); // Stereo input in = [ inL * env1, inR * env2 ]; lfo = LFSaw.kr(0.1).range(0, 2pi); out = BlumRotat ...

  3. oo_soundfiles Quark

    ... 005, durMax= 0.5, durRate= 1//duration boundaries and rate of change | var env= EnvGen.kr(Env.asr(atk, 1, rel), gate, doneAction:2); var pos= LFDNoise1.kr(posRate).range(posMin, posMax); var pan= LFDNoise1.kr(panRate).range(panMin, panMax); ...

  4. Pfset Doc

    ... e ( SynthDef(\sinegrain, { |out = 0, freq = 440, sustain = 0.02| var env; env = EnvGen.kr(Env.perc(0.001, sustain), 1, doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env * 0.1)) }).add; ) ( a = Pbind(\dur, 0.5, \instrument, \sin ...

  5. Re: DWG sitar model by 56228375 (56228375) Code

    ... uckImpulse, { |out = 0, t_trig = 0, amp = 0.3| Out.ar(out, PinkNoise.ar * EnvGen.kr(Env.perc(0.01, 0.02), t_trig) * amp); }).add; // Useful for testing. For programmatic usage use \pluckImpulse SynthDef(\mousePluck, { |out ...

  6. NTube Doc

    ... tors is great ( { var my= MouseY.kr(0.0,0.99); Limiter.ar(NTube.ar(PinkNoise.ar*EnvGen.ar(Env.perc(0.01,0.05),MouseX.kr(0.0,1.0)>0.5),my,`(Array.rand(49,0.0,1.0)),`(Array.rand(50,0.0001,0.01)) ),0.99,0.01).min(1.0).max(-1.0) }.play ) //1-D ...

  7. Dawn by schemawound (Schemawound) Code

    ... lfo = lfo.add(SinOsc.kr(lfo2input, 1.5pi).range(0, 1)); env = EnvGen.kr(Env.perc(attack, decay), doneAction: 2); syn = SinOsc.ar(freq) * lfo[2]; output = syn * env * amp; Out.ar(outbu ...

  8. Pproto Doc

    ... r(1, bufnum, Phasor.ar(0, rate, startPos, BufFrames.ir(bufnum)), 1, 1); audio = EnvGen.ar(Env.sine, 1, timeScale: sustain, doneAction: Done.freeSelf) * audio; audio = Pan2.ar(audio, pan, amp); OffsetOut.ar(out, audio); }).add; // use .store ...

  9. Rough Draft Final by kkomers (kkomers) Code

    ... , 0.1,LFNoise2.ar(1/2).range(0.001,0.01)); f = HPF.ar(f, 4000, 0.05); f = f * EnvGen.kr(Env.perc(0.01,decay*0.8), doneAction:2); Out.ar(0, 15 * f.dup * amp); }).store; ) ( SynthDef("kick", { | decay = 0.03, amp = 1, freq ...

  10. Plorenz Doc

    ... ynthDef(\help_sinegrain2, { arg out=0, freq=440, sustain=0.05, pan= 0; var env= EnvGen.ar(Env.perc(0.01, sustain, 0.2), doneAction:2); Out.ar(out, Pan2.ar(SinOsc.ar(freq, 0, env), pan)); }).add; ) ( var a = Plorenz(10, 28, 2.667, 0.01, 0,09 ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow