python-sonic icon indicating copy to clipboard operation
python-sonic copied to clipboard

Import issue

Open enzyme69 opened this issue 9 years ago • 3 comments

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?

enzyme69 avatar Sep 13 '16 06:09 enzyme69

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

gkvoelkl avatar Sep 18 '16 15:09 gkvoelkl

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

AlexandreRangel avatar Jul 25 '17 11:07 AlexandreRangel

Any error messag?

gkvoelkl avatar Jul 25 '17 17:07 gkvoelkl