Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (376) Code (92) Doc (123) Help (86) Quark (74) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. ProxyPreset Doc

    ... 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; ) // then make a ProxyPreset for the Tdef; // for Tdefs, best use the TdefPre ...

  2. CtkScore Doc

    ... kScore.new; z = CtkSynthDef(\test, {arg freq, dur; Out.ar(0, SinOsc.ar(freq, 0, XLine.kr(0.1, 0.0001, dur))) }); t = 0.0; while({ b.add(z.note(t, 0.1).freq_(440).dur_(0.1)); t = t + 0.1; t < 5.0; }); a.add(b); a.saveToFile("~/Desktop/test.s ...

  3. jitlib_efficiency Doc

    ... thdefs for these things are on the server already. ~a.gate, ~a.env, ~a.line, ~a.xline // some more calculations have to be made on client side, so if automated, it is better to use // the above or a lag in the synth. ~a.lineAt(key), ~a.xlin ...

  4. HS_with_VarGui Doc

    ... SynthDef(\control_1, { |midiStart = 65, midiDiff = 15, duration = 10| Out.kr(c, XLine.kr(midiStart, midiStart + midiDiff, duration) ) }).add; SynthDef(\control_2, { |midiStart = 90, midiDiff = 15, duration = 10| Out.kr(c+1, XLine.kr(midiSta ...

  5. KeyPlayer Doc

    ... oise0.kr([10, 15] * exprand(0.5, 4.0), 200, [300, 500]) * exprand(1.0, 4.0) ) * XLine.kr(0.5, 0.005, exprand(0.1, 10), doneAction: 2); }; KeyPlayer(\px).put($t, { ~test.send }); KeyPlayer(\px).put($u, { ~test.rebuild }); ) ⧉ ✔ helpfile sour ...

  6. PHSpar Doc

    ... synth definitions ( h = HSpar(s, [ { |start = 90, end = 60, dur = 10, add = 0| XLine.kr(start, end, dur) + add; }, { |freq = 0.3, dev = 15, center = 60, phase = 0, add = 0| LFTri.kr(freq, phase, dev, center + add); } ]); ) // switch betwee ...

  7. Pseed Doc

    ... 0, 1, 1, -3), t_gate, timeScale: dur, doneAction: 2); sig = LPF.ar(SinOscFB.ar(XLine.ar(freq.expexp(10, 2000, 1000, 8000), freq, 0.025/pew), fed), 9000); sig = Pan2.ar(sig, pan); Out.ar(out, sig * amp); }).add ) ( Pdef(\drumPat, Pseed(9223 ...

  8. Using_Voicer Doc

    ... moogy2); v.gate(110, 2, 0.5, [ffreq: 2000]); v.gate(110, 2, 0.5, [ffreq: Plug { XLine.kr(8000, 2000, 0.12) }]); ⧉ ✔ Patterns integrate global controls with Plug modulation using the Syn: Three-point modulation technique described in the Syn ...

  9. NPVoicer Doc

    ... LPF.ar( Mix.new(Pulse.ar(freq + [0, Rand(-0.4,0.0), Rand(0.0,0.4)], 0.5, 0.3)), XLine.kr(Rand(4000,5000), Rand(2500,3200), 1) ) * Linen.kr(gate, 0.01, 0.7, 0.3, 2); OffsetOut.ar(out, Pan2.ar(z, pan, amp)); }, [\ir]).add; // test new it (ins ...

  10. rewriteString Doc

    ... |out = 0, freq=400, amp=0.4, sustain=0.04| OffsetOut.ar(out, SinOsc.ar(freq) * XLine.ar(amp, amp * 0.001, sustain, doneAction: 2) ); }).add; ); u = { |str| fork { var m = str.iter.rewriteString(r, level); var b; Char.nl.post; loop { b = m. ...

prev 11 12 13 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow