Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (293) Code (40) Doc (206) Help (6) Quark (41) SCDoc ↗ Forum ↗ Google ↗
  1. SFormant Quark

    ... nels); snd= snd+GVerb.ar(Mix(snd), 99, mul:verb.lag(0.1)); snd= LeakDC.ar(snd); FreeSelf.kr(DetectSilence.ar(snd).product*(1-gate)); Out.ar(outBus, snd); }).add; target.server.sync; out= Synth(\sFormant_out, [\sFormant_bus, bus, \outBus, ou ...

  2. NodeMessaging Doc

    ... nt side. ( SynthDef("grain", { Out.ar(0, Line.kr(0.1, 0, 0.01, doneAction: Done.freeSelf) * FSinOsc.ar(12000)) }).send(s); ) ( Routine({ 20.do({ s.sendMsg("/s_new", "grain", -1); 0.01.wait; }) }).play; ) ⧉ ✔ In cases where you need to keep ...

  3. misDrone Quark

    ... tt, sustain, dur, amplitude, \cub); envGen = EnvGen.kr(env, 1, doneAction: Done.freeSelf); resonance = Klank.ar(`[ [(freq*0.001) * 521, (freq*0.001) * 732, (freq*0.001) * 934], // freqs [0.7, 0.45, 0.25],// amps [0.8, 0.8, 0.8] // ring time ...

  4. recursive_phrasing Doc

    ... ut.ar(out, Pan2.ar( SinOsc.ar(freq), pan ) * EnvGen.ar(window, doneAction: Done.freeSelf) ) } ).add; SynthDef(\noiseGrain, { arg out = 0, freq=800, sustain=0.001, amp=0.5, pan = 0; var window; window = Env.perc(0.002, sustain, amp * AmpComp ...

  5. DemandEnvGen Doc

    ... DemandEnvGen.kr( Dseq([1300, 500, 800, 300, 400], 1), 0.2, 1, doneAction: Done.freeSelf ); SinOsc.ar(freq * [1, 1.01]) * 0.1 }.play; ) // short sequence with doneAction, step ( { var freq; freq = DemandEnvGen.kr( Dseq([1300, 500, 800, 300, ...

  6. Underwater by muse-score (Muse Score) Code

    ... ); }); sig = sig*EnvGen.kr(Env.linen(0.001, sustain, 0.1), doneAction: Done.freeSelf); Out.ar(out, sig ! 2) }).add; r =Ppar([ Pbind(\instrument,\divsynth, \amp,0.065, \dur,Pseq(all{:1/log(x),x<-(1000..100 ...

  7. GrainBuf Doc

    ... en.kr( Env([0, 1, 0], [1, 1], \sin, 1), gate, levelScale: amp, doneAction: Done.freeSelf); Out.ar(out, GrainBuf.ar(2, Impulse.kr(10), 0.1, sndbuf, LFNoise1.kr.range(0.5, 2), LFNoise2.kr(0.1).range(0, 1), 2, pan, envbuf) * env) }).add; ) // ...

  8. Server_Tutorial Doc

    ... i_time=1; ReplaceOut.kr(i_bus, Line.kr(i_start, i_end, i_time, doneAction: Done.freeSelf)); }).add ) ⧉ ✔ Play a 900 Hz sine wave. s.sendMsg("/s_new", "sine", x = s.nextNodeID, 1, 1, "freq", 900); ⧉ ✔ Put a frequency value on the control bus ...

  9. Tutorial Doc

    ... i_time=1; ReplaceOut.kr(i_bus, Line.kr(i_start, i_end, i_time, doneAction: Done.freeSelf)); }).add ) Play a 900 Hz sine wave. s.sendMsg("/s_new", "sine", x = s.nextNodeID, 1, 1, "freq", 900); Put a frequency value on the control bus. s.send ...

  10. Psync Doc

    ... 5, pan| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.3), doneAction: Done.freeSelf); Out.ar(out, Pan2.ar(SinOsc.ar(freq, 0, env), pan)) }).add; ) ( // a fixed duration pattern: f = Pbind( \dur, 0.5, \degree, Pn(4, 1), \instrument, \he ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow