{"id":24593,"date":"2016-12-06T17:39:56","date_gmt":"2016-12-06T15:39:56","guid":{"rendered":"https:\/\/www.max2play.com\/?p=24593"},"modified":"2017-08-28T12:48:00","modified_gmt":"2017-08-28T10:48:00","slug":"rotary-encoder-ist-now-compatible-with-justboom-sound-cards","status":"publish","type":"post","link":"https:\/\/www.max2play.com\/en\/2016\/12\/rotary-encoder-ist-now-compatible-with-justboom-sound-cards\/","title":{"rendered":"Rotary Encoder is now compatible with JustBoom sound cards"},"content":{"rendered":"<p>[spb_column width=&#8220;1\/2&#8243; el_position=&#8220;first&#8220;] [spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p><span id=\"result_box\" class=\"\" lang=\"en\"><span class=\"\">We have now made the Rotary Encoder compatible for the JustBoom sound cards.<\/span><\/span> The volume change is made on the <a href=\"https:\/\/github.com\/alidaf\/raspberryPi\" target=\"_blank\" rel=\"no follow\">ALSA level<\/a> and directly influences the Squeezelite Audio Player. With Max2Play, it is even possible to synchronize the volume control of the audio player Squeezelite with the Squeezebox Server. <span id=\"result_box\" class=\"\" lang=\"en\"><span class=\"\">As usual, all necessary options are available in the latest version of the JustBoom plugin.<\/span><\/span> Y<span id=\"result_box\" class=\"\" lang=\"en\"><span class=\"\">ou can implement t<\/span><\/span><span id=\"result_box\" class=\"\" lang=\"en\"><span class=\"\">he whole thing with our guide quite simply:<\/span><\/span><\/p>\n<h3>What you need:<\/h3>\n<ul>\n<li>a rotary encoder<\/li>\n<li>3 GPIO-pins<\/li>\n<li>3 cables of any length<\/li>\n<\/ul>\n[\/spb_text_block] [spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p><a href=\"https:\/\/shop.max2play.com\/en\/rotary-encoder.html\" target=\"_blank\"><i class=\"ss-cart sf-icon sf-icon-float-left sf-icon-small sf-icon-standard\"><\/i> The Rotary Encoder is available here<\/a><\/p>\n<p><a href=\"https:\/\/shop.max2play.com\/en\/volume-knob.html\" target=\"_blank\"><i class=\"ss-cart sf-icon sf-icon-float-left sf-icon-small sf-icon-standard\"><\/i> We recommend to use the rotary encoder with the volume knob<\/a><\/p>\n[\/spb_text_block] [\/spb_column] [spb_column width=&#8220;1\/2&#8243; el_position=&#8220;last&#8220;] [spb_single_image image=&#8220;24573&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [\/spb_column] [spb_column width=&#8220;2\/3&#8243; el_position=&#8220;first&#8220;] [spb_text_block title=&#8220;Instructions&#8220; pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<div class=\"sf-icon-box sf-icon-box-left-icon sf-animation sf-icon-standard\" data-animation=\"none\" data-delay=\"200\"><div class=\"sf-icon-cont cont-small sf-icon-float-none sf-icon-standard\"><span class=\"sf-icon-character sf-icon sf-icon-small\">1<\/span><\/div><div class=\"sf-icon-box-content-wrap clearfix\"><h3>Step 1<\/h3><div class=\"sf-icon-box-content\">First the rotary encorder must be mounted, as shown in the picture above. To do this you need to solder 3 pins, to the 3rd (GND), 8th (#23) and 9th (#24) points on the GPIO bar of the JustBoom sound card.<br \/>\n\/\/ For mounting on the Amp HAT, the pins have to be soldered a bit differently. <a href=\"https:\/\/www.justboom.co\/technical-guides\/boards-pinout\/\" target=\"_blank\" rel=\"nofollow\">Here<\/a> you will find an overview of the Pinouts.<\/div><\/div><\/div>\n[\/spb_text_block] [\/spb_column] [spb_column width=&#8220;1\/3&#8243; el_position=&#8220;last&#8220;] [blank_spacer height=&#8220;30px&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [\/spb_column] [blank_spacer height=&#8220;30px&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;2\/3&#8243; el_position=&#8220;first&#8220;]\n<div class=\"sf-icon-box sf-icon-box-left-icon sf-animation sf-icon-standard\" data-animation=\"none\" data-delay=\"200\"><div class=\"sf-icon-cont cont-small sf-icon-float-none sf-icon-standard\"><span class=\"sf-icon-character sf-icon sf-icon-small\">2<\/span><\/div><div class=\"sf-icon-box-content-wrap clearfix\"><h3>Step 2<\/h3><div class=\"sf-icon-box-content\"><span id=\"result_box\" class=\"\" lang=\"en\"><span class=\"\">After an update of our JustBoom plugin, which can be downloaded <a href=\"https:\/\/www.max2play.com\/en\/portfolio\/plugin-justboom-2\/\" target=\"_blank\">here<\/a>, additional settings are available in the JustBoom tab.<\/span> <span class=\"\">Click on &#8222;Install Rotary Encoder Software&#8220; to install the software.<\/span> <span class=\"\">After that, the system requires a reboot.<\/span><\/span><\/div><\/div><\/div>\n[\/spb_text_block] [spb_single_image image=&#8220;24594&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/3&#8243; el_position=&#8220;last&#8220;] [spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;2\/3&#8243; el_position=&#8220;first&#8220;]\n<div class=\"sf-icon-box sf-icon-box-left-icon sf-animation sf-icon-standard\" data-animation=\"none\" data-delay=\"200\"><div class=\"sf-icon-cont cont-small sf-icon-float-none sf-icon-standard\"><span class=\"sf-icon-character sf-icon sf-icon-small\">3<\/span><\/div><div class=\"sf-icon-box-content-wrap clearfix\"><h3>Step 3<\/h3><div class=\"sf-icon-box-content\"><span id=\"result_box\" class=\"\" lang=\"en\"><span class=\"\">After the restart, the Rotary Encoder is ready for use. By c<\/span><span class=\"\">licking on &#8222;Show Rotary Encoder Options&#8220; you can view the current settings and customize them by adding the displayed parameters as desired.<\/span> <span class=\"\">For example , to change the louder-quieter direction, simply change the &#8222;&#8211;gprorot=23,24&#8220; parameter to &#8222;&#8211;gpiorot=24,23&#8220;.<\/span><\/span><\/div><\/div><\/div>\n[\/spb_text_block] [spb_single_image image=&#8220;24595&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/3&#8243; el_position=&#8220;last&#8220;] [blank_spacer height=&#8220;20px&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_text_block title=&#8220;Additional installation of a Play\/Pause button for Squeezelite&#8220; pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;2\/3&#8243; el_position=&#8220;first&#8220;]\n<div class=\"sf-icon-box sf-icon-box-left-icon sf-animation sf-icon-standard\" data-animation=\"none\" data-delay=\"200\"><div class=\"sf-icon-cont cont-small sf-icon-float-none sf-icon-standard\"><span class=\"sf-icon-character sf-icon sf-icon-small\">1<\/span><\/div><div class=\"sf-icon-box-content-wrap clearfix\"><h3>Step 1<\/h3><div class=\"sf-icon-box-content\">First the rotary encorder must be mounted, as shown in the <strong>picture<\/strong>. To do this you need to solder <strong>5 pins<\/strong>, to the 3rd (GND), 8th (#23), 9th (#24), 10.(GND) und 11.(IR Rcv) points on the GPIO bar of the JustBoom sound card.<br \/>\n\/\/ For mounting on the Amp HAT, the pins have to be soldered a bit differently. <a href=\"https:\/\/www.justboom.co\/technical-guides\/boards-pinout\/\" target=\"_blank\" rel=\"nofollow\">Here<\/a> you will find an overview of the Pinouts. The button needs to be soldered at (IR In) and (GND) of the U5 area.<\/div><\/div><\/div>\n[\/spb_text_block] [spb_single_image image=&#8220;25610&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/3&#8243; el_position=&#8220;last&#8220;] [spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;2\/3&#8243; el_position=&#8220;first&#8220;]\n<div class=\"sf-icon-box sf-icon-box-left-icon sf-animation sf-icon-standard\" data-animation=\"none\" data-delay=\"200\"><div class=\"sf-icon-cont cont-small sf-icon-float-none sf-icon-standard\"><span class=\"sf-icon-character sf-icon sf-icon-small\">2<\/span><\/div><div class=\"sf-icon-box-content-wrap clearfix\"><h3>Step 2<\/h3><div class=\"sf-icon-box-content\">Follow step 2 and 3 of the basic instruction (see above).<br \/>\nIf you are using an older version of Squeezelite, you need to update it in the Audioplayer tap to get support for the button.<\/div><\/div><\/div>\n[\/spb_text_block] [spb_single_image image=&#8220;25633&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/3&#8243; el_position=&#8220;last&#8220;] [spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;2\/3&#8243; el_position=&#8220;first&#8220;]\n<div class=\"sf-icon-box sf-icon-box-left-icon sf-animation sf-icon-standard\" data-animation=\"none\" data-delay=\"200\"><div class=\"sf-icon-cont cont-small sf-icon-float-none sf-icon-standard\"><span class=\"sf-icon-character sf-icon sf-icon-small\">3<\/span><\/div><div class=\"sf-icon-box-content-wrap clearfix\"><h3>Step 3<\/h3><div class=\"sf-icon-box-content\">At least the following command line options must be added under Audioplayer &gt; Squeezelite &gt; advanced options: -o hw:CARD=sndrpijustboomd -V Digital -Q -X 25<\/div><\/div><\/div>\n[\/spb_text_block] [spb_single_image image=&#8220;25634&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/3&#8243; el_position=&#8220;last&#8220;] [blank_spacer height=&#8220;20px&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [divider type=&#8220;thin&#8220; text=&#8220;Go to top&#8220; full_width=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [blank_spacer height=&#8220;20px&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<h3>Everything connected and integrated in the JustBoom case, the whole thing could look like this:<\/h3>\n[\/spb_text_block] [spb_single_image image=&#8220;25626&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/2&#8243; el_position=&#8220;first&#8220;] [spb_single_image image=&#8220;25604&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/2&#8243; el_position=&#8220;last&#8220;]\n","protected":false},"excerpt":{"rendered":"<p>[spb_column width=&#8220;1\/2&#8243; el_position=&#8220;first&#8220;] [spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] We have now made the Rotary Encoder compatible for the JustBoom sound cards. The volume change is made on the ALSA level and directly influences the Squeezelite Audio Player. With Max2Play, it is even possible to synchronize the volume control of the audio player Squeezelite with the Squeezebox Server. As usual, [&hellip;]<\/p>\n","protected":false},"author":2285,"featured_media":24572,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0},"categories":[187],"tags":[1199,1043,1152,1120,1206],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/posts\/24593"}],"collection":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/users\/2285"}],"replies":[{"embeddable":true,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/comments?post=24593"}],"version-history":[{"count":16,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/posts\/24593\/revisions"}],"predecessor-version":[{"id":30937,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/posts\/24593\/revisions\/30937"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/media\/24572"}],"wp:attachment":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/media?parent=24593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/categories?post=24593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/tags?post=24593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}