-
... g = 0.03; var outsig; // limit cutoff freq range and smooth changes lpHz = lpHz.clip(5.0, 20000.0).lag3(slewFilter); hpHz = hpHz.clip(5.0, 20000.0).lag3(slewFilter); outsig = in * gain.lag(slewGain); outsig = DelayC.ar( outsig, maxdelaytime ...
-
... o; signal = RLPF.ar( LFPulse.ar( pFreq * [1, 1.01], 0, pWidth ), (pFreq * filt).clip(50, 15000), reso.reciprocal ) * AmpComp.kr(pFreq.lag(1)); Limiter.ar(signal) * amp; }) ); Ndef(\cat).set(\amp, 0.2).vol_(0.2); // don't play it yet, just p ...
-
... eepCopy; object.type = objectCopy.type; object.curve = objectCopy.curve; object.clipMode = objectCopy.clipMode; } object_ { |newObject| object = newObject; this.resetFuncs; this.makeObjectCopy; } resize_ { |resize| view.resize_( resize ) } ...
-
... contain(o); //--render Pen.strokeColor= Color.grey((depth-o.loc[2]/(depth*0.5)).clip(0, 1)); Pen.strokeRect(Rect.aboutRedObject3D(o, s, f)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... mp = 0.1| var sig, detune, midi, trigger; trigger = \trigger.tr(0); midi = freq.clip(20,20000).cpsmidi; detune = ((midi - midi.round(1))) + 0.5; freq = midi.round(1).midicps; sig = MdaPiano.ar( freq, 1 - trigger, vel * 127, decay, 0.8, hard ...
-
... {|aWorld, bWorld, percent= 0.5| //return a new world ^[aWorld, bWorld][percent.clip(0, 1).round].species.new( aWorld.dim.collect{|x, i| x.blend(bWorld.dim.clipAt(i), percent)}, aWorld.gravity.collect{|x, i| x.blend(bWorld.gravity.clipAt(i) ...
-
... StaticText().string_("Min"), minNumber= NumberBox().fixedWidth_(55).step_(1),//.clipLo_(0).clipHi_(127), StaticText().string_("Max"), maxNumber= NumberBox().fixedWidth_(55).step_(1),//.clipLo_(0).clipHi_(127), View().fixedWidth_(55), Static ...
-
... var bufDur = buffer[0].duration; if(rate.isPositive) {Env([(position / bufDur).clip(0, 1), 0.95], [1]).asArray} {Env([(position / bufDur).clip(0, 1), 0], [1]).asArray}; }; } //Register a spawned synth into SamplerQuery.playing as a Sampler ...
-
... size > 1, { if (argList[0].asString == "inBus", { auxBus = argList[1].asInteger.clip(0, satie.aux.size - 1); }); }); ^auxBus; // returns auxBus for effects node } getUriArgs { | uriPath | var temp,charIndex, processName; var argsString = "" ...
-
... mp = 0.1| var sig, detune, midi, trigger; trigger = \trigger.tr(0); midi = freq.clip(20,20000).cpsmidi; detune = ((midi - midi.round(1))) + 0.5; freq = midi.round(1).midicps; sig = class.ar( freq, 1 - trigger, vel * 127, decay, 0.8, hard, 0 ...