If key(s) are still being pressed, a key-repeat will re-trigger
the most recently pressed note (depending on keyboard settings).
}
}
+void
+APianoKeyboard::reset ()
+{
+ sustain_release ();
+ stop_unsustained_notes ();
+}
+
void
APianoKeyboard::set_note_on (int note)
{
void set_note_on (int note);
void set_note_off (int note);
+ void reset ();
void set_grand_piano_highlight (bool enabled);
void set_annotate_layout (bool enabled);
bool
VirtualKeyboardWindow::send_panic_message (GdkEventButton*)
{
+ _piano.reset ();
uint8_t channel = PBD::atoi (_midi_channel.get_text ()) - 1;
uint8_t ev[3];
ev[0] = MIDI_CMD_CONTROL | channel;