Hi List,
I have an app that sends MIDI events in realtime to a DLSSynth audio unit using MusicDeviceMIDIEvent().
After some number of events, it seems as though the DLSSynth stops responding to note on/note off events. I am using 0x90 command for note on and 0x80 for note off.
I am very careful to balance note ons with note offs.
The number of note events seems fairly small before this happens, somewhere around 500 or so. Maybe around 1000.
Apparently, sending controller events like volume still work.
I am not getting any error results from MusicDeviceMIDIEvent() or anything printed out in the console.
If I send an all notes off controller event, it starts playing again.
Is there some kind of flushing that I am missing?
I'm running on 10.6.2. I don't recall this happening with 10.5, but I am not able to check right now..
Any insight would be appreciated!!
Thanks!
Scott Burgess Bitnotic
|