summaryrefslogtreecommitdiff
path: root/libs/ardour/automatable.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-08-18 12:35:15 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-08-19 08:32:44 -0400
commit26f1578568f8b81c9c6e9abf5d0a1f4c478f6118 (patch)
tree84997da6958926468362fdcfa730d1d84e46dc4f /libs/ardour/automatable.cc
parentd6691a80e97ba6edf0d324f24a64cae581575a95 (diff)
MIDI polyphonic pressure, part 2
Diffstat (limited to 'libs/ardour/automatable.cc')
-rw-r--r--libs/ardour/automatable.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc
index 10d2565c90..040dbefedc 100644
--- a/libs/ardour/automatable.cc
+++ b/libs/ardour/automatable.cc
@@ -186,6 +186,8 @@ Automatable::describe_parameter (Evoral::Parameter param)
return string_compose("Bender [%1]", int(param.channel()) + 1);
} else if (param.type() == MidiChannelPressureAutomation) {
return string_compose("Pressure [%1]", int(param.channel()) + 1);
+ } else if (param.type() == MidiNotePressureAutomation) {
+ return string_compose("PolyPressure [%1]", int(param.channel()) + 1);
#ifdef LV2_SUPPORT
} else if (param.type() == PluginPropertyAutomation) {
return string_compose("Property %1", URIMap::instance().id_to_uri(param.id()));