[lug] Ethernet sound card

Peter Hutnick peter-lists at hutnick.com
Thu Sep 5 18:20:40 MDT 2002


I've been knocking a (possibly stupid) idea around in my head.  Like every
other Joe in town I want to be able to get music from my PC to my stereo. 
I'm not real satisfied with any of the obvious solutions.  I think that
there is a better way.

Obvious ways and their problems:

1. Plug sound card output into stereo.
 - Less than ideal quality
 - Very limited distance between the PC and the stereo

2. USB "sound card"
 - Not much better run length
 - Not cheap >a buck and a quarter

3. Component MP3 player
 - expensive
 - limited to codecs/data rates/processing power of the box (or serious
hacking)
 - limited storage (yes, many are hackable)
   OR
 - tied to "server software" on a PC


My idea is to build something similar to a USB sound card, but use
Ethernet as the interface.

Something like:

 You play a song on the PC with your favorite player. (This could be as
simple as cating a file to the appropriate device file.)
 The sound driver breaks the audio down into chunks of a fixed size, wraps
an Ethernet frame around it (with the appropriate MAC) and flings them
onto the wire (at a fixed rate).
 The "sound card" grabs all packets with its MAC off the wire (I think
that this description is technically faulty, but it gets the point
across), strips the Ethernet frame and dumps the data into a FIFO.
 The FIFO streams into a DAC, which terminates into a pair of RCAs.
 If there is a stereo on the other end of the RCAs you get sound!

I am well aware that I have glossed over some non-trivial stuff here . . .
that's why I'm writing to the list!  Is anybody and EE type that can tell
me what the big problems with this are?  Is getting the data out of the
Ethernet controller and into a buffer feasible without using a processor? 
If so I think that this could be build cheap around a DAC out of a broken
CD player!

-Peter





More information about the LUG mailing list