-
/* \slope An UMap that differentiates its input, returning the amount of change per control cycle. value: the value upon which the lag is applied (this can be another UMap as well) abs: if true the UMap returns the absolute slope, if false ...
-
/* \slope An UMap that differentiates its input, returning the amount of change per control cycle. value: the value upon which the lag is applied (this can be another UMap as well) abs: if true the UMap returns the absolute slope, if false ...
-
... lew limited vs. original Instr("remover.bySlew",{ arg audio=0.0,sensitivity=0.0,slope=500; var slewed,mix,add; slewed = Slew.ar(audio,slope,slope); add = sensitivity.round(1.0).neg; // 1 0 -1 mix = Amplitude.kr(audio,mul: (sensitivity * 30) ...
-
... ion Instr("slews.slewhard",{ arg audio,drive=0.0,slewMax=12000,hardMax=7.0; var slope; slope = slewMax * (1.0 - drive); audio=Slew.ar(audio,slope,slope); HardShaper.ar(audio,drive * hardMax) },#[ \audio, [0.05,0.95], [1,12000,\exponential], ...
-
... } storeArgs { ^[nSamps,lo,hi,length] } embedInStream { arg inval; var counter, slope, level, nextValue, curLevel; var loStr = lo.asStream; var hiStr = hi.asStream; var nSampsStr = nSamps.asStream; var hiVal, loVal; counter = 0; slope = 0; ...
-
... rvals = interval * (allPhases * num); ^[intervals, amps] } // provide automatic slope if needed, else like *new. *kr { |num = 5, slope = 0.02, interval = 12, shift = 0, ampExp = 2| var masterPhase = if (slope == 0) { 0 } { A2K.kr(Phasor.ar( ...
-
>> blkset 1 freq slope == radpost == Ndef('mod1', {arg in=1, mul=1, add=0, lag=0; var sig, chain, val; sig = SoundIn.ar( (in-1).max(0) ); chain = FFT(LocalBuf(2048), sig); val = FFTSlope.kr(chain); ((val * 10000).abs.linlin(0,10,-1,1) * mul ...
-
... , clip for abs values above 1. // The transfer function is antisymmetrical, its slope tends to 0 for x -> +-1. // Source and target range can be shifted with fromLo, fromHi, toLo, toHi. // The sine fragment with minimum at x = 1 and f(1) = ...
-
... k it still is. Instr.orc(\dynamics,[ \compressor, { arg audio=0.0,threshold=0.5,slope=0.5,clampTime=0.1,relaxTime=0.3; // auto gain would be nice Compander.ar( audio, Mono(audio).max(0.0001), threshold, 1.0 , slope,clampTime,relaxTime ) }, ...
-
... gain=1.0,higain=1.0, // attack=0.01,release=0.1,stereo=2.0, // midthresh=0.4,midslope=0.3; // // var lo,mid,hi; // // # lo, mid, hi = Instr.ar([\splits,\xover3,\lp],[audio,xover1,xover2]); // // lo = Instr.ar([\dynamics,\shaper],[lo]); // l ...