Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (747) Code (74) Doc (190) Help (79) Quark (392) Plugin (12) SCDoc ↗ Forum ↗ Google ↗
  1. blbufrd-test Plugin

    ... efault, Server.default.sampleRate*2, 1); { RecordBuf.ar(Blip.ar(440, SampleRate.ir/440), b.bufnum) }.play // play back with double speed - heavy aliasing occurs with BufRd and cubic interpolation { Pan2.ar(BufRd.ar(1, b.bufnum, Phasor.ar(1, ...

  2. EQ Plugin

    ... hobLoShelf { *ar {|in, freq, amp| var wc, a0, allpass; wc=pi * freq * SampleDur.ir; a0=(1 - wc)/(1 + wc); allpass=FOS.ar(in, a0.neg, 1, a0, -1); ^(0.5 * (in + allpass + (amp * (in-allpass)))) } } BhobHiShelf { *ar {|in, freq, amp| var wc, a ...

  3. PredPrey Plugin

    ... \which.kr(0, 0.1); var x, y, z; # x, y, z = ArneodoCoulletTresser.ar(SampleRate.ir*0.5, alpha: \alpha.kr(1.5), h: \h.kr(0.01)); # x, y, z = [x, y, z] - 0.5 * 0.1; [[x, y, z], [y, z, x]].collect{|chan| SelectX.ar(which, chan); } }); ) Ndef(\ ...

  4. FincoSprottL Plugin

    ... // Vary the freq with the mouse { FincoSprottL .ar( MouseX .kr(20, SampleRate .ir)).poll(2) * 0.3 }.play(s); // Vary the parameter "a". // NB the parameter affects the amplitude, so this example is clipped { FincoSprottL .ar( SampleRate .i ...

  5. Neuromodule-test Plugin

    ... (-2, 3), MouseY.kr(-2, 3), 0.1, 0.3, -3, 2, -2, 0); var sig = Duty.ar(SampleDur.ir, 0, module); LPF.ar(sig * 0.1, 15000) * 0.03; }.play ) ( { var module = Dneuromodule(2, [MouseX.kr(-2, 3), MouseY.kr(-2, 3)], [0.1, 0.3], [-3, 2, -2, 0]); va ...

  6. BiquadEQ Plugin

    ... kr( 0.1, 24 ); b = MouseY.kr( -12, 12 ) * 2; [ RegaliaMitraEQ.ar( n, 5000, f.midiratio - 1, b), RBJPeakingEQ.ar( n, 5000, f.midiratio - 1, b ) ] }) Synth.fftScope({RegaliaMitraEQ.ar( WhiteNoise.ar(-20.dbamp), MouseY.kr(100, 1000, \exponenti ...

  7. joshfilts Plugin

    ... twodC; var out; out = in; damping.asArray.do({ arg df; c = (pi * fc/SampleRate.ir).tan.reciprocal; cc = c.squared; twodC = 2 * df * c; b0 = (1 + twodC + cc).reciprocal; b1 = 2 * b0; b2 = b0; a0 = 1; a1 = 2 * b0 * (1 - cc); a2 = b0 * (1 - t ...

  8. SC2 Compat Plugin

    ... ; ((i==0) or: {item == (channel.at(i-1)+1)})})}; // chanOffset = NumOutputBuses.ir - 1; // ^consecutiveOrSingleton.if({ // //"more efficient, yay".postln; // In.ar(chanOffset + channel.minItem, channel.size) // },{ // //"yet compatible, yay ...

  9. FincoSprottS Plugin

    ... example using just the x value: { FincoSprottS .ar( MouseX .kr(20, SampleRate .ir)) * 0.3 }.play(s); An example utilising the three different outputs as pitch, PWM and pan values (respectively): ( { # x,y,z = FincoSprottS .ar( MouseX .kr(1 ...

  10. FincoSprottM Plugin

    ... example using just the x value: { FincoSprottM .ar( MouseX .kr(20, SampleRate .ir)) * 0.3 }.play(s); An example utilising the three different outputs as pitch, PWM and pan values (respectively): ( { # x,y,z = FincoSprottM .ar( MouseX .kr(1 ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow