VS1053 + mSD to run mp3 on its own
Erlend
Posts: 612
To avoid creating all the sounds I need in .wav I had the idea to run mp3 files from a separate board, as instructed through SPI from Prop. Found a nice break-out board at Ada, but maybe I was too fast (again) to add-to-basket, because now I seem to understand that Prop has to do the work of reading SD and feeding into the VS1053 chip. So instead of occasionally shooting off a short 'play file_nnn' SPI command, now a cog is needed to read&write sound data all the time while playing. Will be hard on prop i/o, and will mean a lot of coding to do for me - I already suffer an inbox-overload situation in my life/brain/lab, so this 'household' coding is not something I urge for now.
I searched Obex, but with little luck, so now I ask the Forum for help - maybe someone have already intefaced this breakout board, or at least the VS1053 chip - or maybe there is an other board out there which is doing exactly what I wanted? Or maybe I am wrong about the ada-board - that it can do this after all?
Erlend
I searched Obex, but with little luck, so now I ask the Forum for help - maybe someone have already intefaced this breakout board, or at least the VS1053 chip - or maybe there is an other board out there which is doing exactly what I wanted? Or maybe I am wrong about the ada-board - that it can do this after all?
Erlend
Comments
A better choice for what you're trying to do would be the Daisy player kit, which includes a PIC uC to read the card and simple inputs to trigger playback:
http://www.teuthis.com/daisy/
Or, a bit fancier, smaller, more capable, and pre-assembled, Rogue Robotics uMP3:
http://www.roguerobotics.com/products/electronics/ump3
If you'd like to see an example of a Propeller controlling a similar codec, Harrison Pham's award-winning Thumper does this as well as a lot of other cool network streaming stuff:
http://classic.parallax.com/Thumper/tabid/848/Default.aspx
I will put the ada-player in a drawer for some future project. Both the uMP3 and the Vmusic2 fit my purpose perfectly, but I think I will go for the Vmusic because - I did not think about that before - the USB stick is a more convenient format in this application. The interface looks dead simple, with SPI or serial, and a easy command set.
Erlend
Thanks a bunch for the code!
Erlend
Another SD option:
https://www.sparkfun.com/products/11029
I will buy one! (two, actually).
Erlend
That said, if you're wanting to do much more with any processor you're probably better off getting an all-in-one. The VMusic module is one choice, but there's also others, such as the MP3 Trigger board Sparkfun sells. I've used it and it's painfully easy.
https://www.sparkfun.com/products/11029
Tim
Erlend
To be clear, both Daisy and Rogue Robotics uMP3 have SD sockets and are entirely self-propelled, needing just a command to start playing a song. The uMP3 has its SD socket on the back of the card to make the card smaller. Daisy can be set up to be even simpler to control, where just a pulse or contact closure will trigger playback of an entire song. While all the tools are there to drive a MP3 codec chip from the Propeller, the SD card filesystem will eat a good chunk of Hub RAM just to get the bits out of the file in order.