Sound-Recognition-Tutorial icon indicating copy to clipboard operation
Sound-Recognition-Tutorial copied to clipboard

Problem found on data_analysis.py

Open rankowu6 opened this issue 5 years ago • 0 comments

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)

rankowu6 avatar Feb 07 '20 09:02 rankowu6