Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1483) Code (412) Doc (388) Help (177) Quark (503) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. ProcModR Doc

    ... outbus, freq, amp, dur; OffsetOut.ar(outbus, Pan2.ar( SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.sine(dur, amp), doneAction: 2), Rand.new(-1.0, 1.0) ) ) // read off the overall env control of the ProcMod }).add; // create a new ProcModR, and a ...

  2. GMDuoSequencer Doc

    ... (0); }; }); SynthDef(\GMWhitePerc, { var snd = WhiteNoise.ar(0.25); snd = snd * EnvGen.kr( Env.perc(0.01, 0.2), doneAction: Done.freeSelf ); snd = BPF.ar(snd, 10000, 0.75); Out.ar(0, snd!2); }).add; win.layout_( HLayout() .margins_(0) .spac ...

  3. ProcMod Doc

    ... {arg freq, amp, dur, envbus; OffsetOut.ar(0, Pan2.ar( SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.sine(dur, amp), doneAction: 2) * In.kr(envbus), Rand.new(-1.0, 1.0) ) ) // read off the overall env control of the ProcMod }).add; // create a new ...

  4. Pstep Doc

    ... window; window = Env.sine(sustain, amp); Out.ar(out, Pan2.ar( SinOsc.ar(freq) * EnvGen.ar(window, doneAction: Done.freeSelf), pan ) ) } ).add; times = Pseq([3.4, 1, 0.2, 0.2, 0.2], inf); levels = Pseq([0, 1, 2, 3, 4], inf); a = Pstep(levels ...

  5. EZFancySlider Doc

    ... x = RLPF.ar(x, fc, rq, amp).softclip; x = Balance2.ar(x[0], x[1], bal); x = x * EnvGen.kr(Env.cutoff, gate, doneAction: 2); Out.ar(0, x); }, [0.1, 0.1, 0.1, 0.1, 0.1, 0] ).add; // make the window w = Window("another control panel", Rect(20, ...

  6. DIdev Doc

    ... ], inf)) ) ); midi.poll(trig); SinOsc.ar(midi.lag(0.007).midicps, 0, 0.1) ! 2 * EnvGen.ar(Env.asr(0.15)) }.play; ) x.release ⧉ ✔ Ex. 5: Non-integer source ( x = { |lookBack = 3, thr = 1| var trig = Impulse.ar(7); // for a non-integer source ...

  7. Fb1_Lorenz Doc

    ... 10); sig = Fb1_Lorenz.ar(s, 22, 1, 170, y0: [1, 0, 0]); Limiter.ar(sig[0..1]) * EnvGen.ar(Env.asr(0.1, curve: 3)); }.play ) x.release ( x = { var sig, s; s = SinOsc.ar(100, 0, 9, 10); sig = Fb1_Lorenz.ar(s, 22, 1, 170, y0: [1, 0, 0]); Limit ...

  8. 15-Sequencing-with-Routines-and-Tasks Doc

    ... eq = 440, amp = 0.2, sustain = 1, out| var sig; sig = SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.perc(0.01, sustain), doneAction: Done.freeSelf); Out.ar(out, sig ! 2); // sig ! 2 is the same as [sig, sig] }).add; r = Routine({ var delta; loop ...

  9. ProxyPreset Doc

    ... t; SynthDef(\pingbend, { arg out=0, freq=440, bend = 4, sustain=0.05; var env = EnvGen.ar(Env.perc(0.001, sustain, 0.3), doneAction:2); freq = freq * XLine.kr(1, bend.midiratio, sustain); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) // th ...

  10. jitlib_basic_concepts_04 Doc

    ... pleAccurate = false; ~x.play; // the grain frees itself ~x = { SinOsc.ar(800) * EnvGen.ar(Env.perc(0.001, 0.03, 0.4), doneAction: Done.freeSelf) }; // jittery tone. ( r = Routine { loop { 200.do { arg i; ~x.spawn; (0.005).wait; }; 1.wait; } ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow