Re: Canonical format max amp limits?
Re: Canonical format max amp limits?
- Subject: Re: Canonical format max amp limits?
- From: William Stewart <email@hidden>
- Date: Tue, 13 Jul 2004 12:54:12 -0700
the range for CA floats is -1 < 1
Bill
On 13/07/2004, at 11:28 AM, Carlos Eduardo Mello wrote:
>
Hi,
>
>
A few days ago I asked about how to set a default output unit to
>
playback my finished audio buffers.
>
It is working right now, exept for one thing - I couldn't find
>
anywhere in the docs (headers, etc). what is the maximum amplitude
>
value expected for the canonical format. Docs say every sample is a
>
float, but not how big they can be. So I tried the greatest float
>
value for the system, then I tried 32767 (thinking the float was just
>
a way of filling the gaps between 16 bit integers, and I also tried
>
other arbitrary constants. They all produced distortion. The only
>
way it works properly is if I normalize the signal to 1.0 before
>
sending my floats throught the input callback. Is this the expected
>
thing to do? If so, shouldn't it be clearly explained in the docs?
>
_______________________________________________
>
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
________________________________________________________________________
__
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________
__
_______________________________________________
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.