You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: Correct spectrogram calculation in plot_spectrogram
This commit addresses a UserWarning by explicitly converting the complex output of `librosa.stft()` to its absolute value before passing it to `librosa.amplitude_to_db()`. This ensures the function correctly calculates the power spectrogram and prevents potential issues with later versions of the `librosa` library.
0 commit comments