Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant train on 24-bit 44.1kHz wav files? #96

Open
benjimyma opened this issue Dec 24, 2020 · 1 comment
Open

Cant train on 24-bit 44.1kHz wav files? #96

benjimyma opened this issue Dec 24, 2020 · 1 comment

Comments

@benjimyma
Copy link

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 ?

@chrisdonahue
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants