semicolo 39 Posted April 25, 2013 Share Posted April 25, 2013 Hi guys, I wanted to share this project I made for my step sister last christmas. After seeing some other music box project on hack a day, I found it would make a nice gift. I started experimenting on arduino and launchpad/g2553 using wavetable software synthesis. It looks like I suck at optimizing c code on microcontrollers, I had to decrease the output sample rate to 6250Hz on the arduino for 6 channels and down to 7812Hz on the launchpad and use fixed point numbers with 4 bits after the point, sound was not good enough to my taste. (here are the CCS sources if someone wants to play with them: yamb-launchpad.zip) Here's a picture of the finished project, the final board uses an MSP430g2452 and an Atmel AT25DF32 SPI flash memory that holds the 8bits unsigned samples played by the CPU at 31250Hz using a 62500Hz pwm.Everything's hidden in the side of a homemade wooden box. Mains voltage is held off by the switch unless the top of the box is open. And here's the sound used, it was generated on my pc by a console floating point version of the wavetable synthesis software. yamb.zip izdane, bluehash and lvagasi 3 Quote Link to post Share on other sites
bluehash 1,581 Posted April 25, 2013 Share Posted April 25, 2013 That sounds really good! Did you happen to take a video of it? Quote Link to post Share on other sites
semicolo 39 Posted April 25, 2013 Author Share Posted April 25, 2013 Nah, I'll ask my step sister to do it or pay her a visit. I finished it in a rush, almost ripped my left thumb while finishing the woodworking (always use clamps and beware of kickback when using a biscuit joiner guys) and finished screwing the hinges for the top just minutes before giving the gift. Quote Link to post Share on other sites
semicolo 39 Posted June 21, 2013 Author Share Posted June 21, 2013 I finally got a small video and a photo of the closed box, enjoy: http://www.youtube.com/watch?v=sh77g58Do_I Rickta59 and GG430 2 Quote Link to post Share on other sites
semicolo 39 Posted June 22, 2013 Author Share Posted June 22, 2013 I made a more in depth description of the project using the hackster.io site: http://beta.hackster.io/projects/31-YAMB russcky and cubeberg 2 Quote Link to post Share on other sites
mafiaWolf 0 Posted March 17, 2015 Share Posted March 17, 2015 Could it play speech? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.