Fixed config file

This commit is contained in:
2016-05-10 12:51:10 +01:00
parent 0d24941643
commit 134bb93128
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -78,6 +78,8 @@ class AudioFile(object):
# TODO: If a name isn't provided then create a default name based on
# the file name without an extension
self.name = name
if not self.name:
self.name = os.path.basename(os.path.splitext(self.filepath)[0])
self.mode = mode
self.samplerate = samplerate
self.format = format
+1 -1
View File
@@ -57,7 +57,7 @@ matcher_weightings = {
"zerox" : 1.,
"rms" : 0.1,
"peak": 0.1,
"centroid": 0.5.,
"centroid": 0.5,
"kurtosis": 2.,
"skewness": 2.,
"variance": 0.,