Csound Csound-dev Csound-tekno Search About

[Cs-dev] python namespace

Date2006-04-26 11:49
FromJonathan Mackenzie
Subject[Cs-dev] python namespace
Hello,

I'm trying to run csound 5 from within Softimage XSI  via python. XSI 
has an an embedded python interpreter for scripting, and I can import 
csnd, load orchestras and perform OK from there. (This seems to me why 
python is such a good thing!)

My plan is to use the python opcodes pyrun and pyeval to communicate 
with XSI objects so that I can synchronise sound synthesis with graphics 
animation. However, the XSI python namespace is not available to the 
python I call with the opcodes. This is true whether or not I use 
pyinit. I have no problems getting the python opcodes to see the 
namespace of other python code when I run a standalone python program. I 
can only guess the problem is something to do with XSI already embedding 
Python. Could anyone give me some pointers on how I might solve this?

Any help much appreciated,
Mac


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net