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?
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 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.