Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2106) Code (553) Doc (473) Help (193) Quark (880) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. Node Doc

    ... er Nodes which are automatically freed after a certain time (for instance by an EnvGen with a doneAction of 2) will not. This keeps the implementation of the classes simple and lightweight. To have the current state of a Node tracked you ca ...

  2. 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, ...

  3. Tendency Quark

    ... |time| ^this.valAt(parY.value(time), time); } valAt {|obj, time| ^(obj.isKindOf(Env)).if({obj[time]}, { obj.value(time) }) } lpRandAt {|time| ^min(this.at(time, \uniform), this.at(time, \uniform)) } hpRandAt {|time| ^max(this.at(time, \unif ...

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

  5. 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, ...

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

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

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

  9. MIDIEventRecorder Quark

    ... t { |index = 3| ^events.collect({ |event| event[index] }); } plot { |index = 3| Env( this.collectEventsAt(index), this.timeLine, \step ).plot; } analyzeTypes { var types; types = (); events.do({ |event| if( types.keys.includes( event[1] ) ) ...

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

prev 181 182 183 184 185 186 187 188 189 190 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow