Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. Granular electromaton by willammoxdrossard (William Mox Drossard) Code

    ... ,edens=1; var dens = Line.kr(sdens,edens,dur); var trig = [LFNoise0,SinOsc,Impulse,LFPulse,LFSaw].choose.ar(Line.kr(sdens,edens,dur)); //var env = EnvGen.kr(Env.perc(0.0001.rrand(0.1),dur*0.5.rrand(2)),doneAction:2); ...

  2. Out Doc

    ... us Examples ( SynthDef("help-out", { |out = 0, freq = 440| var source; source = SinOsc.ar(freq, 0, 0.1); // write to the bus, adding to previous contents Out.ar(out, source); }).add; ) Synth("help-out", [\freq, 500]); Synth("help-out", [\fr ...

  3. VirtualRoom Doc

    ... lse.kr(3)) * PinkNoise.ar(1) }; ~sinus = { EnvGen.kr(Env.adsr, Impulse.kr(3)) * SinOsc.ar(440,0.8) }; ~dust = { Dust.ar(400) }; ) v.addSource( ~noisy, \test1, [1, 2, 2.5]); v.addSource( ~sinus, \test2, [4, 7, 2.5]); v.addSource( ~dust, \tes ...

  4. EventListPlayer Doc

    ... ayer", env: Env.perc ) }); Instr("schelp.EventListPlayer", { arg freq=440, env; SinOsc.ar(freq) * EnvGen.kr(env, doneAction:2) }); e = EventListPlayer.new(events); e.play; ) ⧉ ✔ Class Methods . new (describe method here) Arguments: events l ...

  5. Synth Doc

    ... f ( SynthDef("help-synth", { |freq = #[440, 450, 460], out = 0| Out.ar(out, Mix(SinOsc.ar(freq, 0, 0.1))); }).add; ) // then this a short while later x = Synth("help-synth", [freq: [500, 501, 510]]); x = Synth("help-synth", [freq: [500, 501 ...

  6. Pseq Doc

    ... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( a = Pseq(#[60, 61, 63, 65, 72], inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, a.next.midicps]); 0.2.wait; ...

  7. PG_Cookbook05_Using_Samples Doc

    ... * 2, 1); s.sync; recorder = { |freq = 440| var initPulse = Impulse.kr(0), mod = SinOsc.ar(freq) * Decay2.kr(initPulse, 0.01, 3) * 5, car = SinOsc.ar(freq + (mod*freq)) * Decay2.kr(initPulse, 0.01, 2.0); RecordBuf.ar(car, b, loop: 0, doneAct ...

  8. Pfindur Doc

    ... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var c; c = Pbind( \dur, Prand([1, 0.02, 0.2], inf), \instrument, \help_sinegrain, \degree, Pseries(0, 1, inf), \octave, 6 ) ...

  9. Re: Morphing Saw Bass by 0-2U (grirgz) Code

    ... scfreq = {freq * LFNoise2.kr(Rand(0.0001,0.5)).range(0.98, 1.02)}!13; lfo = { SinOsc.kr({ 1/Rand(2,52) }!13) }; env = Env.adsr(0.07, 1, 0.9, 0.1).kr(doneAction:2, gate: gate); output = LFSaw.ar(oscfreq, mul: lfo.value.range(0,1)); o ...

  10. Many patterns controlling a single synth by kymatica (Jonatan Liljedahl) Code

    ... e = Splay.ar(RLPF.ar(Pulse.ar(freq * [0.99,0.5,1.01],pw),cf.lag(0.05),0.3).madd(SinOsc.ar(wobble).range(0.5,4)).sin) * 0.5; var env = Linen.kr(gate, attackTime: 0.01, releaseTime: 0.5, doneAction: 2); var sig = base; var bd = ...

prev 181 182 183 184 185 186 187 188 189 190 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow