|
Post by mms on Apr 14, 2021 14:12:06 GMT
Yes, very confusing indeed!
At least for now I understand where and how Tempo Changes work.
In my sequencer project, I can now properly deal with these on a basic level.
The problem now is when playing back a MIDI file, my elapsed time indicator and playback indicator bar do not function properly, as these were updated with time (milliseconds), that are obtained through the Microsoft MCI API that I use.
For sequences that have only one Tempo, all works well, but for multi Tempo sequences, not so well.
It appears that for these multi Tempo sequences, time is not stored in milliseconds, but in Song Pointer units, which is units of sixteenth notes. From what I understand, these are used to better sync master and slave devices, and for multi Tempo sequences.
I can see no way to convert these Song Position units to milliseconds (or at least no easy way).
If you can shed any more light on this subject (Song Pointer units), it would be appreciated.
|
|
|
Post by JohnG on Apr 17, 2021 8:53:20 GMT
Hmmm! Not an area that I'm very knowledgeable about, I'm afraid. You may get more help from the MMA, where I'm also a moderator. Try this thread and have a look around the information in the forum to see if there's anything that resolves your issue. Hope that's of some help? Kind regards, JohnG.
|
|
|
Post by mms on Apr 21, 2021 11:40:00 GMT
Thanks John,
I've collected all the pieces to this "puzzle", and now just have to put them together. I'm confident that I will be able to finish this.
I was going to put this off to a later time, but since this is all fresh in my mind I will continue.
Thanks for all the help.
|
|
|
Post by JohnG on Apr 21, 2021 13:43:41 GMT
Good luck with the project.
Meanwhile, I've decided to return to converting all the help files for SOL2 to English and to put them in the public domain.
That, in itself, is tedious rather than difficult, with Google translate doing quite a good job these days from Japanese to English. The trouble is that many of the diagrams or screenshots have Kanji text, so need to be redone. Some of the modules of SOL have not been changed to English so I'm having to use Resource Hacker to change things too. All these extras make the task quite time consuming, but ... it gives me something to do that should prove worthwhile for those interested in using SOL.
All the best, JohnG.
|
|
|
Post by mms on Apr 26, 2021 11:57:48 GMT
All Tempo Change and Time Reporting successfully implemented over the weekend!
Thank you once again, for all your help.
|
|
|
Post by JohnG on Apr 27, 2021 8:40:17 GMT
My pleasure. Glad to be of some help. All the best, JohnG.
|
|