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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Tim Goetze <tim@...>
Cc: Linux Audio Developers <linux-audio-dev@...>
Date: Thursday, August 2, 2012 - 8:56 pm

--e89a8fb1f79a97b45204c64ea657
Content-Type: text/plain; charset=ISO-8859-1

Thanks all for the replies, I've certainly learnt a lot.

On Thu, Aug 2, 2012 at 9:11 PM, Tim Goetze 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 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?

@Robin:
Unfortunatly I'm in a little over my head with the CPU stuff, but i tried
adding the suggested `-msse -mfpmath=sse` to the CFLAGS, no change. I'm
running an Intel Core2Duo 64bit machine, so Im pretty sure it has SSE etc
etc..

-Harry

--e89a8fb1f79a97b45204c64ea657
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Thanks all for the replies, I've=A0certainly=A0learnt a lot.=
On Thu, Aug 2, 2012 at 9:11 PM, Tim Goetze <=
span dir=3D"ltr"><tim=
@quitte.de
> wrote:

I think it's almost always a better idea to add an inaudible DC offset<=
br>
or a square wave at the block interval or at Nyquist<=
/div>How small is inaudible? Or better yet, how small is way beyond in=
audible, but enough to eliminate any denormals?
The other problem is locating exactly where the problem exists: I'm usi=
ng Faust=A0to generate the reverb DS=
P code, so injecting DC offset would involve me tinkering with the reverb a=
lgorithm. 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?
@Robin:Unfortunatly I'm in a little over=
my head with the CPU stuff, but i tried adding the suggested=A0`-msse -mfpmath=3Dsse` to the CFLAGS, no change=
. I'm running an Intel Core2Duo 64bit machine, so Im pretty sure it has=
SSE etc etc..
-Harry

--e89a8fb1f79a97b45204c64ea657--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Floating point Denormals: C++ and Waf, Harry van Haaren, (Thu Aug 2, 12:07 pm)
Re: [LAD] Floating point Denormals: C++ and Waf, David Robillard, (Thu Aug 2, 2:46 pm)
Re: [LAD] Floating point Denormals: C++ and Waf, Paul Davis, (Thu Aug 2, 3:28 pm)
Re: [LAD] Floating point Denormals: C++ and Waf, David Robillard, (Thu Aug 2, 4:02 pm)
Re: [LAD] Floating point Denormals: C++ and Waf, Paul Davis, (Thu Aug 2, 4:41 pm)
Re: [LAD] Floating point Denormals: C++ and Waf, J. Liles, (Thu Aug 2, 6:24 pm)
Re: [LAD] Floating point Denormals: C++ and Waf, Martin Homuth-Rosemann, (Thu Aug 2, 12:39 pm)
Re: [LAD] Floating point Denormals: C++ and Waf, Charles Henry, (Thu Aug 2, 3:14 pm)
Re: [LAD] Floating point Denormals: C++ and Waf, Martin Homuth-Rosemann, (Thu Aug 2, 6:31 pm)
Re: [LAD] Floating point Denormals: C++ and Waf, David Robillard, (Thu Aug 2, 6:52 pm)
Re: [LAD] Floating point Denormals: C++ and Waf, Martin Homuth-Rosemann, (Fri Aug 3, 7:40 am)
Re: [LAD] Floating point Denormals: C++ and Waf, Tim Goetze, (Thu Aug 2, 8:15 pm)
Re: [LAD] Floating point Denormals: C++ and Waf, Harry van Haaren, (Thu Aug 2, 8:56 pm)
Re: [LAD] Floating point Denormals: C++ and Waf, Tim Goetze, (Fri Aug 3, 12:08 am)
Re: [LAD] Floating point Denormals: C++ and Waf, Fons Adriaensen, (Thu Aug 2, 9:18 pm)
Re: [LAD] Floating point Denormals: C++ and Waf, Robin Gareus, (Thu Aug 2, 9:17 pm)
Re: [LAD] Floating point Denormals: C++ and Waf, Harry van Haaren, (Fri Aug 3, 2:50 pm)
Re: [LAD] Floating point Denormals: C++ and Waf, Jens M Andreasen, (Sat Aug 4, 8:51 am)
Re: [LAD] Floating point Denormals: C++ and Waf, Charles Henry, (Thu Aug 2, 3:17 pm)
Re: [LAD] Floating point Denormals: C++ and Waf, Robin Gareus, (Thu Aug 2, 12:20 pm)
Re: [LAD] Floating point Denormals: C++ and Waf, James Warden, (Thu Aug 2, 12:33 pm)