• 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: AudioUnit - notify on hosts beat and bar changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioUnit - notify on hosts beat and bar changes


  • Subject: Re: AudioUnit - notify on hosts beat and bar changes
  • From: Paul Davis <email@hidden>
  • Date: Thu, 15 Jan 2015 13:57:47 -0500



On Thu, Jan 15, 2015 at 1:15 PM, Nick <email@hidden> wrote:
Hi Christian,
Thanks for the reply.

Yes, I had found the functions 

AUBase::CallHostMusicalTimeLocation

AUBase::CallHostBeatAndTempo

AUBase::CallHostTransportState

What I meant in my question however - is there a way to get callbacks/notifications invoked in my Audio Unit every time when beat/bar changes, or when the host playback starts/stops (for instance, when the user clicks the Play button in MainStage). Or do I have to implement tracking of these events manually in my render function by checking if and how the beat value changed? 

Manual tracking sounds like a tedious work though. For instance, I would like to have a function called every time a metronome ticks (i.e., a beat changes).

As a host writer ... as far as I know there are no callbacks from host => plugin for any of this stuff.
 

 _______________________________________________
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: 
 >AudioUnit - notify on hosts beat and bar changes (From: Nick <email@hidden>)
 >Re: AudioUnit - notify on hosts beat and bar changes (From: Christian Rober <email@hidden>)
 >Re: AudioUnit - notify on hosts beat and bar changes (From: Nick <email@hidden>)

  • Prev by Date: AVAudioSessionSilenceSecondaryAudioHintNotification never called
  • Next by Date: Re: AudioUnit - notify on hosts beat and bar changes
  • Previous by thread: Re: AudioUnit - notify on hosts beat and bar changes
  • Next by thread: Re: AudioUnit - notify on hosts beat and bar changes
  • Index(es):
    • Date
    • Thread