-
Notifications
You must be signed in to change notification settings - Fork 22
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
Switch to soundfile for mp3 reading #18
Conversation
cf48aa6
to
9b96965
Compare
Thanks for the changes, just a few quick comments. |
Did a bit more refactoring taking in some ideas from the review, let me know what you think! |
Thanks, I added a few more comments |
I think there's two more things left:
Let me know what you think |
I think it's fine leaving the write_mp3 public since it's extra work to extract the audio and sr from the AudioSample, if a user is doing that you'd think they would also notice the to_mp3() method available to them. I'll take care of the freezing in a PR I'm opening up in a few minutes where I'll remove the flag in the examples and display a warning if people use it. |
Fixes #16
Might be worth it switching to wav files in the future, but this is a little bit difficult at the moment so let's do this for the competition.