diff --git a/libs/ardour/ardour/triggerbox.h b/libs/ardour/ardour/triggerbox.h index 861bc57fcc..6e9520b88e 100644 --- a/libs/ardour/ardour/triggerbox.h +++ b/libs/ardour/ardour/triggerbox.h @@ -587,6 +587,9 @@ namespace Properties { LIBARDOUR_API extern PBD::PropertyDescriptor launch_style; LIBARDOUR_API extern PBD::PropertyDescriptor follow_action0; LIBARDOUR_API extern PBD::PropertyDescriptor follow_action1; + LIBARDOUR_API extern PBD::PropertyDescriptor follow_count; + LIBARDOUR_API extern PBD::PropertyDescriptor velocity_effect; + LIBARDOUR_API extern PBD::PropertyDescriptor gain; } diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index e31561c86f..22f8b0aadb 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -50,6 +50,9 @@ namespace ARDOUR { PBD::PropertyDescriptor launch_style; PBD::PropertyDescriptor follow_action0; PBD::PropertyDescriptor follow_action1; + PBD::PropertyDescriptor follow_count; + PBD::PropertyDescriptor velocity_effect; + PBD::PropertyDescriptor gain; } } @@ -122,18 +125,21 @@ void Trigger::set_gain (gain_t g) { _pending_gain = g; + PropertyChanged (Properties::gain); } void Trigger::set_midi_velocity_effect (float mve) { _midi_velocity_effect = std::min (1.f, std::max (0.f, mve)); + PropertyChanged (Properties::velocity_effect); } void Trigger::set_follow_count (uint32_t n) { _follow_count = n; + PropertyChanged (Properties::follow_count); } void