Change default sound card: Raspberry pi

Hi Folks

I have a pisound soundhat that sits on top of the raspberry pi 3 i have and i want to have Sonic-pi play through it. Is there a file i can edit that will select that.

it’s already the default soundcard in the system and i’ve made it the default also with the Alsamixer

Thanks for the help!

Patrick

Hi there,

on the Raspberry Pi, Sonic Pi uses jack to determine which sound card is used. If you’re not using the built-in audio or the HDMI out, the easiest thing to do is to use qjackctl to choose the correct settings and start jack before launching Sonic Pi, then once everything is working (and you’ve started a jack audio server) boot Sonic Pi.

Information about qjackctl can be found here:

https://qjackctl.sourceforge.io