Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2106) Code (553) Doc (473) Help (193) Quark (880) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. PG_Cookbook06_Phrase_Network 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 ...

  2. 15_Scheduling Help

    ... s often the case that the synthdef used by the synth in routines should have an envelope with a doneAction parameter set to 2 (to deallocate the memory needed for the synth after its envelope has finished playing). ( // DEFINE A SYNTHDEF Sy ...

  3. Streams-Patterns-Events2 Help

    ... t; out = RLPF .ar( LFSaw .ar( freq ), LFNoise1 .kr(1, 36, 110).midicps, 0.1 ) * EnvGen .kr( Env .perc, levelScale: 0.3, timeScale: sustain, doneAction: 2 ); //out = [out, DelayN.ar(out, 0.04, 0.04) ]; 4.do({ out = AllpassN .ar(out, 0.05, [0 ...

  4. ServerTiming Help

    ... ut = 0, freq = 440, amp = 0.5, dur = 1| Out .ar(out, SinOsc .ar(freq, 0, amp) * EnvGen .kr( Env .sine(1), timeScale:dur, doneAction:2)); }).add; 2.do({ |chan| var rout; rout = Routine ({ var freq; { freq = 0; rrand(400, 1000).do({ freq = fr ...

  5. PG_07_Value_Conversions Help

    ... nth node setting its 'gate' control to 0. Your SynthDef should use 'gate' in an EnvGen based on a sustaining envelope (see Env ), and the EnvGen should have a doneAction ( UGen-doneActions ) that releases the synth at the end. You can give ...

  6. SimpleNumber Help

    ... ial curve output range (outMin..outMax). A curve is like the curve parameter in Env Unlike with linexp, the output range may include zero. If the input exceeds the input range, the following behaviours are specified by the clip argument: ni ...

  7. EZSlider Help

    ... = 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] ).load(s); // make the window w = Window ( "another control panel" ...

  8. SCSlider Help

    ... { SynthDef ( \pluck ,{ arg freq=55; Out .ar(0, Pluck .ar( WhiteNoise .ar(0.06), EnvGen .kr( Env .perc(0,4), 1.0, doneAction: 2), freq.reciprocal, freq.reciprocal, 10, coef:0.1) ); }).send(s); w = Window .new( "Hold arrow keys to trigger sou ...

  9. 13 Help

    ... kr(grainFreq); Out .ar( 0, SinOsc .ar( LFNoise0 .kr(4, freqDev, centerFreq), 0, EnvGen .kr( Env.sine(0.1) , gate, 0.1) ) ) }).load(s); SynthDef ( "aDelay" , { arg delay = 0.25; Out .ar( 1, DelayN .ar( In .ar(0, 1), delay, delay ) ) }).load( ...

  10. Streams-Patterns-Events1 Help

    ... help_SPE1 , { arg i_out=0, freq; var out; out = RLPF .ar( LFSaw .ar( freq, mul: EnvGen .kr( Env .perc, levelScale: 0.3, doneAction: 2 )), LFNoise1 .kr(1, 36, 110).midicps, 0.1 ); // out = [out, DelayN.ar(out, 0.04, 0.04) ]; 4.do({ out = All ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow