BalenaSound USB Sound card

Hello. I would like to use an external USB sound card as audio output. How can I do that?

Please check this thread Help with balena-sound and usb sound card configuration and this github issue https://github.com/balena-io-projects/balena-sound/issues/9

You need to create an /etc/asound.conf configuration file.

How can I do that?

https://github.com/balena-io-projects/balena-sound/issues/9 should explain all the steps to create the file. The relevant part would be:

In the meantime, I created an /etc/asound.conf like you mentioned and just added the lines below, substituting "card 1" with the number you want listed via aplay -l.

Create the file with nano /etc/asound.conf or whatever text editor you like, and add the block below. Restart and the chosen card will be selected in alsamixer.

pcm.!default {
    type hw
    card 1
}

ctl.!default {
    type hw           
    card 1
}
This worked fine for me, though if you want to switch between cards when you have multiple connected you'll need to switch the number manually.

Let me know if you run into any issues with these steps

Where should I enter the command?
EDIT: I found it and it works perfect

I posted this as an issue on github. The response was great. I posted a more step by step approach on how to configure this on github. The least I can do to repay a very supportive community.