According to the --help screen I should be able to set a template for a new
session:
$ ardour5 --help
[…]
Options:
[…]
-N, --new session-name Create a new session from the command line
[…]
-T, --template Use given template for new session
[…]
I have a template in:
$ ls .config/ardour5/templates/twe-template/twe-template.template
.config/ardour5/templates/twe-template/twe-template.template
and I’ve tried to launch a new session with that template:
$ ardour5 --new test --template twe-template
[…]
ERROR: Could not open session template /home/user/.config/ardour5/templates/twe-template.template/twe-template.template.template for reading
[…]
As the above path does not match the one that is on disk, clearly I am missing
something.
Can anyone point me in the right direction for what to use on the commandline
to create a new recording session with a predefined template?
Thanks for the git refs to try. They seem to work.
One note about creating a session from a template:
I have the window mixer shown in my template (and saved to disk that way), but when I create a new session based on that template (with the CLI), the mixer is hidden. Is that by design?
Then again, a new session should pick up the most recently used UI settings and window positions.
They’re saved as part of a session instant.xml and globally in ~/.config/ardour5/instant.xml for new sessions. There should be a section in that file. For a detached window it’ll look like: