On Monday 05 December 2005 15:52, Oeyvind Brandtsegg wrote: > Using either csound.performKsmps(true), or csound.PerformKsmps works as > expected up to a certain point for me. Csound loads fine as usual, > and the loop where performKsmps resides does run (I stuck a print 'running' > in there and it prints repeatedly...) but when I send an event to csound, > using csound.inputMessage, > the performKsmps loop seems to halt (stops printing), and Python exits with > "This application has requested the Runtime to terminate it in an unusual > way....." Should I use something else than csound.inputMessage() to send > realtime events to csound ? Try using InputMessage(), for example csound.InputMessage('i 1 1 2 60 127\n'), but note that it requires the -L stdin command line option to work. There is also ScoreEvent() that does not need -L stdin, but it probably does not work in Python, as it takes an array of floats as input argument. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net