Audio using aplay and amixer from vscode terminal

Hi all,
I currently want to use audio interference on Toorizon, however when I use ALSA utilities such as aplay or amixer from the vscode terminal I get command not found. How would I install/enable these ALSA untilities to test them on the vscode terminal. Thank you.
image

Hi @A_M ,

TorizonCore itself doesn’t have the ALSA utilities installed by default as it was designed to run applications in containers, so you won’t be able to run any ALSA related commands directly on the terminal using our TorizonCore releases. The first article you’ve linked shows how to handle audio in our BSP reference images, not TorizonCore.

What we recommend instead is creating a Docker image with alsa-utils or libasound2 and then run the image on TorizonCore, which can be done like shown in the second article you’ve linked (How to play audio on TorizonCore using Alsa and C/C++ | Toradex Developer Center).

Let me know if this helps you.

Best regards,
Lucas Akira

Thank you, Lucas.