Sound-Recognition-Tutorial
Sound-Recognition-Tutorial copied to clipboard
Problem found on data_analysis.py
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)