Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... d_func.value; SynthDef(\click, { |freq| var snd = SinOsc.ar(freq, 0.5pi) * EnvGen.ar(Env.perc(0.001,0.05), doneAction:2); OffsetOut.ar(click_out, snd!2); }).add; SynthDef(\buf_recorder, { |buf| RecordBuf.ar(SoundIn.ar(0), buf, ...

  2. Scanned Synthesis Visualisation by matthew-kane (Matthew Kane) Code

    ... rings', values: springs); ou = Splay.ar(SelectX.ar(sel, springs), 1); env = EnvGen.ar(Env.adsr(0.3,0.1,0.8,0.1, peakLevel:1),gate:gate,doneAction:2); ou = Pan2.ar(ou, pan, amp); // ou.poll(label:"out"); Out.ar(0, ou[0]); Out.ar( ...

  3. 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 ...

  4. 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 ...

  5. NPVoicer Quark

    ... y = nil; g = NPVoicer ( Ndef ( \x )); g.prime({ |freq = 400| SinOsc .ar(freq) * EnvGen .ar( Env .perc(0.001, 0.03, 0.4), doneAction:2) }, true ); g.play; w = Window ( "ascii player - clickies" ).front; w.view.keyDownAction = { |view, char| ...

  6. 6chLoopbuff Quark

    ... d rate = VarLag.kr(rate, glide, curve, warp); // was Lag.kr(rate, glide); env = EnvGen.ar(Env.adsr(attackSecs, 0,1,releaseSecs), gate); // does not free self when done sig = LoopBuf.ar(6,bufnum, BufRateScale.kr(bufnum) * rate, gate+loopRel, ...

  7. MoscaEffects Quark

    ... { SynthDef(name, { | gate = 1 | var sig = In.ar(afmtBus, fxChans); sig = sig * EnvGen.kr(Env.asr(curve:\hold), gate, doneAction:2); sig = SynthDef.wrap(effect.globalFunc, prependArgs: [ sig ]); encodeFunc.value(sig); }, metadata: effect.ge ...

  8. PG_06b_Time_Based_Patterns Help

    ... take effect, because they are meaningful only when used in a Synth with a gated EnvGen. When the envelope ends, the stream will hold the final level indefinitely. The Pif ( Ptime ( inf ) < totalTime, Env (...)) trick can make it stop instea ...

  9. sync looper by ovo (ovo) Code

    ... < (BufSamples.kr(buf)-(BufSampleRate.ir(buf)/rel)); gate = gate-stop; env = EnvGen.kr(Env.asr(atk,1,rel.reciprocal), gate); snd = BufRd.ar(1, buf, phs, 1); snd = snd*env; OffsetOut.ar(out,snd*amp); }).send(s); SynthDef(\syncRe ...

  10. TestPlayerSocket Quark

    ... le playing p.prepareAndSpawn( t = Patch({ arg freq=400,gate=1.0; Saw.ar(freq) * EnvGen.kr(Env.adsr(0.1,2.0,0.3,2.0),gate) * 0.1 },[ rrand(38,70).midicps, KrNumberEditor(1.0,\gate) ]), 0.5 ); 0.6.wait; // for envelope to stop this.assert( t. ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow