Re: [LAD] A small article about tools for electronic musicians

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Saturday, May 1, 2010 - 8:18 pm

On Saturday 01 May 2010, at 20.57.36, "Tim E. Real"

Dynamic range, performance and ease of use. (However, as most FPUs - apart
from SIMD implementations that generally don't have denormals at all - lack a
simple switch to disable denormals, the last point is pretty much eliminated,
I think...)

> Considering audio can have really small values, does it not lead to errors

Yes, and no. If you add values in the same general order of magnitude, it's
pretty much like adding integers. If you add a very small value to a very
large one, and the difference is so large that the mantissas don't overlap,
nothing happens! >:-)

> Why do we not use some sort of fixed-point computations?

I do, sometimes. ;-) However, it's a PITA, and I do it only when the code is
supposed to scale to hardware with slow FPUs or no FPUs at all. I suspect
floating point implementations would run faster on current PC/workstation CPUs
- but then again, *correct* (ie denormal handling) code may not...! I'm not

//David Olofson - Developer, Artist, Open Source Advocate

.--- Games, examples, libraries, scripting, sound, music, graphics ---.
| |
| |
Linux-audio-dev mailing list

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

Messages in current thread:
Re: [LAD] A small article about tools for electronic musicians, David Olofson, (Sat May 1, 8:18 pm)