auraloss icon indicating copy to clipboard operation
auraloss copied to clipboard

Librosa warning when using MelSTFTLoss

Open csteinmetz1 opened this issue 2 years ago • 1 comments

We get the following warning due to changes in the librosa interface. Should be easy to address.

env/lib/python3.7/site-packages/auraloss/freq.py:138: FutureWarning: Pass sr=44100, n_fft=1024 as keyword args. From version 0.10 passing these as positional arguments will result in an error

csteinmetz1 avatar Jun 03 '22 14:06 csteinmetz1

Hi @csteinmetz1 , could you please tell me if you solved this? I tried to add something like librosa.filters.mel(sr=self.sample_rate, n_fft=self.n_fft, n_mels=self.n_mels)), but the warning still shows up. Thank you!

sivannavis avatar Aug 24 '22 00:08 sivannavis

This warning should now be fixed in #44 and there is a new release v0.3.0

csteinmetz1 avatar Jan 09 '23 20:01 csteinmetz1