Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (727) Code (130) Doc (218) Help (78) Quark (287) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. Homopolar generator (head end power for electronic train heating) by 0-2U (grirgz) Code

    ... 00)) ]); //sig = sig * EnvGen.kr(\iadsr2.kr(Env.adsr(0.001,0.1,0.8,0.1)), Trig.kr(\itrig2.tr(1),\isustain2.kr(1)), doneAction:0); pan = 1; //sig = Splay.ar(sig, \spread.kr(0.8), amp, \pan.kr(0)); amp = amp * \gain.kr(1); sig ...

  2. Demo: Loading a MIDI file, playing it with your own SynthDef by bruno (Bruno Ruviaro) Code

    ... 0, decay, 0).kr(doneAction: 2); snd = Pluck.ar( in: WhiteNoise.ar(amp), trig: Impulse.kr(0), maxdelaytime: 0.1, delaytime: freq.reciprocal, decaytime: decay, coef: dampen); snd = Pan2.ar(snd, pan); Out.ar(0, snd); } ...

  3. Hotroded "08091500Acid309 by_otophilia" by bernhard (bernhard) Code

    ... =1, pitch=50, amp=8; var env1, env2, out; pitch = Lag.kr(pitch, 0.12 * (1-Trig.kr(gate, 0.001)) * gate); env1 = EnvGen.ar(Env.new([0, 1.0, 0, 0], [0.001, 2.0, 0.04], [0, -4, -4], 2), gate, amp); env2 = EnvGen.ar(Env.adsr(0.001, ...

  4. Pluck the Duck by kkomers (kkomers) Code

    ... 0).kr(doneAction: 2); snd = Pluck.ar( in: PinkNoise.ar(amp), trig: Impulse.kr(0), maxdelaytime: 0.1, delaytime: freq.reciprocal, decaytime: decay, coef: dampen); Out.ar(0, [snd, sn ...

  5. 115pluck (Assignment 1) by mason-mccormack (Mason McCormack) Code

    ... ).kr(doneAction: 2); snd = Pluck.ar( in: WhiteNoise.ar(amp), trig: Impulse.kr(0), maxdelaytime: 0.1, delaytime: freq.reciprocal, decaytime: decay, coef: dampen); Out.ar(0, [snd, sn ...

  6. Bass with Pluck by margo-gentile (Margo Gentile) Code

    ... 0).kr(doneAction: 2); snd = Pluck.ar( in: PinkNoise.ar(amp), trig: Impulse.kr(0), maxdelaytime: 0.1, delaytime: freq.reciprocal, decaytime: decay, coef: dampen); Out.ar(0, [snd, sn ...

  7. beat repeat with gate and pitch increment by santi (santi) Code

    ... var envtime; var input, buffer, playhead, output, loopOutput; var recTrig, recTime, playTrig, bufferEnd, isLooping; var fixedTimeGate, fixedTimeEnd; var numChannels = 2; var mixPhase, resetTrig; var declickEnv ...

  8. Damped Driven Double Pendulum Sonification and Visualization by xavieredavenport (xavieredavenport) Code

    ... Collider when dealing with numbers super small and super large, especially when trig functions are involved. I've tried to mitigate the errors by using sinPi instead of regular sin, but you still have to be careful when setting system varia ...

  9. Scanned Synthesis Visualisation by matthew-kane (Matthew Kane) Code

    ... l; var env; in = LPF.ar(LocalIn.ar(1), XLine.ar(1,10,0.3)) * 0.97 + (LPF.ar(Trig.ar(gate, 0.01),200) * WhiteNoise.ar.range(0.98,1)); spring = spring.dup(~numsprings); damp = damp.dup(~numsprings); ou = in; springs = spring ...

  10. Outhau5 by tnevada (tnevada) Code

    ... ed = 1, gate = 1, which = 0, att = 0.01, rel = 0.1; var snd, env, sweep, trig; env = Env.asr(attackTime: att, sustainLevel: amp, releaseTime: rel ).kr(doneAction: 2, gate: gate); // fspeed (filter speed) is Hz of s ...

prev 11 12 13 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow