Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2106) Code (553) Doc (473) Help (193) Quark (880) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. Underwater by muse-score (Muse Score) Code

    ... }; SynthDef(\divsynth, { |out=0,divs = #[1],amp=1,sustain=1| var l,sig,env,n,sortedDivs; l = divs; n = divs.at(divs.size-1); sig = SinOsc.ar(1, 0, 0); l.do({ arg item, i; d = item; sig = sig+SinOsc.ar(d, 0, a ...

  2. Klank Help

    ... rings = #[0,0,0,0,0,0,0,0,0,0,0,0], atk = 5, sus = 8, rel = 5, pan = 0| var e = EnvGen .kr( Env .linen(atk, sus, rel, 1, 4), doneAction:2); var i = Decay .ar( Impulse .ar( Rand (0.8, 2.2)), 0.03, ClipNoise .ar(0.01)); var z = Klank .ar( `[f ...

  3. vagabond kicks by vividsnow (vividsnow) Code

    ... var base_freq = LFNoise2.kr(1!2).exprange(35,60); Pan2.ar( SinOsc.ar( EnvGen.ar( Env( [ base_freq, LFNoise2.kr(1/2!2).exprange(400,6500), LFNoise2.kr(1/2!2).exprange(35,125), base_freq ...

  4. PatternBoxParamView Quark

    ... iptView.maxWidth = 24; buttonSelectScriptView.toolTip = "Print available script env & control parameters to console."; buttonSelectScriptView.states = [[""] ++ Color.red.dup(2)]; buttonSelectScriptView.action = { "Not yet implemented: Print ...

  5. PG_03_What_Is_Pbind Doc

    ... ynthDef(\harpsi, { |outbus = 0, freq = 440, amp = 0.1, gate = 1| var out; out = EnvGen.ar(Env.adsr, gate, doneAction: Done.freeSelf) * amp * Pulse.ar(freq, 0.25, 0.75); Out.ar(outbus, out ! 2); }).add; // see below for more on .add p = Pbin ...

  6. TestTimeZeroSchedOne Quark

    ... IO=2; Alga.initSynthDefs; Alga.boot({ a = AP(( def: { SinOsc.ar(\freq.ar(10)) * EnvGen.ar(Env.perc(releaseTime:\rel.kr(1)), doneAction:2) }, freq: 440, rel: 2, dur: 0.25 )).play; //s.plotTree }); ) //Fix this a.from(100, \freq, time:0, sche ...

  7. mapping-to-proxies1 Quark

    ... mescale=1, curve=0, loopnode=0, formfact=2, widfact=0.5, spread=1, amp=0.1| var env = EnvGen.kr( Env( { 1.0.rand2 }!11, {1.0.rand}!10 * timescale, curve, releaseNode: 9, loopNode: loopnode) ); var pitch = (env * [1, 0.33, -1] * intv).midira ...

  8. noisy twist by vividsnow (vividsnow) Code

    ... } ! bands, { gen.choose.kr(1/1.rrand(10)).range(0.1,1) } ! bands ) * ({ EnvGen.kr(Env.perc(0.008.exprand(0.03), tempo.reciprocal / [1,2,4,8].choose, 1, rrand(-7,-1.0)).circle) } ! (bands/sync)).stutter(sync) ); sig = sig * 0.7 + ...

  9. PanAmbi2O Doc

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

  10. InfluxKtlLoop Quark

    ... curve=0, loopnode=0, dens = 10, resfreq = 500, ringtime = 0.01| var n = 15; var env = EnvGen.kr( Env({ 1.0.rand2 }!(n+1), {1.0.rand}!n, curve, releaseNode: n-1, loopNode: loopnode.min(n-3)), timeScale: timescale); var pitch = (env * [1, 0.3 ...

prev 141 142 143 144 145 146 147 148 149 150 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow