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

Added wavio.read() as fallback for cases where scipy.wavfile cannot r… #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ganileni
Copy link

…ead a wave file.

scipy.wavfile cannot read 24-bit files and is in general prone to failure.
If it fails reading, let's fall back on wavio, a library that works most of the times.
wavio is just a wrapper around Python's wave standard library.

@justinsalamon
Copy link
Collaborator

justinsalamon commented Sep 17, 2020

Thanks for the contribution. However, I believe that if we want to add an audio reading dependency, it should be soundfile, which is more mature and supports a wide variety of audio formats. Would you be interested in updating this PR to use soundfile instead?

p.s- it's always best to start by posting an issue before posting a PR so we can discuss prior to implementation. Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants