Excellent point - also good info for plugin USERs who like to keep lots of windows open! Thank you.
Efficient real time spectrum graphing techniques?
- KVRian
- 872 posts since 6 Aug, 2005 from England
But you're saying "FFTs are NOT light on resources" - have you tried Intel's IPP ?
Last edited by quikquak on Wed Aug 14, 2019 3:51 pm, edited 2 times in total.
Dave Hoskins. http://www.quikquak.com
-
- KVRian
- Topic Starter
- 621 posts since 30 Aug, 2012
Yes - this would explain why my observation that FFT was slow.
Do you have a source for good, efficient audio FFTs you could point me to?
-
- KVRian
- Topic Starter
- 621 posts since 30 Aug, 2012
- KVRian
- 872 posts since 6 Aug, 2005 from England
What I've done in the past is to call the FFT in the render thread using with whatever data is available at the time of rendering. Meanwhile the audio thread is filling up a short loop of data that I can read from in a write position going backwards fashion, guarranteeing there is no read/write clashes.
Dave Hoskins. http://www.quikquak.com
- KVRist
- 323 posts since 19 Jul, 2008
Yes, don't write your own FFT implementation for production, unless of course you want to learn how it works, or if you have a very specific use case and know what you're doing.
In very rough order of performance, some of the best FFT libraries for CPUs are: Intel IPP (proprietary freeware binary-only), Apple vDSP (Mac only), FFTW (GPLv2+), Julien Pommier's pffft (MIT-ish license). With that said, all perform within a factor of 2 compared to each other.
In very rough order of performance, some of the best FFT libraries for CPUs are: Intel IPP (proprietary freeware binary-only), Apple vDSP (Mac only), FFTW (GPLv2+), Julien Pommier's pffft (MIT-ish license). With that said, all perform within a factor of 2 compared to each other.
VCV Rack, the Eurorack simulator