Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2106) Code (553) Doc (473) Help (193) Quark (880) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. AudioControlBug Quark

    //Bug ( s.waitForBoot({ SynthDef(\test, { Out.ar(\out.ir(0), { SinOsc.ar(2) * EnvGen.ar(Env([1, 1], [0.2]), doneAction:2) }) }).add; s.sync; ~bus = Bus.audio(s); Pbind( \instrument, \test, \dur, 1, \out, ~bus.index, \addAction, \addToHead ) ...

  2. dodecahedronLeslie Quark

    ... sig = LPF.ar(outsig, lpHz); outsig = BHiPass.ar(outsig, hpHz); [0, 0, 0, outsig*EnvGen.kr(Env.sine(1/(3*rotationSpeed)), Impulse.kr(rotationSpeed, (1/6))), outsig*EnvGen.kr(Env.sine(1/(3*rotationSpeed)), Impulse.kr(rotationSpeed, (2/6))), o ...

  3. minimoog Quark

    ... ,\linear,1,0), ControlSpec(-48,48,\linear,1,0) ],\audio); // has one long ffreq env // what's the point of that one ? Instr([\minimoog,\detune],{ arg freq=440,detune = -4,ffreqInterval=0,rq=0.4,freqEnvSpeed=1.0; var p; var f,g,h,c,env; c=LF ...

  4. organTonewheel1 Quark

    ... vdelay = 0.1, vonset = 0, vrateVariation = 0.1, vdepthVariation = 0.1; var snd, env, vibrato; vibrato = Vibrato.kr( freq: freq, rate: vrate, depth: vdepth, delay: vdelay, onset: vonset, rateVariation: vrateVariation, depthVariation: vdepthV ...

  5. Core_04 Quark

    ... = 0, gate = 1, solo = 1, master = 0.35, noiseMix = -1.0| var sine, noise, sig, env, f, a, ph; f = freq.lag(0.012).clip(20, 20000); a = amp.lag(0.020).clip(0, 1); ph = 0.0; sine = SinOsc.ar(f, ph, a); noise = BPF.ar(WhiteNoise.ar((a * 1.5). ...

  6. oneclap_thor Quark

    ... oneclap_thor, {arg out=0, t_trig=1, amp=0.1, filterfreq=100, rq=0.1, pan=0; var env, signal, attack,Ê noise, hpf1, hpf2; noise = WhiteNoise.ar(1)+SinOsc.ar([filterfreq/2,filterfreq/2+4 ], pi*0.5, XLine.kr(1,0.01,4)); //noise = PinkNoise.ar( ...

  7. AudioHelpers Quark

    ... at(0) },{ ^input }) } } // audio function plays continously but is gated by the envelope Enveloper2 { *ar { arg audio,gate,env; var ts,gated; gated = Latch.kr(gate,gate); env ?? {env = Env.adsr}; // backwards compatibility : value the funct ...

  8. AudioHelpers Quark

    ... t(0) }, { ^input }) } } // audio function plays continously but is gated by the envelope Enveloper2 { *ar { arg audio, gate, env; var ts, gated; gated = Latch.kr(gate, gate); env ?? {env = Env.adsr}; // backwards compatibility : value the f ...

  9. harpsichord_pluck Quark

    ... , pan=0, atk=0, rel=0, trig= 1, maxdelaytime= 0.2, decaytime= 7, coef= 0.1| var env, sig, delay; env = EnvGen.kr(Env.linen(atk, decaytime, rel), doneAction: Done.freeSelf); sig = PinkNoise.ar(amp); //Can use white noise here, but Pink is mo ...

  10. organTonewheel4 Quark

    ... 0.25, parfreq = 500, parrq = 1, pardb = 3, blend = 0.6; var lfo, pulse, filter, env, snd; lfo = LFTri.kr(freq: lforate * [1, 1.01], iphase: Rand(0, 2.0) ! 2).range(1 / (1 + lfodepth), (1 + lfodepth)); pulse = Pulse.ar(freq: freq * [1, 3] * ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow