esdcat [-s hostname:port] ["-n" name] [-b] [-h] [-m] [-r freq] < file
The esdcat application pipes data from stdin to the sound device, using the Enlightened Sound Daemon (esd).
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.
-r freq Specify that the output rate should be set to freq. By default, the output rate is set to 44.1 kHz.
Example 1: Playing a sound file "beep" from stdin
example% esdcat < beep
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure