How can I stop making pipewire behave weirdly?

Hello there. I wonder if I can please get some help here as I am so frustrated with it all.
The problem:
When connecting a USB-MIDI keyboard to the computer and opening up qjackctl and QSynth, the latter receives MIDI just perfectly fine with the green indicator blinking every time a note is pressed on the MIDI keyboard and it should be playing the audio through the speakers. But even after opening the graph editor in qjackctl and connecting the audio from QSynth to the main audio output of my computer nothing happens. I have found that for some weird reason I have to open the PulseAudio menu for the audio to suddenly then come through and work just fine. And as soon as PulseAudio menu is launched is like all the notes I played suddenly play at once for a split second and then die off allowing me to play more notes just fine. But even then, often when I close the PulseAudio window the connection obviously disappears from the qjackctl graph and the audio may still work or may stop working again until I relaunch PulseAudio menu window. It is so weird and super annoying and after having a look online I can’t believe that wireplumber has ABSOLUTELY NO GUI app whatsoever to easily manage configurations for inputs and outputs for static configurations, for applications to just work when launched like in my case of QSynth. Why on Earth do I have to be a software developer having to deal with stupid lua scripts for me to just be able to configure audio streams on my computer I mean seriously? I know audio on Linux has historically been such a mess but pipewire is supposed to simplify and streamline all that, not make it even more of a nightmare and I am really at a loss. This issue is so annoying to me. I didn’t used to have it before even with pipewire. It used to just work but then maybe an update to pipewire/wireplumber changed stuff and now it’s giving this weird issue.
I just want to be able to plug in my USB-MIDI keyboard, launch QSynth and being able to play AND hear the audio coming through the speakers, with everything automatically setup at launch in terms of the connections of the MIDI and Audio streams…
Hope some of you will be able to help me out a bit, and sorry for a bit of frustration but been trying to look it up for days really with absolutely no luck and I am afraid of dealing with lua scripts as I remember the last time I tried I ended up in making a rather hell of a mess with my audio because of it even when following proper guides.
Thanks.

Don’t use qjackctl, it’s not for pipewire. qpwgraph is made by the same creator as a replacement for the qjacktctl graph. Try that and see if you still have the problem.

I remember having tried qpgraph but wasn’t making things any better. Mind you, that might have been because I was also using it with qjackctl at the same time, so might have been conflicting a bit. Will give it another go after uninstalling qjackctl and let you know. Thank you for your suggestion by the way.

Ok, so managed to fix the issue. It wasn’t quite due to qjackctl or qpwgraph. When looking I side of qpwgraph I noticed that the synth node had the jack logo whereas my audio output had the Pipe wire logo. So I checked the QSynth settings and the audio driver was set to ‘jack’. Changed it to ‘Pulseaudio’, restarted the engine and it worked straight away with no issues. It also works if I set the audio driver to ‘alsa’. Thank you very much for your input anyway.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.