Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... es(nil).not, "an Event responds to all its keys"); x.use { y = ().putPairs(keys.envirPairs); }; this.assert(x == y, "an Event remains invariant under transformation to envirPairs"); } test_server_messages { // type note var event = ( type: ...

  2. Neuromodule-Stream-test Quark

    ... ynthDef(\gabor, { |out, freq=440, sustain=0.1, amp = 0.1, width = 0.1| var sig, env; env = LFGauss.ar(sustain, width, loop:0, doneAction: 2).range; sig = SinOsc.ar(freq, 0.5pi) * env * amp; OffsetOut.ar(out, sig); }).add; ) ( Tdef(\x, { loo ...

  3. fmBass Quark

    ... sine wave FM synth. First, the modulator and carrier are controlled by seperate envelopes, which allows for a sort of envelope-filter-type sound as the modulation index is increased and decreased. The attack and release times of this envelo ...

  4. lead-vc Quark

    ... etune], 0, index), car = Osc.ar(cbuf, fund * [1, cDetune] * (1 + mod), 0), eg = EnvGen.kr(Env.adsr(atk, dcy, sus, rel), gate, doneAction: 2); car = BRF.ar(Mix(car), fund, 1, amp); Out.ar(out, Pan2.ar(car, pan, eg)); }).add; SynthDef(\fmHarm ...

  5. 02c_disdronic Quark

    ... { arg out = 0, freq=800, sustain=0.01, amp=0.5, pan = 0.0; var window; window = Env.new([ amp, 0.001 ], [ sustain ], 'exponential'); Out.ar(out, Pan2.ar( (SinOsc.ar(freq) * EnvGen.ar(window, doneAction:2)).clip2(1), pan ) ) }).add; /***** / ...

  6. revFB Quark

    ... rq = 0.5| var snd = BPF.ar(WhiteNoise.ar(1 ! 2), ExpRand(400, 15000), rq); var env = XLine.kr(ramp ** 0.5, ramp ** -0.5, gdur, amp, 0, 2); Out.ar(out, snd * env); }).add; SynthDef(\imp, { |out, frq = 100, gdur = 0.1, ramp = 4, amp = 0.1| v ...

  7. wfsDynamicDirectional Quark

    ... lse ), true ] ], true ).category_( \wfs_panner ) // first a few general things .envPut( \getArgsFor, { |evt, which, args, server, startPos = 0| if( which.notNil ) { U.formatArgs( (args ? []).clump(2) .select({ |arr| which.includes( arr[0] ) ...

  8. TestPattern12 Quark

    ( Alga.boot({ AlgaSynthDef(\test, { SinOsc.ar(\freq.ar([440, 441])) * EnvGen.ar(Env.perc(0.01, 0.5), doneAction:2) }, sampleAccurate:true).add; AlgaSynthDef(\noise0, { LFNoise0.ar(\freq.kr([1, 2, 3])) }).add; AlgaSynthDef(\noise1, { LFNoise ...

  9. cheappiano Quark

    ... midicps); CombL.ar(hammer, delay, delay, 50 * amp) }) ); sig = HPF.ar(sig,50) * EnvGen.ar(Env.perc(0.0001,dur, amp * 4, -1), doneAction:2); Out.ar(out, Pan2.ar(sig, pan)); }, metadata: ( credit: "based on something posted 2008-06-17 by jeff ...

  10. blipTest Quark

    ... (\blipTest,{ |rate = 1, freq = 100, noiseLevel = 0.125, blipLevel = 1| var out, env; URandSeed.ir( 12345 ); // always the same noise out = ( Blip.ar( freq, 100, blipLevel * 0.125) + PinkNoise.ar( noiseLevel )) * LFPulse.kr(10 * rate); UMixO ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow