Re: Peak and averagePowerForChannel are nice, but what about the actual current power?
Re: Peak and averagePowerForChannel are nice, but what about the actual current power?
- Subject: Re: Peak and averagePowerForChannel are nice, but what about the actual current power?
- From: Ochen Kaylan <email@hidden>
- Date: Fri, 15 May 2009 09:50:43 -0500
You're right, of course. My mix up. I've actually been going through
the code of avTouch, which does use AVAudioPlayer and has a meter that
shows actual power and peak power. It uses peakPowerPerChannel to
calculate the latter, but I can't figure out how it's calculating the
actual power.
(I'm learning AudioQueue for one project while implementing
AVAudioPlayer in another, and occasionally make a mistake like above.
Sorry for that.)
So back to AVAudioPlayer, how do I get the current sample power? Is it
even possible?
Thanks much.
On May 15, 2009, at 9:20 AM, Hamish Allan wrote:
Hi,
The version of SpeakHere I have in my Developer Examples does not use
AVAudioPlayer.
Best wishes,
Hamish
On Fri, May 15, 2009 at 3:14 PM, Ochen Kaylan <email@hidden> wrote:
Am I missing something, or is there no direct way in AVAudioPlayer
to get
the actual power of an AVAudioPlayer object sample? There's clearly
some way
to get it, since the various metering apps (a la SpeakHere) show a
meter
with actual power levels along with (usually) the peak power
levels. So how
do I access the current level when the only properties available
are for
peak and average, neither of which return the actual current power?
Thanks.
_______________________________________________
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
_______________________________________________
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