I tried to replace my setup with pipewire, but I ran in an issue where I need configurable autoconnect.
First, let me shortly explain my current setup:
I have jack2 running and pulse audio.
Pulse audio has different jack sinks, music, video, vocal, browser....
In pulse apps, like discord, I can select the output. For example, discord uses vocal, firefox uses browser, music player uses music...
I have ardour running, and ardour has pulse source and sink connected all the time.
Now, with pipewire (not pulse or jack running, 100% pipewire), I was unable to replicate this setup.
For example, deadbeef, my music player, is absent in the graph when not playing. When I hit play, it appears in the graph and is automatically connected to my sound card. But I'd like it to be connected to the Ardour "music" bus. Once it is playing, I can connect it to Ardour and remove the other connection, but as soon as I hit stop and play again, the former connection (to soundcard) is restored.
As a side issue, ardour crashes when I manipulate the connection from catia. (it does not with regular jack)
This is what my current graph looks like: