-
Notifications
You must be signed in to change notification settings - Fork 20
Description
In some cases USB soundcards get ALSA card ID 0, which is the one we use to run JACK. This means sound is going to the wrong soundcard, or in some cases (MIDI devices without audio) JACK is unable to start.
I've been unable to reproduce this on the buildroot image, it might also not happen on the norns hardware/image itself but only when running on a regular RPi with raspbian, still gathering info.
Output on norns running the buildroot image:
# cat /proc/asound/cards
0 [sndrpimonome ]: snd_rpi_monome - snd_rpi_monome
snd_rpi_monome
1 [eX ]: USB-Audio - ESI MIDIMATE eX
Ploytec GmbH ESI MIDIMATE eX at usb-3f980000.usb-1.1, full speed
#
not sure why yet.
I guess the simplest way would be to use hw:sndrpimonome
instead of hw:0
in the JACK service https://github.com/monome/norns-image/blob/master/config/norns-jack.service#L11
Alternatively we could look into making sure monome-snd always gets ID 0. The advantage to this would be that there would be no need to change any config in case the norns stack is used with a different setup/board which uses a different soundcard. The OS would just need to be configured correctly to ensure the desired soundcard is at ID 0.