Music from USB Input / Flash Drive - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 13th May 2007, 01:17 AM   #1
diyAudio Member
 
Join Date: May 2007
Default Music from USB Input / Flash Drive

A buddy of mine had a cheap Phillips boombox that included a USB port to play music (mp3 and wma files) from a flash ("thumb") drive. I just built a custom boombox based on a Sony car receiver with aux inputs. I'd like to add a USB input and circuit that would perform DAC and route it to the radio's aux input. Is there a chip or IC (and a simple circuit, I hope) that will do this conversion? Thanks!
  Reply With Quote
Old 13th May 2007, 01:30 AM   #2
diyAudio Member
 
FastEddy's Avatar
 
Join Date: Jun 2006
Location: North Californie
Might be best to find a ready made USB DAC. The circuit is quite complicated, what with the digital to analog conversions, processor control and firmware for the digital playback from RAM, etc ...
  Reply With Quote
Old 13th May 2007, 02:14 AM   #3
singa is offline singa  Singapore
diyAudio Member
 
Join Date: Apr 2004
Location: near
Send a message via AIM to singa Send a message via MSN to singa Send a message via Yahoo to singa
Default Re: Music from USB Input / Flash Drive

Quote:
Originally posted by stargazer5
A buddy of mine had a cheap Phillips boombox that included a USB port to play music (mp3 and wma files) from a flash ("thumb") drive. I just built a custom boombox based on a Sony car receiver with aux inputs. I'd like to add a USB input and circuit that would perform DAC and route it to the radio's aux input. Is there a chip or IC (and a simple circuit, I hope) that will do this conversion? Thanks!
Hi,
Try the PCM2702 USB with built in dac.
No programming needed,just wire/hook up and ready to go.Take note it is smd technology package or surface mount ,you can order the Alien DAC pcb.
  Reply With Quote
Old 13th May 2007, 09:39 AM   #4
jaycee is offline jaycee  United Kingdom
diyAudio Member
 
Join Date: Apr 2004
Location: Norwich, UK
If what you mean, is retrieve the data from the USB flash drive, and stream it out as audio, then no, this is not a simple circuit at all.

What happens is that the flash drive is just a file storage device, like a hard disk. It doesn't do anything with the data on it except send it to the host. The USB Input on the Boombox reads the files, interprets them (probably only MP3/WMA/WAV), decodes them if neccesary (the hard bit!) and THEN feeds them to it's DAC circuitry.

A USB DAC is different. What that does is appear to a host as a "USB Audio Device", a standard USB protocol for sending sound. The host then sends raw audio data to the DAC, where it is decoded.

So, at the very least, a microcontroller is involved to read the flash drive. Then, you have to have some method of decoding the data. There's a few chips that you can send MP3 data to, and it will decode. WMA is available also but less easy to find, and I don't think I've seen one handling WAV. The Boombox probably uses some Microcontroller/DSP combo to do this job.

edit: You might think "Well how do those thumb drives with inbuilt MP3 players work, then?" The answer is simple. They have an ASIC built in which is a FLASH controller, USB interface, MP3/WMA decoder and DAC all in one. The data is usually read directly from the flash when the player is playing standalone, and the USB interface only used when it is connected to a computer.
  Reply With Quote
Old 13th May 2007, 02:20 PM   #5
Archwn is offline Archwn  United Kingdom
diyAudio Member
 
Join Date: Oct 2006
there was a ready made board that read audio files (mp3 wma wav etc.) from the memory card then decode them and play sound. it uses PIC thing which the code could be upgraded later. ask these guys and sure they know how to read out the music from your flash drive. i will when i have time and will let you guys know.

anyone know other kind rather than pic thing? let me know.
  Reply With Quote
Old 14th May 2007, 01:15 AM   #6
singa is offline singa  Singapore
diyAudio Member
 
Join Date: Apr 2004
Location: near
Send a message via AIM to singa Send a message via MSN to singa Send a message via Yahoo to singa
Hi Jaycee,
You are right,apart from the usb dac it is meant to be connected to a pc and appropriate software in order to play music with it.Most users are thinking of using the pc as a music server.
Cheers.




Quote:
Originally posted by jaycee
If what you mean, is retrieve the data from the USB flash drive, and stream it out as audio, then no, this is not a simple circuit at all.

What happens is that the flash drive is just a file storage device, like a hard disk. It doesn't do anything with the data on it except send it to the host. The USB Input on the Boombox reads the files, interprets them (probably only MP3/WMA/WAV), decodes them if neccesary (the hard bit!) and THEN feeds them to it's DAC circuitry.

A USB DAC is different. What that does is appear to a host as a "USB Audio Device", a standard USB protocol for sending sound. The host then sends raw audio data to the DAC, where it is decoded.

So, at the very least, a microcontroller is involved to read the flash drive. Then, you have to have some method of decoding the data. There's a few chips that you can send MP3 data to, and it will decode. WMA is available also but less easy to find, and I don't think I've seen one handling WAV. The Boombox probably uses some Microcontroller/DSP combo to do this job.

edit: You might think "Well how do those thumb drives with inbuilt MP3 players work, then?" The answer is simple. They have an ASIC built in which is a FLASH controller, USB interface, MP3/WMA decoder and DAC all in one. The data is usually read directly from the flash when the player is playing standalone, and the USB interface only used when it is connected to a computer.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HARD DRIVE DIY = using multiple FLASH USB DRIVEs ?? JinMTVT Everything Else 6 29th October 2005 11:09 PM
No bang, no flash, just music! Morse Tubes / Valves 62 20th July 2005 06:24 AM
usb flash drive modification Hayden Parts 0 19th August 2004 05:56 AM
USB Flash Drive Based MP3 Player Matttcattt Digital Source 13 19th August 2004 03:30 AM
flash .. bang .. oily liquid .. no music! elizard Chip Amps 32 31st May 2003 10:05 PM


New To Site? Need Help?

All times are GMT. The time now is 05:07 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2