Skip to contentSkip to conversation

remote sound

DISCUSSION Andrew Langdon-Davies 4 participants 4 messages Apr 2, 2004

lore
Share & tools
lore
#0 lore raw

Hello all,
The idea is to use an old p100 (there aren't any new ones) as an X client on which to display videos. The server is a Pentium IV running Mandrake 9.2. I am gradually getting there and so far can run totem or mplayer on the server and watch the results on the client. What I cannot get is sound. Both client and server have working sound. Both have esound installed. What more should I do to get the sound being produced on the server to be heard on the client? TIA,
Andrew

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 7 lines · Andrew Langdon-Davies

The idea is to use an old p100 (there aren't any new ones) as an X client on which to display videos. The server is a Pentium IV running Mandrake 9.2. I am gradually getting there and so far can run totem or mplayer on the server and watch the results on the client. What I cannot get is sound. Both client and server have working sound. Both have esound installed. What more should I do to get the sound being produced on the server to be heard on the client?

I don't know the answer to this question, but I know where I'd look for one. I monitor a listserv called k12osn (it's a discussion by mostly sysadmins about k12ltsp - a Linux terminal server project distro aimed at running on computers in educational settings). The issue of remote sound comes up frequently, since the client terminals often need to have thier own sound. I think they have a Wiki, and maybe the question would be ansered there. Or else you'd probably find alot on the topic in the archive. Hope this helps.

James
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw
In reply to Andrew Langdon-Davies

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?

--Tony

Quoted 11 lines · Andrew Langdon-Davies

Hello all,
The idea is to use an old p100 (there aren't any new ones) as an X client on which to display videos. The server is a Pentium IV running Mandrake 9.2. I am gradually getting there and so far can run totem or mplayer on the server and watch the results on the client. What I cannot get is sound. Both client and server have working sound. Both have esound installed. What more should I do to get the sound being produced on the server to be heard on the client?
TIA,
Andrew

Quoted 6 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#3 lore raw
Quoted 7 lines · On Fri, 2004-04-02 at 08:28, [email protected] 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.

Quoted 5 lines

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.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs