Skip to content

Commit

Permalink
CALF/Monosynth: only set frequency-related values in params_changed i…
Browse files Browse the repository at this point in the history
…f note is played.
  • Loading branch information
kfoltman authored and tobydox committed Jun 6, 2011
1 parent 2721fba commit bd84a2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/ladspa_effect/calf/src/monosynth.cpp
Expand Up @@ -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();
}
Expand Down

0 comments on commit bd84a2e

Please sign in to comment.