summaryrefslogtreecommitdiff
path: root/synth/load.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'synth/load.cpp')
-rw-r--r--synth/load.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/synth/load.cpp b/synth/load.cpp
index d88ec3e..9b80106 100644
--- a/synth/load.cpp
+++ b/synth/load.cpp
@@ -176,6 +176,13 @@ void read_config(const char *cfg, bool complain=true)
else
output_verbose("NOTE: ignoring value for filter_update_freq, another setting overrides this.");
}
+ else if ((var=="envelope_update_freq") || (var=="env_update_freq"))
+ {
+ if (envelope_update_freq_hz==0)
+ envelope_update_freq_hz=valf;
+ else
+ output_verbose("NOTE: ignoring value for envelope_update_freq, another setting overrides this.");
+ }
else
output_warning("WARNING: unknown variable '"+var+"'. ignoring it...");
}