All I want to do is write a spectrum analyzer module for MAME to show a spectrograph of the VGM player driver. Why is it so hard to find a bloody Discrete Fourier Transform algorithm in C or C++ that just does what it says on the tin and doesn't have external dependencies?!
As I understand it, FFT will work for arbitrary sizes as long as I pad out the sample count to a power of two. I'm assuming for unsigned audio data, the best choice would be to pad with zeroes.
-
-
If you can point me at a link to the repo for REAPER, I'd be happy to take a look. Thanks for the advice already!
-
I've already got a one-liner for a straightforward Hann window, but if you have a suggestion for a better windowing algorithm for a bar-chart style spectrograph, I'm all ears!
- Näytä vastaukset
Uusi keskustelu -
-
-
Personally I would convert unsigned audio data to signed, and fill with 0s yes. and apply your hann window to the length of the data you're using before zero-padding.
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.