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

raise ValueError("Sampling rate is expected to be 8kHz!") #1

Open
luojuan2020 opened this issue Jun 21, 2022 · 6 comments
Open

raise ValueError("Sampling rate is expected to be 8kHz!") #1

luojuan2020 opened this issue Jun 21, 2022 · 6 comments

Comments

@luojuan2020
Copy link

I use the clean_trainset_28spk_wav.zip (2.315Gb)
take error "Sampling rate is expected to be 8kHz!"

@liuxiaofa-date
Copy link

have you solved it?

@Zhenzi-Weng
Copy link
Owner

have you solved it?

Hello, please preprocess your dataset to downsample the audio to 8 KHz.

@liuxiaofa-date
Copy link

liuxiaofa-date commented May 4, 2023 via email

@ccu1tn
Copy link

ccu1tn commented Sep 20, 2023

@Zhenzi-Weng Hello author, I preprocessed my dataset to downsample 8KHz. But it still appears the errors "check the size of wav_data".
How to fix or check this data?

@Zhenzi-Weng
Copy link
Owner

@ccu1tn Hello. When reading a .wav file by wavfile.read, it should return a vector with only one dimension if the audio signals are stored in this .wav file as one-channel format. I constrained the .wav files for training and testing as one-channel format. So, if your .wav files are in other formats, please convert them to one-channel format or revise my code accordingly.

@ccu1tn
Copy link

ccu1tn commented Sep 21, 2023 via email

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

4 participants