Skip to content

Commit

Permalink
to be consistent with other similar functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin84 committed Mar 26, 2024
1 parent df3d361 commit 082cedf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions meta/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,14 +323,15 @@ def mfcc_features(self, corpus: str, num_deriv: int = 2, num_features: int = 33,
self.add_derivatives(corpus, "mfcc", num_deriv, num_features)
self.add_derivatives(corpus, "uncached_mfcc", num_deriv, num_features)

def fb_features(self, corpus: str, **kwargs):
def fb_features(self, corpus: str, prefix: str = "", **kwargs):
"""
:param corpus:
:param kwargs:
:param prefix:
:return:
"""
self.jobs[corpus]["fb_features"] = f = features.FilterbankJob(self.crp[corpus], **kwargs)
f.add_alias("%s_fb_features" % corpus)
f.add_alias("%s%s_fb_features" % (prefix, corpus))
self.feature_caches[corpus]["fb"] = f.out_feature_path["fb"]
self.feature_bundles[corpus]["fb"] = f.out_feature_bundle["fb"]

Expand Down

0 comments on commit 082cedf

Please sign in to comment.