esdsample
esdsample
The esdsample command is used to play a sample file using the Enlightened Sound Daemon (ESD). ESD is a sound server that can be used to play sound files on Linux and Unix-like systems.
For example, to play the sample file sample.wav at 44100 Hz and 16 bits per sample, you would use the following command:
esdsample -f wav -r 44100 -b 16 sample.wav
To play the standard input at 22050 Hz and 8 bits per sample, you would use the following command:
esdsample -f raw -r 22050 -b 8
help
esdsample [options] [file]
Play a sample file using the Enlightened Sound Daemon (ESD).
Options:
-f, --format=FORMAT Set the format of the sample file.
-r, --rate=RATE Set the sample rate.
-b, --bits=BITS Set the bits per sample.
-l, --loop=COUNT Set the loop count.
-h, --help Show this help message.
Plays the specified sample file using ESD. If no file is specified, the standard input is used.
breakdown
Last updated