Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2106) Code (553) Doc (473) Help (193) Quark (880) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. X-Files by 0-2U (grirgz) Code

    ... elaytime, delaytime, decaytime ), ffreq, rq ); sig = sig * EnvGen.ar(\adsr.kr(Env.adsr(0.01,0.1,0.8,0.1)),gate,doneAction:doneAction); sig = Splay.ar(sig, spread, amp, pan); Out.ar(out, sig); }).add; ); ( ...

  2. organ_reed Quark

    ... use the same signal to control both the resonant freq and the amplitude blow = EnvGen.ar(Env.asr(attack, 1.0, release), gate, doneAction: 2); snd = snd + BPF.ar(snd, blow.linexp(0, 1, 2000, 2442), 0.3, 3); // boost the high end a bit to ge ...

  3. The Muse by mkb218 (mkb) Code

    ... gs directly. ( b = Bus.audio(s, 1); SynthDef(\muse, {|freq, dur, vol| var env = EnvGen.kr(Env.linen(sustainTime: dur*0.925, attackTime: 0.075*dur, releaseTime: 0.01*dur), doneAction: 2); Out.ar(b, LPF.ar(Pulse.ar(freq, width: 0.5, m ...

  4. SS_SCMIRAudioFileOnsets Quark

    ... //mono input only def = SynthDef(\SCMIRAudioOnset,{arg playbufnum, length; var env, input; var fft, trig; var featuresave; var onsetoutput; env=EnvGen.ar(Env([1,1],[length]),doneAction:2); //stereo made mono input= if(numChannels==1,{ Play ...

  5. adding-global-effects Quark

    ... (0.1).exprange(10, 20); RLPF.ar(sig, cutoffFreq, rq).tanh; }; signal = signal * EnvGen.kr(Env.asr, gate, doneAction:2); DirtPause.ar(signal.sum, graceTime:4); Out.ar(effectBus, signal) }, [\ir, \ir]).add; }; ) // then add the effect to the ...

  6. Simple wrapper class for VSTPlugin by davidmorgan (david_morgan) Code

    ... a sound source for testing ( Ndef(\sine, { var sig = SinOsc.ar(440); var env = Decay2.kr(Impulse.kr(0.5)); Splay.ar(sig) * env * 0.1; }) ) // display discovered keys Vst(\delay1).keys.do({arg k; k.postln;}); // load a vst by ...

  7. WFSArrayPanSynthDefs Quark

    ... y a pre panner, but static sources might not need one of those (or only for the env and gain) */ classvar <>minSize = 1, <>maxSize = 96, <>division = 8; // if we get > 64 we might want to combine multiple classvar <>types, <>modes, <>intTyp ...

  8. Event_patterns_and_LFOs Doc

    ... Description 1. Control by new values per event Ex.1a: Functions of time Ex.1b: Envelopes Ex.1c: SharedOut / shared memory Ex.1d: HS / PHS and related Ex.1e: audio synths reading from a control bus, discretized Ex.1f: Pseg 2. Continuous LFO ...

  9. startup_example_simpleJIT Quark

    ... 600); try { q.pdg.win.close }; q.pdg = PdefAllGui(16).moveTo(420, 600); 1.wait; Env.perc.test; // and play a test sound if you like "setup done.".postln; }); Task({ 1.wait; // wait till quit has happened - make longer if needed. s.boot; // ...

  10. Orchestral Sound texture v1 by nicolaariutti (nicolaariutti) Code

    ... gate=1, buf, rate=1.0,pan=0.0, atk=0.01, dcy=0.2, sus=0.7, rel=0.1| var sig, env; env = EnvGen.ar(Env.adsr(atk, dcy, sus, rel), gate, doneAction:2); sig = Mix.ar(PlayBuf.ar(2, buf, BufRateScale.ir(buf)*rate, 1, doneAction:0)); sig ...

prev 141 142 143 144 145 146 147 148 149 150 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow