commit c73a9b389edc899ebc1d320391a005791b914e9c
parent 38f5b4fee10f9ddb57b95e5c4f9c14390774dcc9
Author: Hans Petter Selasky <[email protected]>
Date: Fri, 3 Apr 2020 14:53:02 +0200
Use correct value when setting up tracking field in ModFilter::updateNoteFreq().
Signed-off-by: Hans Petter Selasky <[email protected]>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Synth/ModFilter.cpp b/src/Synth/ModFilter.cpp
@@ -98,7 +98,7 @@ void ModFilter::update(float relfreq, float relq)
void ModFilter::updateNoteFreq(float noteFreq_)
{
noteFreq = noteFreq_;
- tracking = pars.getfreqtracking(noteFreq);
+ tracking = pars.getfreqtracking(noteFreq_);
}
void ModFilter::updateSense(float velocity, uint8_t scale,