Before I roll my own, I was wondering if there is code that detects whether the edit contains automation data?
I can scan through the edit data easily enough, but it occurred to me that maybe there was already a built-in function for this. But, I have not found it.
Thanks in advance.
No, but you could use
getAllAutomatableEditItems as a starting point and just check
isAutomationNeeded() on the results?
By the way…
getAllAutomatableEditItems actually be
isAutomationNeeded() should be
isAutomationNeeded are kind of shortcuts as rather than iterating all the parameters they get just the
Modifiers etc.) and return if any of their parameters have automation.