I’m developing a MIDI application, and have been experiencing a constant problem with midi output. I wrote a little MIDI echo utility to try and isolate the problem, but without much luck. The problem is that when playing at high speeds, it seems like the output port doesn’t handle the pressure and sometimes freezes for a whole second or even more, before spitting out all the notes that were sent to it during that time.
Now, I tested the same MIDI setup on the same platform with 3 different programs - Cubase SX, Tracktion, and MIDI-OX - and none of them have this problem.
I guess this means I’m probably doing something generally wrong in the handling of incoming/outgoing messages. Maybe it’s an issue of timestamps or buffering that I need to do. In the echo utility, all I do is write the received message to the output port - nothing else.
I would appreciate any tips about this.
Thanks a lot,