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

zero wav files too small to be read in python #26

Open
ksasso1028 opened this issue Oct 14, 2019 · 5 comments
Open

zero wav files too small to be read in python #26

ksasso1028 opened this issue Oct 14, 2019 · 5 comments

Comments

@ksasso1028
Copy link

I would suggest making all of the recordings a standard 1 second so we have access to all 8000 samples. the recordings vary greatly in sample length

@Jakobovski
Copy link
Owner

Jakobovski commented Oct 17, 2019 via email

@ksasso1028
Copy link
Author

ksasso1028 commented Oct 21, 2019

data is sampled at 8khz, so that means 8000 samples(values) per second. A lot of these recordings are not even one full second and it is important to be able to use at least one whole cycle of sampling for classification.

@ksasso1028
Copy link
Author

@Jakobovski

@Raghav-Bansal
Copy link

I would suggest making all of the recordings a standard 1 second so we have access to all 8000 samples. the recordings vary greatly in sample length

please can you tell step by step how to make the data of one sec

@ksasso1028
Copy link
Author

I would suggest making all of the recordings a standard 1 second so we have access to all 8000 samples. the recordings vary greatly in sample length

please can you tell step by step how to make the data of one sec

You can take a look at my repo here where i do something similar https://github.com/ksasso1028/KCN-AUDIO-CLASSIFICATION/blob/master/test.py
Essentially you use librosa to zero pad the sample to be one second if it is too short

Kevin

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

No branches or pull requests

3 participants