Re: remote sound

Matthew Frederico
2004-04-02T17:52:12Z

On Fri, 2004-04-02 at 08:28, dante@virtualblueness.net wrote:
> I want to do the same thing. This afternoon I'm going to try to implement
> the following idea:
>
> 1) on the client box where I plan to listen to the sound (music in my
> case), I'm going to listen for incoming tcp/ip connections using nc or
> the like and pipe the stream to /dev/dsp locally.
>
> 2) on the server box where the sound is to originate, I'm going to replace
> /dev/dsp with a local unix socket, open it using nc or the like, establish
> a tcp/ip connection to the client box and stream the data.
>
> Does this sound like a stupid idea to anyone?

Sounds like its going to use a lot of bandwidth to me.

Correct me if I am wrong, but isn't /dev/dsp for raw sound data AFTER
conversion FROM e.g. MP3 OGG WAV etc? So "redirecting" /dev/dsp will
probably lag your network substantially. I think this is a very cool
idea though, and you're probably on the right track.