Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1264) Code (234) Doc (328) Help (102) Quark (589) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. NodeProxy Help

    ... ting the source: NodeProxy keeps a number of slots which can be sources and are mixed on the same bus.. The default source is the slot 0. All objects can be exchanged while running, and also before and after. Normally, the source is active ...

  2. Pattern Help

    ... , w; fc = LinExp .kr( LFNoise1 .kr( Rand (0.25, 0.4)), -1, 1, 500, 2000); osc = Mix .fill(8, { LFSaw .ar(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 ...

  3. SynthDef Help

    ... ate, 0.1, 1, 1, 2) * amp; sines = SinOsc .ar(freqs +.t [0,0.5]).cubed.sum; // A mix of 4 oscillators Out .ar(0, sines * env); }, [0, 0.1, 0]).add; ) x = Synth ( \arrayarg ); x.setn( \freqs , [440, 441, 442, 443]); // Don't accidentally set ...

  4. Functions and Other Functionality Help

    ... f.value(10, 2); // regular style f.value(b: 2, a: 10); // keyword style You can mix regular and keyword style if you like, but the regular args must come first: f = { arg a, b, c, d; (a + b) * c - d }; f.value(2, c:3, b:4, d: 1); // 2 + 4 * ...

  5. EZNumber Help

    ... " , { arg note = 36, fc = 1000, rq = 0.25, bal=0, amp=0.4, gate = 1; var x; x = Mix .fill(4, { LFSaw .ar((note + {0.1.rand2}.dup).midicps, 0, 0.02) }); x = RLPF .ar(x, fc, rq).softclip; x = RLPF .ar(x, fc, rq, amp).softclip; x = Balance2 .a ...

  6. PG_04_Words_to_Phrases Help

    ... g, env = Env .adsr(0.01, 0.3, 0.4, 0.1); freq = Lag .kr(freq, slideTime); sig = Mix ( VarSaw .ar([freq, freq * detune], 0, width, preamp)).distort * amp * EnvGen .kr(env, gate, doneAction: 2); sig = LPF .ar(sig, ffreq); Out .ar(0, sig ! 2) ...

  7. Sequencing with Patterns Help

    ... g, env = Env .adsr(0.01, 0.3, 0.4, 0.1); freq = Lag .kr(freq, slideTime); sig = Mix ( VarSaw .ar([freq, freq * detune], 0, width, preamp)).distort * amp * EnvGen .kr(env, gate, doneAction: 2); sig = LPF .ar(sig, ffreq); Out .ar(0, sig ! 2) ...

  8. PG_Cookbook06_Phrase_Network Help

    ... 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 = RLPF .ar(sig, fcurve, rq) * EnvGen .kr( Env .adsr(0.04, 0.2, 0.6, 0.1), gate, doneAction:2) * amp; ...

  9. PG_03_What_Is_Pbind Help

    ... ( \default , { arg out=0, freq=440, amp=0.1, pan=0, gate=1; var z; z = LPF .ar( Mix .new( VarSaw .ar(freq + [0, Rand (-0.4,0.0), Rand (0.0,0.4)], 0, 0.3)), XLine .kr( Rand (4000,5000), Rand (2500,3200), 1) ) * Linen .kr(gate, 0.01, 0.7, 0.3 ...

  10. EZKnob Help

    ... " , { arg note = 36, fc = 1000, rq = 0.25, bal=0, amp=0.4, gate = 1; var x; x = Mix .fill(4, { LFSaw .ar((note + {0.1.rand2}.dup).midicps, 0, 0.02) }); x = RLPF .ar(x, fc, rq).softclip; x = RLPF .ar(x, fc, rq, amp).softclip; x = Balance2 .a ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow