Waveform Macros – Question – Tracktion Forum

Does anyone know how to get the BPM of a project programmatically using macros? It would be nice if there were a list of valid Tracktion Waveform object names somewhere. I tried something like this to see if I could get a list of project properties but “project” isn’t a valid object.

var projprops=project.getPropertyNames();

I was hoping BPM was one of the project properties returned but I can’t even get the property list because “project” isn’t a valid object.
At the end of the day, I just want to get the BPM into a variable. Anyone know how to do this? (and as a bonus answer, if you know where I can find a list of valid Waveform objects to use in macros, that would be helpful!).

Thanks.

Read more here: Source link