Re: [LAD] Floating point Denormals: C++ and Waf

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Fri Aug 03 2012 - 00:17:58 EEST

On Thu, Aug 02, 2012 at 09:56:51PM +0100, Harry van Haaren wrote:
 
> How small is inaudible? Or better yet, how small is way beyond inaudible,
> but enough to eliminate any denormals?
>
> The other problem is locating exactly where the problem exists: I'm using
> Faust <http://faust.grame.fr/> to generate the reverb DSP code, so
> injecting DC offset would involve me tinkering with the reverb algorithm.
> I'd prefer leave it alone, but the outputs of the reverb can be DC-offseted
> easily. I don't think that would be enough... since the denormals could /
> would also exist internally in the reverb algo?

Yes they would, at the output it's too late.

Any IIR will have chain of delay elements, with both the
feedback and the output being a weighted sum of those.
Addin 1e-20f to the input of the delay chain will avoid
denormals and be inaudible.

Ciao,

-- 
FA
A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Aug 3 00:15:13 2012

This archive was generated by hypermail 2.1.8 : Fri Aug 03 2012 - 00:15:14 EEST