Re: Canonical format max amp limits?
Re: Canonical format max amp limits?
- Subject: Re: Canonical format max amp limits?
- From: "James Chandler Jr" <email@hidden>
- Date: Wed, 14 Jul 2004 19:11:05 -0400
----- Original Message -----
From: "Steve Checkoway" <email@hidden>
>
> That would add really nasty quantization noise which isn't very
>
> musical at
>
> all. Probably wouldn't hear it on your MP3 player, but professionals
>
> would run
>
> screaming from Mac OS X and CoreAudio if it were implemented this way.
>
>
Really nasty? You're talking about the difference between one sample
>
being -32767 and one being -32768. Can you really hear that one sample
>
out of the 44100 others that are being played that second?
Hi Steve
Two things (apologies for belaboring the point)--
* Though the distortion might be small, assymetrical scaling just "isn't the
right thing to do".
* If you do any non-trivial DSP float processing, its guaranteed that there will
be conditions making the float values occasionally go WAY LOUDER than {-1.0,
+1.0}.
To ensure 'as proper as possible' operation, in cases where the user mis-adjusts
one of your program's knobs, you always have to clip to avoid wraparound.
Wraparound sounds way worse than hard-clipping.
Since clipping might as well be considered mandatory, the 'incorrect'
assymetrical scaling strategy wouldn't even offer efficiency advantages.
JCJR
_______________________________________________
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.