#include "ardour/plugin_insert.h"
#include "ardour/record_enable_control.h"
#include "ardour/session.h"
+#ifdef LV2_SUPPORT
#include "ardour/uri_map.h"
+#endif
#include "ardour/value_as_string.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace std;
using namespace ARDOUR;
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()));
if (param.type() == NullAutomation) {
warning << "Automation has null type" << endl;
continue;
- }
+ }
+
+ if (_can_automate_list.find (param) == _can_automate_list.end ()) {
+ warning << "Ignored automation data for non-automatable parameter" << endl;
+ continue;
+ }
if (!id_prop) {
warning << "AutomationList node without automation-id property, "