CPJKU / onset_detection

Python implementation of the most common spectral based onset detection algorithms.
65 stars 15 forks source link

Wav file bit depth and sampling rate #1

Open IvanSok opened 5 years ago

IvanSok commented 5 years ago

What is the acceptable bit depth and sampling rate of the wav file? I have tried 24bit 44khz and it doesnt work, tried 32 bit 44khz and it raises an error saying 'invalid integer data type'. Would really appreciate your help :)

superbock commented 5 years ago

I guess only 16bit files with 44.1kHz are supported. However, this repository exists only for historical reasons. You can find a newer implementation in the madmom package (https://github.com/CPJKU/madmom). That version supports arbitrary bit depths and sample rates.