Creating a spectrum analyzer for realtime audio (C++, SDL2, Fast Fourier Transform)
In this tool-assisted education video I walk through the creation of a simple spectrum analyzer in C++ from scratch. It records audio in float32 format and uses the Discrete Fourier Transform to translate it into frequency domain. Sample implementations are shown for the Cooley’s&Tukey’s, Bluestein’s and Rader’s Fast Fourier Transforms.
This is based on the ideas I wrote in my master’s thesis (Finnish language) in 2024: https://bisqwit.iki.fi/jutut/masterthesis.pdf
Twitter: https://twitter.com/RealBisqwit
Patreon: https://patreon.com/Bisqwit (alternatives at https://iki.fi/bisqwit/donate.html)
Twitch: https://twitch.tv/RealBisqwit
Homepage: https://iki.fi/bisqwit/
DOWNLOAD MATERIAL:
https://iki.fi/bisqwit/jkp/fftanalyzer/
Music credits in order of appearance:
Energy Breaker: Heroes’ Adventure (Yukio Nakajima)
Final Fantasy Mystic Quest: Mountain Range of Whirlwinds (Yasuhiro Kawakami, Ryuji Sasai)
All these video game songs have been transformed into OPL3 songs with homebrew tools and played through ADLMIDI.
Other Videos By Bisqwit
Other Statistics
Final Fantasy Mystic Quest Statistics For Bisqwit
At this time, Bisqwit has 159,513 views for Final Fantasy Mystic Quest spread across 3 videos. His channel published less than an hour of Final Fantasy Mystic Quest content, roughly 3.43% of the content that Bisqwit has uploaded to YouTube.