Browse Source

Expand usable MIDI keyboard keys a little

tags/1.9.8
falkTX 6 years ago
parent
commit
f77eb63c13
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      source/widgets/pixmapkeyboard.py

+ 6
- 0
source/widgets/pixmapkeyboard.py View File

@@ -91,6 +91,12 @@ kMidiKeyboard2KeyMap = {
'%i' % Qt.Key_Y: 69,
'%i' % Qt.Key_7: 70,
'%i' % Qt.Key_U: 71,
# 5th octave
'%i' % Qt.Key_I: 72,
'%i' % Qt.Key_9: 73,
'%i' % Qt.Key_O: 74,
'%i' % Qt.Key_0: 75,
'%i' % Qt.Key_P: 76,
}

kBlackNotes = (1, 3, 6, 8, 10)


Loading…
Cancel
Save