Open mineraldragon opened 2 years ago
Hi, thank you for your interest in surfboard and contribution. Could you please propagate this change throughout the repo for me to then merge your PR. This can be easily done by searching fro librosa.
in the repo.
Librosa is doing away with positional arguments.
Perhaps because of this, magnitude_spectrum and bark_spectrogram produced empty outputs. Log_melspec produced a FutureWarning about the issue.
Fix: Change Librosa spectrogram calls to say 'y=' for the first argument (in files sound.py and misc_components.py)
Note: I have only worked on magnitude_spectrum, bark_spectrogram and log_melspec. I don't know what else might need to change.
Code to reproduce the issues:
FutureWarning from log_melspec:
Error from magnitude_spectrum: