Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... PreservationMaxGainV545 = 2.25; ~formantPreservationMinGainV545 = 0.35; ~formantEnvelopeAtFreqV545 = { |framePts, freq| var valid, lf, first, last, env, found; lf = (freq ? 0.0).asFloat.max(20.0).log2; valid = Array.new; framePts.do { |pt| ...

  2. GlitchBRF Doc

    ... dy, {|out= 0, amp= 0.1, freq= 1000, atk= 0.01, rel= 0.05, cur= -4, gate= 1| var env= EnvGen.kr(Env.asr(atk, 1, rel, cur), gate, doneAction:2); var src= SinOsc.ar(0.11, GlitchBRF.ar(SinOsc.ar(SinOsc.ar(0.12).exprange(1, freq), 2pi), 1/SinOsc ...

  3. RedGrain Quark

    ... in, { |out= 0, bufnum= 0, rate= 1, pos= 0, dur= 1, pan= 0, amp= 1| var e, z; e= EnvGen.ar(Env.sine(dur), 1, amp*0.1, doneAction: 2); z= PlayBuf.ar( 1, bufnum, rate*BufRateScale.ir(bufnum), 1, pos*BufSamples.ir(bufnum), 1 ); OffsetOut.ar(out ...

  4. TestPattern13 Quark

    ( Alga.boot({ AlgaSynthDef(\test, { SinOsc.ar(\freq.kr(440)) * EnvGen.ar(Env.perc, doneAction:2) }).add; s.sync; a = AlgaPattern(( def: \test, dur: \manual, freq: Pseq([440, 880], inf) )).play; b = AlgaPattern(( def: \test, freq: Pseq([330, ...

  5. Re: Chicago Chord Pad by 0-2U (grirgz) Code

    ... ogFF.ar(snd, SinOsc.kr(0.08, 0.5, cutoff/10, cutoff), 3, 0); snd = snd * EnvGen.ar(Env.dadsr(delay,0.4, 0.01,0.8,0.4), gate, doneAction:2); //snd = snd * EnvGen.ar(Env.adsr(0.4, 0.01,0.8,0.4), gate, doneAction:2); snd = [ ...

  6. PmonoArtic Help

    ... sc .kr(plfofreq, mul:mw, add:1); freq = Lag .kr(freq, freqlag) * plfo; fcurve = EnvGen .kr( Env .adsr(0, 0.3, 0.1, 20), gate); fcurve = (fcurve - 1).madd(0.7, 1) * ffreq; sig = Mix .ar([ Pulse .ar(freq, 0.9), Saw .ar(freq*1.007)]); sig = RL ...

  7. AmpComp Help

    ... ustain=0.01, amp=0.5, pan = 0; var freq = MouseX.kr(300, 7000, 1); var window = Env .sine(sustain, amp * AmpComp .ir(freq)); Out .ar(out, Pan2 .ar( SinOsc .ar(freq), pan ) * EnvGen .ar(window, doneAction:2) ) } ).send(s); ) // send grains ( ...

  8. Re: SCTweets by makary-kleinschmidt (rumush) Code

    ... 01],10)/5+x,b,LFNoise1.ar(0.2)+1*5e4); x } ) (// Glitch Pitch play{ var env = XLine.ar(0.5, 20, 60, doneAction:2); b=LocalBuf(1e5,2).clear; x=BufRd.ar(2,b,Phasor.ar(0,1,0,1e5))*0.6; BufWr.ar(Blip.ar([1,1.01]*env,10)/5+x,b,Lag.ar( ...

  9. SynthDef Help

    ... 'good style'. One of these, ' gate ' when used to control the gate input of an EnvGen , deserves special mention, as it allows one to use Node's release method. See Node for an example and more detail. Static versus Dynamic Elements It is ...

  10. sync looper by ovo (ovo) Code

    ... {|out=0, sync=8, buf, rate=1, amp=1, stop, atk=0.003, rel=100| var snd, phs, env, gate; phs = In.ar(sync); gate = A2K.kr(phs) < (BufSamples.kr(buf)-(BufSampleRate.ir(buf)/rel)); gate = gate-stop; env = EnvGen.kr(Env.asr(atk,1,rel ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow