Hi Team, I too am looking at improving my workflow by using a Stream Deck to automate repetitive tasks.
For things like the following, I’m thinking lua would be the solution as I don’t think osc would allow it.
adding a new track based on a template
inserting a particular plugin on the selected track with predetermined presets
I’m familiar with lua scripting in Ardour by now, have used the embedded editor and made a few helper functions.
But if I want to interact with Ardour from another program, I guess I have to use the ardour6-lua command-line tool, right ?
However it doesn’t seem to behave like the built-in editor as if I type something as simple as Session:goto_start() I get an error
Error: [string “Session:goto_start()”]:1: attempt to index a nil value (global ‘Session’)
Can you point me in the right direction to get started with the CLI tool ?
Well, reading a little more I’m strating to realize the the ardour6-lua is not intended to interact with a session that’s already running and was started the “normal” way …
I also found that OSC does have LuaAction/script-# actions that could be leveraged … that would at least enable support for 32 of such custom automations; I think I could live with that