[linux-audio-dev] ANN: libgdither 0.6
Wolfgang Woehl
tito at rumford.de
Mon Jul 25 17:37:14 UTC 2005
Steve Harris <S.W.Harris at ecs.soton.ac.uk>:
> http://plugin.org.uk/libgdither/
Me being noisy all the time I still don't know the maths of making
noise. Would you care to explain the rationale in this snippet from
noise.h?
inline static float gdither_noise()
{
static uint32_t rnd = 23232323;
rnd = (rnd * 196314165) + 907633515;
return rnd * 2.3283064365387e-10f;
}
The 64bit fixes have rnd left over as the last uint32_t. Is this on
purpose?
Thanks in advance, Wolfgang
More information about the Linux-audio-dev
mailing list