Forums > Dev

Using pfft~ with no overlap

December 22, 2011 | 10:52 pm

Hi, first post here so apologies if this is not in the right forum. I’ve done quite bait of searching and not managed to find the answer anywhere. I’m building an MSP external to be used within a pfft~ subpatch, and want to have no overlap. The smallest hop size seems to be windowSize/32. Does anyone know if this can be reduced further or a suitable workaround? I’ve looked into using fft~ but the project is well underway and works so would like to continue with pfft~ if possible!

Many thanks


December 27, 2011 | 12:41 pm

Hi

If you want no overlap, your hopsize should be the same as the frame size.

aa


December 29, 2011 | 8:24 am

Thank you for information. Is the frame size required to be a multiple of the audio driver’s sample block size?


January 22, 2012 | 4:04 pm

Hi Andrea – thanks. This would mean using an overlap factor of 1. Ernest – the frame size (fft size) must be a power of 2.


February 2, 2012 | 10:44 am

I think andrea is right and an overlap factor of 1 equals no overlap, how else could you have a hopsize the size of the frame size (try to picture it),

if you have an overlap of 2 then 50% of the samples are re-analysed next time (and calcluation happens every fftsize/2)
if you have an overlap of 4 then 75% of the samples are re-analysed next time (and calcluation happens every fftsize/4)
if you have an overlap of 8 then 87.5% of the samples are re-analysed next time (and calcluation happens every fftsize/8)

so
if you have an overlap of 1 then 0% of the samples are re-analysed next time (and calcluation happens every fftsize)



t
February 2, 2012 | 1:44 pm

It is true what andrea and Timo are saying. But then again – why would you want to have no overlap? Why the need for FFT data in such an useless form? Just curious…

And one more thing you probably need to know that is not written in any documentation – the sample rate inside pfft~ is overlap times bigger as defined in your MSP status due to the fact, that there is overlap times more information to process.

I never did an external in my life but probably such an information is useful…?


Viewing 6 posts - 1 through 6 (of 6 total)