• 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: Peak and averagePowerForChannel are nice, but what about the actual current power?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Peak and averagePowerForChannel are nice, but what about the actual current power?
      • From: Hamish Allan <email@hidden>
References: 
 >Peak and averagePowerForChannel are nice, but what about the actual current power? (From: Ochen Kaylan <email@hidden>)
 >Re: Peak and averagePowerForChannel are nice, but what about the actual current power? (From: Hamish Allan <email@hidden>)

  • Prev by Date: Re: Peak and averagePowerForChannel are nice, but what about the actual current power?
  • Next by Date: Re: Peak and averagePowerForChannel are nice, but what about the actual current power?
  • Previous by thread: Re: Peak and averagePowerForChannel are nice, but what about the actual current power?
  • Next by thread: Re: Peak and averagePowerForChannel are nice, but what about the actual current power?
  • Index(es):
    • Date
    • Thread