Ensure JACK uses the monome-snd soundcard even when USB devices are plugged in #78
Comments
|
Reposting this from the lines thread. (and adding more details as reference material) I was able to "fix" the load order with the following: create or edit then add
Further testing just now - this "reordering" seems to happen on a base install of Buster with only my soundcard setup - in my case this is the WM8731 codec on the Fates DIY board. I observe the problem plugging in A Waldorf Blofeld and a Teensy midi device and rebooting.
According to this archilinux/ALSA doc, This looked promising:
But... the devices are still ordered dynamically, so the primary sound card can change card positions. So using Found a decent ALSA reference that mentions the "slots" here
|
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:
not sure why yet.
I guess the simplest way would be to use
hw:sndrpimonomeinstead ofhw:0in the JACK service https://github.com/monome/norns-image/blob/master/config/norns-jack.service#L11Alternatively 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.
The text was updated successfully, but these errors were encountered: