I'm writing a Max external called sparkle~ and I have a problem.
It's a tool for frequency processing: in the first version I was doing
windowing and overlapping my self,
taking and giving audio data, such as:
sparkle~ (overlapp add, windowing, fft, ifft, cartopol, poltocar, ... all
Then, for some reasons, i decided to make it work inside a pfft~ subpatch
sparkle~ (not windowing nor overlapping anymore, just data processing)
Here it is my problem:
the resynthesis is not good as I get when I was doing the overlap myself
(is like filtered). I suppose I'm loosing data because in the
perfom function of the external I only have access to vector-sized buffers
not to FFT-sized buffer (as I'm supposing should happen inside pfft~).
But if I try to access more data everything crashes, as if it were not
Can anyone give me a hint to solve the problem?
Thanks a lot, Carmine