-
... n@ambisonictoolkit.net 2018 */ // A sum of samples over a variable rectangular window of time MovingSum : UGen { *ar { arg in, numsamp=40, maxsamp=400; ^this.multiNew('audio', in, numsamp, maxsamp); } *kr { arg in, numsamp=40, maxsamp=400; ...
-
Loudness extraction of instantaneous loudness in sones sones = Loudness.kr(chain, smask=0.25, tmask=6) chain [fft] - Audio input to track, which has been pre-analysed by the FFT UGen; see examples below for the expected FFT size smask [sk] ...
-
MyBalance2 : MultiOutUGen { *ar { arg in, pos = 0.0, level = 1.0; ^Balance2.ar(in[0], in[1], pos, level) } *kr { arg in, pos = 0.0, level = 1.0; ^Balance2.kr(in[0], in[1], pos, level) } } MSPan2 : MultiOutUGen { *ar { arg in, pos, width, le ...
-
( // init busses (change ?? to !? to init again) ~busses = ~busses ?? { ~matrix_in_count = 8; ~matrix_out_count = 4; ~matrix_ins = ~matrix_in_count.collect({ arg idx; var bus = Bus.audio(s,2); Ndef(\matrix).set(( \in++idx ).a ...
-
( // add your own fx stuff here! // global specs first ProxyChain.addSpec( \freqscale, [0.3, 3, \exp, 0.001], \rtscale, [0.3, 3, \exp, 0.001], \thresh, \amp, \threshG, \amp, \gain, [0.01, 5, \amp, 0, 1], ); ProxyChain.add3( '1comby', \filte ...
-
... <>types; classvar <>pannerFuncs; classvar <>panDist = 0.2; *prefix { ^"wfsx" } *initClass { modes = [ \s, \d ]; // static, dynamic types = [ \n, \p ]; // normal (point), plane pannerFuncs = ( \n: ( // point \headphone: { |in, point| // simp ...
-
//redFrik RedAutoScale { //--lang var <>lo, <>hi, <>inLo, <>inHi, <>min, <>max; *new {|lo= 0, hi= 1, inLo= inf, inHi= -inf| ^super.newCopyArgs(lo, hi, inLo, inHi).reset; } reset { min= inLo; max= inHi; } autoScale {|val| if(val<min, {min= v ...
-
... the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ...
-
... = ProxySpace.push(s); ~out.play; p.fadeTime = 2; ( f = { arg n = 10, fmin=1000, fmax=8000.0, dtMul=0.5; [ Array.rand(n, fmin, fmax).sort, nil, Array.rand(n, dtMul*0.1, dtMul).sort.reverse ] }; ~pipe = { var ...
-
BhobLoShelf { *ar {|in, freq, amp| var wc, a0, allpass; wc=pi * freq * SampleDur.ir; a0=(1 - wc)/(1 + wc); allpass=FOS.ar(in, a0.neg, 1, a0, -1); ^(0.5 * (in + allpass + (amp * (in-allpass)))) } } BhobHiShelf { *ar {|in, freq, amp| var wc, ...