Iʻm writing software that will be a visual aid to following along with printed music. Iʻve scored the music in Finale and have rendered the score to pdf files. Iʻve also produced recordings of the music corresponding to the scores. I want to overlaying animation of a cursor on top of the image that follows along with the recording. I have achieved all but the last little challenge. I can get the animated cursor to start when the music starts playing, and it scrolls smoothly across the score and arrives at the end of the piece when the music ends. What I havenʻt figured out yet is how to synchronize the cursor with intermediate points along the printed score: not all measures are the same width, so each measure covers the same amount of time, they cover diferent widths on the page.
Using animation key frames in HTML I can tell the cursor where to go and it can be variable, so for instance when 10% ov the songs playing has passed I can have the cursor be 15% across the printed page, then at 20% time I could have the cursor be at 25% across the page.
I suppose inside the data structure of Finaleʻs code there is knowledge about the music spacing and where the measure bar lines are in space. Iʻd love to get my hands on that data, then I could construct key frames from it.
If I had to do this for only one score I could do it by hand with a ruler and a calculator. However, I have 1200 image files, some are two measures long, some are five, and they all have different content so the measures are different size in each.
Any ideas for how to know algorithmically where the bar lines are on a score? Is there a report or an export or a script or a debug file or something?
MacOS 13.1, Finale 220.127.116.11