{"id":2681,"date":"2014-06-08T11:24:55","date_gmt":"2014-06-08T11:24:55","guid":{"rendered":"http:\/\/www.tsls.co.uk\/?p=2681"},"modified":"2024-04-22T08:58:23","modified_gmt":"2024-04-22T08:58:23","slug":"setup-raspberry-pi-using-wolfson-dac-for-rplay-and-squeezelite","status":"publish","type":"post","link":"https:\/\/www.tsls.co.uk\/index.php\/2014\/06\/08\/setup-raspberry-pi-using-wolfson-dac-for-rplay-and-squeezelite\/","title":{"rendered":"Setup Raspberry Pi &#8211; Using Wolfson DAC for rPlay and Squeezelite"},"content":{"rendered":"<p>The following blog will help you to install and configure your raspberry pi (B) to use Wolfson Audio DAC with rPlay and Squeezelite<\/p>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<p>INSTALL WOLFSON DISTRO<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>download and install <a href=\"http:\/\/downloads.element14.com\/wolfson\/wolfson_3.10_master.zip?COM=WolfsonAudioCard%20 \" target=\"_blank\" rel=\"noopener\">http:\/\/downloads.element14.com\/wolfson\/wolfson_3.10_master.zip?COM=WolfsonAudioCard \u00a0<\/a><\/p>\n<p>More information here: <a href=\"http:\/\/www.element14.com\/community\/community\/raspberry-pi\/raspberry-pi-accessories\/wolfson_pi\" target=\"_blank\" rel=\"noopener\">http:\/\/www.element14.com\/community\/community\/raspberry-pi\/raspberry-pi-accessories\/wolfson_pi<\/a><\/p>\n<p>cd \/home\/pi<br \/>\n.\/Playback_to_Lineout.sh<\/p>\n<p>SETUP PI<br \/>\n&#8212;&#8212;&#8211;<\/p>\n<p>sudo raspi-config<br \/>\n&#8211; Enable SSH<br \/>\n&#8211; Set hostname<br \/>\n&#8211; Set password<br \/>\n&#8211; overclock 900Mhz<\/p>\n<p>sudo nano \/etc\/wpa_supplicant\/wpa_supplicant.conf<\/p>\n<p>Add the following at the bottom:<\/p>\n<p>network={<br \/>\nssid=&#8221;your network ID in quote marks&#8221;<br \/>\npsk=&#8221;your network password in quote marks&#8221;<br \/>\n}<\/p>\n<p>INSTALL SQUEEZELITE<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>sudo alsamixer (to confirm card)<br \/>\nsudo apt-get install -y libflac-dev libfaad2 libmad0<\/p>\n<p>mkdir squeezelite<br \/>\ncd squeezelite<br \/>\nwget http:\/\/squeezelite.googlecode.com\/files\/squeezelite-armv6hf<\/p>\n<p>sudo mv squeezelite-armv6hf \/usr\/bin<br \/>\ncd \/usr\/bin<\/p>\n<p>sudo chmod a+x squeezelite-armv6hf<\/p>\n<p>sudo \/usr\/bin\/squeezelite-armv6hf -l (to confirm sounds card)<\/p>\n<p>sudo .\/squeezelite-armv6hf -o default:CARD=sndrpiwsp<\/p>\n<p>cd \/home\/pi\/squeezelite<br \/>\nsudo wget http:\/\/www.gerrelt.nl\/RaspberryPi\/squeezelitehf.sh<br \/>\nsudo mv squeezelitehf.sh \/etc\/init.d\/squeezelite<\/p>\n<p>cd \/etc\/init.d<br \/>\nsudo chmod a+x squeezelite<\/p>\n<p>sudo update-rc.d squeezelite defaults<\/p>\n<p>sudo nano squeezelite<\/p>\n<p>===== Search and replace =====<\/p>\n<p>SL_SOUNDCARD=&#8221;default:CARD=sndrpiwsp&#8221;<br \/>\nSL_NAME=&#8221;&lt;name&gt;&#8221; (unremark)<br \/>\nSL_ALSA_PARAMS=&#8221;80&#8243; (unremark)<\/p>\n<p>==============================<\/p>\n<p>sudo .\/squeezelite start<br \/>\nps -A |grep squeeze<br \/>\nsudo .\/squeezelite update<br \/>\nREBOOT AT NIGHT<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\ncrontab -e<br \/>\n0 3 * * * sudo \/sbin\/shutdown -r now<\/p>\n<p>SETUP RPLAY (AirPlay)<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<p>sudo apt-get install libao-dev avahi-utils libavahi-compat-libdnssd-dev libva-dev<br \/>\nsudo apt-get install youtube-dl &#8211;fix-missing<br \/>\nsudo youtube-dl &#8211;update<br \/>\nsudo apt-get -f install<br \/>\nsudo wget -O rplay-1.0.1-armhf.deb http:\/\/www.vmlite.com\/rplay\/rplay-1.0.1-armhf.deb<br \/>\nsudo dpkg -i rplay-1.0.1-armhf.deb<\/p>\n<p>&nbsp;<\/p>\n<p>sudo nano \/etc\/default\/avahi-daemon<\/p>\n<p>====== update configuation file =========<br \/>\nAVAHI_DAEMON_DETECT_LOCAL=0<br \/>\n=========================================<br \/>\nsudo service avahi-daemon restart<br \/>\nreboot<\/p>\n<p>http:\/\/&lt;ip of your RPi&gt;:7100\/admin<\/p>\n<p>user: admin<br \/>\nPassword: admin<br \/>\n===== Setup your Key =======<br \/>\n============================<\/p>\n<p>If rplay doesn&#8217;t appear stop and start rplay from the web UI<\/p>\n<p>Thanks to the following blogs:<\/p>\n<p><a href=\"http:\/\/www.gerrelt.nl\/RaspberryPi\/wordpress\/tutorial-installing-squeezelite-player-on-raspbian\/\" target=\"_blank\" rel=\"noopener\">http:\/\/www.gerrelt.nl\/RaspberryPi\/wordpress\/tutorial-installing-squeezelite-player-on-raspbian\/<\/a><\/p>\n<p><a href=\"http:\/\/www.element14.com\/community\/community\/raspberry-pi\/raspberry-pi-accessories\/wolfson_pi\/blog\/2014\/03\/14\/can-you-hear-the-wolfson-calling-setting-up-and-using-the-wolfson-audio-card\" target=\"_blank\" rel=\"noopener\">http:\/\/www.element14.com\/community\/community\/raspberry-pi\/raspberry-pi-accessories\/wolfson_pi\/blog\/2014\/03\/14\/can-you-hear-the-wolfson-calling-setting-up-and-using-the-wolfson-audio-card<\/a><\/p>\n<p><a href=\"http:\/\/adventuresandwhathaveyou.wordpress.com\/2013\/09\/02\/airplay-mirroring-on-raspberry-pi-with-rplay\/\" target=\"_blank\" rel=\"noopener\">http:\/\/adventuresandwhathaveyou.wordpress.com\/2013\/09\/02\/airplay-mirroring-on-raspberry-pi-with-rplay\/<\/a><\/p>\n<p><a href=\"http:\/\/www.jackenhack.com\/raspberry-pi-avahi-daemon-disabled-because-there-is-a-unicast-local-domain-solved\/\" target=\"_blank\" rel=\"noopener\">http:\/\/www.jackenhack.com\/raspberry-pi-avahi-daemon-disabled-because-there-is-a-unicast-local-domain-solved\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The following blog will help you to install and configure your raspberry pi (B) to use Wolfson Audio DAC with rPlay and Squeezelite<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[1],"tags":[2531],"class_list":["post-2681","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-raspberry-pi"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.9.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>Setup Raspberry Pi - Using Wolfson DAC for rPlay and Squeezelite - TSLS - Luke Smith<\/title>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/www.tsls.co.uk\/index.php\/2014\/06\/08\/setup-raspberry-pi-using-wolfson-dac-for-rplay-and-squeezelite\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_GB\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"Setup Raspberry Pi - Using Wolfson DAC for rPlay and Squeezelite - TSLS - Luke Smith\" \/>\r\n<meta property=\"og:description\" content=\"The following blog will help you to install and configure your raspberry pi (B) to use Wolfson Audio DAC with rPlay and Squeezelite\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/www.tsls.co.uk\/index.php\/2014\/06\/08\/setup-raspberry-pi-using-wolfson-dac-for-rplay-and-squeezelite\/\" \/>\r\n<meta property=\"og:site_name\" content=\"TSLS - Luke Smith\" \/>\r\n<meta property=\"article:published_time\" content=\"2014-06-08T11:24:55+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2024-04-22T08:58:23+00:00\" \/>\r\n<meta name=\"author\" content=\"admin\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tsls.co.uk\/index.php\/2014\/06\/08\/setup-raspberry-pi-using-wolfson-dac-for-rplay-and-squeezelite\/\",\"url\":\"https:\/\/www.tsls.co.uk\/index.php\/2014\/06\/08\/setup-raspberry-pi-using-wolfson-dac-for-rplay-and-squeezelite\/\",\"name\":\"Setup Raspberry Pi - Using Wolfson DAC for rPlay and Squeezelite - TSLS - Luke Smith\",\"isPartOf\":{\"@id\":\"https:\/\/www.tsls.co.uk\/#website\"},\"datePublished\":\"2014-06-08T11:24:55+00:00\",\"dateModified\":\"2024-04-22T08:58:23+00:00\",\"author\":{\"@id\":\"https:\/\/www.tsls.co.uk\/#\/schema\/person\/49d61ddc5a644fe2a37b08ef562ea5c0\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.tsls.co.uk\/index.php\/2014\/06\/08\/setup-raspberry-pi-using-wolfson-dac-for-rplay-and-squeezelite\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.tsls.co.uk\/index.php\/2014\/06\/08\/setup-raspberry-pi-using-wolfson-dac-for-rplay-and-squeezelite\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.tsls.co.uk\/index.php\/2014\/06\/08\/setup-raspberry-pi-using-wolfson-dac-for-rplay-and-squeezelite\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.tsls.co.uk\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setup Raspberry Pi &#8211; Using Wolfson DAC for rPlay and Squeezelite\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.tsls.co.uk\/#website\",\"url\":\"https:\/\/www.tsls.co.uk\/\",\"name\":\"TSLS - Luke Smith\",\"description\":\"- Knowledge - Thoughts - Microsoft -\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.tsls.co.uk\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.tsls.co.uk\/#\/schema\/person\/49d61ddc5a644fe2a37b08ef562ea5c0\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.tsls.co.uk\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2170284a8fb3e80a0059777af6e37f041864e3bc9dbf0abdb7bb943405f11e5c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2170284a8fb3e80a0059777af6e37f041864e3bc9dbf0abdb7bb943405f11e5c?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/www.tsls.co.uk\/index.php\/author\/admin\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Setup Raspberry Pi - Using Wolfson DAC for rPlay and Squeezelite - TSLS - Luke Smith","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.tsls.co.uk\/index.php\/2014\/06\/08\/setup-raspberry-pi-using-wolfson-dac-for-rplay-and-squeezelite\/","og_locale":"en_GB","og_type":"article","og_title":"Setup Raspberry Pi - Using Wolfson DAC for rPlay and Squeezelite - TSLS - Luke Smith","og_description":"The following blog will help you to install and configure your raspberry pi (B) to use Wolfson Audio DAC with rPlay and Squeezelite","og_url":"https:\/\/www.tsls.co.uk\/index.php\/2014\/06\/08\/setup-raspberry-pi-using-wolfson-dac-for-rplay-and-squeezelite\/","og_site_name":"TSLS - Luke Smith","article_published_time":"2014-06-08T11:24:55+00:00","article_modified_time":"2024-04-22T08:58:23+00:00","author":"admin","twitter_misc":{"Written by":"admin","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.tsls.co.uk\/index.php\/2014\/06\/08\/setup-raspberry-pi-using-wolfson-dac-for-rplay-and-squeezelite\/","url":"https:\/\/www.tsls.co.uk\/index.php\/2014\/06\/08\/setup-raspberry-pi-using-wolfson-dac-for-rplay-and-squeezelite\/","name":"Setup Raspberry Pi - Using Wolfson DAC for rPlay and Squeezelite - TSLS - Luke Smith","isPartOf":{"@id":"https:\/\/www.tsls.co.uk\/#website"},"datePublished":"2014-06-08T11:24:55+00:00","dateModified":"2024-04-22T08:58:23+00:00","author":{"@id":"https:\/\/www.tsls.co.uk\/#\/schema\/person\/49d61ddc5a644fe2a37b08ef562ea5c0"},"breadcrumb":{"@id":"https:\/\/www.tsls.co.uk\/index.php\/2014\/06\/08\/setup-raspberry-pi-using-wolfson-dac-for-rplay-and-squeezelite\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tsls.co.uk\/index.php\/2014\/06\/08\/setup-raspberry-pi-using-wolfson-dac-for-rplay-and-squeezelite\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.tsls.co.uk\/index.php\/2014\/06\/08\/setup-raspberry-pi-using-wolfson-dac-for-rplay-and-squeezelite\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.tsls.co.uk\/"},{"@type":"ListItem","position":2,"name":"Setup Raspberry Pi &#8211; Using Wolfson DAC for rPlay and Squeezelite"}]},{"@type":"WebSite","@id":"https:\/\/www.tsls.co.uk\/#website","url":"https:\/\/www.tsls.co.uk\/","name":"TSLS - Luke Smith","description":"- Knowledge - Thoughts - Microsoft -","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tsls.co.uk\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.tsls.co.uk\/#\/schema\/person\/49d61ddc5a644fe2a37b08ef562ea5c0","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.tsls.co.uk\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2170284a8fb3e80a0059777af6e37f041864e3bc9dbf0abdb7bb943405f11e5c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2170284a8fb3e80a0059777af6e37f041864e3bc9dbf0abdb7bb943405f11e5c?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.tsls.co.uk\/index.php\/author\/admin\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2gf1k-Hf","_links":{"self":[{"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/2681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=2681"}],"version-history":[{"count":6,"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/2681\/revisions"}],"predecessor-version":[{"id":5721,"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/2681\/revisions\/5721"}],"wp:attachment":[{"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=2681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=2681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=2681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}