-
Notifications
You must be signed in to change notification settings - Fork 784
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
Add MIDI compatibilty (usb) #2322
Conversation
I have a midi keyboard but no midi cord to connect it to the computer. I will need to find or buy one. I can't wait to test. |
map midi input data to the keys on virtual MusicKeyboard . handles cblk2 is null error decrement function will work even when cblk2 : null
If anyone wants to try this feature , I used a midi simulator on my android for testing . All you need to remember is to change your usb connection setting to Midi ( mtp is default usually). |
https://play.google.com/store/apps/details?id=com.dreamhoundstudios.keyboard&hl=en_US |
Is there a reference for how to do this? |
sorry if I wasn't clear earlier ,
this pic might help : |
allow solfege and sharps/flats in midi.
Ok, so both my phone and the tablet I have are too old to have this MIDI functionality. I was going to say the following, but I got JACK to work! I will leave the part with my bug report below just in case it shows up for anyone else. Successful file: If anyone can figure out what I did right in a reproducible way it may be helpful for further testing.
|
We may need a message to the user after they click the button that notifies them that MB is now listening for midi input. Also, do they need to press it every time or is this just to get the browser to ask for MIDI permissions? |
We would need to press it everytime there are new additions/deletions in pitches inside the keyboard. |
better handling of midi access
I have added some confirmation messages . Could you please test for those bugs again |
I am no longer able to reproduce the bug from before--even if I try initiating the midi listener in MB before starting Jack and Jack keyboard. One thing, however, is I do not hear any playback--neither when I am playing the JACK keyboard, nor when I reset the playback button in the widget. When I export, I can hear the sound, so I know it is not a deeper issue than just the widget itself. |
I have jack installed but how to I connect it to MB? |
I used
(and dependencies) I start by running QJackCtl first, then start Jack Keyboard. In Jack Keyboard, for "Connect to" I choose "System MIDI 1". There may be some configurations I made in QJackCtl that are set properly (but unsure). My .xml config file for QJackCtl is:
|
I am using the web Midi api available on https://www.w3.org/TR/webmidi/
to communicate with a physical midi keyboard ,
I have added a button(MIDI) in the music Keyboard widget , (to be pressed once connected with keyboard ) ,I would like to add a svg for this button also .
Currently this works with alphabet pitches (only FLATS ) u can use this keyboard for testing -
midi (1).zip