1. TypeError: mfccInitFilterBanks() takes 2 positional arguments but 7 were given
The issue
In the function stFeatureSpeed()
from audioFeatureExtraction.py make a call: [fbank, freqs] = mfccInitFilterBanks(Fs, nfft, lowfreq, linsc, logsc, nlinfil, nlogfil)
, but this function is only able to receive two arguments. It has the following signature: def mfccInitFilterBanks(fs, nfft)
The "extra" arguments are: lowfreq, linsc, logsc, nlinfil, nlogfil
These are all defined in the mfccInitFilterBanks function itself wit exactly the same values.
Note that there is a comment in the source code (audioFeatureExtraction.py) that says that the stFeatureSpeed()
function is work in progress. so there could be many (no