From d42202dfcaddb6dd56f30f925260febd4bbc294a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 5 Jan 2017 09:56:45 +0000 Subject: [PATCH] variation of a PR from ngeiwei that adds MIDI channel info to controller names --- libs/ardour/instrument_info.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/instrument_info.cc b/libs/ardour/instrument_info.cc index 09fef4f482..1ea0fd5ce3 100644 --- a/libs/ardour/instrument_info.cc +++ b/libs/ardour/instrument_info.cc @@ -153,7 +153,7 @@ InstrumentInfo::get_controller_name (Evoral::Parameter param) const boost::shared_ptr c = control_names->control(param.id()); if (c) { - return c->name(); + return string_compose(c->name() + " [%1]", int(param.channel()) + 1); } return "";