Commit a72d950a authored by Anthony Larcher's avatar Anthony Larcher
Browse files

tunable mfcc size for xsets

parent 21d0583f
......@@ -387,6 +387,10 @@ class SideSet(Dataset):
self.transformation = ''
self.min_duration = min_duration
self.output_format = output_format
self.mfcc_nbfilter = dataset["mfcc"]["nb_filters"]
self.mfcc_nceps = dataset["mfcc"]["nb_ceps"]
self.lowfreq = dataset["mfcc"]["lowfreq"]
self.maxfreq = dataset["mfcc"]["maxfreq"]
if set_type == "train":
self.duration = dataset["train"]["duration"]
......@@ -485,7 +489,10 @@ class SideSet(Dataset):
noise=None,
snr=self.transformation["reverb_snr"]))
if 'MFCC' in t:
_transform.append(MFCC())
_transform.append(MFCC(lowfreq=self.lowfreq,
maxfreq=self.maxfreq,
nlogfilt=self.mfcc_nbfilter,
nceps=self.mfcc_nceps))
if "CMVN" in t:
_transform.append(CMVN())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment