• 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: Brian Willoughby <email@hidden>
  • Date: Mon, 22 Feb 2010 08:53:43 -0800


On Feb 21, 2010, at 21:53, Stephen Blinkhorn wrote:
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.


Your recommendation for a 30 Hz update seems about right, but I wonder if there is any way for an AU host to participate in determining the update rate. If Logic updates at 20 Hz or 40 Hz, then it wouldn't make sense for an AU to fight this by updating more frequently, and the visual latency suffers if the AU updates less frequently. It seems like this would be a great opportunity for the host to send a message to the AU suggesting that it is a good time to update if needed. I seem to recall a similar topic coming up when programmers porting VST effects to AU wanted to know whether there was an 'idle' callback or anything else which might signal an opportune moment to update the UI.

Anyone?

Is this an area where the AU GUI is flying blind? Is there no way to coordinate UI updates with whatever rate the host is already using?

Brian Willoughby
Sound Consulting

_______________________________________________
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


References: 
 >best way to track note on/off in UI ? (From: Scott Burgess <email@hidden>)
 >Re: best way to track note on/off in UI ? (From: Stephen Blinkhorn <email@hidden>)

  • Prev by Date: Controlling the volume of audio played through external sound card
  • Next by Date: Re: best way to track note on/off in UI ?
  • Previous by thread: Re: best way to track note on/off in UI ?
  • Next by thread: Need to hire a software developer for a voice processing app!
  • Index(es):
    • Date
    • Thread