Re: Float 32 Audio format: +-1.0?
Re: Float 32 Audio format: +-1.0?
- Subject: Re: Float 32 Audio format: +-1.0?
- From: Bill Stewart <email@hidden>
- Date: Fri, 17 May 2002 17:24:26 -0700
The AU expects a default range of +/-1.0 (where 1.0 is actually a clipped
value)
I'd recommend using the AudioConverter to do these conversions for you.
We've done even more work on them since 10.1, so with jaguar they are fast
and highly optimised for PPC, so I would expect them to be better than
generic code that runs on any number of platforms...
bill
on 17/5/02 3:26 PM, Tracy Lakin wrote:
>
Hi All,
>
>
I'm throwing together an Audio Unit as proof of concept for management. I
>
don't have a test bed, just DAVE for testing, black box style. I'm converting
>
to and from 32 bit signed ints, and something is not right. The audio has many
>
glitches, so I suspect the conversion. The algorithms are proven, working in
>
Mac SoundJam, Windows WinAmp, Linux, etc. so I don't suspect them.
>
>
I remember someone saying at the WWDC, and I found a reference on this list,
>
that the Float32 audio data Core Audio uses is ranged +-1.0. Can someone
>
verify that for me? Or could it be 0 - 1.0? This does not appear to be
>
documented anywhere, and without debugging, I can't look at the data... If I
>
can show this working, I can probably get the budget to build a test bed
>
(welcome to new millenium coding).
>
>
(I took myself off digest mode, but it has not yet taken effect... a direct
>
response would be really appreciated.)
>
>
Thanks,
>
Tracy
>
>
Tracy Lakin
>
Senior Software Engineer
>
email@hidden
>
>
http://www.octiv.com
>
_______________________________________________
>
coreaudio-api mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
>
Do not post admin requests to the list. They will be ignored.
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
"Thousands of years ago, cats were worshipped as gods. We have never
forgotten this."
__________________________________________________________________________
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.