Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ( SynthDef ( \help_Pdfsm1 , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar([freq, freq + 0.1.rand2], 0, env)) }).add; ) ( var p; p = Pdfsm ( [ Prand ([0, ...

  2. jitlib_basic_concepts_04 Help

    ... eAccurate = false ; ~x.play; // the grain frees itself ~x = { SinOsc .ar(800) * EnvGen .ar( Env .perc(0.001, 0.03, 0.4), doneAction:2) }; // jittery tone. ( r = Routine { loop { 200.do { arg i; ~x.spawn; (0.005).wait; }; 1.wait; } }.play; ) ...

  3. Pbind Help

    ... (freq * [ Rand (0.99, 1.01), Rand (0.99, 1.01)], 0, amp) }).distort * 0.2; eg = EnvGen .kr( Env .asr(1, 1, 1), gate, doneAction:2); out = eg * RLPF .ar(osc, fc, 0.1); #a, b = out; Out .ar(i_out, Mix .ar( PanAz .ar(4, [a, b], [pan, pan+0.3]) ...

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

  5. Streams-Patterns-Events3 Help

    ... , { arg freq, sustain=1.0; var osc; osc = SinOsc .ar( [freq,freq+0.05.rand] ) * EnvGen .ar( Env .perc, doneAction: 2, levelScale: 0.3, timeScale: sustain ); Out .ar(0,osc); }).add; ) ///////////////////////////////////////////////////////// ...

  6. PG_Cookbook01_Basic_Sequencing Help

    ... tartPos: start, doneAction:2); sig = PitchShift .ar(sig, pitchRatio: stretch) * EnvGen .kr( Env .linen(attack, time, decay), doneAction: 2); Out .ar(out, sig ! 2) }).add; // note add! Without this, arguments won't work ) ( TempoClock .defau ...

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

  8. 15_Scheduling Help

    ... s ); car = SinOsc .ar( (freq * carPartial) + mod, 0, mul ); Out .ar( bus, car * EnvGen .kr( Env .sine(1), doneAction: 2, timeScale: ts) ) }).load(s); ) ( // DEFINE A ROUTINE r = Routine ({ 12.do({ Synth ( "fm2" , [ \bus, 2.rand, \freq , 400 ...

  9. ProxyMixer Help

    ... alive ~test = { |freq=250, intv=19, timescale=1, curve=0, loopnode=0| var env = EnvGen .kr( Env ({ 1.0.rand2 }!11, {1.0.rand}!10, curve, releaseNode: 9, loopNode: loopnode), timeScale: timescale); var pitch = (env * [1, 0.33, -1] * intv).mi ...

  10. PG_08_Event_Types_and_Parameters Help

    ... fault, the gate will be set to 0. Negative values trigger a "forced release" in EnvGen. See the EnvGen help file for details. kill: Immediately remove nodes using n_free. Standard Timing control arguments id: The node ID(s) must be given ex ...

prev 11 12 13 14 15 16 17 18 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow