• 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: AU MIDI events scheduled beyond next rendering slice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU MIDI events scheduled beyond next rendering slice


  • Subject: Re: AU MIDI events scheduled beyond next rendering slice
  • From: Chris Rogers <email@hidden>
  • Date: Thu, 7 Aug 2003 11:07:57 -0700

Philippe,

We've thought about this and agree with you, that in the general case
a synth may generate an arbitrary value for NoteInstanceID in order
to avoid these types of situations, and also allow multiple playing
notes on the same key within one group. This means a host should not
make an assumption that the NoteInstanceID is equal to the note number.
It just turns out that the DLSMusicDevice currently does make this
association...

Chris Rogers
Core Audio
Apple Computer



A solution could be that the AU returns a different NoteInstanceID for each note ON and of course that the host do the necessary job to associate the OFF event to the correct NoteInstanceID. Doing this will break the convention stated in the AudioUnits documentation (section MusicDeviceStartNote) which says that if the note value is an integral value, then the note ID will be that integer. Maybe the rule should be "the AU will return a randomly created uniqueID" which is the convention to apply when the note value is a non integral float value.
Philippe Wicker
email@hidden
_______________________________________________
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: AU MIDI events scheduled beyond next rendering slice
      • From: Chris Reed <email@hidden>
References: 
 >Re: AU MIDI events scheduled beyond next rendering slice (From: Philippe Wicker <email@hidden>)

  • Prev by Date: Re: Multi-channel PCM player
  • Next by Date: Re: AU MIDI events scheduled beyond next rendering slice
  • Previous by thread: Re: AU MIDI events scheduled beyond next rendering slice
  • Next by thread: Re: AU MIDI events scheduled beyond next rendering slice
  • Index(es):
    • Date
    • Thread