Open PrashanthaTP opened 1 year ago
having the same problem here
########\AppData\Local\Programs\Python\Python37\lib\site-packages\librosa\core\spectrum.py:224: UserWarning: n_fft=1024 is too small for input signal of length=714
n_fft, y.shape[-1]
#######\Local\Programs\Python\Python37\lib\site-packages\librosa\core\spectrum.py:224: UserWarning: n_fft=1024 is too small for input signal of length=357
n_fft, y.shape[-1]
EMOTIONS :['neutral', 'calm', 'happy', 'sad', 'angry', 'fearful', 'disgust', 'surprised']
Predicted emotion :fearful
Cannot extract features.. list index out of range
file name : #######.Wav
Extracting the features for the file #######.Wav
C:\Users\accou\AppData\Local\Programs\Python\Python37\lib\site-packages\librosa\core\spectrum.py:224: UserWarning: n_fft=1024 is too small for input signal of length=589
n_fft, y.shape[-1]
EMOTIONS :['neutral', 'calm', 'happy', 'sad', 'angry', 'fearful', 'disgust', 'surprised']
Predicted emotion :fearful
Cannot extract features.. list index out of range
https://github.com/PrashanthaTP/audio-emotion-detector/blob/d34b02c36520bcd0df340077332557215aa42bf3/emotion_detector/gui.py#L204-L208