Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... the Line is completed. See UGen-doneActions for more detail. See also: XLine , EnvGen , Ramp plot { Line .ar(0, 1, 0.01) }; play { SinOsc .ar( Line .kr(200, 17000, 10), 0, 0.1) }; // for certain values, like frequency, XLine sounds usually ...

  2. Performance Unit - Buffers (part 2) by makary-kleinschmidt (rumush) Code

    ... { arg gate = 1, freq = 440, out = 2, index=100, modMix = 0, dur; var env = EnvGen.ar(Env.linen(0.0005, dur-0.001, 0.0005, 1, IRand(-8,-4)), gate, doneAction:2); var mod = SinOsc.ar(freq*Rand(0.25,2),0,index-(index*modMix))+HenonC.ar( ...

  3. apad_mh Quark

    ... 0.5, sustain=0.8, release=1.0, gate=1.0, out=0; var env,sig,mod1,mod2,mod3; env=EnvGen.kr(Env.adsr(attack,decay,sustain,release),gate,levelScale:amp,doneAction:2); mod1=SinOsc.kr(6).range(freq*0.99,freq*1.01); mod2=LFNoise2.kr(1).range(0.2, ...

  4. ambiIn Quark

    ... channelLayout = \ambi; ~function = { |order = 1, t_trig = 0, bus = 0| var env = EnvGen.kr(Env([0,1], [1]), t_trig); var chans = Array.series( size: (order + 1).pow(2).asInteger, start: bus, step: 1 ); SoundIn.ar(chans) * env; };

  5. wslib-shortcuts Quark

    ... w.view.bounds ); ) Env:kr ( doneAction, gate, mul, add, timeScale ) Wrapper for EnvGen around Env . Makes the way I usually tend to use Env very easy Env ([0,1,0],[1,1]).kr(2); // typical use // replaces: EnvGen .kr( Env ([0,1,0],[1,1]), do ...

  6. stutter and tape stop fx by 0-2U (grirgz) Code

    ... RecordBuf.ar(sig, buf2, loop:1, trigger:recordtrig); // tape stop rate = EnvGen.kr(Env([1,1,tapelevel],[0,tapetime]), choosetrig); sig2 = PlayBuf.ar(2, buf, rate, choosetrig, loop:1); // stutter env = EnvGen.ar(Env([0,1,1,0], ...

  7. A Map To Everything [Disquiet0062-LifeOfSine] by schemawound (Schemawound) Code

    ... //Div by 3 to avoid clipping Pan2.ar(SinOsc.ar(freq0, phase0 * 2pi, amp0) * EnvGen.ar(Env.adsr(attack0, decay0, sustain0, release0), gate), pan0) / 3, Pan2.ar(SinOsc.ar(freq1, phase0 * 2pi, amp1) * EnvGen.ar(Env.adsr(attack1, decay1 ...

  8. TestEvent Quark

    ... ts that Synth can't free itself"); SynthDef(\xxx_test, { |freq, zzzz, gate = 1| EnvGen.kr(Env.asr, gate, doneAction:2) }).add; this.assert(SynthDescLib.global.at(\xxx_test).canFreeSynth, "SynthDesc detects that Synth can free itself"); even ...

  9. MonoPortaVoicer Quark

    ... sig = Mix .ar( Pulse .ar([freq, freq*detune], width, amp)); sig = RLPF .ar(sig, EnvGen .kr(fenv, gate) * ffreq, rq); sig = sig * EnvGen .kr(env, gate, doneAction:2); [sig, sig] * 0.5 }, #[ \freq , [0, 2], \amp , \freq , [1, 0.05, \linear , ...

  10. MonoPortaVoicer Quark

    ... sig = Mix .ar( Pulse .ar([freq, freq*detune], width, amp)); sig = RLPF .ar(sig, EnvGen .kr(fenv, gate) * ffreq, rq); sig = sig * EnvGen .kr(env, gate, doneAction:2); [sig, sig] * 0.5 }, #[ \freq , [0, 2], \amp , \freq , [1, 0.05, \linear , ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow