-
... ef(\track5).ar, Ndef(\track6).ar, Ndef(\track7).ar, Ndef(\track8).ar]); chain = FFT(LocalBuf(2048), sig); diss = SensoryDissonance.kr(chain).min(1).max(0).lag(lag); (diss.linlin(0,1,-1,1) * mul).exprange(20.0, 20000.0) + add;}); Ndef('block ...
-
... gger trigger - update the kernel on a change from <=0 to >0 framesize - size of FFT frame, must be a power of two. Convolution uses twice this number internally, maximum value you can give this argument is 2^16=65536. Note that it gets prog ...
-
... trigger SynthDef(\ampTrigger, { |in| var snd = SoundIn.ar(in); var chain = FFT(LocalBuf(512), snd); // here tune the threshold and sensitivity: var trig = Onsets.kr(chain, 0.5); SendReply.kr(trig, '/ampTrigger', Amplitude.kr( ...
-
... ol=1; var chain, input, frameSize=2048; input = Ndef.ar('inTrack1', 1); chain = FFT(LocalBuf(frameSize, input.numChannels), input); chain = PV_MagFreeze(chain, freeze); (adjVol * IFFT(chain));}); Ndef('track1', {arg volume=0, lagTime=0, mut ...
-
... ol=1; var chain, frameSize=2048, input; input = Ndef.ar('inTrack1', 1); chain = FFT(LocalBuf(frameSize, input.numChannels), input); chain = PV_MagAbove(chain, thresh); (adjVol * IFFT(chain));}); Ndef('track1', {arg volume=0, lagTime=0, mute ...
-
... EffectSpec(2,2), \dualStereoEffect -> EffectSpec(2,2) ]; ) } } // specifies an FFT chain output or for an input that takes an FFT chain FFTSpec : Spec { var <>bufSize; *new { arg bufSize=2048; ^super.new.bufSize_(bufSize) } *initClass { sp ...
-
... ffectSpec(2, 2), \dualStereoEffect -> EffectSpec(2, 2) ]; ) } } // specifies an FFT chain output or for an input that takes an FFT chain FFTSpec : Spec { var <>bufSize; *new { arg bufSize=2048; ^super.new.bufSize_(bufSize) } *initClass { sp ...
-
... Filter = PopUpMenu(layout,120@17); rateFilter.items = ["all","audio","control","fft","stream","player","demand"]; rateFilter.action = { if(rateFilter.value == 0,{ this.rate = nil; this.init.refresh; },{ this.rate = rateFilter.item.asSymbol; ...
-
... er = PopUpMenu(layout, 120@17); rateFilter.items = ["all", "audio", "control", "fft", "stream", "player", "demand"]; rateFilter.action = { if(rateFilter.value == 0, { this.rate = nil; this.init.refresh; }, { this.rate = rateFilter.item.asSy ...
-
... 2L , but convolves with two buffers and outputs a stereo signal. This saves one FFT transformation per period, as compared to using two copies of Convolution2L . Useful applications could include stereo reverberation or HRTF convolution. Se ...