• 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: convert kAudioSessionProperty_CurrentHardwareOutputVolume to dB value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: convert kAudioSessionProperty_CurrentHardwareOutputVolume to dB value


  • Subject: Re: convert kAudioSessionProperty_CurrentHardwareOutputVolume to dB value
  • From: Kevin Dixon <email@hidden>
  • Date: Mon, 16 Jul 2012 17:59:06 -0700

I was using a cosine, but even the amplitude was way too low

-Kevin

On Mon, Jul 16, 2012 at 5:35 PM, Roman Thilenius <email@hidden> wrote:
>
>
> do you use a FS cosine or a FS sqare?
>
> a cosine is not exactly the optimal material to measure power. :)
>
>
>
> On Jul 17, 2012, at 2:08 AM, Kevin Dixon wrote:
>
>> So it seems that kAudioSessionProperty_CurrentHardwareOutputVolume
>> returns arbitrary volume units instead of linear gain.
>> For example when i get the value 0.711712, I convert to dB with
>>
>> 20.0f * log10(volume)
>>
>> returning ~ -2.95 dB.
>>
>> However when I measure a 0dB FS tone from my headphone output, with
>> the volume at 0.711712, the observed power is more in the neighborhood
>> of -16dB
>>
>> Can anyone clarify this situation? It is imperative that I know the
>> actual attenuation so my algorithm can react correctly.
>>
>> Thanks in advance
>>
>> -Kevin
>>  _______________________________________________
>> 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

References: 
 >convert kAudioSessionProperty_CurrentHardwareOutputVolume to dB value (From: Kevin Dixon <email@hidden>)
 >Re: convert kAudioSessionProperty_CurrentHardwareOutputVolume to dB value (From: Roman Thilenius <email@hidden>)

  • Prev by Date: Re: convert kAudioSessionProperty_CurrentHardwareOutputVolume to dB value
  • Next by Date: Re: convert kAudioSessionProperty_CurrentHardwareOutputVolume to dB value
  • Previous by thread: Re: convert kAudioSessionProperty_CurrentHardwareOutputVolume to dB value
  • Next by thread: Re: convert kAudioSessionProperty_CurrentHardwareOutputVolume to dB value
  • Index(es):
    • Date
    • Thread