• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.



Page history last edited by Vivien Tsao 7 years, 2 months ago

Barebones MP3 Player


Part B. Connect And Test Your Decoder


Describe the tone pattern you hear (i.e., high or low, how long, etc.).


If i am not mistaken the sounds are High, medium and low in a loop. Actually, if you listen to it by yourself in a dark room for about a minute it gets kind of creepy.

Part C. Play Some Music!


Tell a member of the teaching team what your song is (or better yet, play it for us).


Absolutely Cuckoo by Magnetic Fields 

Does this code play all the songs in all the directories of the SD card? If not, which songs does it play? How does it keep from playing the text file?


Yes, it plays all the songs (in our case 4) and it knows not to play the txt file because the buffered reader checks the format of the file and makes sure it is an audio file such as an .mp3 or .wav

Change the Song (or Simple_MP3_V2) program to save the current volume setting in your EEPROM, then fetch and set that value during initialization. Note that the first max_num_songs * max_name_len (in this case, 520) bytes of the EEPROM are used to store file names, so don't overwrite those. 



Draw us a quick sketch of what your circuit looks like.


What are the pros and cons of using this method?


Pros: Adds several new methods which make life a lot easier 

Cons: Having to use the update () method within the loop

Now, take what you learned to make an interrupt driven pause function for your Barebones MP3 player!


Comments (1)

Vivien Tsao said

at 11:54 am on Aug 20, 2013

Good job!

You don't have permission to comment on this page.