I recently switched to using Pipewire as my audio driver, and in my studio setup, I’m connecting the Ardour MIDI clock out to different pieces of gear via both USB-MIDI and the MIDI out on my audio interface. I create these connections via the interface in Ardour itself.
When I load up my saved Ardour session after a restart, the connection to the MIDI out on the interface is connected, but the connections to the USB-MIDI are not.
Is there any way I can make these connections persist so that I won’t have to reconnect them every time I reopen the session?
The devices show up with some pretty unfriendly names, perhaps that is why Ardour do not recognize them?
$ dpkg -l '*jack*' | grep ii
ii libjack-jackd2-0:amd64 1.9.21~dfsg-3 amd64 JACK Audio Connection Kit (libraries)
ii libjack-jackd2-0:i386 1.9.21~dfsg-3 i386 JACK Audio Connection Kit (libraries)
ii libjack-jackd2-dev:amd64 1.9.21~dfsg-3 amd64 JACK Audio Connection Kit (development files)
ii pipewire-jack:amd64 1.0.0-1 amd64 PipeWire JACK plugin
I start Ardour using the pw-jack command, if that is relevant…
No, that’s (possibly) a misunderstanding. You need JACK If you want to route audio/MIDI between apps. You don’t need JACK if you were only using it to be able to share the audio interface.
Yes, that’s right, I didn’t need JACK in order to route Ardour other apps, but it was a quality-of-life thing about not having to start and stop backends whenever I was context switching between PulseAudio/JACK/ALSA apps.
It turns out I switching to ALSA didn’t solve the problem after all. But I’ve been able to figure out what triggers the issue:
Whenever I load a project with the audio buffer size set to a different size than what it was when I saved the project, some connections are dropped. Not only MIDI connections, but sometimes also audio connections as well, such as the inputs from my audio interface to my audio input tracks.
I don’t usually mess around with the buffer size that much, but I’ve been experimenting with it since switching to Pipewire. So it’s not really a big issue, but rather a nuisance.