Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3894) Code (643) Doc (1121) Help (424) Quark (1675) Plugin (31) SCDoc ↗ Forum ↗ Google ↗
  1. Space Game by mjsyts (mjsyts) Code

    ... lors var spriteSize=36, radius = spriteSize/2; var enemyArray = [Rect.aboutPoint(win.view.bounds.width.rand@0,radius, radius)], explosions = Array.newClear; var numLives=3; var sqrtHalfPi = sqrt(pi/2); var level = 1; ...

  2. Modulation sequencing by 0-2U (grirgz) Code

    ... ys to set a different modulation per step in a pattern ( SynthDef(\rlpf, { arg out=0, amp=0.1, gate=1, pan=0, spread=0.8, freq=200, doneAction=2, ffreq=4000, rq=0.3; var sig, sig1, sig2, sig3; sig = LFSaw.ar(freq * [1.01,1,0.99]); si ...

  3. Stuff On My Lawn - 115modulations by melliott (melliott) Code

    ... ).range(0, 1); carrier = SinOsc.ar(freq: freq, mul: env * modulator); Out.ar(0, carrier ! 2); }).add; SynthDef("hihat", {arg out = 0, amp = 0.5, att = 0.01, rel = 0.2, ffreq = 12000, pan = 0; var env, snd; env = Env.perc( ...

  4. Meandering Sines by emergent (emergent) Code

    ... anfreq.ir(1/10), {Rand(0.0, pi)}, {Rand(0.1, 0.99)})); // meandering panning Out.ar(\out.kr(0), sig); }).add; s.sync; Pbindef(\drones, \instrument, \sine, \freq, Pseq(~dronenotes,inf), \amp, 0.06, \dur, Pwhite(18, 30) ...

  5. Audio-triggered Kickdrum by bernhard-zitz (Bernhard Zitz) Code

    ... dist=7, wet=0.5, amp=1, out=0; var trig, level, env0, env1, envclick, click, sig, sig2, dir; dir = SoundIn.ar(in,1); trig = LPF.ar(HPF.ar(dir,hpf),lpf); trig = trig.ta ...

  6. Judges by Michael Noonan by bruno (Bruno Ruviaro) Code

    ... d = Splay.ar(snd); snd = snd * In.kr(55); snd = Pan2.ar(snd, pan); Out.ar(0, snd); //DetectSilence.ar(snd, doneAction: 2); }).add; SynthDef("pulsey2", { arg freq = 440, amp = 0.5, rel = 0.5, att = 0.5, pan = 0; va ...

  7. first steps with NamedControl by emergent (emergent) Code

    ... (2)), 0, 0.8); sig = Splay.ar(sig, 0.8); sig = sig * env * \amp.kr(0.15); Out.ar(\out.kr(0), sig) }).add; ) y = Synth.new(\syn2); y.set(\freq, [220, 280, 330, 439]) y.set(\freqlag, 1.2) // execute the following in any order ...

  8. Ceci N'est Pas Une Pipe by codepool (codepool) Code

    Migration from the old SourceForge wiki. s.boot; p = ProxySpace.push(s); ~out.play; p.fadeTime = 2; ( f = { arg n = 10, fmin=1000, fmax=8000.0, dtMul=0.5; [ Array.rand(n, fmin, fmax).sort, nil, Array.rand(n, dtMul*0. ...

  9. How to tempo-sync LFOs in Patterns across multiple instances of a Synth by 0-4w (defaultxr) Code

    ... n SuperCollider. When you play the pattern, you should be able to hear that the output will sound fairly consistent, even though the pattern's \dur is totally random. That is because the \tbeat and \tempo parameters are provided to the Synt ...

  10. gabber kick by snappizz (snappizz) Code

    ... , 0], [0.001, 0.01, 0.3, 0.02]).ar(2); snd = (snd * 0.6).clip(-1, 1); Out.ar(\out.kr(0), Pan2.ar(snd, \pan.kr(0), \amp.kr(0.1))); }).add; ) Synth(\gabberkick, [amp: 0.6])

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow