Hey everyone,
i’m a little stuck here. I had a script that disconnects the audio inputs and then connects to a specific input. This worked in windows until Ardour 8 (didn’t check windows Ardour 9). Now on Ardour 9 and Linux (pipewire) the disconnect works but the connect fails.
I did the research in the available Lua scripts but it seems i’m missing something. Any help appreciated.
code snippet from the script:
inputchannel = "system_capture_2"
sel = Editor:get_selection ()
for route in sel.tracks:routelist ():iter () do
local current_port = route:input():audio(0)
current_port:disconnect_all()
current_port:connect(inputchannel)
end