Skip to content
Advertisement

Sound feature attributeError: ‘rmse’

In using librosa.feature.rmse for sound feature extraction, I have the following:

JavaScript

It gives me:

JavaScript

What’s the right way to get it?

Sample file: https://www2.cs.uic.edu/~i101/SoundFiles/CantinaBand3.wav

Advertisement

Answer

I am guessing you are running one of the latest librosa. If you check the changelog for the 0.7, you will notice that rmse was dropped in favour of rms. Simply run:

JavaScript

and you should be fine.

Advertisement