{"id":621,"date":"2013-03-17T00:24:14","date_gmt":"2013-03-17T07:24:14","guid":{"rendered":"http:\/\/www.onvural.net\/melih\/thoughts\/?p=621"},"modified":"2013-03-17T00:24:14","modified_gmt":"2013-03-17T07:24:14","slug":"a-working-speaker-system","status":"publish","type":"post","link":"https:\/\/www.onvural.net\/melih\/thoughts\/2013\/03\/17\/a-working-speaker-system\/","title":{"rendered":"A working speaker system"},"content":{"rendered":"<p style=\"text-align: center\">It&#8217;s been a long time with no progress on the piano. The reason is simple really. I&#8217;ve been doing a bunch of research, ordering a bunch of parts, and everything is finally ready to go.<\/p>\n<p>And so the last few nights have been all about soldering, programming, editing, searching, and finally uploading. It all started with a PCB board, and a bunch of parts.<\/p>\n<figure id=\"attachment_623\" aria-describedby=\"caption-attachment-623\" style=\"width: 225px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i2.wp.com\/www.onvural.net\/melih\/thoughts\/wp-content\/uploads\/2013\/03\/IMG_0987.jpg\"><img loading=\"lazy\" class=\"size-medium wp-image-623\" alt=\"Components of the Adafruit Waveshield being built for Amelia's piano\" src=\"https:\/\/i2.wp.com\/www.onvural.net\/melih\/thoughts\/wp-content\/uploads\/2013\/03\/IMG_0987-225x300.jpg?resize=225%2C300\" width=\"225\" height=\"300\" data-recalc-dims=\"1\" \/><\/a><figcaption id=\"caption-attachment-623\" class=\"wp-caption-text\">Components of the Adafruit Waveshield being built for Amelia&#8217;s piano<\/figcaption><\/figure>\n<figure id=\"attachment_625\" aria-describedby=\"caption-attachment-625\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i2.wp.com\/www.onvural.net\/melih\/thoughts\/wp-content\/uploads\/2013\/03\/IMG_0988.jpg\"><img loading=\"lazy\" class=\"size-medium wp-image-625\" alt=\"The PCB board ini the vise as I get ready to build out the speaker\" src=\"https:\/\/i0.wp.com\/www.onvural.net\/melih\/thoughts\/wp-content\/uploads\/2013\/03\/IMG_0988-300x225.jpg?resize=300%2C225\" width=\"300\" height=\"225\" data-recalc-dims=\"1\" \/><\/a><figcaption id=\"caption-attachment-625\" class=\"wp-caption-text\">The PCB board ini the vise as I get ready to build out the speaker<\/figcaption><\/figure>\n<p>This is probably the first time I&#8217;ve done any soldering since the Golden Solder project I did in ECE200. Now those were the good old days. And yet, as I was working through each component, and getting it on the board, it felt like I really knew what I was doing. I didn&#8217;t, but at least the ego is still in tact. Resistor bands were read, and placed appropriately. Chips were put in based on the etching on the board. And the wiring I copied from the directions. But in the end, everything looked exactly as it was supposed to, and I was quite confident that it was going to work when I tried it.<\/p>\n<figure id=\"attachment_627\" aria-describedby=\"caption-attachment-627\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i2.wp.com\/www.onvural.net\/melih\/thoughts\/wp-content\/uploads\/2013\/03\/IMG_0991.jpg\"><img loading=\"lazy\" class=\"size-medium wp-image-627\" alt=\"The finished Adafruit Waveshield with an SD card slot, a potentiometer, a speaker jack, and a really excited guy taking the photo\" src=\"https:\/\/i0.wp.com\/www.onvural.net\/melih\/thoughts\/wp-content\/uploads\/2013\/03\/IMG_0991-300x225.jpg?resize=300%2C225\" width=\"300\" height=\"225\" data-recalc-dims=\"1\" \/><\/a><figcaption id=\"caption-attachment-627\" class=\"wp-caption-text\">The finished Adafruit Waveshield with an SD card slot, a potentiometer, a speaker jack, and a really excited guy taking the photo<\/figcaption><\/figure>\n<p>Then, on to finding the notes!<\/p>\n<p>Turns out that there&#8217;s a <a href=\"http:\/\/theremin.music.uiowa.edu\/MISpiano.html\">fantastic project<\/a>\u00c2\u00a0out of the University of Iowa that has sound files of notes on an instrument. So I hopped on over there, grabbed the files for the piano, and got to editing.<\/p>\n<p>It was a bit frustrating because there is about 3 seconds of track, but only 0.75 seconds (on average) of a note being played. <a href=\"http:\/\/audacity.sourceforge.net\/\">Audacity<\/a> came to the rescue! I edited up the files, saved them as WAV, and uploaded them to the SD card reader. I was ready to rock and roll.<\/p>\n<p>Last step was getting the library installed, and the music playing. As for that, I&#8217;ll let this video do the talking&#8230;<\/p>\n<div style=\"text-align:center\">\n<\/div>\n<p>Up next is getting it to work with 11 buttons, and having the Arduino component of things finished. And then&#8230; 3D printing \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s been a long time with no progress on the piano. The reason is simple really. I&#8217;ve been doing a bunch of research, ordering a bunch of parts, and everything is finally ready to go. And so the last few nights have been all about soldering, programming, editing, searching, and finally uploading. It all started [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[67,1],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pQyAq-a1","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":608,"url":"https:\/\/www.onvural.net\/melih\/thoughts\/2013\/01\/16\/introducing-amelias-piano\/","url_meta":{"origin":621,"position":0},"title":"Introducing Amelia's Piano","date":"January 16, 2013","format":false,"excerpt":"For her 2nd birthday, I'm going to build Amelia a digital piano. It will highlight the keys as it plays songs, and then let her play it back by highlighting the next note, and waiting for her to hit it. I'm probably more excited about building it then she will\u2026","rel":"","context":"In &quot;Amelia's Piano&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":828,"url":"https:\/\/www.onvural.net\/melih\/thoughts\/2014\/01\/26\/this-week-in-review-4\/","url_meta":{"origin":621,"position":1},"title":"This week in review","date":"January 26, 2014","format":false,"excerpt":"What a week... Monday was a holiday, and we got to do some work on the house. Mike bought us a bunch of parts, Micky and Mike went to IKEA to buy stuff, and then we pulled off a few new lights, a re-worked coat closet, and taking down the\u2026","rel":"","context":"In &quot;Life Updates&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1291,"url":"https:\/\/www.onvural.net\/melih\/thoughts\/2014\/10\/27\/24-days-til-30\/","url_meta":{"origin":621,"position":2},"title":"24 days til 30","date":"October 27, 2014","format":false,"excerpt":"Surprise (Part III) People change... a lot :-\/ I'm really surprised at how much people change when they hit the real world. Sometimes it's good. Sometimes it's genuinely bad. But most times it's just a chapter book unfolding with post-college being the first really new chapter of life. When I\u2026","rel":"","context":"In &quot;just thinking out loud&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":983,"url":"https:\/\/www.onvural.net\/melih\/thoughts\/2014\/03\/07\/rejection-of-a-two-year-old\/","url_meta":{"origin":621,"position":3},"title":"Rejection of a two year old","date":"March 7, 2014","format":false,"excerpt":"Here's a million dollar question... Should we tell Amelia that she has now been rejected by every school to which we've applied? She's visited a bunch of them, and is very aware that she visited a bunch of new schools. She has even asked about going back to them when\u2026","rel":"","context":"In &quot;Fatherhood&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":765,"url":"https:\/\/www.onvural.net\/melih\/thoughts\/2014\/01\/12\/the-week-in-review\/","url_meta":{"origin":621,"position":4},"title":"The week in review","date":"January 12, 2014","format":false,"excerpt":"What a wonderful week this one was :-) Getting back to work full time was actually really hard. I think it did everyone a lot of good though. There's been a lot of late nights, waking up on funky schedules, and the like. It was getting to be too much\u2026","rel":"","context":"In &quot;Life Updates&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":548,"url":"https:\/\/www.onvural.net\/melih\/thoughts\/2012\/05\/19\/jury-duty-what-an-experience\/","url_meta":{"origin":621,"position":5},"title":"Jury Duty - What an experience","date":"May 19, 2012","format":false,"excerpt":"I was summoned for jury duty about a month ago, and thought to myself, well shit, there's no way I'm getting out of this. I got to the court house at 1pm this past Monday, and hunkered down for what I thought was going to be a long and boring\u2026","rel":"","context":"In &quot;just thinking out loud&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.onvural.net\/melih\/thoughts\/wp-json\/wp\/v2\/posts\/621"}],"collection":[{"href":"https:\/\/www.onvural.net\/melih\/thoughts\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onvural.net\/melih\/thoughts\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onvural.net\/melih\/thoughts\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onvural.net\/melih\/thoughts\/wp-json\/wp\/v2\/comments?post=621"}],"version-history":[{"count":0,"href":"https:\/\/www.onvural.net\/melih\/thoughts\/wp-json\/wp\/v2\/posts\/621\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.onvural.net\/melih\/thoughts\/wp-json\/wp\/v2\/media?parent=621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onvural.net\/melih\/thoughts\/wp-json\/wp\/v2\/categories?post=621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onvural.net\/melih\/thoughts\/wp-json\/wp\/v2\/tags?post=621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}