-
Notifications
You must be signed in to change notification settings - Fork 76
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
Error loading wav #7
Comments
Fixed it here: |
@ojczeo Thank you for updating the script. It seems 24bit causes level problems (clipping) and the script also fails under Python 3.8 (numpy 1.19.4, scipy 1.5.4) with the following error: "Traceback (most recent call last): I'll try to fix it myself, but I know nothing about Python. However if you have time, and the fix is easy, it would be beneficial to macOS uses are Python 2 is depricated as of macOS 10.16+ Thanks! |
Hi @canyondust |
Heyya @usworked I this is such a coincidence you write now, because I hadn't done much with the code until YESTERDAY when I rewrote the IO to use the soundfile library instead of the wavefile library and added 24-bit support as well :) |
Wow funny. I just grabbed this utility for a project I was working on. got the same error. "TypeError: order must be str, not int"" Didn't think there was a chance it was still maintained after 9 years and saw the fix. Works great! Thank you for writing this. |
Hi Paul,
I'm trying to run this on MacOS High Sierra 10.13.6. Python 2.7.10.
I've tried a variety of wav files from sample packs and so forth as a test, and have gotten nothing but "Error loading wav..."; I added a bit of code to get more information. Seems I get a ValueError exception, which contains the following: "string size must be a multiple of element size"
It is triggered from this line:
I can dig further but was hoping you might just have an idea of what might be wrong here.
All I did was clone, copy a wav to the working directory as a.wav, then run:
Full output:
The text was updated successfully, but these errors were encountered: