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

best way to track note on/off in UI ?


  • Subject: best way to track note on/off in UI ?
  • From: Scott Burgess <email@hidden>
  • Date: Wed, 17 Feb 2010 21:52:01 -0800

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?

I have tried overriding StartNote() in my AU and sending the
PropertyChanged() from there, and also sending out the PropertyChanged 
in SynthNote::Attack() and in SynthNote::NoteEnded(). They
all basically work, but I am not sure where the best place
is.

It doesn't seem super happy showing the note ons from the
Logic Piano roll keyboard, unless I very quickly release
the note, too.

Anyway, any advice would be appreciated.

Thanks!
Scott Burgess
Bitnotic





 _______________________________________________
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: Stephen Blinkhorn <email@hidden>
  • Prev by Date: Re: MACE and QDesign2 with x86_64
  • Next by Date: Re: Outputting multichannel sound through the optical link??
  • Previous by thread: Re: Input HAL device connection to audio Converter
  • Next by thread: Re: best way to track note on/off in UI ?
  • Index(es):
    • Date
    • Thread