-
Notifications
You must be signed in to change notification settings - Fork 104
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
Add support for Python 3 #8
Comments
I have the same question. |
What is broken with Python 3? I've just used it. |
It doesn't seem to work with Python3:
|
This specific error is described in #5. Fixing this issue seems straight forward, full python 3 support might require a few more changes. I'll have time to look into python 3 support in about 1 month. In the meanwhile, the easiest solution is to create a python 2.7 environment (e.g. using miniconda) and run the script from within this environment. Thanks in advance for your patience! |
I fixed it as follow. |
I changed the initialisation of p_prev (about line 107) to |
I just want to add, there are two instances of p_prev you need to change. Line 126, and 107. Otherwise you get the error specified here The codes sound, no pun intended and it's honestly amazing how it works with such a newer version of python so easily. I wouldn't abandon this project, it has a LOT of potential for DJs, Parody makers, and samplers like me alike. |
Great code Justin 👍 & Great fix guys ! |
I updated this to run under Python3. I'm not able to post it to github at the moment, but for anyone else looking to use it on modern Python, here's a quick rundown:
Thanks for sharing this and your other projects over the years, @justinsalamon. Great to see you delivering cool new stuff at MAX Sneaks this week! |
No description provided.
The text was updated successfully, but these errors were encountered: