From 0de8c05f0041c8beb23a3ad326bbd8ed419114cd Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sat, 9 May 2026 08:30:12 +0200 Subject: [PATCH] fixed behavior whenn unison and humanize is set over midi --- src/plug/JaySynthAudioProcessorEditor.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/plug/JaySynthAudioProcessorEditor.cpp b/src/plug/JaySynthAudioProcessorEditor.cpp index 0ca47da..499d074 100644 --- a/src/plug/JaySynthAudioProcessorEditor.cpp +++ b/src/plug/JaySynthAudioProcessorEditor.cpp @@ -5366,6 +5366,16 @@ void JaySynthAudioProcessorEditor::paramUpdate(int paramID, bool doHostUpdate) if (pButton) { pButton->setToggleState(getProcessor()->getParameter(paramID) > 0.5, juce::NotificationType::dontSendNotification); + + if (pButton == m_button_humanize_enable) + { + getProcessor()->humanizeModeChanged(); + } + else if (pButton == m_button_unisono_enable) + { + getProcessor()->unisonoModeChanged(); + } + } }