| 1 |
.TH RPLAY 1 6/29/98 |
| 2 |
.SH NAME |
| 3 |
rplay \- play, pause, continue, and stop sounds |
| 4 |
.SH SYNOPSIS |
| 5 |
.B rplay [options] [sound ...] |
| 6 |
.SH DESCRIPTION |
| 7 |
rplay is client that communicates with rplayd to play, pause, |
| 8 |
continue, and stop sounds using both the RPLAY and RPTP protocols. |
| 9 |
Sound files can be played by rplayd directly if available on the local |
| 10 |
system or sounds can be sent over the network using UDP or TCP/IP. |
| 11 |
rplay will attempt to determine whether or not the server has the |
| 12 |
sound before using the network. |
| 13 |
.SH OPTIONS |
| 14 |
.TP |
| 15 |
.I "\-b BYTES, \-\-buffer\-size=BYTES" |
| 16 |
Use of a buffer size of BYTES when playing sounds using RPTP flows. |
| 17 |
The default is 8K. |
| 18 |
.TP |
| 19 |
.I "\-c, \-\-continue" |
| 20 |
Continue sounds. |
| 21 |
.TP |
| 22 |
.I "\-n N, \-\-count=N" |
| 23 |
Number of times to play the sound, default = 1. |
| 24 |
.TP |
| 25 |
.I "\-N N, \-\-list\-count=N" |
| 26 |
Number of times to play all the sounds, default = 1. |
| 27 |
.TP |
| 28 |
.I "\-\-list\-name=NAME" |
| 29 |
Name this list NAME. rplayd appends sounds with the same |
| 30 |
NAME into the same sound list -- it plays them sequentially. |
| 31 |
.TP |
| 32 |
.I "\-\-help" |
| 33 |
Display helpful information. |
| 34 |
.TP |
| 35 |
.I "\-h HOST, \-\-host=HOST, \-\-hosts=HOST" |
| 36 |
Specify the rplay host, default = localhost. |
| 37 |
.TP |
| 38 |
.I "\-i INFO, \-\-info=INFO" |
| 39 |
Audio information for a sound file. This option is intended |
| 40 |
to be used when sounds are read from standard input. |
| 41 |
INFO must be of the form: |
| 42 |
`format,sample-rate,bits,channels,byte-order,offset' |
| 43 |
Examples: ulaw,8000,8,1,big-endian,0 |
| 44 |
gsm,8000 |
| 45 |
Shorthand info is provided for Sun's audio devices using the |
| •46 |
following options: \-\-info\-amd, \-\-info\-dbri, \-\-info\-cs4231. |
| 47 |
There's also: \-\-info\-ulaw and \-\-info\-gsm. |
| 48 |
.TP |
| 49 |
.I "\-p, \-\-pause" |
| 50 |
Pause sounds. |
| 51 |
.TP |
| 52 |
.I "\-\-port=PORT" |
| 53 |
Use PORT instead of the default RPLAY/UDP or RPTP/TCP port. |
| 54 |
.TP |
| 55 |
.I "\-P N, \-\-priority=N" |
| 56 |
Play sounds at priority N (0 <= N <= 255), default = 0. |
| 57 |
.TP |
| 58 |
.I "\-r, \-\-random" |
| 59 |
Randomly choose one of the given sounds. |
| 60 |
.TP |
| 61 |
.I "\-\-reset" |
| 62 |
Tell the server to reset itself. |
| 63 |
.TP |
| 64 |
.I "\-\-rplay, \-\-RPLAY" |
| 65 |
Force the use of the RPLAY protocol. |
| 66 |
The default protocol to be used is determined by checking whether or not |
| 67 |
the server has local access to the specified sounds. RPLAY is used when |
| 68 |
sounds are accessible, otherwise RPTP and possibly flows are used. |
| 69 |
RPLAY will also be used when sound accessibility cannot be determined. |
| 70 |
.TP |
| 71 |
.I "\-\-rptp, \-\-RPTP" |
| 72 |
Force the use of the RPTP protocol. |
| •73 |
See `\-\-rplay' for more information about protocols. |
| 74 |
.TP |
| 75 |
.I "\-R N, \-\-sample\-rate=N" |
| 76 |
Play sounds at sample rate N, default = 0. |
| 77 |
.TP |
| 78 |
.I "\-s, \-\-stop" |
| 79 |
Stop sounds. |
| 80 |
.TP |
| 81 |
.I "\-\-version" |
| 82 |
Print the rplay version and exit. |
| 83 |
.TP |
| 84 |
.I "\-v N, \-\-volume=N" |
| 85 |
Play sounds at volume N (0 <= N <= 255), default = 127. |
| 86 |
.SH SEE ALSO |
| 87 |
.IR rplayd (8), |
| 88 |
.IR rptp (1) |
| 89 |
|
| 90 |
|