Piano: added optional velocity argument to handleKeyPress()

This commit is contained in:
Tobias Doerffel
2014-01-14 23:34:03 +01:00
parent 7dfaf2d44b
commit 8c8763721c
2 changed files with 3 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ public:
return m_pressedKeys[key];
}
void handleKeyPress( int key );
void handleKeyPress( int key, int midiVelocity = MidiMaxVelocity );
void handleKeyRelease( int key );
InstrumentTrack* instrumentTrack() const