{"id":2359,"date":"2020-08-03T00:54:16","date_gmt":"2020-08-03T00:54:16","guid":{"rendered":"https:\/\/www.vuepilot.com\/support\/?post_type=article&#038;p=2359"},"modified":"2021-11-20T02:10:58","modified_gmt":"2021-11-20T02:10:58","slug":"fixing-raspberry-pi-audio-issues","status":"publish","type":"article","link":"https:\/\/www.vuepilot.com\/support\/article\/fixing-raspberry-pi-audio-issues\/","title":{"rendered":"Fixing Raspberry Pi Audio Issues"},"content":{"rendered":"<h2 id=\"audio\">Audio Not Working? How To Enable Audio<\/h2>\n<p>Some customers have reported issues with sound not playing from the Raspberry Pi when using their own devices with VuePilot.\u00a0 This is due to the Raspberry Pi operating system missing an audio library that the snap package depends on.<\/p>\n<p>We recommend customers use our <a href=\"https:\/\/assets.vuepilot.com\/downloads\/rpi\/vuepilot-player-rpi-latest.img.gz\">official Raspberry Pi VuePilot image<\/a> as it contains updates like this already, however if you wish to run your own images you can perform the following steps<\/p>\n<p><strong>**November 2021 Update**<\/strong><\/p>\n<p>The latest updates to the Raspberry Pi OS have changed the recommendations in this article.\u00a0 Instead we now recommend that users UNINSTALL PulseAudio instead of installing it as it can interfere with the default audio configuration which previously did not work, hence the need to install pulse audio.<\/p>\n<p>To remove Pulse Audio open a terminal and run the following<\/p>\n<p><strong>sudo apt-get remove pulseaudio<\/strong><\/p>\n<p>Restart the device after removing pulseaudio<\/p>\n<h3>Older Installs<\/h3>\n<p>If you are using an older version of the OS installing Pule Audio with the below instructions may help solve you&#8217;re problem<\/p>\n<p>We can enable audio by simply installing it from the terminal, here&#8217;s how.<\/p>\n<ol>\n<li>Open a terminal on your Raspberry Pi and first update your package definitions by running <strong>sudo apt-get update<\/strong><\/li>\n<li>Next install the pulse audio library<br \/>\nby running <strong>sudo apt-get install pulseaudio<\/strong><\/li>\n<\/ol>\n<p>At this point, if you reboot your Raspberry Pi the audio will be working, however it&#8217;s possible the audio may sound scratchy and low quality.\u00a0 This is apparently due to \u201ctimer-based audio scheduling&#8221;.<br \/>\nIf this is the case, simply do the follow steps to disable the time scheduling which will improve the audio playback quality<\/p>\n<ul>\n<li>\u00a0Open the file <strong>\/etc\/pulse\/default.pa\u00a0<\/strong>for editing (must be admin, from the terminal run\u00a0 <strong>sudo nano \/etc\/pulse\/default.pa<\/strong>)<\/li>\n<li>Around line 45, find the section that reads<\/li>\n<\/ul>\n<blockquote><p><strong><em>### Automatically load driver modules depending on the hardware available<\/em><\/strong><br \/>\n<strong><em>.ifexists module-udev-detect.so<\/em><\/strong><br \/>\n<strong><em>load-module module-udev-detect<\/em> <\/strong><\/p><\/blockquote>\n<p>then simply append append <strong>tsched=0<\/strong>\u00a0 to the bottom line. So it looks like<\/p>\n<blockquote><p><strong><em>### Automatically load driver modules depending on the hardware available<\/em><\/strong><br \/>\n<strong><em>.ifexists module-udev-detect.so<\/em><\/strong><br \/>\n<strong><em>load-module module-udev-detect tsched=0<br \/>\n<\/em><\/strong><\/p><\/blockquote>\n<ul>\n<li>Save and reboot your Raspberry Pi, audio should now be working fine and at a high quality<\/li>\n<\/ul>\n<p><a href=\"https:\/\/dbader.org\/blog\/crackle-free-audio-on-the-raspberry-pi-with-mpd-and-pulseaudio\">Credit to Dan Bader for this audio solution<\/a><\/p>\n<h3>Testing Audio<\/h3>\n<p>You can test the audio by opening a terminal and entering\u00a0<strong>speaker-test -c2 -t wav<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Audio Not Working? How To Enable Audio Some customers have reported issues with sound not playing from the Raspberry Pi when using their own devices with VuePilot.\u00a0 This is due to the Raspberry Pi operating system missing an audio library that the snap package depends on. We recommend customers use our official Raspberry Pi VuePilot [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2258,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","article-category":[50,42],"article-tag":[65,64],"class_list":["post-2359","article","type-article","status-publish","format-standard","has-post-thumbnail","hentry","article-category-hardware","article-category-troubleshooting","article-tag-audio","article-tag-raspberry-pi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fixing Raspberry Pi Audio Issues &#8211; VuePilot<\/title>\n<meta name=\"description\" content=\"If you are not hearing audio from your Raspberry Pi device, it&#039;s likely due to a missing library. Perform the following steps to enable audio for your Raspberry Pi\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vuepilot.com\/support\/article\/fixing-raspberry-pi-audio-issues\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fixing Raspberry Pi Audio Issues &#8211; VuePilot\" \/>\n<meta property=\"og:description\" content=\"If you are not hearing audio from your Raspberry Pi device, it&#039;s likely due to a missing library. Perform the following steps to enable audio for your Raspberry Pi\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vuepilot.com\/support\/article\/fixing-raspberry-pi-audio-issues\/\" \/>\n<meta property=\"og:site_name\" content=\"VuePilot\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/vuepilot\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-20T02:10:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vuepilot.com\/wp-content\/uploads\/2020\/06\/rpi_4-e1596416263937.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"650\" \/>\n\t<meta property=\"og:image:height\" content=\"381\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@vuepilot\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/article\\\/fixing-raspberry-pi-audio-issues\\\/\",\"url\":\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/article\\\/fixing-raspberry-pi-audio-issues\\\/\",\"name\":\"Fixing Raspberry Pi Audio Issues &#8211; VuePilot\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/article\\\/fixing-raspberry-pi-audio-issues\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/article\\\/fixing-raspberry-pi-audio-issues\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vuepilot.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/rpi_4-e1596416263937.jpg\",\"datePublished\":\"2020-08-03T00:54:16+00:00\",\"dateModified\":\"2021-11-20T02:10:58+00:00\",\"description\":\"If you are not hearing audio from your Raspberry Pi device, it's likely due to a missing library. Perform the following steps to enable audio for your Raspberry Pi\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/article\\\/fixing-raspberry-pi-audio-issues\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/article\\\/fixing-raspberry-pi-audio-issues\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/article\\\/fixing-raspberry-pi-audio-issues\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.vuepilot.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/rpi_4-e1596416263937.jpg\",\"contentUrl\":\"https:\\\/\\\/www.vuepilot.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/rpi_4-e1596416263937.jpg\",\"width\":650,\"height\":381,\"caption\":\"Rasberry Pi 4\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/article\\\/fixing-raspberry-pi-audio-issues\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fixing Raspberry Pi Audio Issues\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/\",\"name\":\"VuePilot\",\"description\":\"Digital signage help and assistance\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/#organization\",\"name\":\"VuePilot\",\"url\":\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.vuepilot.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/vuepilot-social-banner.jpg\",\"contentUrl\":\"https:\\\/\\\/www.vuepilot.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/vuepilot-social-banner.jpg\",\"width\":1200,\"height\":630,\"caption\":\"VuePilot\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vuepilot.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/vuepilot\",\"https:\\\/\\\/x.com\\\/vuepilot\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fixing Raspberry Pi Audio Issues &#8211; VuePilot","description":"If you are not hearing audio from your Raspberry Pi device, it's likely due to a missing library. Perform the following steps to enable audio for your Raspberry Pi","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vuepilot.com\/support\/article\/fixing-raspberry-pi-audio-issues\/","og_locale":"en_US","og_type":"article","og_title":"Fixing Raspberry Pi Audio Issues &#8211; VuePilot","og_description":"If you are not hearing audio from your Raspberry Pi device, it's likely due to a missing library. Perform the following steps to enable audio for your Raspberry Pi","og_url":"https:\/\/www.vuepilot.com\/support\/article\/fixing-raspberry-pi-audio-issues\/","og_site_name":"VuePilot","article_publisher":"https:\/\/www.facebook.com\/vuepilot","article_modified_time":"2021-11-20T02:10:58+00:00","og_image":[{"width":650,"height":381,"url":"https:\/\/www.vuepilot.com\/wp-content\/uploads\/2020\/06\/rpi_4-e1596416263937.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@vuepilot","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vuepilot.com\/support\/article\/fixing-raspberry-pi-audio-issues\/","url":"https:\/\/www.vuepilot.com\/support\/article\/fixing-raspberry-pi-audio-issues\/","name":"Fixing Raspberry Pi Audio Issues &#8211; VuePilot","isPartOf":{"@id":"https:\/\/www.vuepilot.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vuepilot.com\/support\/article\/fixing-raspberry-pi-audio-issues\/#primaryimage"},"image":{"@id":"https:\/\/www.vuepilot.com\/support\/article\/fixing-raspberry-pi-audio-issues\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vuepilot.com\/wp-content\/uploads\/2020\/06\/rpi_4-e1596416263937.jpg","datePublished":"2020-08-03T00:54:16+00:00","dateModified":"2021-11-20T02:10:58+00:00","description":"If you are not hearing audio from your Raspberry Pi device, it's likely due to a missing library. Perform the following steps to enable audio for your Raspberry Pi","breadcrumb":{"@id":"https:\/\/www.vuepilot.com\/support\/article\/fixing-raspberry-pi-audio-issues\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vuepilot.com\/support\/article\/fixing-raspberry-pi-audio-issues\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vuepilot.com\/support\/article\/fixing-raspberry-pi-audio-issues\/#primaryimage","url":"https:\/\/www.vuepilot.com\/wp-content\/uploads\/2020\/06\/rpi_4-e1596416263937.jpg","contentUrl":"https:\/\/www.vuepilot.com\/wp-content\/uploads\/2020\/06\/rpi_4-e1596416263937.jpg","width":650,"height":381,"caption":"Rasberry Pi 4"},{"@type":"BreadcrumbList","@id":"https:\/\/www.vuepilot.com\/support\/article\/fixing-raspberry-pi-audio-issues\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vuepilot.com\/support\/"},{"@type":"ListItem","position":2,"name":"Fixing Raspberry Pi Audio Issues"}]},{"@type":"WebSite","@id":"https:\/\/www.vuepilot.com\/support\/#website","url":"https:\/\/www.vuepilot.com\/support\/","name":"VuePilot","description":"Digital signage help and assistance","publisher":{"@id":"https:\/\/www.vuepilot.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vuepilot.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.vuepilot.com\/support\/#organization","name":"VuePilot","url":"https:\/\/www.vuepilot.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vuepilot.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.vuepilot.com\/wp-content\/uploads\/2020\/06\/vuepilot-social-banner.jpg","contentUrl":"https:\/\/www.vuepilot.com\/wp-content\/uploads\/2020\/06\/vuepilot-social-banner.jpg","width":1200,"height":630,"caption":"VuePilot"},"image":{"@id":"https:\/\/www.vuepilot.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/vuepilot","https:\/\/x.com\/vuepilot"]}]}},"_links":{"self":[{"href":"https:\/\/www.vuepilot.com\/support\/wp-json\/wp\/v2\/article\/2359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vuepilot.com\/support\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/www.vuepilot.com\/support\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/www.vuepilot.com\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vuepilot.com\/support\/wp-json\/wp\/v2\/comments?post=2359"}],"version-history":[{"count":6,"href":"https:\/\/www.vuepilot.com\/support\/wp-json\/wp\/v2\/article\/2359\/revisions"}],"predecessor-version":[{"id":2627,"href":"https:\/\/www.vuepilot.com\/support\/wp-json\/wp\/v2\/article\/2359\/revisions\/2627"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.vuepilot.com\/support\/wp-json\/wp\/v2\/media\/2258"}],"wp:attachment":[{"href":"https:\/\/www.vuepilot.com\/support\/wp-json\/wp\/v2\/media?parent=2359"}],"wp:term":[{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/www.vuepilot.com\/support\/wp-json\/wp\/v2\/article-category?post=2359"},{"taxonomy":"article-tag","embeddable":true,"href":"https:\/\/www.vuepilot.com\/support\/wp-json\/wp\/v2\/article-tag?post=2359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}