automation
-
- KVRist
- 385 posts since 7 May, 2009
is there no shortcuts to show/hide automation?
-
- KVRist
- Topic Starter
- 385 posts since 7 May, 2009
any tips on making a macro?
-
- KVRian
- 524 posts since 16 Mar, 2017
Good catch, but the Waveform macro API is so fragmented that just about anything interesting I might want to do with it proves to be either a major hassle or even impossible to do in a reasonable way because of how many holes there are in the functionality, so it barely even exists from my perspective.
There is indeed a macro command to rotate which automation parameter is shown on a specified track (changeActiveAutomationParameter) and another (hideAutomationOnTracks) which hides the automation on a set of specified tracks.
If you were to specify all tracks with hideAutomationOnTracks then you would presumably get the "hide" functionality.
The problem is in the "show" functionality. Waveform doesn't appear to remember which parameter was being shown on a given track, so the macro may not have any way to know which parameter to display for each track if you are trying to show the automation again (or whether or not to display any parameter there for that matter).
I am not seeing an option to detect which one is currently set for a track either, so I don't see any way that a macro could record that before hiding them in order to restore it later.
On top of this, there does not appear to be a mechanism for determining whether or not automation data exists on a given parameter (or even anywhere on a given track) so even if you assumed there was only one parameter automated there doesn't appear to be a way to detect which one that is in order to go to some arbitrary parameter on which data exists when trying to "show" the automation.
There is indeed a macro command to rotate which automation parameter is shown on a specified track (changeActiveAutomationParameter) and another (hideAutomationOnTracks) which hides the automation on a set of specified tracks.
If you were to specify all tracks with hideAutomationOnTracks then you would presumably get the "hide" functionality.
The problem is in the "show" functionality. Waveform doesn't appear to remember which parameter was being shown on a given track, so the macro may not have any way to know which parameter to display for each track if you are trying to show the automation again (or whether or not to display any parameter there for that matter).
I am not seeing an option to detect which one is currently set for a track either, so I don't see any way that a macro could record that before hiding them in order to restore it later.
On top of this, there does not appear to be a mechanism for determining whether or not automation data exists on a given parameter (or even anywhere on a given track) so even if you assumed there was only one parameter automated there doesn't appear to be a way to detect which one that is in order to go to some arbitrary parameter on which data exists when trying to "show" the automation.
