[email protected] on June 2, 2016 at 12:00 PM -0700 wrote:
>Hi List,
>
>In AudioUnit v2 we could more or less rely on the
>HostCallback_GetBeatAndTempo to determine the beat and tempo of host. Now
>in AudioUnit v3 (from the Objective C angle) I can't find an equivalent
>API. This functionality is required by our AudioUnit, so this is a huge
>blocker at the moment.
>
>Any guidance is appreciated.
>
>Thanks
>
>Kevin
I believe you're looking for the AUHostMusicalContextBlock.
/*! @property musicalContextBlock
@brief A callback for the AU to call the host for musical
context
information.
@discussion
Note that an audio unit implementation accessing this property
should cache
it in
realtime-safe storage before beginning to render.
Bridged to the HostCallback_GetBeatAndTempo and
HostCallback_GetMusicalTimeLocation
callback members in kAudioUnitProperty_HostCallbacks.
*/
@property (NS_NONATOMIC_IOSONLY, copy, nullable) AUHostMusicalContextBlock
musicalContextBlock;
HTH
regards,
edward
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com
This email sent to [email protected]