| •1 |
This is rplay.info, produced by makeinfo version 4.1 from rplay.texi. |
| 2 |
|
| 3 |
INFO-DIR-SECTION Development |
| 4 |
START-INFO-DIR-ENTRY |
| 5 |
* rplay: (rplay). The rplay Network Audio System |
| 6 |
END-INFO-DIR-ENTRY |
| 7 |
|
| 8 |
This file documents the rplay Network Audio System. |
| 9 |
|
| 10 |
Copyright (C) 1993-97 Mark Boyns |
| 11 |
|
| 12 |
Permission is granted to make and distribute verbatim copies of this |
| 13 |
manual provided the copyright notice and this permission notice are |
| 14 |
preserved on all copies. |
| 15 |
|
| 16 |
Permission is granted to copy and distribute modified versions of |
| 17 |
this manual under the conditions for verbatim copying, provided also |
| 18 |
that the entire resulting derived work is distributed under the terms |
| 19 |
of a permission notice identical to this one. |
| 20 |
|
| 21 |
Permission is granted to copy and distribute translations of this |
| 22 |
manual into another language, under the above conditions for modified |
| 23 |
versions. |
| 24 |
|
| 25 |
|
| 26 |
File: rplay.info, Node: Top, Next: Overview, Prev: (dir), Up: (dir) |
| 27 |
|
| 28 |
rplay Network Audio System |
| 29 |
************************** |
| 30 |
|
| 31 |
This file documents the rplay Network Audio System. |
| 32 |
|
| 33 |
* Menu: |
| 34 |
|
| 35 |
* Overview:: Prelimary information |
| 36 |
* rplayd:: The rplay audio server. |
| 37 |
* rplay:: A sample RPLAY client. |
| 38 |
* rptp:: A sample RPTP client. |
| 39 |
* xrplay:: A X Windows rplay audio control panel. |
| 40 |
|
| 41 |
|
| 42 |
File: rplay.info, Node: Overview, Next: rplayd, Prev: Top, Up: Top |
| 43 |
|
| 44 |
Overview |
| 45 |
******** |
| 46 |
|
| 47 |
rplay is a flexible network audio system that allows sounds to be |
| 48 |
played to and from local and remote Unix systems. Sounds can be played |
| 49 |
with or without sending audio data over the network using either UDP or |
| 50 |
TCP/IP. rplay audio servers can be configured to share sound files |
| 51 |
with each other. |
| 52 |
|
| 53 |
Support for rplay is included in several applications. These include |
| 54 |
xpilot, xlockmore, xboing, fvwm, and ctwm. |
| 55 |
|
| 56 |
The rplay audio server is known to work well on Linux, SunOS 4.1.x, |
| 57 |
and Solaris 2.x. FreeBSD, Irix, and HPUX are known to work but the |
| 58 |
current status of these drivers is unknown. Linux support is based on |
| 59 |
the Open Sound System (OSS) driver so other systems using this driver |
| 60 |
might work with a few modifications. |
| 61 |
|
| 62 |
rplay supports two network protocols: |
| 63 |
`RPLAY' |
| 64 |
The Remote Play protocol which is connection-less and based on UDP |
| 65 |
(User Datagram Protocol). This protocol uses one-way |
| 66 |
communication with the audio server using single UDP packets. |
| 67 |
RPLAY was designed to be used by games which attempt to play |
| 68 |
hundreds of sounds a second, but it is also ideal for |
| 69 |
low-bandwidth applications. If you want simplicity, speed, and no |
| 70 |
error reporting, you should use RPLAY. |
| 71 |
|
| 72 |
`RPTP' |
| 73 |
The Remote Play Transfer Protocol which is connection-oriented and |
| 74 |
based on TCP (Transmission Control Protocol). This protocol uses |
| 75 |
two-way communication with the audio server using an interactive |
| 76 |
command language. RPTP is intended to be used by applications |
| 77 |
that require complete control of the audio server. |
| 78 |
|
| 79 |
Both protocols allow sounds to be played, paused, continued, and |
| 80 |
stopped. |
| 81 |
|
| 82 |
|
| 83 |
File: rplay.info, Node: rplayd, Next: rplay, Prev: Overview, Up: Top |
| 84 |
|
| 85 |
rplayd |
| 86 |
****** |
| 87 |
|
| 88 |
rplayd is the sound server for the rplay audio system. The |
| 89 |
server listens for requests to play, pause, continue, and stop |
| 90 |
sounds using both the RPLAY and RPTP protocols. Normally RPLAY |
| 91 |
requests are received on port 5555/udp and RPTP on 5556/tcp. |
| 92 |
(Older ports 55555/udp and 55556/tcp are also supported) Access to the |
| 93 |
server is restricted using the rplay.hosts file. |
| 94 |
|
| 95 |
rplayd can be started during the system boot process, via inetd, |
| 96 |
or by individual users. root access may be required depending |
| 97 |
on audio device permissions. |
| 98 |
|
| 99 |
In most causes rplayd will play sounds that are available on the |
| 100 |
local disk. However, rplayd can be sent sounds via the network and |
| 101 |
rplayd can also contact other rplayds to share sound files. The index |
| 102 |
of all the local sound files is stored in rplay.conf and remote |
| 103 |
rplayds are specified in rplay.servers. Sounds received from other |
| 104 |
rplayds will be stored in a cache directory normally located in |
| 105 |
/tmp/.rplay-cache. Cache entries are expired on an LRU basis. |
| 106 |
|
| 107 |
Many sound file formats are supported by rplayd. These include: |
| 108 |
|
| 109 |
AU AIFF WAV VOC UB UL G.721 4-bit, G.723 3-bit, G.723 5-bit GSM |
| 110 |
|
| 111 |
Several sounds can be played at once and sounds can be played |
| 112 |
at any sample rate. rplayd can be configured to output many |
| 113 |
different formats using the various -audio options. |
| 114 |
|
| 115 |
On some systems, namely Solaris and Linux, rplayd can read sounds |
| 116 |
directly from CDROM using CDDA. The special sound name cdrom: will play |
| 117 |
the entire CDROM. cdrom:3-5 will play tracks 3 through 5. |
| 118 |
|
| 119 |
|
| 120 |
File: rplay.info, Node: rplay, Next: rptp, Prev: rplayd, Up: Top |
| 121 |
|
| 122 |
rplay |
| 123 |
***** |
| 124 |
|
| 125 |
rplay is client that communicates with rplayd to play, pause, |
| 126 |
continue, and stop sounds using both the RPLAY and RPTP protocols. |
| 127 |
Sound files can be played by rplayd directly if available on the local |
| 128 |
system or sounds can be sent over the network using UDP or TCP/IP. |
| 129 |
rplay will attempt to determine whether or not the server has the sound |
| 130 |
before using the network. |
| 131 |
|
| 132 |
|
| 133 |
File: rplay.info, Node: rptp, Next: xrplay, Prev: rplay, Up: Top |
| 134 |
|
| 135 |
rptp |
| 136 |
**** |
| 137 |
|
| 138 |
rptp is a simple RPTP client that communicates with rplayd using the |
| 139 |
RPTP protocol. Several commands can be issued to control rplayd and |
| 140 |
report its status. See the output of the rptp help command for a list |
| 141 |
of available commands. |
| 142 |
|
| 143 |
|
| 144 |
File: rplay.info, Node: xrplay, Prev: rptp, Up: Top |
| 145 |
|
| 146 |
xrplay |
| 147 |
****** |
| 148 |
|
| 149 |
rplay control panel which includes CD player-like buttons, volume |
| 150 |
control, a simple vu meter, and a sound progess bar. Sounds can be |
| 151 |
played, paused, continued, and stopped using the appropriate buttons. |
| 152 |
|
| 153 |
xrplay is also useful as a sound file player and can be used with web |
| 154 |
browsers and other applications that use external programs to play |
| 155 |
sounds. |
| 156 |
|
| 157 |
xrplay communicates with the local (or remote) rplayd using the RPTP |
| 158 |
protocol. |
| 159 |
|
| 160 |
|
| 161 |
|
| 162 |
Tag Table: |
| •163 |
Node: Top860 |
| 164 |
Node: Overview1346 |
| 165 |
Node: rplayd3082 |
| 166 |
Node: rplay4739 |
| 167 |
Node: rptp5193 |
| 168 |
Node: xrplay5512 |
| 169 |
|
| 170 |
End Tag Table |