Qt/Qwt based audio spectrum analyzer for RaspberryPi with Pisound board.
qmake
make
-> press green execution button / or compile button (before)
Executable is found in subdirectory ./bin/
Name of executable: ./bin/MyAudioAnalyzerQtPi
Stereo audio signals are sampled with the Pisound board. In the main window stereo signal and spectrum plots are shown. The signals are updated periodically then the magnitude spectra of both channels are calculated in dB and displayed. The number of samples displayed in the signal plot can be changed with a knob. The lower and upper limit of the frequency range used in the spectra can also be changed.
By moving the mouse within the spectrum plot next to curves the magnitude and frequency location is shown with a callout and updated with the dynamic change of the plot. The location of the callout follows the mouse movement.
By clicking into the spectrum plot next to curves the magnitude and frequency location is shown with a permanent callout.
The value and location in frequency domain of the peaks of both spectra are displayed and updated periodically.
Both channels can be activated and deactivated. Overall processing can be stopped and restarted.
For both channels THD calculation is done periodically and the result displayed in the GUI. The THD calculation can be parameterized (base frequency and number of overtones used in the calculation).
Add a button to remove all existing callouts. Remove all existing callouts at a restart of the processing.