Linux Version
(I have an idea for an Ardour feature request on how this could benefit Ardour itself but for now will just focus on the some desired features for this plugin)
Being that this will be a Lua plugin it can be edited, so I was wondering if someone could provide maybe more of a template. I do not know Lua language but as long as the structure is there I could hopefully just copy entries and edit them.
This Lua template would be a MIDI CC plugin, so it will be added before instrument/generator plugins allowing control over the MIDI CC parameters they allow for. I imagine a similar plugin like this already exists somewhere, if anyone knows of any that maybe could be modified?
Note:
Before getting into this, this “template” I am looking for only makes sense if the Lua code required is easy to understand / edit by someone who does not know Lua. If this is not possible then probably no need for a template because I will not be able to modify it
BASIC TEMPLATE
Would basically be laid out how most generic GUI plugins display in Ardour
“MIDI CC”-------------------------------------------------------------
name label | horizontal fader
name label | horizontal fader (value set at 63) (50%)
name label | on/off button (value 0 / 127)
name label | horizontal fader
Not Important
The group header label at the top that Ardour provides, not sure if this could be edited easily?
Ardour usually uses “Controls”, I put “MIDI CC”.
When I looked into some Lua scripts and did a keyword search for “Controls” this does not show up because it must be in a different location because it is common text used in all Ardour plugins.
Not sure if this could be added/edited in this Lua plugin itself.
For CC values that function as an on/off I would like to be able to change them to a button rather than a fader. If someone could provide a couple of each (faders / buttons) just to generate a kind of list that could be edited.
Again I am hoping that the coding is something that can be understood in order to edit by someone who does not know Lua.
Here are a couple of parameter examples I have found in other Lua scripts
{ ["type"] = "input", name = "Gain", min = -20, max = 20, default = 0, unit="dB"},
{ ["type"] = "input", name = "High Pass Cut off frequency", min = 5, max = 20000, default = 100, unit="Hz", logarithmic = true },
This kind of code I can basically understand most of it and how it can be edited.
I do not have an example of this, but the only thing that would concern me is linking parameters like these to the actual MIDI CC values. The hope is that it can just be done simply by typing in the CC number (0-127) desired to link to the parameter. Not sure how complex this part would be.
This “Basic” template would provide what I am looking for, but if anyone is feeling extra helpful, I have provided all kinds of Bonus options below if interested.
In general all this can help get an idea of how Lua works / works within Ardour itself.
Thank You