• 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: AudioConverter gives non normalized samples?! (Doug Wyatt)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioConverter gives non normalized samples?! (Doug Wyatt)


  • Subject: Re: AudioConverter gives non normalized samples?! (Doug Wyatt)
  • From: Ernest Burghardt <email@hidden>
  • Date: Wed, 28 Jan 2009 12:35:09 -0800


Quoting Doug
"
You don't know how close to 1 you can get on the positive side because
you don't know whether the eventual integer has 12, 16, 20 or 64 bits.
   it should always be multiplying and dividing by
    32768. I've submitted feedback to that effect.

"

I'm just a tourist here on this list as I have not had an opportunity to do any Mac audio work as of yet, but I have done some in Windows.

I'm in full agreement that one normalizes with:
32768.0 // 0x8000 for 16 - bit
8388608.0         // 0x800000 for 24 - bit
2147483648.0 // 0x80000000 for 32-bit

given the cooresponding max positive and negative values allowed
 -32768 to 32767
 -8388608 to 8388607
 -2147483648 to 2147483647

 and I was curious why one would not know the bit depth of the data being being discussed?

Ernie

 _______________________________________________
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: AudioConverter gives non normalized samples?! (Doug Wyatt)
      • From: Brian Willoughby <email@hidden>
  • Prev by Date: Re: AU processor load
  • Next by Date: Re: Few sample rate conversion questions
  • Previous by thread: 64 Bit AU with GUI question
  • Next by thread: Re: AudioConverter gives non normalized samples?! (Doug Wyatt)
  • Index(es):
    • Date
    • Thread