I have difficulties interpreting the SMPTE Offset Meta Event in Standard MIDI Files. Citing:
FF 54 05 hr mn se fr ff SMPTE Offset
[...] the hour must be encoded with the SMPTE format, just as it is in MIDI Time Code. [...]
Various sources on the internet contradict themselves on what that means. I have seen these interpretations:
- hr = hhhhhhhh, number 0-23, fr = FPS (e.g. here) - I don't believe that's correct
- hr = sshhhhhh, ss = FPS, not mentioning syntax of hours (eg. here), but 6 bits would make sense for binary coded decimals which are mentioned for SMPTE on Wikipedia or e.g. here.
- hr = 0yyzzzzz, yy = FPS, zz number 0-23. (e.g. here)
Could anyone please clarify the format of hr byte in this event?