|
> More questions regarding tclcsound:
>
> 1) Is it possible to trigger line events with cstclsh ?
> (-Lstdin)
You can certainly try, but I reckon it's better to use
csNote
and csTable for this purpose. I will also add a general
csEvent.
> 2) Is it possible to have nested instances of cstclsh ?
> (If say the binary lives in /usr/bin != /usr/local/bin;
> to run multiple instances within itself)
Each tcl interpreter can only hold one instance of csound,
but, as with the command-line csound, you can have more
than one cstclsh process. The reason for not being able to
have more than one instance per intepreter is that generally
the RT audio device can only be open by one app at a time.
(On windows this is not necessarily true with MME / DirectX)
> 3) Is it possible to append the PATH variable for
> specifically the cstclsh shell to include /usr/local/bin,
> /usr/local/include /usr/local/lib, other ?
I'm not sure, you have to look at the Tcl documentation for
this, cstclsh is after all, a fully-working tcl interpreter.
> 4) From the sources I can see that csOpcodedir implements
> setting the OPCODEDIR environment variable. Will there be
> more facilities for the other variables in the shell ? Is
> it easy to implement a wrapper for this API function ?
Easy. I can add something later.
> .. If so I can see colleagues as well as myself using
> *only* this shell (as the default) for most _time
> intensive_ purposes of music production.
well this is yet another way of running csound. Check
out the python and java modules, as they provide a
similar service for more complex languages. The
advantage of tcl/tk is that you can learn it in one
afternoon.
Thanks for the encouragement, but the real thanks has to
go to Istvan Varga and John ffitch (as well as the others
for
the great infrastructure work on the API)
Victor
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |