Skip to content

A audio spectrum analyzer based on Raspberry Pi with Pisound board realized in Qt/Qwt

License

Notifications You must be signed in to change notification settings

DrMarkusReinhardt/MyAudioSpectrumAnalyzerQtPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyAudioSpectrumAnalyserQtPi

Qt/Qwt based audio spectrum analyzer for RaspberryPi with Pisound board.

Compilation on comand line:

 qmake
 make

Compilation in QtCreator:

 -> press green execution button  / or compile button (before)

Executables:

Executable is found in subdirectory ./bin/
Name of executable:   ./bin/MyAudioAnalyzerQtPi

High level description:

Signal sampling, spectrum calculation and display:

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.

Callouts:

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.

Peak spectrum values:

The value and location in frequency domain of the peaks of both spectra are displayed and updated periodically.

Activation/deactivation:

Both channels can be activated and deactivated. Overall processing can be stopped and restarted.

THD calculation:

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).

ToDo:

Callout removal:

Add a button to remove all existing callouts. Remove all existing callouts at a restart of the processing.

About

A audio spectrum analyzer based on Raspberry Pi with Pisound board realized in Qt/Qwt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published