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

Additional Meta Events that Contain Text #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

eugeneolsen
Copy link

Recommended Practice 19 (RP-019) adds two Meta Events to the MIDI Standard:

Program Name 0xFF08, len, text
Device Name 0xFF09, len, text

See: MIDI Association: SMF Device Name and Program Name Meta Events

These Meta Events were accepted by the MIDI Manufacturers Association (MMA) on 10 April 1998 and by the Association of Musical Electronics Industry (AMEI) on 7 May 1999 and have thus become part of the Standard MIDI File specification.

I deal with MIDI files that contain these Meta Events. I would like cxxmidi to handle these events more seamlessly.

This Pull Request adds these two Meta Events to the MetaType enum in the Message class.

In addition, this PR updates the Message::ContainsText() method to include these and all other Meta Events that include text, such as Message::MetaType::kMarker and Message::MetaType::kCuePoint.

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

Successfully merging this pull request may close these issues.

1 participant