Hi,
I’ve developed an open-source app for practicing basic skills in digital signal processing and computer graphics using OpenGL. It’s written mainly in C++ for data processing and visualization, with Python used for data input and configuration. This makes it easier to run experiments or adjust settings without recompiling the code, lowering the entry barrier for users unfamiliar with C++.
By default, the app captures audio from a microphone in real-time and displays its spectrum on the screen. It’s highly customizable — you can change the number of bars, colors, and the overall color theme. The app runs on Raspberry Pi, standard Ubuntu desktops, and Windows.
In my Raspberry Pi setup, I use a HiFiBerry DAC+ DSP to analyze music in real-time. The signal comes via optical input (TOSLINK) from a CD player, but you can also connect a microphone for live audio visualization.
I’ve written instructions and a tutorial to help you get started — feel free to check it out and give it a try!
Code: https://github.com/sylwekkominek/SpectrumAnalyzer
Spec: https://sylwekkominek.github.io/SpectrumAnalyzer/
Hope someone finds it useful or fun to play with!
Top comments (0)