From ea837f8d1eea42f722f115d1f30989e8b013b602 Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 10 Jul 2022 16:14:52 -0400 Subject: [PATCH] Send Automation events Always (#6341) A particular subset of discrete params would end up not generating automation events - sort of a hodge podge. This is older code but we should still send the event. Without this change things like envelope type (digital/analog) didnt toggle values in the bitwig param browser and weren't clickable in cubase 12. Closes #6284 --- src/surge-xt/gui/SurgeGUIEditorValueCallbacks.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/surge-xt/gui/SurgeGUIEditorValueCallbacks.cpp b/src/surge-xt/gui/SurgeGUIEditorValueCallbacks.cpp index 80106cb416c..a62c6bdbe45 100644 --- a/src/surge-xt/gui/SurgeGUIEditorValueCallbacks.cpp +++ b/src/surge-xt/gui/SurgeGUIEditorValueCallbacks.cpp @@ -3497,6 +3497,7 @@ void SurgeGUIEditor::valueChanged(Surge::GUI::IComponentTagValue *control) if (synth->setParameter01(ptagid, val, false, force_integer)) { + synth->sendParameterAutomation(ptagid, synth->getParameter01(ptagid)); queue_refresh = true; return; }