-
Notifications
You must be signed in to change notification settings - Fork 30
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
numpy and type errors #4
Comments
I just rounded that section to an integer and it seemed to work. |
int(len(peaks) * f_ratio) |
I confirm I could resolve the issue by modifying psola.py as you suggested. However, I encountered another error:
Of course, I could make the code work and get the output by skipping plotting. |
I skipped that part to be honest. I assume it’s only the instrumental version of the song that it mixed with the vocals and returned. I edited the code to only return the raw edited vocals. I don’t think it would be too hard to load the backing track separately and then just put the two on top of eachother. |
Were you able to run your audio files? I could not prepare audio |
1 similar comment
Were you able to run your audio files? I could not prepare audio |
The type error from utils.py is fixed by replacing:
with:
This error is caused by a 2.0+ version of bokeh. |
This is a problem between versions of Numpy, until they update the code (I doubt they will) you should use an older version of numpy: booksa == 0.6 |
I believe the code should be updated due to some changes in numpy and handling the types. In running the first example, I got this set of errors:
The text was updated successfully, but these errors were encountered: