aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-05-29 20:30:33 +0200
committerDavid Runge <dave@sleepmap.de>2016-05-29 20:30:33 +0200
commit71246e184f4d4f6962556b15ed132f6edc2c6c7d (patch)
tree291d2b183c94a65f4bf18447efaf9e7d7bae3698
parentb0bb16fd10d5e2a3b751cda88eed8211b8ef510b (diff)
downloadbowelyzer-71246e184f4d4f6962556b15ed132f6edc2c6c7d.tar.gz
bowelyzer-71246e184f4d4f6962556b15ed132f6edc2c6c7d.tar.bz2
bowelyzer-71246e184f4d4f6962556b15ed132f6edc2c6c7d.tar.xz
bowelyzer-71246e184f4d4f6962556b15ed132f6edc2c6c7d.zip
BowelyzerConfig.sc: Fixing typo and calling validateConfig twice.
-rw-r--r--BowelyzerConfig.sc6
1 files changed, 3 insertions, 3 deletions
diff --git a/BowelyzerConfig.sc b/BowelyzerConfig.sc
index 9686c17..4af229d 100644
--- a/BowelyzerConfig.sc
+++ b/BowelyzerConfig.sc
@@ -68,7 +68,7 @@ BowelyzerConfig{
createDefaultConfig{
defaultControls = Dictionary.with(*[
"amplitudeAttackTime" -> 0.01,
- "amplitudejReleaseTime" -> 0.1,
+ "amplitudeReleaseTime" -> 0.1,
"hfHainsworth" -> 1.0,
"hfFoote" -> 0.0,
"hfThreshold" -> 0.3,
@@ -115,7 +115,7 @@ BowelyzerConfig{
config.put(key,value);
});
});
- this.validateConfig;
+ this.validateConfig;
}{
("Failed parsing the file: "++configFile).error;
("Make sure its JSON syntax is valid!").error;
@@ -123,7 +123,6 @@ BowelyzerConfig{
}, {
error("File not readable:"++configFile.asString);
});
- this.validateConfig;
}
//check common mistakes in configuration and try fixing them
@@ -226,4 +225,5 @@ BowelyzerConfig{
};
}
+
}