Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (786) Code (22) Doc (235) Help (67) Quark (457) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. One chord requiem by 56228375 (56228375) Code

    ... )); }; bins = bins.asList.sort; idx = 0; while({stopit.not}) { var wrappedidx = idx.mod(127); idx.postln; if (idx.mod(127) == 0) { period = period / 2; lut = table.(period, phase, rangemin, rangemax); directio ...

  2. Demo of Model-View-Controller design by 0-cM (jamshark70) Code

    ... ly) gives you the most flexibility while avoiding common bugs. But it's hard to wrap your head around it first. So, here's a quick example using NodeProxies. - Model: This is the thing that is actually doing the work. Here, it's a contro ...

  3. Cars by dsastre (DSastre) Code

    ... transDelay[i]*100)/1000) * (0.5**(i+1)*32); overtoneDrive[i] = Wrap.ar(overtoneDrive[i]); overtone[i] = overtoneDrive[i].max(overtonePhase[i]) - overtonePhase[i]; overtone[i] = overtone[ ...

  4. ChannelStrip by meunierfabien (meunier.fabien) Code

    ... Action: 0); sin = SinOsc.ar(0, (Sweep.ar(t_trig, 2pi * [52.8, 740]) + (pi/3)).wrap(-pi, pi), [2, 0.05]).mean.tanh; sig = sin * env; Out.ar(out, Pan2.ar(sig, pan, level.curvelin(0, 1, 0, 1, log(10)))); }).add; SynthDef(\Reverb, {ar ...

  5. rand-n-step+ by vividsnow (vividsnow) Code

    ... ds.width - 10 / 7 * 5 + 5, 5, w.bounds.width - 10 / 7, 20)).states_([['fold'],['wrap']]).action_({ |b| b.value.booleanValue.if({ border = -1 }, { border = 1 }); }).mouseOverAction_({ status.string = 'behavior on the grid border' }); Sli ...

  6. God Rest Ye Merry, Xentlemen by walters (walters) Code

    ... ; // mix some of the base frequencies back in // I don't understand why wrapping the env in K2A sounds different, but it does sig = (rings + (osc1 + (osc2 * -6.dbamp)).dup) * K2A.ar(env) * amp * vol; // gentle filter control ...

  7. In-between, longing by jpdrecourt (jpdrecourt) Code

    ... t = 1.0| var sig = In.ar(out, 2); sig = ((1 - wet)*sig) + (wet*SynthDef.wrap(func, prependArgs: [sig])); ReplaceOut.ar(out, sig*amp); }).add; }; f[\makeFx].(\companderFx, {|sig, thresh = 0.1, slope = 0.5, clamp = 0.02, re ...

  8. Space Game by mjsyts (mjsyts) Code

    ... t.top)) .animate_(true) .frameRate_(15) .drawFunc_({ starY = (starY+1).wrap(0,hudRect.top); Pen.translate(0, starY); Pen.use({ starArray.do({ arg item; Pen.addOval(Rect( item.at(0), item.at(1), item. ...

  9. Wavetable Builder with GUI by txmod (txmod) Code

    ... envSignal.as(Array); holdArr = holdArr.collect({arg item, i; holdArr.wrapAt(i + (width.neg..width)).mean; }); envSignal = holdArr.as(Signal); }); envSignal.scale(2); // scale and offset to range -1/1 envSign ...

  10. SC Tweets collection by andre (andre) Code

    ... ator.ar(Pulse.ar(pi/[1,2.57],[0.54,0.46]),(1-LocalIn.ar(2)).fold(0,[0.9,0.85])).wrap2(pi).sin));k.mean!2} /* by batuhan bozkurt */ {n=LFNoise0.ar(_);f=[60,61];tanh(BBandPass.ar(max(max(n.(4),l=n.(6)),SinOsc.ar(f*ceil(l*9).lag(0.1))*0.7 ...

prev 1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow