I'm trying to filter a sound down to its simplest components, over time. I'm using the guts of the phase vocoder tutorial to do a time stretch (over which I do the filtering) and have borrowed the filtering mechanism from the forbidden planet patch. The combination of these two is pretty good for what I'm doing, but I'd like to set the final (destination) values of my filter according to the spectral contents of the analyzed sound. So what I'd like to do is find the bins with the peak amplitudes, and set the filter accordingly. Is there a simple way to do that?
Thanks in advance.