Debian Codegraph @

doc/rplay.texi

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