I am new to Python and Essentia, and trying to extract features from audio files, but MFCC is giving an error.
Check1
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/essentia/standard.py in configure(self, **kwargs)
55 try:
---> 56 convertedVal = _c.convertData(val, goalType)
57 except TypeError: # as e: # catching exception as sth is only
3 frames
TypeError: Cannot convert data from type REAL (<class 'float'>) to type INTEGER
During handling of the above exception, another exception occurred:
TypeError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/essentia/standard.py in configure(self, **kwargs)
58 #available as from python 2.6
59 raise TypeError('Error cannot convert parameter %s to %s'\
---> 60 %(str(_c.determineEdt(val)),str(goalType))) #\''+name+'\' parameter: '+str(e))
61
62 kwargs[name] = convertedVal
TypeError: Error cannot convert parameter REAL to INTEGER
I am new to Python and Essentia, and trying to extract features from audio files, but MFCC is giving an error.
Here is the respective code exerpt :
Only the first debug printing statement (Check1) is shown in the output, which is why I am assuming that the error is in MFCC.