Default window when using librosa.feature.melspectrogram

69 views
Skip to first unread message

Good Robot

unread,
Sep 15, 2021, 1:45:22 AM9/15/21
to librosa

Hello,

I would like to know if the default window is "Hann" in the librosa.feature.melspectrogram, if nothing is specified for the window information?

For example, I have this python statement:

melscale = librosa.feature.melspectrogram(y=audio, sr=sample_rate, n_fft=nfft).

Does this mean that the window used here is "Hann"?

Thanks for your help and time!

Brian McFee

unread,
Sep 15, 2021, 9:31:56 AM9/15/21
to librosa
Yes, with very few exceptions, default parameter values are internally consistent throughout the package.
Reply all
Reply to author
Forward
0 new messages