Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (807) Code (67) Doc (450) Help (188) Quark (73) Plugin (29) SCDoc ↗ Forum ↗ Google ↗
  1. AmpComp Doc

    ... ed instance methods Examples // compare a sine without compensation { SinOsc.ar(MouseX.kr(300, 15000, 1)) * 0.1 }.play; // with one that uses amplitude compensation ( { var freq; freq = MouseX.kr(300, 15000, 1); SinOsc.ar(freq) * 0.1 * AmpC ...

  2. DemandEnvGen Doc

    ... le, inf) } ! 2, SampleDur.ir * MouseY.kr(1, 3000, 1), 5, // curve interpoaltion MouseX.kr(-0.01, -4) // curve must be negative for fast interpol. ); SinOsc.ar(freq) * 0.1 }.play; ) // gate // mouse x on right side of screen toggles gate ( { ...

  3. SawDPW Doc

    ... Amplitude will be polled, move mouse to change frequency {var x; x = SawDPW.ar(MouseX.kr(50, 2000, 1));Amplitude.ar(x, 0.2, 0.2).poll; x.madd(0.1).dup}.play {var x; x = SawDPW.ar(K2A.ar(MouseX.kr(50, 2000, 1)));Amplitude.ar(x, 0.2, 0.2).po ...

  4. BlitB3 Doc

    ... , 20, 10), 0.0, 0.5) }.play; //sawtooth x = { LeakDC.ar(Integrator.ar(BlitB3.ar(MouseX.kr(20,1000,'exponential'), 0.5), 0.99)) }.play; //sawtooth; super-saw, can integrate mix //leaks dealt with one by one so don't accumulate x = {Mix(LeakD ...

  5. Oregonator Doc

    ... its fixed points too quickly {Out.ar(0,Pan2.ar(0.1*Oregonator.ar(Impulse.kr(10),MouseX.kr(0.01,1,'exponential')),0.0))}.play {Out.ar(0,Oregonator.ar(Impulse.kr(100),0.1, 0.1, 0.5, 0.2,initx:0.1, inity:-0.5, initz:0.7))}.plot(0.1) {Out.ar(0, ...

  6. Gendy3 Doc

    ... rougher Gendy1 { Pan2.ar(Gendy3.ar(mul: 0.1)) }.play { Pan2.ar(Gendy3.ar(freq: MouseX.kr(220, 880, 'exponential'), durscale: 0.01, ampscale: 0.02, mul: 0.1)) }.play // stochastic waveform distortion- also play me at the same time as the pr ...

  7. Gendy4 Doc

    ... 0.3,0.05,5))}.play //play me {Pan2.ar(RLPF.ar(Gendy4.ar(2,3,minfreq:20, maxfreq:MouseX.kr(100,1000), durscale:0.0, initCPs:40), 500,0.3, 0.2), 0.0)}.play //scream! - careful with your ears for this one! ( { var mx, my; mx= MouseX.kr(220,440 ...

  8. Maths2 Doc

    ... he function is 0: {Maths2.ar(0.05, 0.15, 0.8, 0, 1, Impulse.ar(3))}.plot(1) ⧉ ✔ MouseX and MouseY control the rise and fall durations of the function. MouseButton triggers the cycle to end. Lifting the MouseButton trigger the cycle to start ...

  9. AmpCompA Doc

    ... ed instance methods Examples // compare a sine without compensation { SinOsc.ar(MouseX.kr(300, 15000, 1)) * 0.1 }.play; // with one that uses amplitude compensation ( { var freq; freq = MouseX.kr(300, 15000, 1); SinOsc.ar(freq) * 0.3 * AmpC ...

  10. TBall Doc

    ... controls switch of level // mouse y controls gravity ( { var t, sf; sf = K2A.ar(MouseX.kr > 0.5) > 0; t = TBall.ar(sf, MouseY.kr(0.01, 1.0, 1), 0.01); Pan2.ar(Ringz.ar(t * 10, 1200, 0.1), MouseX.kr(-1, 1)); }.play; ) // mouse x controls ste ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow