Read usb mp3

Hey everyone,

First time one here.

I am hoping to be able to read an mp3, or any music format, from a portable music player, over a usb bus on an arduino board, and from this use the output of different frequencies to drive different outputs.

I have the analysing code in place to decode the frequencies's of the mp3, running on my laptop, but the mp3 is in the data location of the arduino sketch.

I was wondering if it is possible to use an mp3 player plugged in over usb to use as the track, as I cannot flash the song to the chip.

After some searching I found that ftdi vdip1 can help me write to the mp3, but it is really slow. Is it going to be possible for me to use something similar to read only?

Or is the usb on the Arduino nano going to be enough to use as an input?

Thanks for your help.

Jenny

Or is the usb on the Arduino nano going to be enough to use as an input?

No, it probably won't... The USB in the Arduino is a virtual RS232 port and not a USB HOST host controller nor is it a USB HID interface. So really , the VDIP is the most logical/economical solution to adding a host controller to the Arduino... even if it's slow.

There is an FTDI product other than the VDIP1 that may be a way to get what you want. I would recommend you look at the FTDI VDRIVE2 or start fresh and look at the FTDI VMUSIC 2 as a peripherals to add to the Arduino.

VMUSIC2 obviously is an option only if you can use the PC to capture data to an MP3 file, then to a flash using a PC.

I would not expect the Arduino to be much help if what you want can't be done with a PC.

I recommend you look into the rMP3 if you want music and frequency analysing. It can analyse up to 23 freqs on an MP3 up to 320k.

Mowcius

Hey,

Thanks for the reply.

I was wondering if the instruction sets for rmp3 are generic arduino ones, and theirfor transferable to any arduino module?

It is going to take to long to get delivered to me, and cant find anywhere to buy it in store.

Found this http://www.bizoner.com/arduino-sd-card-module-for-sd-card-memory-read-and-write-p-184.html?zenid=v4tus6hev1gbnkieejik9i5uc6 and was going to get that, and put it on my arduino nano to give it memory to store the music.

Would this work?

Thank You

Jenny

I was wondering if the instruction sets for rmp3 are generic arduino ones, and theirfor transferable to any arduino module?

The rMP3 module is controlled by Serial commands, so it can be controlled by practically anything.

It is going to take to long to get delivered to me, and cant find anywhere to buy it in store.

What do you mean?

I meant that it was going to take to long to get the rmp3 delivered to me, and was going to use the SD card add on to my nano board. And just use the rmp3 serial commands on it.

But I think I will be getting the rmp3 in time, so hopefully will be able to use that. It seems that most of the commands I need are all available, and it should just be a case of me putting them together.

Thanks