Cant train on 24-bit 44.1kHz wav files?
benjimyma opened this issue · 1 comments
I would like to train on audio drum samples that are used in music today and the common bit depth is 24 bit and the sample rate everyone in the music industry uses is 44.1kHz. When i try training on some drum samples of these settings, i get the following exception:
ValueError: Unsupported bit depth: the wav file has 24-bit data.
I understand that 44.1kHz might be an issue to train on but this doesnt even seem to be related. seems to have an issue with the 24-bit depth of the data. Is there a fix for this or do i need to convert all my sound files to a lower bit depth ?
Try removing --data_fast_wav
from your command line arguments? I believe this is a scipy issue; librosa should be able to handle 24-bit wav files