Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (366) Code (115) Doc (97) Help (51) Quark (102) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. SynthDefAutogui Doc

    ... arg out = 0, freq = 300, mul = 0.3, pf = 5; Out.ar(out, SinOsc.ar(freq) * mul * LFPulse.kr(pf)) }).add; x = Synth(\test2).autogui(specs: ( \freq: [20, 20000, \exp, 1, 440], \mul: [0, 1, \lin, 0.01, 0.3], \pf: [1, 100, \lin, 1, 5] )); // Def ...

  2. Maths2 Doc

    ... de Maths: a = {LFTri.ar(100+(1000*Maths2.ar(MouseX.kr, MouseY.kr, 0.2, 1, 0, 1, LFPulse.ar(2))[0]), 0, 0.1)}.play ⧉ ✔ This is a fun way to make different shaped noise curves: ( a = { var dur; dur = 0.1; LFTri.ar(100+(1000*Maths2.ar(dur/2, d ...

  3. Vowel Doc

    ... , *args); }.flop; out = out.collect{|vocal| Splay.ar(vocal) }.sum.postln; out * LFPulse.ar([9, 9.01], 0, 0.4).range(0, 1).lag(0.01, 0.5) * LFPulse.ar(0.1, [0, 0.35], [0.9, 0.8]).lag(0.01) * 0.1 }).play ) ⧉ ✔ helpfile source: /tmp/scquark_hs ...

  4. Maths Doc

    ... ide Maths: a = {LFTri.ar(100+(1000*Maths.ar(MouseX.kr, MouseY.kr, 0.2, 1, 0, 1, LFPulse.ar(2))[0]), 0, 0.1)}.play ⧉ ✔ This is a fun way to make different shaped noise curves: ( a = { var dur; dur = 0.1; LFTri.ar(100+(1000*Maths.ar(dur/2, du ...

  5. Bus Doc

    ... ng to play with SynthDef(\help_Bus, { |out = 0, ffreq = 100| var x; x = RLPF.ar(LFPulse.ar(SinOsc.kr(0.2, 0, 10, 21), [0, 0.1], 0.1), ffreq, 0.1) .clip2(0.4); Out.ar(out, x); }).add; ) x = Synth(\help_Bus); // get a bus b = Bus.control(s); ...

  6. LocalBuf Doc

    ... uning ).midicps, // convert midi notes to hertz 0, 0.1) // drone 5ths + RLPF.ar(LFPulse.ar([48, 55].midicps, 0.15), SinOsc.kr(0.1, 0, 10, 72).midicps, 0.1, 0.1); // add some 70's euro-space-rock echo CombN.ar(mix, 0.31, 0.31, 2, 1, mix) }) ...

  7. ListView Doc

    ... ters: ( s.waitForBoot({ var f, freq, ww; n = { r = LFSaw.ar([220, 530], 0, 0.1)*LFPulse.ar(12, 0, 0.3, 0.4); [r[0], Delay2.ar(r[1])] }.play; freq = { SinOsc.kr(0.5, 0, 4000, 4200) }.play; w = Window("Filters").front; v = ListView(w, Rect(10 ...

  8. Streams-Patterns-Events7 Doc

    ... =0; var out, a, b; amp = Decay2.kr(Impulse.kr(0), 0.05, 8, amp); out = RLPF.ar( LFPulse.ar(freq, 0, SinOsc.kr(0.12,[0,0.5pi],0.48,0.5), amp), freq * SinOsc.kr(0.21,0,4,8), 0.07 ); #a, b = out; DetectSilence.ar(a, 0.0001, doneAction: Done.fr ...

  9. Patch-inputs Doc

    ... guments Instr([\jmcExamples,'moto-rev'],{ arg lfo=0.2,freq=1000,rq=0.1; RLPF.ar(LFPulse.ar(SinOsc.kr(lfo, 0, 10, 21), [0,0.1], 0.1), freq, rq).clip2(0.4); }); q = Patch([\jmcExamples,'moto-rev'],[ 0.2 ]); q.gui; ) ⧉ ✔ Talking to the Patch's ...

  10. Stethoscope Doc

    ... A step-by-step example s.boot; ( { SinOsc.ar([225, 450, 900], 0, 0.2) + LPF.ar( LFPulse.ar(226 * [1, 2, 5], [0, 0.1, 0.1], 0.2, 0.2), MouseX.kr(20, 10000, 1) ) }.scope; ) // server.scope only changes the properies explicitly given: s.scope( ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow