Co robi APLAY użycie. Konsola Play sound files using the ALSA sound system. The related arecord.

Czy przydatne?

Polecenie aplay

Wykonanie, użycie: Play sound files using the ALSA sound system. The related arecord records sound files

Opcje wykonania aplay w konsoli

-h

Print help message, then exit.

--version

Print version and quit.

-l,--list-devices

List available sound cards and digital audio devices.

-L,--list-pcms

List all PCM (pulse-coded modulation, or digital audio) devices that have been defined. PCMs may be defined in the .asoundrc file.

-D,--device=devicename

Select a PCM device by name.

-q

Do not display messages.

-t,--file-type=type

Name the file type used. Files may be voc, wav, raw, or au.

-c,--channels=n

Use n channels: 1 for mono, 2 for stereo.

-f,--format=format

Specify the sample format. The sample formats available will depend on hardware. For CD and DAT output, use the cd and dat shortcuts, which set the sample rate, format, and channel numbers all at once.

-r,--rate=n

Set the sample rate in Hertz.

-d,--duration=n

Set an interrupt for n seconds after playback begins.

-s,--sleep-min=n

Przykłady aplay działanie w Słownik polecenie A