ESound Client Implementation for MS Windows? 23
SplasPood asks: "I've been searching for the last couple years for a way to pipe the sound output from my windows laptop to my Linux mp3/sound box. Currently, I use esound to pipe the sound output from all my *nix boxen over the network to this mp3/sound box which is connected to my stereo. I'd love to be able to do the same for the windows laptop. I use the windows laptop to watch DVDs and movies, and it would be great if I could hear the sound via my stereo. Does anyone have any suggestions? And no, plugging the output of the windows box into the input on the sound card of the linux box is not an option."
Google (Score:1, Informative)
I could post a list of links from google
e.g. jesd [jcraft.com] but you've already tried that, right?
Re:Google (Score:1)
Re:Google (Score:2, Insightful)
JEsd includes an audio server, which corresponds to 'esd' and classes for communicating with 'esd', which corresponds to 'libesd'.
This client side code will enable us to hack audio apps in pure Java.
The audio server depends on Java Sound API.
Of course, this audio server supports playing audio streams.
So we can accept outputs from x11amp, xmms, etc,. in pure Java apps via network streams.
Of course, this audio server supports caching, playing, looping samples.
The audio server accepts Ogg Vorbis bit-streams via EsounD protocol and works as the Ogg Vorbis player.
Tons of functionalities of EsounD are left to be implemented.
JEsd is distributed under GNU LGPL.
Solves the problem indicated in the top of the article? It doesn't. I want all audio output from my windows box to use esd and talk to my linux box. This doesn't really solve the problem.
What tha'? (Score:2)
I gotta go with a previous poster, though. Get a TV and a decent DVD player. The DVD thing on laptops was devised for bored businessmen on long flights and stuck in hotels.
Re:What tha'? (Score:2, Funny)
Flash of brilliance: pliable plastic covers for laptop keyboards.
Don't forget the Myopic! (Score:2)
Then there is the whole region thing, cheap DVD players don't play the imports at the local video store (as per their signage, no refunds if you've got a region 1 only DVD player.)
Did you google? (Score:3, Informative)
http://www.sitecity.net/cygwin-audio/
I cannot find any binaries, although.. the site reports of some software called "WinESD" which will setup a virtual audio-device that will output to ESD.
It appears that there should be no problem compling esdplay nor the libraries under Cygwin.. I do not know if Cygwin can do artificial dsp support, if it can.. it wouldn't be too unlikely for the official esound tree to compile cleanly.
Re:Did you google? (Score:2, Interesting)
I believe the cygwin port of esound will only work for cygwin based applications. IE, not everything. The ideal thing (I think) is some sort of shim into DirectSound (I believe, I don't do any windows programming) that pipes to esd. However, I don't think this could be done without violating some sort of OSS law and thus having bad mojo... Or something to that effect.
Re:Did you google? (Score:1)
one good solution would be to have a dvd player that outputs sound as dts (i don't think that's available in any laptop) to the same reciever your esd server computer is plugged into.
Re:Cygwin ESD (Score:1)
but it only plays sounds from programs that support ESD... and if you enable the -tcp and -public args when you start it on the cygwin box.. you can have other computers (unix or cygwin) play sounds on the box runing esd..
Though this doesn't really help if you want to redirect sound from NORMAL windows programs..
Re:Did you google? (Score:1)
Best solution: (Score:1, Troll)
Re:Best solution: (Score:2, Funny)
Re:Best solution: (Score:2, Funny)
Re:Best solution: (Score:2)
i dont understand the problem... (Score:2, Informative)
you want them to play in windows
why not use Apache and winamp
works great for me
here's my playlist generator (not 100% on the MIME type now I see it here but it works in Winamp 3 Beta)
#!/usr/local/bin/rc
# rc is the unix port of plan9's shell
echo Content-Type: audio/m3u
echo
echo [playlist]
find
Re:i dont understand the problem... (Score:1)
The "x-" part correctly identifies it as a non-registered mime-type.
You'd probably be much better off making the script a daily (hourly?) cronjob that writes the
And also, a question: Why use rc for that script when
(I haven't used rc.)
But the real problem in this "Ask Slashdot" is how to get the sound from the laptop over the network to the stereo which is connected to the linux-box.
Re:i dont understand the problem... (Score:2)
y, I had it like that before. I was fiddling with the Winamp3 beta and noticed that it had a playlist format I'd not tried. (.pls)
the mime type is probably audio/pls for the sake of winamp. but like i said, it worked with m3u so no matter for now.
rc - again, not really any big reason other than it's the one I used. I didn't want to paste in some
Ah, the penny drop wrt to the ask slashdot.
I'd do the same solution. Install Apache. More flexible than esound, esp. if you want to remain platform neutral. Maybe one day you'll have a wireless pda walkman or something. HTTP is almost ubiquitous.
By using Apache here I have flexibility. I can request a streamed specific track, a playlist or a random stream. I even have one that can specifiy the bitrate for downsampling to save space on my mp3 walkman.
I have clients that use Window95, 98, CE!, FreeBSD and plan9. All can get the mp3s and maybe play them (that darned CE).
Re:i dont understand the problem... (Score:1)
No he wants to send the sound from the windows box - not to it.
(Besides if he wanted to stream MP3's he would be using my MP3 streamer [gnump3d.org], right? ;)
JEsd (Score:1)
-Arcadio
Try Netcat (Score:2, Informative)