Hello Roger,
 
I have been using PortMIDI and would like to contribute.
 
Here are a few concerns:
 
1. I had version portmidi17nov04 and noticed that your latest version, portmidi28aug06 does not contain code changes dated 17nov04. What is the reason the 17nov04 changes are not included?
 
2. Using PortMIDI for MIDI system exclusive messages does not work very well. Under Windows a huge buffer of 1024 is sent every time even if the actual buffer size is much smaller. After the MIDI sysex termination character (F7) the rest of the buffer is filled with random data which is dangerous. Furthermore, not all the MIDI sysex messages 'sent' by PortMIDI arrive to the MIDI device. Sometimes only rebooting the computer resets the MIDI port again.  I am working on a fix for this and would like to add it to PortMIDI. How can this be done?
 
3. It appears that error handling under PortMIDI is not friendly with a window based application. E.g.: portmidi28aug06\pm_common\portmidi.c in line 33 there is a program exit call in case of an error. This is unacceptable in a non-console application since there should be a way to recover from the error rather than terminating the application.
 
Thanks,
Oron Cherry


Express yourself instantly with MSN Messenger! MSN Messenger Download today it's FREE!
_______________________________________________
media_api mailing list
[email protected]
http://www.create.ucsb.edu/mailman/listinfo/media_api

Reply via email to