Re: AudioUnits Metering
Re: AudioUnits Metering
- Subject: Re: AudioUnits Metering
- From: William Stewart <email@hidden>
- Date: Wed, 4 Jan 2006 11:20:42 -0800
There are no automatic metering services for any audio unit. All of
the apple mixers do provide metering - you can see an example of this
(and how to enable this and use it) in the MatrixMixer example code
in the SDK. You can apply the same general principles for metering to
the stereo mixer and 3DMixer as well
Bill
On 04/01/2006, at 2:20 AM, George Malayil-Philip wrote:
Hi,
Is there any easy way to get the peak amplitude in the output or
input
buffer of a audio unit? I see a parameter to turn on metering in the
coreaudio docs - kAudioUnitProperty_MeteringMode. But, I can't find
the
corresponding paremeter or property to retrieve the amplitude value
- is is
the same as kStereoMixerParam_PostAveragePower in stereo mixer? I
would
imagine power and amplitude to be different, but if they are directly
proportional I could use it I guess. I am trying to plot the
amplitudes, of
the file I am playing, on a timeline so as to get a wave graph as
the ones
shown in sound editors. I imagine this is a plot of amplitudes..or
am I on
the wrong track? Thanks
Regards
George M.P.
_______________________________________________
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
--
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
________________________________________________________________________
__
_______________________________________________
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