• 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: best way to track note on/off in UI ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: best way to track note on/off in UI ?


  • Subject: Re: best way to track note on/off in UI ?
  • From: Stephen Blinkhorn <email@hidden>
  • Date: Sun, 21 Feb 2010 23:53:20 -0600

On 17 Feb 2010, at 23:52, Scott Burgess wrote:

Hi List,

My AU UI has a keyboard and I am trying to hilite the notes playing. I have it
mostly working, but am looking for some advice or validation..


I am making PropertyChanged calls when the notes change and my UI is
picking the events up.

Setting inNotificationInterval in AUEventListenerCreate() to
0.05 seems pretty slow. Is setting it to 0.00 going to
cause any performance problems in other areas?

In my experience the act of updating your GUI probably uses more resources than the listener code. I don't think it would be worth refreshing the GUI more often than 30 times a second.


Stephen

_______________________________________________
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


  • Follow-Ups:
    • Re: best way to track note on/off in UI ?
      • From: Brian Willoughby <email@hidden>
    • Re: best way to track note on/off in UI ?
      • From: NickMtl <email@hidden>
References: 
 >best way to track note on/off in UI ? (From: Scott Burgess <email@hidden>)

  • Prev by Date: Re: RemoteIO sound over AudioQueue vs over iPod player: clipping
  • Next by Date: Re: best way to track note on/off in UI ?
  • Previous by thread: best way to track note on/off in UI ?
  • Next by thread: Re: best way to track note on/off in UI ?
  • Index(es):
    • Date
    • Thread