• 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
Is entering MIDIEvents into MusicSequence while playing safe?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Is entering MIDIEvents into MusicSequence while playing safe?
      • From: Chris Rogers <email@hidden>
  • Prev by Date: MusicDevice instrument types
  • Next by Date: Re: MusicDevice instrument types
  • Previous by thread: Re: MusicDevice instrument types
  • Next by thread: Re: Is entering MIDIEvents into MusicSequence while playing safe?
  • Index(es):
    • Date
    • Thread