On 11/1/05, Istvan Varga wrote: > Istvan Varga wrote: > > > If you run multiple performances in succession by starting a new > > process from the command line each time, then the memory state of > > the process is not preserved and everything is cleanly reloaded > > by the operating system. By contrast, reusing the same process by > > calling the compile/perform/reset cycle repeatedly requires > > PortMidi to be reentrant and allowing for multiple calls to > > Pm_Initialize() in the same address space without problems. > > It is possible that PortMidi cannot be re-initialized on MacOS X > > (not having access to that platform, I cannot test this), but > > I have just tested restarting a MIDI performance several times > > from the Python interpreter on Linux, and it worked fine. > > Doing another test, it seems that while PortMidi can indeed be > restarted without problems on Linux, using multiple instances at > the same time does fail in a fatal way. On the other hand, using > the native ALSA driver with -+rtmidi=alsa is OK, even if MIDI is > used in multiple instances of Csound in the same process at the > same time. > > Could you post an example of this session? I'm just curious. - schwaahed ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net