I’m writing a tool to scan through a song and look for interesting (to me) information.
I’m particularly trying to locate cruft: Sequencer tracks with no notes, unused send tracks, inactive devices, muted/off tracks.
These are among the things that sometimes accumulate in a song over time.
So far things have been going pretty well, but I’ve run into a problem when a send device is automated.
Typically I can iterate over the devices on a track, see if any are Send devices, and if so query the Receiver parameter to get the number of the send device.
I tried my code on a song that used Send device automation and it fell apart. The Receiver parameter returned a value of something like 6.00055. Which doesn’t even make sense to me.
What’s a good way to extract the details of an automated device parameter? Does my code have to walk each line in each pattern track and check some value?