And have it load the session, all plugins, all soundfont files, and play it back, either without a GUI at all (preferred) or with the GUI, but autoplaying.
Possible? Google revealed some effort towards this (https://github.com/Ardour/ardour/tree/master/headless) but my system (Ubuntu (vanilla) 18.04) with Ardour 5 has nothing Ardour-related for “headless” and the latest github is Ardour 6 (alpha) right?
In any case, what’s the status of headless playback?
Not headless, but auto-playback on load could be triggered using a Lua Script:
Save the following to ~/.config/ardour5/scripts/play_on_load.lua and load the script in Edit > Lua Scripts > Script-manager > Action Hook (in 5.12 this needs to be done per session)
ardour {
["type"] = "EditorHook",
name = "Rewind and Roll on Load",
author = "Ardour Lua Task Force"
}
function signals ()
return LuaSignal.Set():add ({[LuaSignal.SetSession] = true})
end
function factory () return function (signal, ...)
Session:request_locate(0, true)
end end