Please, develop a meta-plugin to be used by macros, that can also store edit-based macros, i.e. that have been customized to do some work that is particular to the current mix, referencing to certain distinct tracks etc.
I would call it MacroTron
It should follow the technical principles of the "text" stock plugin. The text is stored in the edit XML.
Features:
* the MacroTron should have its own little object model. This has the main purpose, that it can store permanent macro data in the edit.
So, we can assign a js variable value to a MacroTron object, and it will be saved as if it were some plugin eq parameter. A numbered parameter array or a named collection would do.
When we run a macro, it can use data that is particular to the current edit.
* instead of memo texts, MacroTron can save a bunch of macro scripts, as well as respective help texts, and somehow communicate with the UI to quickly click those macros, and show the help when hovering before click. The UI can also edit those plugin parameters that are actually macro permanent data, with knob controls and text edit controls.
* the MacroTron plugin sits in a track, and the user who does program a macro for it, can use the track reference (that exists in the object model), or not use it, and just have the track be some home of some metaplugin without further direct connection.
* with the preset mechanism, we can proliferate a particular complex MacroTron that we had put together, to other projects and edits.
(I am optimistic that a big part of this task can be done with reusing good code that already exists.)
