QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: MasterGy on February 15, 2021, 05:23:09 pm
-
Hello ! I want to make a piano program that uses the windows midi. Programming midi used to take a lot of time to become usable with qb64, but it finally works and I understand. Now, however, I get stuck wanting a keyboard wizard in the program. Everyone can calibrate their own keyboard for the piano. But here I get into total chaos. Try it. Shift, ctrl, stick. Still, what should I measure? I also tried it with Qb 1.5, unfortunately the same problem. What do I need to read to find out what button is pressed? No shift, ctrl, I just want a simple assignment. I can't assign it to _keydown because it's chaotic.
-
_KEYHIT, instead of _KEYDOWN
-
Wouldn't _keydown help with holding a note for awhile?
demo: your bottom row of letters on keyboard are now notes on piano abcdefgA, A an octave higher than a
Each sec records a hole for your piano player tape