Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... lder Kemar.path = "KemarHRTF/"; Kemar.initBuffers(a, e); ( { var sound; sound = EnvGen.kr(Env.adsr, Impulse.kr(3)) * PinkNoise.ar(0.8); Kemar.ar( DecodeAmbi3O.ar( PanAmbi3O.ar(sound, MouseX.kr(-pi, pi), MouseY.kr(-pi, pi)), '1_4_7_4' ) ); } ...

  2. OffsetOut Doc

    ... ( SynthDef("help-OffsetOut", { |out = 0, freq = 440, dur = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, dur, 0.2), doneAction: Done.freeSelf); OffsetOut.ar(out, SinOsc.ar(freq, 0, env)) }).send(s); SynthDef("help-Out", { |out = 0, freq = 4 ...

  3. Linen Doc

    ... en : UGen : AbstractFunction : Object Simple linear envelope generator. Source: EnvGen.sc See also: EnvGen Description Simple linear envelope generator. Class Methods Linen. kr ( gate: 1.0 , attackTime: 0.01 , susLevel: 1.0 , releaseTime: 1 ...

  4. CtkSynthDef Doc

    ... amples ( a = CtkSynthDef(\test2, {arg gate = 1, freq = 440, amp = 0.5; var env, envgen, src; env = Control.names([\env]).kr(Env.newClear(8)); envgen = EnvGen.kr(env, gate, doneAction: 2); src = BPF.ar(WhiteNoise.ar(amp), freq, 0.01, amp * e ...

  5. Pconst Doc

    ... erence may be very small and this could result in zombie nodes, due to a bug in EnvGen for very short sustain times. Class Methods Pconst. new ( sum , pattern , tolerance: 0.001 ) Embeds elements of the pattern into the stream until the sum ...

  6. CtkScore Doc

    ... ise2.kr(rate).range(low, hi)) }), SynthDef(\test, {arg freq, amp, dur; var env, envgen, src; env = Env([0, 1, 0], [0.5, 0.5], \sin); envgen = EnvGen.kr(env, timeScale: dur); src = BPF.ar(WhiteNoise.ar(amp), freq, 0.01, amp * envgen); Out.ar ...

  7. Trig1 Doc

    ... 125| var gate; gate = Trig1.kr(1.0, dur); OffsetOut.ar(0, SinOsc.ar(800, 0.3) * EnvGen.kr( Env([0, 0.1, 0.1, 0], [0.01, 1.0, 0.01], [-4, 4], 2), gate, doneAction: Done.freeSelf) ) }).add; Routine({ 1.0.wait; 100.do({ s.sendBundle(0.05, ["s_ ...

  8. Klang Doc

    ... Pan2.ar(Klang.ar(`[Array.rand(12, 200.0, 2000.0), nil, nil], 1, 0), 1.0.rand) * EnvGen.kr(Env.sine(4), 1, 0.02, doneAction: Done.freeSelf); }); 2.wait; }) }.fork; ) // Multichannel expansion: ( { loop({ play({ var nPartials = 12, nChans = 5 ...

  9. AmpComp Doc

    ... sustain, amp * AmpComp.ir(freq)); Out.ar(out, Pan2.ar( SinOsc.ar(freq), pan ) * EnvGen.ar(window, doneAction: Done.freeSelf) ) } ).add; ) // send grains ( fork { loop { s.sendBundle(0.1, [\s_new, \pgrain, -1, 1, 1]); 0.02.wait; }; } ) // tr ...

  10. IEnvGen Doc

    IEnvGen: Filter: Description Class methods ar kr Inherited class methods Undocumented class methods convertEnv Instance methods Inherited instance methods Examples Classes | UGens > Envelopes'>Envelopes IEnvGen : UGen : AbstractFunction : O ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow