--- gigedit/trunk/src/plugin/linuxsamplerplugin.cpp 2008/02/04 00:38:08 1663 +++ gigedit/trunk/src/plugin/linuxsamplerplugin.cpp 2008/02/04 00:40:03 1664 @@ -127,9 +127,9 @@ if (!NotesChanged()) return true; for (int iKey = 0; iKey < 128; iKey++) if (NoteChanged(iKey)) - NoteIsActive(iKey) ? // we don't care about velocity yet - app->on_note_on_event(iKey, 127) : - app->on_note_off_event(iKey, 127); + NoteIsActive(iKey) ? + app->on_note_on_event(iKey, NoteOnVelocity(iKey)) : + app->on_note_off_event(iKey, NoteOffVelocity(iKey)); return true; }