gkvoelkl / python-sonic

Programming Music with Python, Sonic Pi and Supercollider
MIT License
311 stars 46 forks source link

Import issue #5

Open enzyme69 opened 8 years ago

enzyme69 commented 8 years ago

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 commented 8 years ago

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 commented 7 years ago

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 commented 7 years ago

Any error messag?