Re: HostCallback_GetBeatAndTempo howto?
Re: HostCallback_GetBeatAndTempo howto?
- Subject: Re: HostCallback_GetBeatAndTempo howto?
- From: Franck STAUFFER <email@hidden>
- Date: Wed, 16 Oct 2002 16:58:36 +0200
I still have no luck using this with logic 5.4...actually it seems that
mHostCallbackInfo.beatAndTempoProc is always null and thus I can't call
it...
Le mercredi, 16 oct 2002, ` 00:41 Europe/Paris, Franck STAUFFER a icrit
:
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.
_______________________________________________
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.