APLAY(1) General Commands Manual APLAY(1) (NAME) aplay - ALSA (SYNOPSIS) arecord [flags] [filename] aplay [flags] [filename [filename]] ... (DESCRIPTION) arecord ALSA . . (interleaved) . aplay . (header) . . aplay . (OPTIONS) -h, --help : (syntax). --version . -l, --list-devices . -L, --list-pcms PCM . -D, --device=NAME PCM . -q --quiet (). ( :)). -t, --file-type TYPE (voc wav raw au). WAVE . -c, --channels=# . . . -f --format=FORMAT (Sample format). : S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE IEC958_SUBFRAME_LE IEC958_SUBFRAME_BE MU_LAW A_LAW IMA_ADPCM MPEG GSM SPECIAL S24_3LE S24_3BE U24_3LE U24_3BE S20_3LE S20_3BE U20_3LE U20_3BE S18_3LE S18_3BE U18_3LE . : -f cd (16 bit little endian, 44100, stereo) [-f S16_LE -c2 -r44100] -f cdr (16 bit big endian, 44100, stereo) [-f S16_BE -c2 -r44100] -f dat (16 bit little endian, 48000, stereo) [-f S16_LE -c2 -r48000] U8 . -r, --rate=# . . . . -d, --duration=# # . . / (kill) . -d -s . -s, --samples=# # PCM. . / (kill) . -d -s . -M, --mmap / (mmap) . / read/write . -N, --nonblock (non-blocking). . () . -F, --period-time=# # . . -B, --buffer-time=# # . . --period-size=# # . . --buffer-size=# # . . -A, --avail-min=# # . -R, --start-delay=# PCM # ( ). -T, --stop-delay=# PCM # xrun . -v, --verbose PCM. () . VU ( ) . -V, --vumeter=TYPE VU stereo mono . VU (interleaved) . -I, --separate-channels . --max-file-time --use-strftime SIGUSR1 . VU . -P (Playback). aplay . -C (Record). arecord . -i, --interactive stdin. / (pause/resume) (Space) Enter . -m, --chmap=ch1,ch2,... (channel map) . FL FR . aplay . aplay . --disable-resample (resample). --disable-channels . --disable-format . --disable-softvol (softvol). --test-position (ring buffer). --test-coef= . : coef * (buffer_size / 2). . --test-nowait - (CPU) . --max-file-time . : WAV. --separate-channels . --process-id-file aplay (PID) . --use-strftime %- strftime . strftime : %Y %m %d %H %M %S . %v . . --separate-channels . --dump-hw-params hw_params stderr. // . hw:X . --fatal-errors ( xrun) aplay . (SIGNALS) SIGINT SIGTERM SIGABRT . SIGUSR1 . SIGUSR1 --separate-channels . (EXAMPLES) aplay -c 1 -t raw -r 22050 -f mu_law foobar "foobar" au. Mu-Law . arecord -d 10 -f cd -t wav -D copy foobar.wav foobar.wav (wave) CD PCM "copy" ( asoundrc. ): pcm.copy { type plug slave { pcm hw } route_policy copy } arecord -t wav --max-file-time 30 mon.wav () . . mon-nn.wav nn 01 . mon-99.wav mon-100.wav . arecord -f cd -t wav --max-file-time 3600 --use-strftime %Y/%m/%d/listen-%H-%M-%v.wav . . . (SEE ALSO) alsamixer(1), amixer(1) (BUGS) aiff. . (AUTHORS) arecord aplay Jaroslav Kysela . Paul Winkler . Alsa 0.9 James Tappin . 1 January 2010 APLAY(1)