Skip to content

Document InputEventMIDI and add some missing 0xF MIDI messages#56295

Merged
akien-mga merged 1 commit intogodotengine:masterfrom
aaronfranke:doc-midi
Jan 4, 2022
Merged

Document InputEventMIDI and add some missing 0xF MIDI messages#56295
akien-mga merged 1 commit intogodotengine:masterfrom
aaronfranke:doc-midi

Conversation

@aaronfranke
Copy link
Copy Markdown
Member

@aaronfranke aaronfranke commented Dec 28, 2021

This PR documents the InputEventMIDI class. Fixes godotengine/godot-docs#3992

The documentation is based on a combination of my research online and with testing on a Yamaha MX88 piano. I also created this demo for an example of how to use MIDI in Godot: godotengine/godot-demo-projects#674

This PR also adds some missing enum members for some of the possible MIDI messages.

Copy link
Copy Markdown
Member

@mhilbrunner mhilbrunner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved in PR meeting, 2 more missing constants need to be amended with a note that their associated data can't be retrieved/used currently

Copy link
Copy Markdown
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, if we can receive these messages it makes sense to have constants (and docs!) for them. As discussed in PR meeting, apparently there's two more that we can receive but not handle well, it could still make sense to expose them and document the fact that we don't support them.

@akien-mga akien-mga merged commit 9a1f244 into godotengine:master Jan 4, 2022
@akien-mga
Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

InputEventMIDI descriptions are lacking

3 participants