I’ll take the lack of response to mean it’s not possible. Fair enough. I have two more Lua questions which I’ll add here because I’m not sure which is the worse behaviour: creating/spamming multiple topics or adding questions to an existing topic that are not related to its title.
The question in the first post.
It is possible to get/set plugin parameter values via the get/set_plugin_insert_param() functions, and the set of those parameters seems to be the same set shown by the “Edit with generic controls” action in the mixer, all of which are numerical.
Is it possible, and if so: how, to get/set the ones not in that “edit” list. E.g. The currently selected “bank” (name?) of a Dragonfly Reverb, such as “Large Dark Hall”.
Is it possible to select a track/route via Lua? Documentation suggests that it is but I’m getting a Fatal Error when I do this…
local r = Session:route_by_name(“Audio 1”) - - the route to select
local rtav = Editort:rtav_from_route(r) - - get its RouteTimeAxisView
local sl = ArdourUI.SelectionList()
Result is a Fatal Error saying “programming error: unknown selectable type passed to Selection:add()”. According to the manual’s Lua class reference, RouteTimeAxisView is a RouteUI which is a Selectable which is what set_selection() requires. So this error was unexpected. Am I doing something wrong?
This is in Mixbus32c, if that’s relevant.
P.S. Thank you devs for the Lua interface. I’m very much enjoying this ability to script behaviour. Thumbs up. And thanks again for Ardour/Mixbus while I’m at it.