hi :
when i test your app,but I find some problem .
/Users/lihong/src/Project-master/analysis_2.py:120: RuntimeWarning: divide by zero encountered in log
log_spectrum = np.log(filtered_spectrum)
nan
dot product of power spectrum and mel filterbank
def MFCC(power_spectrum, filter_matrix):
dct_spectrum = []
for power in power_spectrum:
filtered_spectrum = np.dot(power, _filtermatrix)
hi : when i test your app,but I find some problem . /Users/lihong/src/Project-master/analysis_2.py:120: RuntimeWarning: divide by zero encountered in log log_spectrum = np.log(filtered_spectrum) nan
dot product of power spectrum and mel filterbank
def MFCC(power_spectrum, filter_matrix): dct_spectrum = [] for power in power_spectrum: filtered_spectrum = np.dot(power, _filtermatrix)
# _ log_spectrum = np.log(filteredspectrum)
take average MFCC for each bin