Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... rtPos = onset * BufSampleRate.kr(bufnum); // convert from seconds to frames var env = EnvGen.kr(Env.linen(0.001, sustain / rate, 0.02), doneAction:2); Out.ar(out, PlayBuf.ar(2, bufnum, rate, startPos:startPos) ) }).add; ~liveBuffer = Buffer ...

  2. TabletSlider2D Doc

    ... [c,d,c],0.2); Out.ar(0, RLPF.ar(Mix.ar(p),freq * ffreqInterval.midiratio,rq) * EnvGen.kr(Env.adsr, gate, gate) ) },[0.1,0.1,0.1,0.1,0.1,nil]).play(s); w = Window.new.front; int = ControlSpec(-48,48,\linear,1); v = TabletSlider2D(w,Rect(10, ...

  3. DIdev Quark

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

  4. JITLibChanges3.7 Doc

    ... endered SynthDef is cached, which makes the copy efficient. A ProxySpace or LazyEnvir can be copied and then modified independently. NodeProxy elastic behavior setting NodeProxy is now able to reshape according to its source. When doing so, ...

  5. syncSamp1 Quark

    ... ar outSig = BufRd.ar(6, buf, (wrappedPhasor * bufSR), loop, interpolation); var envShape = Env.new([0, 1, 1, 0], [0.01, durSecs, fadeSecs ],[0, 0, 0]); var envelope = EnvGen.ar(envShape, t_trig) ; incidence = incidence.clip(0,1); amp = amp. ...

  6. Sequencing with Routines and Tasks Help

    ... |freq = 440, amp = 0.2, sustain = 1| var sig; sig = SinOsc .ar(freq, 0, amp) * EnvGen .kr( Env .perc(0.01, sustain), doneAction: 2); Out .ar(0, sig ! 2); // sig ! 2 is the same as [sig, sig] }).send(s); r = Routine ({ var delta; loop { del ...

  7. playInMixerGroup Quark

    ... lNames.includes(\gate).not) { gate = NamedControl.kr(\gate, 1); graph = graph * EnvGen.kr(Env.asr(0.01, 1, 0.02, 0), gate, doneAction: 2); }; }.asSynthDef(outClass: if(target == mixer.effectgroup, { \ReplaceOut }, { \Out })); result = def.p ...

  8. Event Help

    Event an environment that represents an action Inherits from: Object : Collection : Set : Dictionary : IdentityDictionary : Environment Related classes: Pattern An Event is an Environment that specifies an action to be taken in response to ...

  9. NNdef Doc

    ... reduce; var freq = freqES.enKr(lag: 0.1, key: \freq, debug:true, spec:nil); var env = EnvGen.kr( Env.perc, freqES.enTr ); RLPF.ar( Pulse.ar(freq), LFNoise1.ar(1).range(1000,4000), 0.1 ) * 0.1.dup * amp * env }).play ) ⧉ ✔ Adding sliders for ...

  10. AlgaPatternPlayer Doc

    ... nsferred to every AlgaPattern s that are using the AlgaPatternPlayer . shape An Env that optionally allows you to define a specific shape for the interpolation. sched Just like any other AlgaNode method, the current function can be schedule ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow