[linux-audio-dev] ANN: libgdither 0.6

Alfons Adriaensen fons.adriaensen at alcatel.be
Tue Jul 26 15:51:09 UTC 2005


On Tue, Jul 26, 2005 at 09:45:45AM +0100, Steve Harris wrote:

> Yes, note that its not much good as a random number generator as
> its easily predictable,

All 'psuedoramdom' generators are predictable, that doesn't make
them less 'good', except for cryptographic applications.

> but in this case all thats required is that it
> produces noise that is approximatly white (ie. equal energy in each
> frequency band), and its efficient.

It's a perfectly good choice for this application. Its only problem
is when you use it to generate random *bits*. Witm m = 2^N, the
lower n bits will form of cycle of lenght 2^n, so e.g. the LS bit is
just altermating 0,1,0,1,0,1 -- not very random.

-- 
FA




More information about the Linux-audio-dev mailing list