Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

OpenSolaris 2009.06 - man page for esdcat (opensolaris section 1)

esdcat(1)							   User Commands							 esdcat(1)

NAME
esdcat - play a sound file
SYNOPSIS
esdcat [-s hostname:port] [-b] [-h] [-m] [-n filename] [-r freq] [filename]
DESCRIPTION
The esdcat application pipes data from the filename specified (or stdin if not specified) to the sound device, using the Enlightened Sound Daemon (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 format. By default, the output is in 16-bit format. -h Display help text, and exit. -m Specify that the output should be in mono format. By default, the output is in stereo format. -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 |SUNWgnome-audio | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+
SEE ALSO
esdplay(1), esdrec(1), esdsample(1), esdmon(1), esdctl(1), esd-config(1), libesd(3), attributes(5)
NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003, 2006. SunOS 5.11 7 Jan 2003 esdcat(1)