Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem found on data_analysis.py #2

Open
rankowu6 opened this issue Feb 7, 2020 · 0 comments
Open

Problem found on data_analysis.py #2

rankowu6 opened this issue Feb 7, 2020 · 0 comments

Comments

@rankowu6
Copy link

rankowu6 commented Feb 7, 2020

The attribute of "lirosa.logamplitue" has been replaced by "librosa.core.amplitude_to_db" in Librosa latest release, and its argu of "ref_power" should change to "ref".

D = librosa.core.amplitude_to_db(np.abs(librosa.stft(y)) ** 2, ref=np.max)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant