Re: AudioConverter gives non normalized samples?! (Doug Wyatt)
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