Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Reader is parsing Midi Events F1-F6, and F8-FE #15

Open
dalewking opened this issue Sep 17, 2019 · 0 comments
Open

File Reader is parsing Midi Events F1-F6, and F8-FE #15

dalewking opened this issue Sep 17, 2019 · 0 comments

Comments

@dalewking
Copy link

dalewking commented Sep 17, 2019

Looking through the code I see this comment which is basically asking how do you handle this in a running status case.

The answer is you don't because none of the messages in the F1-F6 and F8-FE range are actually allowed in a midi file and make no sense to have in a file.

See the spec here. You will see that only channel events (80-EF), sysex events (F0, F7) and meta events (FF) are allowed in a file and running status only applies to channel events.

This document even makes it more explicit:

Note that the status bytes associated with System Common messages (0xF1 to 0xF6 inclusive) and System Real Time messages (0xF8 to 0xFE inclusive) are not valid within a MIDI file. Generally none of these messages are relevant within a MIDI file, though for the rare occasion when you do need to include one, it should be embedded within a SysEx escape sequence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant