Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (293) Code (40) Doc (206) Help (6) Quark (41) SCDoc ↗ Forum ↗ Google ↗
  1. PG_06f_Server_Control Doc

    ... EnvGen.kr(Env(#[1, 1, 0], #[1, 1], -3, releaseNode: 1), gate, doneAction: Done.freeSelf); ReplaceOut.ar(out, sig) }).add; ~vbus1 = Bus.control(s, 1).set(0.5); ~vbus2 = Bus.control(s, 1).set(0.5); ~window = Window.new("mixers", Rect(10, 100 ...

  2. techno kick by thomas-legacy (Thomas Legacy) Code

    ... = EnvGen.kr(Env.adsr(rel, rel/2, 1, 0.01, curve: 3), gate, doneAction: Done.freeSelf); // for reverb // separate signals for extra processing low = SinOsc.ar(freq * env1 * env2); high = WhiteNoise.ar() * wEnv * 0.6; high = BBan ...

  3. NodeProxyRolesSN Doc

    ... SynthDef(\simple, { var env = EnvGen.kr(Env.asr, \gate.kr(1), doneAction: Done.freeSelf), sin = SinOsc.ar(\freq.kr(111)), saw = Saw.ar(\sawfreq.kr(110)); Out.ar(\out.kr(0), SelectX.ar(\which.kr, [sin, saw]) * env * \amp.kr(0.5)); }).add; ) ...

  4. In-between, longing by jpdrecourt (jpdrecourt) Code

    ... .0], [fade, (BufDur.ir(bufnum)*(end - start)/rate) - (2.0*fade), fade]).ar(Done.freeSelf); env = env*amp; sig = Pan2.ar(sig, pan); Out.ar(out, sig*env); }).add; //// Playing a mono buffer with a loop in the middle SynthDef(\b ...

  5. Pbindef Doc

    ... n| var env, u = 1; env = EnvGen.ar(Env.perc(0.01, sustain), 1, doneAction: Done.freeSelf); 5.do { var d; d = exprand(0.01, 1); u = SinOsc.ar(d * 300, u, rrand(0.1, 1.2) * d, 1) }; Out.ar(out, Pan2.ar(SinOsc.ar(u + 1 * freq, 0, amp * env), p ...

  6. GMKeyboard Doc

    ... 0], [0.005, 0.5], \lin, 1 ); snd = snd * EnvGen.kr( env, gate, doneAction: Done.freeSelf ); Out.ar(0, snd!2); }).add; keyboard = GMKeyboard() .margins_(8) .displayHighlights_(true) .mode_(\chromatic) .keyNumber_(13) .sustainMode_(true) .act ...

  7. Satie Quark

    ... en.kr( Env.asr(0.3, 1.0, 0.3, curve: \sine), gate: synth_gate, doneAction: Done.freeSelf ); var previousSynth = SynthDef.wrap({ In.ar( bus: config.outBusIndex[spatializerNumber], numChannels: config.spatializers[config.listeningFormat[spati ...

  8. randomSeed Doc

    ... domSeed, { arg out=0, freq=440; Out.ar(out, Line.kr(1, 0, 0.3, doneAction: Done.freeSelf) * Resonz.ar( Dust2.ar([10, 10], 270) + WhiteNoise.ar(4), freq, 0.01) ) }).send(s); SynthDef(\help_setRandomSeed, { arg seed=1956, tbus=0.0; RandSeed.k ...

  9. PG_Cookbook07_Rhythmic_Variations Doc

    ... ), env = EnvGen.kr(Env([1, decay1L, 0], [decay1, decay2], -4), doneAction: Done.freeSelf), sig = SinOsc.ar(fcurve, 0.5pi, preamp).distort * env * amp; Out.ar(out, sig ! 2) }).add; SynthDef(\kraftySnr, { |amp = 1, freq = 2000, rq = 3, decay ...

  10. GMRoundButton Doc

    ... = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr( Env.perc, doneAction: Done.freeSelf ); Out.ar(0, snd!2); }).add; // Instanciate the View, and modify it's look roundButton = GMRoundButton(); roundButton.string_("beep"); // Assign a cust ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow