On Monday 06 February 2006 11:05, Victor Lazzarini wrote: > Did you try setting the call back before csoundCompile() ? In any event, > it is probably more suitable to set all callbacks before compilation (although > in some cases it might not matter). More precisely, the MIDI callbacks should be set between calling csoundPreCompile() and csoundCompile(). Also, the host should append these flags to the command line: -+rtmidi=null -M 0 (for input only) -+rtmidi=null -Q 0 (for output only) -+rtmidi=null -M 0 -Q 0 (for input and output) this will override any real time MIDI options specified by the user, and thus makes sure that PortMidi will not get into the way. ------------------------------------------------------- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net