From a14bcc455b0c471258bd0c98dabd2f863495eaf8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 6 Dec 2021 09:26:18 -0700 Subject: [PATCH] triggerbox: more properties for Triggers --- libs/ardour/ardour/triggerbox.h | 3 ++- libs/ardour/triggerbox.cc | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libs/ardour/ardour/triggerbox.h b/libs/ardour/ardour/triggerbox.h index 0a78b6e4ba..72ded02052 100644 --- a/libs/ardour/ardour/triggerbox.h +++ b/libs/ardour/ardour/triggerbox.h @@ -587,11 +587,12 @@ namespace Properties { LIBARDOUR_API extern PBD::PropertyDescriptor running; LIBARDOUR_API extern PBD::PropertyDescriptor passthru; LIBARDOUR_API extern PBD::PropertyDescriptor legato; - LIBARDOUR_API extern PBD::PropertyDescriptor quantization; + LIBARDOUR_API extern PBD::PropertyDescriptor quantization; 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 follow_action_probability; LIBARDOUR_API extern PBD::PropertyDescriptor velocity_effect; LIBARDOUR_API extern PBD::PropertyDescriptor gain; LIBARDOUR_API extern PBD::PropertyDescriptor currently_playing; diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index a9a68ca9bb..9d6ef7267e 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -46,7 +46,8 @@ namespace ARDOUR { PBD::PropertyDescriptor running; PBD::PropertyDescriptor passthru; PBD::PropertyDescriptor legato; - PBD::PropertyDescriptor quantization; + PBD::PropertyDescriptor quantized; + PBD::PropertyDescriptor quantization; PBD::PropertyDescriptor launch_style; PBD::PropertyDescriptor follow_action0; PBD::PropertyDescriptor follow_action1; @@ -229,6 +230,7 @@ Trigger::set_follow_action_probability (int n) n = std::max (0, n); _follow_action_probability = n; + PropertyChanged (Properties::follow_action_probability); } void