RE: Is entering MIDIEvents into MusicSequence while playing safe?
RE: Is entering MIDIEvents into MusicSequence while playing safe?
- Subject: RE: Is entering MIDIEvents into MusicSequence while playing safe?
- From: Thomas Resch <email@hidden>
- Date: Tue, 10 Nov 2009 22:01:30 +0100
hi there, it is 7 years later and i m having the same problem as xmidi:
"(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."
but it happens only, if the loop property is used. i m writing only MIDIRawData to my Sequence and i m also unable to set kSequenceTrackProperty_TrackLength. it works until i add an event behind _TrackLength, from now on always the last event in the track is the _TrackLength, even if set _TrackLength again before those events..
any suggestions? thanks in advance, tom |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden