| | 2 | |
| | 3 | The 825 has an audio line out port. This is allows high quality stereo audio output. This is independent from the beeper. |
| | 4 | |
| | 5 | The command line utility aplay may be used to play wav files to the audio output, for example: |
| | 6 | (For this example audio files are placed on a flash drive in directory wav_files auto mounted as /run/media/sda1) |
| | 7 | |
| | 8 | {{{ |
| | 9 | # aplay /run/media/sda1/wav_files/BOUNCEIN.WAV |
| | 10 | Playing WAVE '/run/media/sda1/wav_files/BOUNCEIN.WAV' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono |
| | 11 | # aplay /run/media/sda1/wav_files/BOING.WAV |
| | 12 | Playing WAVE '/run/media/sda1/wav_files/BOING.WAV' : Signed 16 bit Little Endian, Rate 22025 Hz, Mono |
| | 13 | # aplay /run/media/sda1/wav_files/BOUNCE.WAV |
| | 14 | Playing WAVE '/run/media/sda1/wav_files/BOUNCE.WAV' : Signed 16 bit Little Endian, Rate 22025 Hz, Mono |
| | 15 | # aplay /run/media/sda1/wav_files/HAPPY.WAV |
| | 16 | Playing WAVE '/run/media/sda1/wav_files/HAPPY.WAV' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono |
| | 17 | # aplay /run/media/sda1/wav_files/MELT.WAV |
| | 18 | Playing WAVE '/run/media/sda1/wav_files/MELT.WAV' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono |
| | 19 | # |
| | 20 | }}} |
| | 21 | |
| | 22 | Gstreamer may be used to play an mp3 audio file: |
| | 23 | |
| | 24 | {{{ |
| | 25 | root@imx8mq-var-dart:/run/media/Data-sda1# gst-launch-1.0 playbin uri=file:///run/media/Data-sda1/sample-12s.mp3 |
| | 26 | }}} |