A small patch to get input from the keyboard without key-repeats.
-
-
Nice! here's mine. I'll have to study yours. Mine does a bit more but not very user friendly. It lets you select which keys to use for input and then lets you map the keys to midi notes. The output is a packed note velocity pair - on velocity of course set by
a numberbox, then there's outputs for keypress, keyrelease and seperate outputs for noteon and noteoff. I can think of a lot more stuff to do with this but there's other things to do.*edit new version in next post**
-
Hey
I fixed some stuff in keyboard.pd
particularly the editing of the keymap and note to key map and added a save and load feature. -
I tried this patch out on linux today and it did not work correctly till I turned key repeat off. It does work with windows with key repeat on though. How is this so?
The logic should catch the repeated keys unless Linux sends a keyup with the keydown when keyrepeat is on.