-
... )); }; 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 ...
-
... 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 ...
-
... 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[ ...
-
... 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 ...
-
... 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 ...
-
... ; // 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 ...
-
... 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 ...
-
... 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. ...
-
... 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 ...
-
... 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 ...