Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 5, rel = 1, pan = 0| Out .ar(out, Pan2 .ar( Pulse .ar(freq, width, amp), pan) * EnvGen .ar( Env .asr(att, 1, rel), gate, doneAction:2) ) }).add ) // you can also define shortcuts for synthdef args ( EventShortcuts .addOnBase( \mine , \mine ...

  2. Controller.help Quark

    ... out = 0, freq = 440, pan = 0, gain = 1; Out.ar(out, Pan2.ar( SinOsc.ar(freq, 0, EnvGen.kr(envelope: (Env.perc), doneAction: 2)), pan, gain));}).send(s); ) // Use <Ctl> values for scheduling nodes // (pings). ( c[0].setup("DelayTime", Contro ...

  3. AudioMulchClock Doc

    ... ck, {|out= 0, atk= 0.01, rel= 0.2, gate= 1, freq= 400, pan= 0, amp= 1| var env= EnvGen.kr(Env.asr(atk, amp, rel), gate, doneAction:2); var src= MoogFF.ar( Pulse.ar(freq-(amp-env*50), env*0.25+0.5, env), env.lag(2).exprange(freq*0.5, freq*2) ...

  4. spawnBufGranulizer by bateslewis (bateslewis) Code

    ... 1, pos, 0, 2)), filter)),hiPass); var env = EnvGen.ar(Env.sine(sus, amp), doneAction: 2); var kak = Pan2.ar(snd * env, pan, vol); Out.ar(4, kak); OffsetOut.ar(0, kak); }, \ir ! 9).add; SynthDef( ...

  5. GMMultiButton Doc

    ... ne, { |amp = 0.25, freq = 440| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr( Env.perc, doneAction: Done.freeSelf ); Out.ar(0, snd!2); }).add; win.layout_( VLayout() .margins_(0) .add(keyboard) ); CmdPeriod.doOnce({ win.close; ...

  6. soundscape Quark

    ... : if cutfreq>22000 LPF do not correctly work Out.ar(out, LPF.ar( Pan2.ar( amp * EnvGen.kr(Env.new([0,1,1,0], [dur*0.1, dur*0.8, dur*0.1]), doneAction:2) //the samples have fad in and fade out depending on their dur //doneaction will free th ...

  7. Slider Doc

    ... { SynthDef(\pluck, { |out, freq = 55| Out.ar(out, Pluck.ar(WhiteNoise.ar(0.06), EnvGen.kr(Env.perc(0, 4), 1.0, doneAction: Done.freeSelf), freq.reciprocal, freq.reciprocal, 10, coef: 0.1) ); }).add; w = Window.new("Hold arrow keys to trigge ...

  8. Vapor Doc

    ... and maps them to sound SynthDef(\test, {arg gate = 1, x, y; var env, src; env = EnvGen.kr(Env([0, 1, 0], [0.1, 3], \sin, 1), gate, doneAction: 2); src = SinOsc.ar(x * 330 + 220, 0, y * 0.5); Out.ar(0, src * env); }).add; // a dictionary to ...

  9. PLIdev Quark

    ... 0, amp = 0.1| var sig = { WhiteNoise .ar } ! 2; sig = BPF .ar(sig, freq, rq) * EnvGen .ar( Env .perc(att, rel, amp), doneAction: 2) * (rq ** -1) * (250 / (freq ** 0.8)); OffsetOut .ar(out, Pan2 .ar(sig, pan)); }).add; ) ( // rhythmic varia ...

  10. EZSlider Doc

    ... x = RLPF.ar(x, fc, rq, amp).softclip; x = Balance2.ar(x[0], x[1], bal); x = x * EnvGen.kr(Env.cutoff, gate, doneAction: Done.freeSelf); Out.ar(out, x); }, [0.1, 0.1, 0.1, 0.1, 0.1, 0] ).add; // make the window w = Window("another control pa ...

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow