MP3 Player Idea

-deleted-
27 May 2010

HI Guys,

First post not sure how to approach this.

Basically I would like to develop a small system to do lots of things one of which is to play MP3's

Eventually I plan to use an LPC2478 as the microcontroller because it has things like build in LCD controller and External Memory Controller.

I am currently trying to teach my self about the playing MP3's side of things.

I found a nice MP3 decoder IC from VLSI called the VS1003

http://www.sparkfun.com/commerce/product_info.php?products_id=9398

I have looked at the data sheet for the device and it can be used to stream audio, can be used to I think to read in data fed into it by a uC on the SPI bus and play it out.

The problem I have is that how can I get the MBed to read a small MP3 file on its local file system and transfer it out on the SPI bus serially?

I have a small MP3 file ~700KB and I have read topics on how to access the local file system, I have also played with SPI peripherals like LCD display and accellerometer as well, but I'm just really not sure how to bridge the gap between reading an mp3 file from the local file system and to stream the data out to the VS1003.

 

Any help or even just pointers on where to learn the information from would be greatly appreciated.

Thanks

-deleted-
27 May 2010

Sorry Guys,

Think I will take a closer look at this entry to see how it works.

http://mbed.org/projects/cookbook/wiki/VS1002MP3Decoder

Thanks

-deleted-
28 May 2010

Ok, So I have managed to get after much playing around and trying to understand whats going on the project in the cookbook, http://mbed.org/projects/cookbook/wiki/VS1002MP3Decoder

to read an mp3 file on the local file system and output it in binary format to the spi interface.

The file is ~700kb, size on disk is 656,896 bytes

It is a 41 sec audio file and using a scope I timed it at being roughly 13 seconds for the whole file to be serially shoved out, now to look into the VS1003 and see if it can deal with that, or do i need to slow it down so it streams at the correct rate.

 

09 Jun 2012

hey guys, I was wondering if you could help me out with my programme. currently the programme plays the song that I want, but when it plays the song, it is unable to do anything else. I added the InterruptIn function and when this button is pressed, the whole system crashes.