Attn Ian: FFT

Started by biggyspender, 18 Aug '03 - 11:50

biggyspender

Bass can do forward FFT. Is there a way to do backward FFT to put the data back in to a stream?

/chris

Ian @ un4seen

You can't perform an inverse FFT on the data that BASS gives you (it only gives the amplitudes), but I don't think that would be much use to you anyway.

If you want to use FFT to modify the sample data, you should use a DSP callback function, in which you would perform an FFT, process the FFT output, and then perform an inverse FFT. You'll probably want to overlap the FFTs, to avoid "clicks" between the blocks of processed data (look into the "overlap-add" and "overlap-save" techniques). Note this is not particularly simple stuff :)

biggyspender


QuoteNote this is not particularly simple stuff :)

What fun would it be if it was easy :)??? I'll get there in the end!!!