I'm attempting to parse an Ableton Live Project in Python to get the positions of clips in the arrangement view (as per http://crooked-hideout.blogspot.com/2012/01/ableton-live-set-is-gzipped-xml-ruby.html, Ableton Live project files are just gzipped XML).
However, clip positions are stored in beats, not seconds - and the project I'm working on is a long mix with plenty of master tempo automation, so I'm having troubles figuring out how to convert a beats position into a time position - anyone tried this before? Any genius ideas?
Thanks :)
I would say it is a matter of counting the duration of every beat until the launch of the clip.
Say we have:
The calculation would be: