From 0d3c43d237fb283ec156b074300ea576ad13d9cf Mon Sep 17 00:00:00 2001 From: Johannes Lorenz <1042576+JohannesLorenz@users.noreply.github.com> Date: Sun, 28 Jul 2024 15:54:17 +0200 Subject: [PATCH] Fixup of #7381 (#7401) Fixup of commit 9c0fc8fc6994b87ece6e706104877b715966af9b --- plugins/ZynAddSubFx/ZynAddSubFx.cpp | 5 +++++ plugins/ZynAddSubFx/zynaddsubfx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/ZynAddSubFx/ZynAddSubFx.cpp b/plugins/ZynAddSubFx/ZynAddSubFx.cpp index 77b242199..51610d877 100644 --- a/plugins/ZynAddSubFx/ZynAddSubFx.cpp +++ b/plugins/ZynAddSubFx/ZynAddSubFx.cpp @@ -142,6 +142,11 @@ ZynAddSubFxInstrument::ZynAddSubFxInstrument( connect( instrumentTrack()->pitchRangeModel(), SIGNAL( dataChanged() ), this, SLOT( updatePitchRange() ), Qt::DirectConnection ); + + // ZynAddSubFX's internal value that LMMS's FREQ knob controls + // isn't set properly when the instrument is first loaded in, + // and doesn't update until the FREQ knob is moved + updateFilterFreq(); } diff --git a/plugins/ZynAddSubFx/zynaddsubfx b/plugins/ZynAddSubFx/zynaddsubfx index 9499523f7..d958c3668 160000 --- a/plugins/ZynAddSubFx/zynaddsubfx +++ b/plugins/ZynAddSubFx/zynaddsubfx @@ -1 +1 @@ -Subproject commit 9499523f70322b6034673566898300e7543fdf3e +Subproject commit d958c3668cc163805d581e97eb4d742168b6aad9