mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 15:15:41 +01:00
add velocity item to MIDI track automation menu
This commit is contained in:
parent
1d117aa372
commit
6cb4d01f1f
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue