Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ne, { |amp = 0.25, freq = 440| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr( Env.perc, doneAction: Done.freeSelf ); Out.ar(0, snd!2); }).add; win.layout_( VLayout() .margins_(0) .add(keyboard) ); CmdPeriod.doOnce({ win.close; ...

  2. ATK-SynthDef-Examples Doc

    ... h SynthDef(\foaEncode3, {arg outBus, duration = 0.05, theta, phi; var src, foa, env; // our mono source src = PinkNoise.ar(-6.dbamp); // amplitude scaling envelope env = EnvGen.kr( Env([0, 1, 0], [0.5, 0.5], \sin), timeScale: duration, done ...

  3. Wavesets Doc

    ... for a precise number of repetitions, one can use a SynthDef with a hard cutoff envelope, as below. Note that adding an offset outside the phasor works better; Phasor.ar(0, playRate, start, end) is sometimes off by a few samples. This is li ...

  4. AlgaNode Doc

    ... ape that is to be used to perform new connections. This must be defined with an Env that always starts at 0 and ends at 1. If not specified, a single ramp Env([0, 1], 1) is used by default. playTime Specify the fading in / fading out time t ...

  5. Voicer Doc

    ... gate for note onset/release, and out for output bus. The SynthDef's main volume envelope should specify doneAction: 2 . Non-gated envelopes are supported, although note stealing requires a gate argument. For example: ( SynthDef.new("harpsi" ...

  6. PingPong Doc

    ... .kr(2.7, 0, 1000, 2500), 0.2)); Out.ar(out, PingPong.ar(bufnum, [left, right] * EnvGen.kr(Env([1, 1, 0], [2, 0.1])), 0.1, 0.8, 1) ) }).play(s, [\out, 0, \bufnum, b.bufnum]); }); ) b.free; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/ ...

  7. Neuromodule Doc

    ... 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); sig = SinOsc.ar(freq, 0.5pi) * env * amp; OffsetOut.ar(out, sig); }).add; ) ( Tdef(\x, { loop { va ...

  8. Tour_of_UGens Doc

    ... distortion panning reverbs delays and buffer ugens granular synthesis control: envelopes, triggers, counters, gates, lags, decays spectral 2. Techniques artificial space - decorrelation, beat frequencies, delays. series and parallel struct ...

  9. MxUnit Doc

    ... lets handlers varPooling onLoad group saveData init getInlet getOutlet mx parentEnvir isPrepared prSetStatus didLoad prepareToBundle spawnToBundle stopToBundle freeToBundle respawnToBundle moveToHead use delegate callHandler play stop respa ...

  10. OteyPiano Doc

    ... t=0, freq=440,gate=1, amp=0.5,rho=1| var son = OteyPiano.ar(freq, amp, rho:rho)*EnvGen.ar(Env.asr(0,1,0.1),gate,doneAction:2); Out.ar(out, Pan2.ar(son * 0.1, LinLin.kr(freq,36.midicps,90.midicps,-0.75,0.75))); }).add; ) //Use it. ( Pbind( \ ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow