selected Stripables now have a counter to indicate the order they were selected in
[ardour.git] / libs / ardour / parameter_descriptor.cc
index bf0c9b7af153fc18c79c90371a1135100e7c7a3f..660abbc6161b801c20ef954fddf7dc4125761744 100644 (file)
@@ -96,6 +96,7 @@ ParameterDescriptor::ParameterDescriptor(const Evoral::Parameter& parameter)
        case MidiCCAutomation:
        case MidiPgmChangeAutomation:
        case MidiChannelPressureAutomation:
+       case MidiNotePressureAutomation:
                lower  = 0.0;
                normal = 0.0;
                upper  = 127.0;
@@ -191,7 +192,7 @@ ParameterDescriptor::update_steps()
 std::string
 ParameterDescriptor::midi_note_name (const uint8_t b)
 {
-       char buf[8];
+       char buf[16];
        if (b > 127) {
                snprintf(buf, sizeof(buf), "%d", b);
                return buf;