aplay

aplay is a command-line audio file player for the ALSA sound card driver. It supports several file formats and multiple sound cards with multiple devices. For supported soundfile formats, the sampling rate, bit depth, and so forth can be automatically determined from the soundfile header.

Example

aplay -c 1 -t raw -r 22050 -f mu_law foobar

Will play the raw file "foobar" as a 22050-Hz, mono, 8-bit, mu-law .au file.

gollark: Do you understand the idea of "internal consistency" and "lunar railguns standing by".
gollark: Ugh, I WILL deploy orbital bee lasers against you.
gollark: Unfortunately, I only play 22.7% of 10.3% of 0.4% of the time.
gollark: Can you try the GTech™ gravitic facility?
gollark: Troubling. What happened to the GTech™ GPlanets™?

aplay(1): Sound recorder/player for ALSA  Linux User Commands Manual


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.