Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1264) Code (234) Doc (328) Help (102) Quark (589) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. AmbisonicsSC2 Plugin

    ... ar1 { arg pointsource; var elevcos, sig, azim, encodeArray, sinInt, cosInt; // Mix down source to mono if needed sig = (pointsource.sig.size > 1).if({sig = Mix.new(pointsource.sig)}, {pointsource.sig} ); // Cosine of the elevation angle, w ...

  2. DWGBowed Plugin

    ... tune,c1tor,c3tor,iZtor); } } DWGSoundBoard : UGen { *ar { arg inp=0,c1=20,c3=20,mix=0.8,d1=199,d2=211,d3=223,d4=227,d5=229,d6=233,d7=239,d8=241; ^this.multiNew('audio',inp,c1,c3,mix,d1,d2,d3,d4,d5,d6,d7,d8); } }

  3. OteyPiano Plugin

    ... ss,detune,hammer_type); } } OteySoundBoard : UGen { *ar { arg inp=0,c1=20,c3=20,mix=0.8; ^this.multiNew('audio',inp,c1,c3,mix); } }

  4. Vocoder Plugin

    ... 05, outscal=25; var width, cf, hf, out, filtmod, filtcar, tracker, ratio; out = Mix.arFill(( num + 1 ), { arg i; ratio = (( high / low)**num.reciprocal ); cf = ( ratio**i) * low; filtmod = BPF.ar( mod, cf, q); tracker = Amplitude.kr(filtmod ...

  5. EQ Plugin

    ... ^(0.5 * (in + allpass + (amp * (in-allpass)))) } } BhobTone { *ar {|in, tone| ^Mix([HiShelf.ar(in, 10000, tone), LoShelf.ar(in, 100, tone.reciprocal)]) } }

  6. FreeVerb1 Plugin

    ... 183, 208, 229]... allpassData = [ 0.0126077, 0.01, 0.00773243, 0.00510204 ]; // mix input down to mono if necessary: inMono = if(in.size > 0, { Mix.new(in) }, { in }); inMono = OnePole.ar(inMono, 0.6); // round off reverb signal. //// Creat ...

  7. PredPrey Plugin

    ... : 0.1 + \tr.tr(1)) * 0.2 ).tanh + 1 * LFPar.ar([100, 150]); }); ) ( Ndef(\lv, { Mix( LeakDC.ar( LotkaVolterra.ar(SampleRate.ir*0.5, a: {LFNoise2.ar(Rand(0.000174, 0.00174)).range(0.49, 0.5)}!3, b: \b.kr(1.5, 0.1), c: {LFNoise2.ar(Rand(0.000 ...

  8. compar Plugin

    ... (fms[i] * in[0]), decays[i] ); [ tmpIter * amps[i], in[1] + tmpIter ] }); dst = Mix.ar(dst * [1, amps.sum * numNodes.reciprocal]); // dryWet dst = SelectX.ar(filterWet, [ OnePole.ar(dryAmp * src, \lpCoeff.kr(0.3, 0.1)), postAmp * LeakDC.ar( ...

  9. UHJ Plugin

    ... c, 0.0); ifft = IFFT.s2ar(cosineTable, filterWindow, nil, fft.real, fft.imag); ^Mix.new( ifft.imag )/(numffts/2) } }

  10. OnsetsDS Plugin

    ... ypically you'll only want a single output even for stereo input, so remember to mix down signals before feeding them in, if needed. Example ( s.boot.doWhenBooted({ // Prepare the buffers b = Buffer .alloc(s, 512); c = Buffer .alloc(s, 512); ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow