Open saturnation opened 5 years ago
I can confirm, I have this issue on Linux as well. And since I can't seem to find a way to change the default ALSA capture device, it means I can't use an external mic. :(
Is this a known limitation?
@ibz As a potential workaround, if you start a JACK server with QJackCtl instead of letting Sonic Pi start one itself you can select different default input/output devices under Setup (button on main QJackCtl window) -> Settings (tab at top) -> Advanced (tab under presets). I think both devices will need to support common sample rates, but if so that might let you use a different capture device with sound_in
It is likely QJackCtl was already installed when you installed Sonic Pi, but if not it should be available to install from your distro's repository
@lilyinstarlight indeed, I did that and it works! Thanks!
So basically Sonic Pi uses whatever the system provides as default. And in the case of Linux, it is JACK rather than ALSA that sits directly under Sonic Pi.
Now, it would be of course nice if it was possible to select inputs/outputs in Sonic Pi directly, but that's another story.
@ibz we're hopefully adding that in the not too distant future 🙂
I'm using a RockSmith real tone cable to connect my midi synth to my computer and using Sonic Pi to send midi events to the synth.
If the RockSmith cable is not set as the default mic then I sound_in's input parameter can't 'find' the input. It only seems to be able to find whatever mic is default. So when it's not default, input 1 and 2 pick up the left and right channel of the built in mic. 3, 4 and 5 don't pick up anything. But when it is default then 1 picks it up, but 2 or 3 can't find the mic.
scsynth log when RockSmith is set as default
and when not default