fixed behavior whenn unison and humanize is set over midi
This commit is contained in:
@@ -5366,6 +5366,16 @@ void JaySynthAudioProcessorEditor::paramUpdate(int paramID, bool doHostUpdate)
|
|||||||
if (pButton)
|
if (pButton)
|
||||||
{
|
{
|
||||||
pButton->setToggleState(getProcessor()->getParameter(paramID) > 0.5, juce::NotificationType::dontSendNotification);
|
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();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user