• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is entering MIDIEvents into MusicSequence while playing safe?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is entering MIDIEvents into MusicSequence while playing safe?


  • Subject: Re: Is entering MIDIEvents into MusicSequence while playing safe?
  • From: Chris Rogers <email@hidden>
  • Date: Fri, 6 Dec 2002 14:33:39 -0800

Jim,

It should be safe to do what you're doing, so there may be a bug here.
Could you please file a bug report and, if possible, include a test version of
your app?

Thanks,
Chris


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.
_______________________________________________
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.

References: 
 >Is entering MIDIEvents into MusicSequence while playing safe? (From: xmidi <email@hidden>)

  • Prev by Date: Re: MusicDevice instrument types
  • Next by Date: GUI Apps should set kAudioHardwarePropertyRunLoop in the HAL
  • Previous by thread: Is entering MIDIEvents into MusicSequence while playing safe?
  • Next by thread: Re: MusicDevice instrument types
  • Index(es):
    • Date
    • Thread