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

MidiCommon: merge SYSTEM_EXCLUSIVE into SYSEX #1775

Merged

Conversation

theGreatWhiteShark
Copy link
Contributor

After reading into both MIDI specs and doc as well as PortMidi API doc I came to the conclusion that the separate handling (and mere existence) of SYSTEM_EXCLUSIVE and SYSEX MIDI type must have been an accident.

This fix should enable MMC MIDI control using PortMidi (I have no hardware to test this).

Fixes #1773

After reading into both MIDI specs and doc as well as PortMidi api doc I came to the conclusion that the separate handling (and mere existance) of `SYSTEM_EXCLUSIVE` and `SYSEX` MIDI type must have been an accident.

This fix should enable MMC MIDI control using PortMidi (I have no hardware to test this).

Fixes hydrogen-music#1773
@theGreatWhiteShark theGreatWhiteShark merged commit e04794a into hydrogen-music:master May 18, 2023
@theGreatWhiteShark theGreatWhiteShark deleted the phil-fix-1773 branch May 18, 2023 11:29
@theGreatWhiteShark
Copy link
Contributor Author

Note: this does not enable MMC message handling in PortMidi yet. Collecting the data corresponding to a SysEx message is not implemented yet. (Probably that's why SYSTEM_EXCLUSIVE was introduced to distinct them from SYSEX ones in macOS and Linux, which are handled properly. The reason implementation was skipped is most likely because it is not straight-forward as the data has to be collected from multiple PmEvents with arbitrary amounts of Real-Time MIDI messages being mixed into it.)

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.

Sysex MIDI messages in PortMidi
1 participant