• 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: HostCallback_GetBeatAndTempo howto?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HostCallback_GetBeatAndTempo howto?


  • Subject: Re: HostCallback_GetBeatAndTempo howto?
  • From: Franck STAUFFER <email@hidden>
  • Date: Wed, 16 Oct 2002 00:41:49 +0200

Yeah please...that's some important part of the sdk...
I'm more into math and physics (phd in theoretical physics to be precise...sounds awful I know hehe),
and i'm a bit lost sometimes with the AU. Proof is I haven't yet achieved to solve that problem ;-)

Anyway I love AU's and it's worth the headache...

Franck

Le lundi, 14 oct 2002, ` 21:27 Europe/Paris, Bill Stewart a icrit :

Good point - will amend appropriately:)

Bill

on 14/10/02 5:56 AM, Marc Poirier wrote:
Franck. You actually don't have to do anything about setting up the
callback if you derive from AUBase (which you probably do). It is set up
for you automatically (if the host supports it) in
AUBase::DispatchSetProperty. The data is stuffed into the AUBase member
HostCallbackInfo variable called mHostCallbackInfo. All you need to do is
check that mHostCallbackInfo.beatAndTempoProc is not null before using it
and, if it is not, then you can call that function.

Personally I think that this is something that would be good to document
in the SDK. Actually, I think that a more general mention in the SDK of
that fact that Audio Units themselves don't have to worry about hardly any
of the AUProperties, because AUBase handles most of them in
Dispatch*Property, would be very good to mention in the SDK...

Marc



On Mon, 14 Oct 2002, Franck STAUFFER wrote:

Hello,

I'm trying to get tempo informations in my AudioUni codet...but I don't
manage to make it work. Could someone explain me the basics steps to
achieve that?
From what I understand I need to create a callback in my code and then
to make it point to the beatAndTempoProc of the host. No luck
yet...could someone give me a basic example or step by step
instructions?
I'm more into pure DSP coding so actually I'm not sure I understand how
to implement this..

Thanks a lot and sorry for those "newbie" questions,

Franck
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

-- mailto:email@hidden
tel: +1 408 974 4056

_______________________________________________________________________ ___
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
_______________________________________________________________________ ___
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: HostCallback_GetBeatAndTempo howto?
      • From: Franck STAUFFER <email@hidden>
References: 
 >Re: HostCallback_GetBeatAndTempo howto? (From: Bill Stewart <email@hidden>)

  • Prev by Date: (no subject)
  • Next by Date: linear vs. log Hz
  • Previous by thread: Re: HostCallback_GetBeatAndTempo howto?
  • Next by thread: Re: HostCallback_GetBeatAndTempo howto?
  • Index(es):
    • Date
    • Thread