-
... = 1e-9; lastFreqs = FloatArray.fill(numTracks, { |idx| (120.0 * (1.18 ** idx)).clip(minFreq, maxFreq) }); lastAmps = FloatArray.fill(numTracks, 0.0); deathFrames = Array.fill(numTracks, 999); stableIds = Array.fill(numTracks, { |idx| idx } ...
-
PV_MagClip clip bins to a threshold PV_MagClip(buffer, threshold) Clips bin magnitudes to a maximum threshold. buffer - fft buffer. threshold - magnitude threshold. See also FFT Overview . s.boot; ( b = Buffer .alloc(s,2048,1); c = Buffer . ...
-
PeakMonitorGui : ObjectGui { var leftFlow, rightFlow; var multiSl, clipButtons, maxRecentView; var maxRecent, recentSize, maxClip; // workaround for crucial gui issue // closing a Swing window executes viewDidClose before calling remove on ...
-
... invert the mapping range (high input values become low output values and v.v.) clipMode: sets the way values out of 'fromRange' are used \ignore: values outside the range are not used; the UMap will output the last known value \clip: limit ...
-
... e to update inputs of N-ary operators applied to Patterns too. A common case is clipping. Say you have a Pcauchy pattern (distribution with a relatively high number of outliers) and want to dynamically change its mean value and clip bounds. ...
-
... nds { | mode | switch (mode, 'free', { ^{ | value, domain | value.asAscii } }, 'clip', { ^{ | value, domain | value.clip(domain.min, domain.max).asAscii } }, 'low', { ^{ | value, domain | value.max(domain.min).asAscii } }, 'high', { ^{ | va ...
-
... { |mAmps| { this.setAmps(mAmps) }.defer; }); }; }; } midDb_ { |val| midDb = val.clip(-100, 0); midSl.value_(midDb); } rangeDb_ { |val| rangeDb = val.clip(0, 30); rangeSl.value_(rangeDb); } avgN_ { |val| avgN = val.clip(1, 50); avgSl.value_( ...
-
... s { | mode | switch (mode, 'free', { ^{ | value, domain | value.asInteger } }, 'clip', { ^{ | value, domain | value.clip(domain.min, domain.max).asInteger } }, 'low', { ^{ | value, domain | value.max(domain.min).asInteger } }, 'high', { ^{ ...
-
... { |mAmps| { this.setAmps(mAmps) }.defer; }); }; }; } midDb_ { |val| midDb = val.clip(-100, 0); midSl.value_(midDb); } rangeDb_ { |val| rangeDb = val.clip(0, 30); rangeSl.value_(rangeDb); } avgN_ { |val| avgN = val.clip(1, 50); avgSl.value_( ...
-
... nds { | mode | switch (mode, 'free', { ^{ | value, domain | value.asFloat } }, 'clip', { ^{ | value, domain | value.clip(domain.min, domain.max).asFloat } }, 'low', { ^{ | value, domain | value.max(domain.min).asFloat } }, 'high', { ^{ | va ...