can't load audio files

27 views
Skip to first unread message

Han Lei

unread,
Jul 30, 2020, 3:35:30 AM7/30/20
to madmom-users

Hi,

I'm new to madmom.I've installed all the required packages, but I can't load audio files.Can you give me some suggestions on how to proceed?

QQ图片20200730150739.png

QQ图片20200730150844.png



Sebastian Böck

unread,
Aug 1, 2020, 5:47:35 AM8/1/20
to madmom-users
The reason might be that the format is not supported by scipy.io.wavefile. How many channels, bit depth, etc has that file?
madmom first tries to load the audio via scipy.io.wavfile. If that fails, it tries to read in via ffmpeg, which is not installed.
A possible solution could be to convert the file to 44.1kHz, 16bit, mono first or install ffmpeg.
Reply all
Reply to author
Forward
0 new messages