Debian Codegraph @

doc/rplay.texi

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