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

Feature Request: Integrate MIDI input with RtMidi #2

Closed
indigodarkwolf opened this issue Jul 3, 2021 · 3 comments
Closed

Feature Request: Integrate MIDI input with RtMidi #2

indigodarkwolf opened this issue Jul 3, 2021 · 3 comments

Comments

@indigodarkwolf
Copy link
Owner

It would be useful to be able to pass MIDI inputs to the sound chips, to help with authoring music for the X16. RtMidi appears to be cross-platform and light on dependencies, so it may be a good fit for use here.

https://github.com/thestk/rtmidi

@indigodarkwolf
Copy link
Owner Author

@akumanatt
I know I said I'd work on other things, but I wound up getting a start on this. At first it was just meant to be making sure RtMidi compiled in the project, since I was already partway done with that when we discussed it on Discord, but one thing led to another...

It's still in pretty rough shape, basically just a start at conveying the ideas I had. For instance, instead of listing of all the PSG channels (and other potential devices) and then trying to give an option to bind them to MIDI, maybe that should be flipped around to list all of the current MIDI devices and then offer a way to bind them to PSG channels, the YM2151, and eventually some hypothetical user expansion card or something.

Mostly I wanted to prove out that the midi input was working, and that's certainly the case.

@indigodarkwolf
Copy link
Owner Author

indigodarkwolf commented Jul 5, 2021

Also, TIL that my MIDI keyboard doesn't actually do "key off" messages -- it just sends "key on" with a velocity of 0. I wonder how common that is.

@indigodarkwolf
Copy link
Owner Author

There's room for iteration, I'm sure, but I've put a prototype of this in with f84755b. Playing with the YM through MIDI is kinda fun.

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