Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (456) Code (42) Doc (134) Help (28) Quark (248) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. MonoPortaVoicerNodes Quark

    MonoPortaSynthVoicerNode : SynthVoicerNode { var lastScheduledRelease; // for event usage trigger { arg freq, gate = 1, args, latency; var bundle; if(freq.isNumber) { this.shouldSteal.if({ bundle = this.setMsg([\freqlag, voicer.portaTime, \ ...

  2. oscillOrc Quark

    // all mono Instr.orc(\oscillOrc,[ \sin,{arg freq=500,phase=0,amp=1.0; SinOsc.ar(freq,phase,amp); }, \formant,{ arg freq=400,freq2=1300,bw=400,amp=1.0; Formant.ar(freq,freq2,bw,amp); }, \formantAdd,{ arg freq=400,freqOffset=100,bw=400,amp=1 ...

  3. sub Quark

    ... \sub; ~description = "Dedicate a channel to subwoofer signal. Ideally use with monoSpat spatializer"; ~channelLayout = \mono; ~function = { |in = 0, sub_gainDB = -99, sub_lpHz = 200| LPF.ar(in, sub_lpHz.clip(5.0, 18000)) * sub_gainDB.dbamp ...

  4. sndFile Quark

    ... me = \sndFile; ~description = "Stream a soundfile from disk"; ~channelLayout = \mono; ~function = { | bufnum = 0, loop = 0 | DiskIn.ar(1, bufnum, loop: loop); }; /* ~name = \sndFile; ~function = { | sfile = '/usr/share/sounds/alsa/Front_Cen ...

  5. envfol Quark

    ... e = \envfol; ~description = "Envelope follower (audio rate)"; ~channelLayout = \mono; ~function = {|in = 0, decaycoeff = 0.99, amp = 10.0, lpf = 20 | var env, out; in.scope; env = LPF.ar(PeakFollower.ar(in), lpf, mul: 50, add:-1); env.scope ...

  6. GPlane Quark

    ... * add {arg type, settings; var voice, gplane; case {type == \chain} { voice = \mono; gplane = "a chain" } {type == \network} { voice = \poly; gplane = "a network" }; this.new(\gplane, type, voice, settings); planes = planes.add(gplane); ^g ...

  7. emptySource Quark

    ... gin */ ~name = \emptySource; ~description = "dummy/template"; ~channelLayout = \mono; ~function = { DC.ar(0); };

  8. DPlane Quark

    ... e} { voice = \poly; dplane = "a MIDI File"} {type == \midiFileTrack} { voice = \mono; dplane = "a MIDI File Track" }; this.new(\dplane, type, voice, settings); planes = planes.add(dplane); ^dplane; } *dplanes {var resultArr, planeArr; plane ...

  9. testtone Quark

    ... me = \testtone; ~description = "a standard test tone (sine)"; ~channelLayout = \mono; ~function = {| sfreq = 200 | FSinOsc.ar(sfreq) };

  10. lebedev50binaural Quark

    ... escription = "A 50 channel Lebedev grid decoded to binaural"; ~channelLayout = \mono; ~function = { |in=0| var sig = Lebedev50BinauralDecoder.ar(in); // Lebedev50BinauralDecoder has an inverted azimuth // swap the signals so that +90 degree ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow