Closed enajski closed 6 years ago
Very good question - personally I don't know the answer to this. I only ever tend to use Sonic Pi as the sole app on my RP and I use an audio card HAT rather than a USB device.
If you could have a dig around to see if you can find out what's up then let me know. If not, I'll try and look at it after v2.10
has been released.
Thanks Sam,
I'll post here if I find anything.
jackd blocks the audio device it is using. If you want multiple programs to connect to your audio device, they all have to use a jackd audio driver.
Closing this for now.
Hey,
I noticed that when running Sonic Pi on a Raspberry Pi 3 with a USB sound card the audio device is unavailable to other programs in ALSA:
Before opening Sonic Pi:
With Sonic Pi started:
Notice
Subdevices: 0/1
. I'd like to use darkice to stream the audio to an Icecast2 server but the USB audio device is not available to darkice. As a sidenote: I plugged the output of the card back into the input using a cable, setting up streaming of the input seems a far less painful endeavour then trying to stream the mixed output.I have my USB sound card set as the default in
~/.asoundrc
:Is there any way to configure Sonic Pi so that it does not lock the audio device? Or is this just because of JACK / USB audio on Linux in general?
Thanks, Wojtek