Virtual-Keyboard significant overhaul:

Multimedia / Ardour - Robin Gareus [gareus.org] - 21 October 2019 03:42 EDT

- fix key-range off-by-one 0..127
- allow to shift octave
- allow to configure note range
- highlight grand-piano range and keyboard-shortcut range
- proper piano layout (black key offsets)
- add support for DVORAK keyboard layout

(still incomplete: settings are not yet saved/restored, _piano_key_velocity should become a HSliderController, ...)

b523583bb4 Virtual-Keyboard significant overhaul:
gtk2_ardour/gtk_pianokeyboard.c | 372 ++++++++++++++++++++++++++-------
gtk2_ardour/gtk_pianokeyboard.h | 14 +-
gtk2_ardour/virtual_keyboard_window.cc | 103 +++++++--
gtk2_ardour/virtual_keyboard_window.h | 9 +
4 files changed, 400 insertions(+), 98 deletions(-)

  • Share