15 Apr
2009
15 Apr
'09
7:02 a.m.
I want to be able to play from the typing keyboard - the idea is that a note of specific frequency should be sounded as long as the key is held down. (Typically in an generalized diatonic key layout.) The function KBHit.getchar() does not seem to be the right thing, because it just gives a value when the key is depressed, not when it is released, and further, does not disable "key repeat". In addition, it would be better to get the key numbers, not the text key map translated values which may change (and not work one special key combinations). So can this playing functionality be achieved somehow? Hans Aberg