Bugfix: A key volume of zero means key off.
git-svn-id: svn://svn.code.sf.net/p/jack-keyboard/code/trunk@14 1fa2bf75-7d80-4145-9e94-f9b4e25a1cb2
This commit is contained in:
parent
da394afa28
commit
7ce94fc841
4
NEWS
4
NEWS
@ -1,3 +1,7 @@
|
||||
User-visible changes between 2.5 and 2.6 include:
|
||||
|
||||
- Bugfix: A key volume of zero means key off.
|
||||
|
||||
User-visible changes between 2.4 and 2.5 include:
|
||||
|
||||
- Autotools. This should make life easier for distributors. ;-)
|
||||
|
@ -209,6 +209,9 @@ process_received_message_async(gpointer evp)
|
||||
}
|
||||
|
||||
if (ev->data[0] == MIDI_NOTE_ON) {
|
||||
if (ev->data[2] == 0)
|
||||
piano_keyboard_set_note_off(keyboard, ev->data[1]);
|
||||
else
|
||||
piano_keyboard_set_note_on(keyboard, ev->data[1]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user