From 6cb4d01f1f72f90f182e34a0b18576e0a7effaf0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 18 Dec 2022 15:47:14 -0700 Subject: [PATCH] add velocity item to MIDI track automation menu --- gtk2_ardour/midi_time_axis.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc index 5f75adc4c5..86d50ac4ce 100644 --- a/gtk2_ardour/midi_time_axis.cc +++ b/gtk2_ardour/midi_time_axis.cc @@ -725,13 +725,16 @@ MidiTimeAxisView::build_automation_action_menu (bool for_selection) automation_items.push_back (SeparatorElem()); - /* these 2 MIDI "command" types are semantically more like automation + /* these 3 MIDI "command" types are semantically more like automation * than note data, but they are not MIDI controllers. We give them * special status in this menu, since they will not show up in the * controller list and anyone who actually knows something about MIDI * (!) would not expect to find them there. */ + add_channel_command_menu_item (automation_items, _("Velocity"), MidiVelocityAutomation, 0); + automation_items.back().set_sensitive (!for_selection || _editor.get_selection().tracks.size() == 1); + add_channel_command_menu_item (automation_items, _("Bender"), MidiPitchBenderAutomation, 0); automation_items.back().set_sensitive (!for_selection || _editor.get_selection().tracks.size() == 1);