I’ve been using Composer Desktop Projects FFT analysis tools a lot lately. Especially the one who filters out everything but the harmonic series or octaves to a given frequency from the FFT. I wonder if there’s a way to do this in sc? I’ve been using the FFT tools in sc a bit (like PV_freeze) but have looked around for this but can’t seem to find this.
I don’t know the sound of the CDP, but isn’t what you are describing just MagMul:
s.boot;
b = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav");
b.play
//octaves only
(
SynthDef("help-magMul", { |out = 0|
var inA, chainA, inB, chainB, chain;
inA = PlayBuf.ar(1,b,loop:1);
inB = Mix.ar(SinOsc.ar([1,2,4,8,16,32]*40)*0.02);
chainA = FFT(LocalBuf(2048), inA);
chainB = FFT(LocalBuf(2048), inB);
chain = PV_MagMul(chainA, chainB);
Out.ar(out, 0.1 * IFFT(chain).dup);
}).play(s);
)
Ahhhhh, thank you! Works perfectly. Thank very much :))