Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support librosa.filters.mel() #37

Merged
merged 1 commit into from
Jan 12, 2024
Merged

Support librosa.filters.mel() #37

merged 1 commit into from
Jan 12, 2024

Conversation

csukuangfj
Copy link
Owner

Many frameworks/models are using librosa.filters.mel(), for instance,

  • whisper
  • speaker verification models from NeMo

This PR supports replacing filter bank coefficients from Kaldi with librosa.filters.mel().

You need to set

mel_opts.is_librosa = True
mel_opts.low_freq = 0

to match the parameters from
https://librosa.org/doc/main/generated/librosa.filters.mel.html#librosa.filters.mel

@csukuangfj csukuangfj merged commit 8142b24 into master Jan 12, 2024
6 of 7 checks passed
@csukuangfj csukuangfj deleted the librosa-mel-bank branch January 12, 2024 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant