Csound Csound-dev Csound-tekno Search About

[Csnd] csound api (from python) - can I mix realtime events with a .csd generated on the fly?

Date2008-01-20 19:26
FromCesare Marilungo
Subject[Csnd] csound api (from python) - can I mix realtime events with a .csd generated on the fly?
I'm a bit confused.

I can build a string with my xml csd, pass it to csnd.setOrchestra and 
then use exportForPerformance() and perform().

Or I can use Compile(filename), use CsoundPerformanceThread() and Play() 
it. With this solution I can also pass events in realtime with 
InputMessage (called on the performanceThread pointer).

But what if I want to do both?

Also, is it normal that when I pass events with InputMessage the event 
is always generated at the time specified in the i statement - ignoring 
the bpm setting specified with a t statement in my score file?

Thanks in advance,

-c.

-- 
www.cesaremarilungo.com