{"id":112,"date":"2022-01-14T16:49:49","date_gmt":"2022-01-14T15:49:49","guid":{"rendered":"https:\/\/h-o-m-e-r.goip.de\/?p=112"},"modified":"2022-01-14T17:19:10","modified_gmt":"2022-01-14T16:19:10","slug":"myaudiospectrumanalyzer","status":"publish","type":"post","link":"https:\/\/h-o-m-e-r.goip.de\/?p=112","title":{"rendered":"My Audio Spectrum Analyzer"},"content":{"rendered":"\n<p class=\"has-text-align-left\">I created an audio spectrum analyzer based on the <a href=\"https:\/\/blokas.io\/pisound\/\">PiSound<\/a> board for the Raspberry Pi. The Raspberry Pi uses the Ubuntu Mate 18.04 operation system. The application software is written in Qt with the Qwt library. <\/p>\n\n\n\n<p class=\"has-text-align-left\">The high level block diagram of the project is shown here:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"558\" height=\"289\" src=\"https:\/\/h-o-m-e-r.goip.de\/wp-content\/uploads\/2022\/01\/TopLevelFunctionalBlock.png\" alt=\"\" class=\"wp-image-114\" srcset=\"https:\/\/h-o-m-e-r.goip.de\/wp-content\/uploads\/2022\/01\/TopLevelFunctionalBlock.png 558w, https:\/\/h-o-m-e-r.goip.de\/wp-content\/uploads\/2022\/01\/TopLevelFunctionalBlock-300x155.png 300w\" sizes=\"(max-width: 558px) 100vw, 558px\" \/><\/figure>\n\n\n\n<p>The application was originally written in PyQt, but due to performance reasons it was later converted into a C++ program.<\/p>\n\n\n\n<p>A picture of the application is shown here:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"682\" src=\"https:\/\/h-o-m-e-r.goip.de\/wp-content\/uploads\/2022\/01\/MyAudioSpectrumAnalyzerGUI-1024x682.png\" alt=\"\" class=\"wp-image-115\" srcset=\"https:\/\/h-o-m-e-r.goip.de\/wp-content\/uploads\/2022\/01\/MyAudioSpectrumAnalyzerGUI-1024x682.png 1024w, https:\/\/h-o-m-e-r.goip.de\/wp-content\/uploads\/2022\/01\/MyAudioSpectrumAnalyzerGUI-300x200.png 300w, https:\/\/h-o-m-e-r.goip.de\/wp-content\/uploads\/2022\/01\/MyAudioSpectrumAnalyzerGUI-768x511.png 768w, https:\/\/h-o-m-e-r.goip.de\/wp-content\/uploads\/2022\/01\/MyAudioSpectrumAnalyzerGUI-600x399.png 600w, https:\/\/h-o-m-e-r.goip.de\/wp-content\/uploads\/2022\/01\/MyAudioSpectrumAnalyzerGUI-945x629.png 945w, https:\/\/h-o-m-e-r.goip.de\/wp-content\/uploads\/2022\/01\/MyAudioSpectrumAnalyzerGUI.png 1499w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The main display of the program shows on the upper part the sampled signals of both channels of a stereo audio signal. The lower part of the display shows the spectra of both channels. With the mouse markers can be set to measure the attenuation at selectable frequencies of the spectra.<\/p>\n\n\n\n<p>The program allows to measure the THD separately for each channel of a stereo audio signal.<\/p>\n\n\n\n<p>The hardware description and the application software can be downloaded from my Github page <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/DrMarkusReinhardt\/MyAudioSpectrumAnalyzerQtPi\" target=\"_blank\">here<\/a>.<\/p>\n\n\n\n<p>The documentation of the whole project is done with LaTeX. The document can be found <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/DrMarkusReinhardt\/MyAudioSpectrumAnalyzerQtPi\/blob\/main\/DOC\/PisoundSpectrumAnalyzerQtPi.pdf\" target=\"_blank\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I created an audio spectrum analyzer based on the PiSound board for the Raspberry Pi. The Raspberry Pi uses the Ubuntu Mate 18.04 operation system. The application software is written in Qt with the Qwt library. The high level block&#8230; <a class=\"more-link\" href=\"https:\/\/h-o-m-e-r.goip.de\/?p=112\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,4],"tags":[11,9,10,8,7],"_links":{"self":[{"href":"https:\/\/h-o-m-e-r.goip.de\/index.php?rest_route=\/wp\/v2\/posts\/112"}],"collection":[{"href":"https:\/\/h-o-m-e-r.goip.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/h-o-m-e-r.goip.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/h-o-m-e-r.goip.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/h-o-m-e-r.goip.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=112"}],"version-history":[{"count":5,"href":"https:\/\/h-o-m-e-r.goip.de\/index.php?rest_route=\/wp\/v2\/posts\/112\/revisions"}],"predecessor-version":[{"id":120,"href":"https:\/\/h-o-m-e-r.goip.de\/index.php?rest_route=\/wp\/v2\/posts\/112\/revisions\/120"}],"wp:attachment":[{"href":"https:\/\/h-o-m-e-r.goip.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/h-o-m-e-r.goip.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/h-o-m-e-r.goip.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}