You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to call stFeatureExtraction and it extracted 4 files, 2 csv's and 2 npy's. Do I need to pass one of these to beatextraction somehow? I can't decipher how to use this function. Thanks for any help
Here is the command I used:
python audioAnalysis.py beatExtraction -i black-widow.wav
Traceback (most recent call last):
File "audioAnalysis.py", line 440, in
beatExtractionWrapper(args.input, args.plot)
File "audioAnalysis.py", line 51, in beatExtractionWrapper
F = aF.stFeatureExtraction(x, Fs, 0.050 * Fs, 0.050 * Fs)
File "/home/luis/Documents/Mood/pyAudioAnalysis_beats/audioFeatureExtraction.py", line 572, in stFeatureExtraction
curFV[2] = stEnergyEntropy(x) # short-term entropy of energy
File "/home/luis/Documents/Mood/pyAudioAnalysis_beats/audioFeatureExtraction.py", line 48, in stEnergyEntropy
subWindows = frame.reshape(subWinLength, numOfShortBlocks, order='F').copy()
ValueError: cannot reshape array of size 4400 into shape (220,10)
The text was updated successfully, but these errors were encountered:
I was able to call stFeatureExtraction and it extracted 4 files, 2 csv's and 2 npy's. Do I need to pass one of these to beatextraction somehow? I can't decipher how to use this function. Thanks for any help
Here is the command I used:
python audioAnalysis.py beatExtraction -i black-widow.wav
Traceback (most recent call last):
File "audioAnalysis.py", line 440, in
beatExtractionWrapper(args.input, args.plot)
File "audioAnalysis.py", line 51, in beatExtractionWrapper
F = aF.stFeatureExtraction(x, Fs, 0.050 * Fs, 0.050 * Fs)
File "/home/luis/Documents/Mood/pyAudioAnalysis_beats/audioFeatureExtraction.py", line 572, in stFeatureExtraction
curFV[2] = stEnergyEntropy(x) # short-term entropy of energy
File "/home/luis/Documents/Mood/pyAudioAnalysis_beats/audioFeatureExtraction.py", line 48, in stEnergyEntropy
subWindows = frame.reshape(subWinLength, numOfShortBlocks, order='F').copy()
ValueError: cannot reshape array of size 4400 into shape (220,10)
The text was updated successfully, but these errors were encountered: