Is entering MIDIEvents into MusicSequence while playing safe?
Is entering MIDIEvents into MusicSequence while playing safe?
- Subject: Is entering MIDIEvents into MusicSequence while playing safe?
- From: xmidi <email@hidden>
- Date: Fri, 06 Dec 2002 14:13:32 -0600
Hello,
Is it safe to enter/remove Events from a MusicSequence while the
sequencer is playing? I only ask because I've been experiencing the
following:
(1) I enter some MIDI Events into a MusicTrack via
MusicTrackNewMIDINoteEvent() - I generate new MIDI events when one
clicks within a specified area.
(2) Set the track to loop every four beats.
(3) Start the sequence - the sequence successfully sends out the notes
and loops properly
(4) Now when one clicks around some more (and thus creates new Events),
the new events *ARE* successfully entered into the MusicTrack but every
10th new Event or so causes the MusicPlayer to *temporarily* pause until
another Event is entered.
To note: none of the new Events are ever 'lost' or mis-entered, just
seems to block the MusicPlayer.
So, is it, indeed safe to enter new Events while playing?
Thanks in advance
-Jim
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.