esdcat(1) User Commands esdcat(1)NAMEesdcat - play a sound file
SYNOPSISesdcat [-s hostname:port] [-b] [-h] [-m] [-n filename] [-r freq] [file‐
name]
DESCRIPTION
The esdcat application pipes data from the filename specified (or stdin
if not specified) to the sound device, using the Enlightened Sound Dae‐
mon (esd).
OPTIONS
The following options are supported:
-s hostname:port Contact the esd server on hostname at port.
-b Specify that the output should be in 8-bit for‐
mat. By default, the output is in 16-bit for‐
mat.
-h Display help text, and exit.
-m Specify that the output should be in mono for‐
mat. By default, the output is in stereo for‐
mat.
-n filename Specify the filename of the input file. If the
filename is specified both as an operand and
with the -n option, then the value specified
with the -n option is ignored. If no filename
is specified with the command, then stdin is
used.
-r freq Specify that the output rate should be set to
freq. By default, the output rate is set to
44.1 kHz.
OPERANDS
The following operands are supported:
filename Specify the filename of the input file. If no
filename is specified with the command, then
stdin is used.
EXAMPLES
Example 1: Playing a sound file "beep" from stdin
example% esdcat < beep
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/esdcat Executable for Enlightened Sound Daemon sound
piper
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │gnome/gnome-audio │
├─────────────────────────────┼─────────────────────────────┤
│Interface stability │Volatile │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOesdplay(1), esdrec(1), esdsample(1), esdmon(1), esdctl(1), esd-con‐
fig(1), libesd(3), attributes(5)NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003, 2006.
SunOS 5.11 7 Jan 2003 esdcat(1)