CALF/Monosynth: only set frequency-related values in params_changed if note is played.
This commit is contained in:
committed by
Tobias Doerffel
parent
2721fbae95
commit
bd84a2ee64
@@ -722,7 +722,8 @@ void monosynth_audio_module::params_changed()
|
||||
xfade = *params[par_oscmix];
|
||||
legato = dsp::fastf2i_drm(*params[par_legato]);
|
||||
master.set_inertia(*params[par_master]);
|
||||
set_frequency();
|
||||
if (running)
|
||||
set_frequency();
|
||||
if (wave1 != prev_wave1 || wave2 != prev_wave2)
|
||||
lookup_waveforms();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user