Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1094) Code (315) Doc (268) Help (77) Quark (422) Plugin (12) SCDoc ↗ Forum ↗ Google ↗
  1. EventShortcuts Quark

    ... , width = 0.5, amp = 0.05, gate = 1, att = 0.05, 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 ar ...

  2. Controller.help Quark

    ... SynthDef.new("ping", { arg 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[ ...

  3. SGliss Quark

    ... :2); var snd= SynthDef.wrap(this.func, nil, [fre, amp]); Out.ar(\sGliss_bus.ir, Pan2.ar(snd*env, pan, 0.1)); }); } } SGlissSaw : AbstractSGlissVoice { *type {^\Saw} func { ^{|fre, amp| var snd= VarSaw.ar(fre, Rand(0, 1), LFNoise2.kr(0.1, 0. ...

  4. soundscape Quark

    ... 22000; //SC Bug: 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 //doneacti ...

  5. PLIdev Quark

    ... , amp), doneAction: 2) * (rq ** -1) * (250 / (freq ** 0.8)); OffsetOut .ar(out, Pan2 .ar(sig, pan)); }).add; ) ( // rhythmic variation and partial pitch repetition // play for a while to note slow sliding, caused by Pseg ~loDev = -1; ~hiDev ...

  6. chord-vc Quark

    ... d.kr(initTrig, 0, panShuf), ringz = Ringz.ar(exc, freq * ratio, time, amps[i]); Pan2.ar(ringz /*- Ringz.ar(exc, freq * ratio, 0.01, amps[i])*/, panLeft + (panIndex * panIncr)); }); hpf = HPF.ar(HPF.ar(sig, freq), freq); sig = (hpf - sig) * ...

  7. frameDrum Quark

    ... er.ar(snd); DetectSilence.ar(in: snd, amp: 0.00025, doneAction: 2); Out.ar(out, Pan2.ar(snd, pan)); }, metadata: ( credit: "by Josh Mitchell", category: \percussion, tags: [\unpitched, \modal] ) ).add;

  8. MinBox Quark

    ... maxfreq, ampscale, durscale, 24, knum); var env = Linen .kr(gate,doneAction:2); Pan2 .ar(sig*env, 0, amp*env) }; // gui setup ~ex[ \win ] = Window .new( "synth" , Rect (300,200, 160, 200)).front; ~ex[ \win ].onClose = { { ~ex[ \synth ].clea ...

  9. misc-perc Quark

    ... ecay), doneAction:2); sig = BLowPass/*RLPF*/.ar(sig, ffreq, rq); Out.ar(outbus, Pan2.ar(sig, pan, amp)); }).add; ); // synth kick ( SynthDef(\sinkik, { |out, basefreq = 50, preamp = 7.724, amp = 0.322, topRatio = 10, dcy = 0.0685, atk = 0.0 ...

  10. Wavesets Quark

    ... , doneAction: 2); var snd = BufRd .ar(1, buf, phasor) * env; OffsetOut .ar(out, Pan2 .ar(snd, pan)); }, \ir .dup(8)).memStore; ) Synth ( "wvst0" , [ \bufnum , b, \start , 0, \length , 5000, \sustain , 0.1]); // do the math by hand to unders ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow