Re: Canonical format max amp limits?
Re: Canonical format max amp limits?
- Subject: Re: Canonical format max amp limits?
- From: Brian Willoughby <email@hidden>
- Date: Tue, 13 Jul 2004 18:20:50 -0700
Or, more precisely,
-1 <= x < 1
... if you consider the conversion to twos-compliment fixed integer that all
D/A chips require.
Brian Willoughby
Sound Consulting
Begin forwarded message:
From: William Stewart <email@hidden>
the range for CA floats is -1 < 1
Bill
On 13/07/2004, at 11:28 AM, Carlos Eduardo Mello wrote:
>
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.