I just started looking into this today and saw your revived thread. I don't blame them for not supporting messing with the XML files. That being said, it looks to me like the time code is based on midi beats, and it comes out to 960 per beat. (Midi time codes are 24 pulses per beat, and 960 is 40 x 24, if that is significant). It also makes sense that it is based on beats because the punch-in and punch-out values on the Edit screen are always full four-beat measures.
Note that if the punch-in value is 27:1, for example, then the timestamp is for 26 full four-beat measures: 26 measures x 4 beats each = 104 beats; 104 beats x 960 = 99840, which matches my time code. The same formula works for my other punch in locations, too. Working the other way, dividing the time code by 960 gives you the beats: 99840 / 960 = 104 beats. 104 beats / 4 beats per measure = 26 measures.
I hope this helps. Good luck.
Note that if the punch-in value is 27:1, for example, then the timestamp is for 26 full four-beat measures: 26 measures x 4 beats each = 104 beats; 104 beats x 960 = 99840, which matches my time code. The same formula works for my other punch in locations, too. Working the other way, dividing the time code by 960 gives you the beats: 99840 / 960 = 104 beats. 104 beats / 4 beats per measure = 26 measures.
I hope this helps. Good luck.
Comment