• 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: HAL user-land audio driver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HAL user-land audio driver


  • Subject: Re: HAL user-land audio driver
  • From: "Kevin Dixon" <email@hidden>
  • Date: Wed, 2 Apr 2008 11:23:08 -0400 (EDT)
  • Importance: Normal

> You mentioned before that there are routines in Core Audio that can
> provide
> various mappings from scalar value to dB. What are their names? I would
> need
> a mapping that better corresponds to human perception of loudness than
> linear dB mapping does. My own experience tells me that the steps at low
> volume should be larger and the steps at high volume should be smaller.

I've heard tell of these functions as well, but its pretty trivial to
compute these for yourself

for instance, dB to linear:

linearGain = 10^(dbGain / 20)

0 = ~-120 dB, 1 = 0 dB, and also works for increase in gain

Then solving for dbGain, you get

dbGain = 20 * log10(linearGain)

hth,

-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

  • Follow-Ups:
    • Re: HAL user-land audio driver
      • From: "Mikael Hakman" <email@hidden>
References: 
 >Re: HAL user-land audio driver (From: "Mikael Hakman" <email@hidden>)

  • Prev by Date: Re: Adding code for handling notes to an AU - Logic setup question
  • Next by Date: Getting an AudioStreamBasicDescription from a stream, not a file
  • Previous by thread: Re: HAL user-land audio driver
  • Next by thread: Re: HAL user-land audio driver
  • Index(es):
    • Date
    • Thread