pyAudioAnalysis
pyAudioAnalysis copied to clipboard
Trouble using beatExtraction() from command line
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
I had the same problem. Then I discovered that the audio that I was using was stereo, and we required a mono audio file.
Convert your stereo signal to mono signal.
signal = audioBasicIO.stereo2mono(signal)
Convert your stereo signal to mono signal.
signal = audioBasicIO.stereo2mono(signal)
Just in case anyone is seeing this now, the syntax has been updated to: signal = audioBasicIO.stereo_to_mono(signal)