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

Import issue #5

Open
enzyme69 opened this issue Sep 13, 2016 · 3 comments
Open

Import issue #5

enzyme69 opened this issue Sep 13, 2016 · 3 comments

Comments

@enzyme69
Copy link

I am using this script inside Blender, and try loading the Python-Sonic using:

from psonic import *

however, that causes issue with binding.

So, I need to use it like this:
import psonic as ps

ps.play(value) actually works

but using it like above causing
ps.use_synth(BLAH)

failed to work :(

Is there a better way to load this python module?

@gkvoelkl
Copy link
Owner

I don't know if there is a better way.
Blender has its own version of Python, but uses the version on the Computer if available.

I will test it. Perhaps I find something.

But using Blender and Sonic Pi in one program sounds interesting.

Best Regards

Gerhard

@AlexandreRangel
Copy link

I'm having the same issue on Blender 2.78c and Sonic Pi 3.0.
It plays notes, but ps.use_synth(PIANO) fails.

@gkvoelkl
Copy link
Owner

Any error messag?

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

No branches or pull requests

3 participants