Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (417) Code (52) Doc (229) Help (73) Quark (48) Plugin (15) SCDoc ↗ Forum ↗ Google ↗
  1. GaussClass Doc

    ... dup(2); // Our "query point" wanders around in space input = [MouseX.kr(0, 10), MouseY.kr(0, 10)]; // Or you can wander yourself using the mouse gate = Impulse.kr(rate); result = GaussClass.kr(input, b, gate); input.poll(gate, "input"); res ...

  2. GrainSin Doc

    ... oise and mouse y to control deviation from center pitch freqdev = WhiteNoise.kr(MouseY.kr(0, 400)); env = EnvGen.kr( Env([0, 1, 0], [1, 1], \sin, 1), gate, levelScale: amp, doneAction: Done.freeSelf ); Out.ar(out, GrainSin.ar(2, Impulse.kr( ...

  3. WaveLoss Doc

    ... different. ( x = { var sig, mode; sig = [SinOsc.ar, PinkNoise.ar].mean; mode = MouseY.kr(1,2).round; WaveLoss.ar(sig, MouseX.kr(0, 40), 40, mode: mode, mul: 0.1); }.play; ) x.free; // Plotting shows quite clearly what's going on: ( { var s ...

  4. GrainFM Doc

    ... oise and mouse y to control deviation from center pitch freqdev = WhiteNoise.kr(MouseY.kr(0, 400)); env = EnvGen.kr( Env([0, 1, 0], [1, 1], \sin, 1), gate, levelScale: amp, doneAction: Done.freeSelf); Out.ar(out, GrainFM.ar(2, Impulse.kr(10 ...

  5. Intro-FOA-Examples Doc

    ... fields, recorded via the Soundfield microphone. The soundfield is controlled by MouseY , which specifies the transform angle argument (90 deg to 0 deg; top to bottom of display). With the mouse at the bottom of the display, the recorded sou ...

  6. PitchShiftPARd Doc

    ... cy by pitch ratio; this may also be a value unrelated to the tracking frequency MouseY.kr(0.5, 2), // formantRatio ) }.play ) x.free; b.free; // synthesis in a separate synth (note the node order!) // first run the buffer writer ( s.waitFor ...

  7. Duty Doc

    ... } ! n; Duty.ar( MouseX.kr(1, 125, 1) * SampleDur.ir * [1, 1.02], 0, Dswitch1(a, MouseY.kr(0, n-1)) ) }.play; ) ⧉ ✔ single sample feedback: a lin cong algorithm: ( b = Buffer.alloc(s, 1); { var x, y, rate, a, c, m; rate = MouseX.kr(100, Samp ...

  8. LFGauss Doc

    ... cts due to aliasing at high frequencies { LFGauss.ar(MouseX.kr(1/8000, 0.1, 1), MouseY.kr(0.001, 0.1, 1)) * 0.1 }.play; // LFGauss as amplitude modulator { LFGauss.ar(MouseX.kr(1, 0.001, 1), 0.1) * SinOsc.ar(1000) * 0.1 }.play; // modulate ...

  9. Stepper Doc

    ... ; freq = BufRd.kr(1, 10, index, 1, 1); freq = Lag2.kr(freq) + [0, 0.3]; ffreq = MouseY.kr(80, 1600, 1) * (env * 4 + 2); out = Mix.ar(LFPulse.ar(freq * [1, 3/2, 2], 0, 0.3)); out = RLPF.ar(out, ffreq, 0.3, env); out = RLPF.ar(out, ffreq, 0.3 ...

  10. FFTSubbandPower Doc

    ... in, chain, powers, cutfreqs; in = BPF.ar(WhiteNoise.ar, MouseX.kr(10,14000, 1), MouseY.kr(0.1, 2, 1)); chain = FFT(b.bufnum, in); cutfreqs = [100, 200, 400, 800, 1600, 3200, 6400]; powers = FFTSubbandPower.kr(chain, cutfreqs, 1, 2); Out.ar( ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow