Hi Bill,
Okay, here is a file. It's quite simple and clean:
It plays back fine in QuickTime player and looks great in Logic.
The original MIDI events were generated in real-time and played
with MusicDeviceMIDIEvent(). When that happened, it
stopped responding to note on/note off events after
about 3:20.
There's a 1:1 correspondence between what was played
and what is recorded to the MIDI file, the main difference
being that there is a time stamp for each event in the
MIDI file.
Is there a problem calling MusicDeviceMIDIEvent() from the
non-main thread?
Are sending note on/note off events through MusicDeviceMIDIEvent()
different than calling MusicDeviceStartNote()/MusicDeviceStopNote()?
Thanks!
Scott
On Nov 23, 2009, at 7:24 PM, William Stewart wrote:
oh, well you mustn't be turning them off or something. if you have a MIDI file that you can generate, that might be helpful, otherwise this is certainly not expected behaviour. From your description below it sounds like you aren't turning the notes off... (but what you say sounds correct)... sorry, not much help
Bill