To avoid needing to watch the whole thing from beginning, I am using SeekMusic to jump to a certain location in the Music, and then timing is based upon using: GetAttribute(#MUSIC, 5, #ATTRPOSITION)
I have only one SeekMusic in the whole program, and it is like this:
Code: Select all
SeekMusic(5, 225000)Sometimes (very rare) it also seems to affect the GetAttribute command, since somehow while the music goes at normal speed, animation seems to slow down to half or something, which I suspect is that when using GetAttribute #MUSIC #ATTRPOSITION, it somehow moves the position index slower than it should.
And this behavior is not affected by changes in code, since sometimes, even without changing anything in the code, it one time works right, next time not.
I would say this problem occurs about once every 5-10 times.
Program is large, so it could be that something is colliding somewhere somehow, as in, something else causes this command to bug.
Just letting you know about this in case you take a look at the command. The problem is minor, so just reporting about it.
Windows 11, Hollywood 11.