keunwoochoi / torchaudio-contrib

A test bed for updates and new features | pytorch/audio
169 stars 22 forks source link

update to mel_filter creation #56

Closed keunwoochoi closed 5 years ago

keunwoochoi commented 5 years ago

Add _hertz_to_mel(hz, htk) and _mel_to_hertz(mel, htk). Use them in the create_mel_filter() and Melspectrogram layer.

keunwoochoi commented 5 years ago

@ksanjeevan Hey, this doesn't change any micro implementation but more like a structural change. Could you have a look?

ksanjeevan commented 5 years ago

Makes sense and looks good, 👍!

keunwoochoi commented 5 years ago

Thanks! Merging it.