* rplay
@ 1998-09-17 9:13 Florin Andrei
1998-09-17 16:42 ` rplay Mark R. Boyns
0 siblings, 1 reply; 2+ messages in thread
From: Florin Andrei @ 1998-09-17 9:13 UTC (permalink / raw)
To: linux-sound
I really don't like to push, but i'm in a big hurry, so please answer
quick! :-)
I'm doing some experiments with rplay-rplayd. Locally (on one single
computer) i can play .au files and also audio CD's ("rplay cdrom:").
Over a network i managed somehow to play sound files ("rplay
--host=my.sound.server sample.au") but that's all.
I wanna play live sound over a network, i.e. with two computers, no.1
having a sound source plugged into "line in" or "mic", no.2 having "line
out" plugged into an amplifier. How can i do that?
I tried to read /dev/dsp as sound source, but rplayd seems not to read
it. When i compiled rplayd, i didn't put /dev as a forbidden directory
(as opposed to the default setting).
I also failed to play audio CDs over the net (having CD in one computer
and listening it on another). How can i do that?
The rplay documentation is really weak. It says it can play live sounds
over a network, but there is no example! Only that stuff with the .au
files.
Please, if you have any solutions, send them quickly, i'm in a sort of
trouble. I'll also appreciate any solution other than rplay to send
sound over the net at a quality higher than RealAudio (i actually need
an almost FM quality, or something that sounds like that for an
unexperienced listener).
Thanks.
Florin Andrei
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: rplay
1998-09-17 9:13 rplay Florin Andrei
@ 1998-09-17 16:42 ` Mark R. Boyns
0 siblings, 0 replies; 2+ messages in thread
From: Mark R. Boyns @ 1998-09-17 16:42 UTC (permalink / raw)
To: linux-sound
> I really don't like to push, but i'm in a big hurry, so please answer
> quick! :-)
I'm the author of rplay and received this message from a friend
subscribed to this list.
> I'm doing some experiments with rplay-rplayd. Locally (on one single
> computer) i can play .au files and also audio CD's ("rplay cdrom:").
> Over a network i managed somehow to play sound files ("rplay
> --host=my.sound.server sample.au") but that's all.
> I wanna play live sound over a network, i.e. with two computers, no.1
> having a sound source plugged into "line in" or "mic", no.2 having "line
> out" plugged into an amplifier. How can i do that?
> I tried to read /dev/dsp as sound source, but rplayd seems not to read
> it. When i compiled rplayd, i didn't put /dev as a forbidden directory
> (as opposed to the default setting).
> I also failed to play audio CDs over the net (having CD in one computer
> and listening it on another). How can i do that?
>
> The rplay documentation is really weak. It says it can play live sounds
> over a network, but there is no example! Only that stuff with the .au
> files.
Yes, rplay can be used for live audio. A few years ago I used the
rplay GSM support to implement a real-time chat program to talk with a
person in Europe. The latest version of rplay can also play mp3s
"live" over the network.
To do live audio with the rplay program you need to do something like
this:
$ rplay -h somehost --info=ulaw,8000,8,1,big-endian,0 - < some-input-source
Here somehost is the host running rplayd, the info describes the audio
format being sent, - means read from stdin, and some-input-source is
where to read the audio from, like a microphone, a pipe, etc. Note
that if the audio input has a standard sound header you don't need the
--info.
Depending on the speed of your network you might need to use a
compressed audio format. rplayd can decompress the following ADPCM
formats: G.721 4-bit, G.723 3-bit, G.723 5-bit, and also GSM. If your
computers are reasonably fast try this:
$ toast -c <some-input-source> | rplay -h somehost --info-gsm -
(toast is a GSM compression program)
Good luck.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-09-17 16:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-17 9:13 rplay Florin Andrei
1998-09-17 16:42 ` rplay Mark R. Boyns
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox