{"id":561,"date":"2015-03-22T17:03:28","date_gmt":"2015-03-22T17:03:28","guid":{"rendered":"http:\/\/interactingobjects.com\/?p=561"},"modified":"2015-03-28T12:53:03","modified_gmt":"2015-03-28T12:53:03","slug":"sound-box-introduction","status":"publish","type":"post","link":"https:\/\/interactingobjects.com\/?p=561","title":{"rendered":"Noe&#8217;s Juke Box | Introduction"},"content":{"rendered":"<p>Time has gone by since my first post about the sound box&#8230; I already wrote a couple of articles about the button pad <a title=\"Sparkfun\u2019s 4\u00d74 Button &amp; LED Matrix \u2013 Part 1 \u2013 Soldering\" href=\"http:\/\/interactingobjects.com\/sparkfuns-4x4-button-led-matrix-part-1-soldering\/\">here<\/a>, <a title=\"Sparkfun\u2019s 4\u00d74 Button &amp; LED Matrix \u2013 Part 2 \u2013 Connecting to an Arduino Mega\" href=\"http:\/\/interactingobjects.com\/sparkfuns-4x4-button-led-matrix-part-2-connecting-to-an-arduino-mega\/\">here <\/a>and <a title=\"Sparkfun\u2019s 4\u00d74 Button &amp; LED Matrix \u2013 Part 3 \u2013 Playing with the pad\" href=\"http:\/\/interactingobjects.com\/sparkfuns-4x4-button-led-matrix-part-3-playing-with-the-pad\/\">here<\/a>.\u00a0I finaly came up with something.\u00a0I did build an autonomous sound box which can act as a piano or act like an MP3 player.<\/p>\n<p>It is based on\u00a0an <a href=\"http:\/\/arduino.cc\/en\/Main\/arduinoBoardMega\">Arduino Mega<\/a>, a\u00a0<a href=\"https:\/\/www.sparkfun.com\/products\/7835\">Sparkfun&#8217;s 4&#215;4 button pad<\/a>\u00a0and<a href=\"https:\/\/www.sparkfun.com\/products\/8033\"> its associated PCB<\/a>, anamplified <a href=\"http:\/\/www.adafruit.com\/products\/1788\">Adafruit&#8217;s Music Maker<\/a>, and a <a href=\"https:\/\/www.sparkfun.com\/products\/12756\">Sparkfun&#8217;s MMA8452 triple axis accelerometer<\/a>\u00a0breakout board.<a href=\"http:\/\/interactingobjects.com\/wp-content\/uploads\/2014\/12\/MMA8452-12756-00.jpg\"><br \/>\n<\/a><\/p>\n<p>There are 3 modes which are demonstrated in the following videos<\/p>\n<h1>Player mode<\/h1>\n<p>In this mode, you first select a &#8220;bank&#8221; and then a file to play. Sound \/ music files are stored and the SD card inserted in the\u00a0<a href=\"http:\/\/www.adafruit.com\/products\/1788\">Adafruit&#8217;s Music Maker<\/a>. File is read from the SD and played by the VS1053.<\/p>\n<p>[youtube width=&#8221;640&#8243; height=&#8221;360&#8243;]http:\/\/youtu.be\/c0TjfgWG8kU[\/youtube]<\/p>\n<p>&nbsp;<\/p>\n<h1>Piano Mode<\/h1>\n<p>Here, I use the MIDI mode of the VS1053. You first select a &#8220;bank&#8221;. Each bank has a specific set of sounds mapped to pad buttons.<\/p>\n<p>[youtube width=&#8221;640&#8243; height=&#8221;360&#8243;]http:\/\/youtu.be\/_tpAKXBPCoE[\/youtube]<\/p>\n<p>&nbsp;<\/p>\n<h1>Tilt Mode<\/h1>\n<p>This mode is quite simple for now : the light is moving using\u00a0<a href=\"https:\/\/www.sparkfun.com\/products\/12756\">Sparkfun&#8217;s MMA8452 triple axis accelerometer<\/a>\u00a0data.<\/p>\n<p>[youtube width=&#8221;640&#8243; height=&#8221;360&#8243;]http:\/\/youtu.be\/PZWHrbSEdJw[\/youtube]<\/p>\n<p>&nbsp;<\/p>\n<h1>What&#8217;s next<\/h1>\n<p>In following posts, I will go into details of the Sound Box, hardware and software, how to assemble everything&#8230;<\/p>\n<p>There is plenty of stuff that could be done : voice or music recorder using microphone input on the music maker, piano record mode, more advanced tilt game, &#8220;simon says&#8221; game&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Time has gone by since my first post about the sound box&#8230; I already wrote a couple of articles about the button pad here, here and here.\u00a0I finaly came up with something.\u00a0I did build an autonomous sound box which can &hellip; <a href=\"https:\/\/interactingobjects.com\/?p=561\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86,104],"tags":[116,114,115,117,96],"class_list":["post-561","post","type-post","status-publish","format-standard","hentry","category-arduino-2","category-juke-box","tag-accelerometer","tag-adafruits-music-maker","tag-mma8452","tag-music-box","tag-sparkfuns-button-pad"],"_links":{"self":[{"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/posts\/561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=561"}],"version-history":[{"count":14,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/posts\/561\/revisions"}],"predecessor-version":[{"id":656,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/posts\/561\/revisions\/656"}],"wp:attachment":[{"href":"https:\/\/interactingobjects.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}