Flatpak and Headphones

Hello there,

I think this issue maybe doesn’t belong strictly to Sonic Pi, but I need to ask about anyway. I’m trying to figure how to set the audio output to the headphones instead of speakers.

I’m using Linux, and a Flatpak version of Sonic Pi (4.6.0). The audio is running well but through the speakers instead of headphones (cable, mini-jack connected headphones). Pipewire + pulse + Jack work fine with the headphones for the rest of the apps in the system (Firefox + Internet audio, other apps outputting audio, etc).

I was considering that maybe has something to do with SuperCollider’s configuration, because if I leave SC on defaults, this is what I see on the log:

default-audio

But if I try to set the audio card at “audio-settings.toml”, then SC does not output any sound at all. If anyone has fight on a similar scenario, any help is more than welcome :slight_smile:

Thanks in advance, Ibon.

It would be helpful to know exactly what settings you tried in that file :slightly_smiling_face: (and also what the Sonic Pi logs output when you do) - although it’s probably preferred that you raise an issue on GitHub to continue this…

Thanks Ethan because in fact, looking to already opened issues I’ve found this from 2024:

The issuer mentions this helpful tool GitHub - rncbc/qpwgraph: qpwgraph - A PipeWire Graph Qt GUI Interface that I’ve tried, and has solved the issue: thanks to the tool I can “disconnect” the SuperColliders default output device (speakers) and connect it to my preferred one (the headphones).
I have added a comment on the Github issue with a little screenshot of what I see on it.

I can workaround this matter using that tool, but it would be great to know how to finally solve it without using such an external tool. I’m willing to help on this if you agree :slight_smile: