Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... efreq = 50, envratio = 3, freqdecay = 0.02, ampdecay = 0.5 | var fenv = EnvGen.ar(Env([envratio, 1], [freqdecay], \exp), 1) * basefreq; var aenv = EnvGen.ar(Env.perc(0.005, ampdecay), 1, doneAction:2); var output = SinOsc.ar(f ...

  2. Pbeta Doc

    ... ynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var a; a = Pbeta(0.0, 1.0, 0.1, 0.1, inf).a ...

  3. Pboolnet Quark

    ... ( SynthDef ( "sine" , { arg out=0, freq=440, dur=0.05, amp=0.1; var env; env = EnvGen .kr( Env .perc(0.01, dur, amp), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).store;) ( // simple pattern var boolnet, pattern; boolnet = Pboo ...

  4. PG_06f_Server_Control Help

    ... umeCtl , { |out, amp = 1, gate = 1| var sig = In .ar(out, 2) * amp; sig = sig * EnvGen .kr( Env (#[1, 1, 0], #[1, 1], -3, releaseNode: 1), gate, doneAction: 2); ReplaceOut .ar(out, sig) }).add; ~vbus1 = Bus .control(s, 1).set(0.5); ~vbus2 = ...

  5. Node Doc

    ... er Nodes which are automatically freed after a certain time (for instance by an EnvGen with a doneAction of 2) will not. This keeps the implementation of the classes simple and lightweight. To have the current state of a Node tracked you ca ...

  6. 02_Evaluating_code Doc

    ... e line of code, such as { SinOsc.ar([400, 401], 0, 0.1) * Saw.ar([11, 33], 1) * EnvGen.kr(Env.sine(10)) }.play ⧉ ✔ first make sure that the localhost server is booted. Then put the cursor anywhere on the line (shown above) and press <enter> ...

  7. RedTapTempoGUI Quark

    ... lass.def} *def { ^SynthDef(\redTapTempo, {|out= 0, amp= 0.5| //mono only var e= EnvGen.kr(Env.perc(0.01, 0.1), doneAction:2); var z= SinOsc.ar(400, e*2pi, e*amp); Out.ar(out, z); }, metadata: ( specs: ( \out: \audiobus.asSpec, \amp: Control ...

  8. recursive_phrasing Doc

    ... ustain, amp * AmpCompA.kr(freq)); Out.ar(out, Pan2.ar( SinOsc.ar(freq), pan ) * EnvGen.ar(window, doneAction: Done.freeSelf) ) } ).add; SynthDef(\noiseGrain, { arg out = 0, freq=800, sustain=0.001, amp=0.5, pan = 0; var window; window = Env ...

  9. 1_Republic_distributedEvents Quark

    ... ef(\zzz, {|out, amp = 0.1, sustain = 1, freq = 440, noise = 0.3, pan| var env = EnvGen.ar(Env.perc(0.01, sustain), doneAction: 2) * amp; var son = SinOsc.ar(freq * [1, 1.2], BrownNoise.ar * noise).sum; Out.ar(out, Pan2.ar(son * env, pan)); ...

  10. News-3_11 Doc

    ... piling in some cases (#4018) UGens: Fixed Fixed an issue with the Done flags on EnvGen (#4789) Fixed an issue with EnvGen gating non-gated envelopes (#4436) sclang: Added Ableton Link support is here! Check the LinkClock class for more info ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow