[sdiy] Uniformly distributed noise generator?
mars at pingdynasty.com
Mon Jun 10 16:55:34 CEST 2013
On 10 Jun 2013, at 15:06, cheater00 . wrote:
> On Mon, Jun 10, 2013 at 3:15 PM, Scott Gravenhorst <music.maker at gte.net> wrote:
>> It has been sooo long since the implementation of the chuff chuff LFSR with only a
>> few bits and low clock rate that it is truly a ridiculous comparison to analog noise
> That's not really good enough in my application. This is for a
> measurement fixture. I need true, never-repeating randomness.
Never-repeating, for realz?
If you don't need more than 1/ms for the next 4 billion years then a Mersenne Twister PRNG  will do just fine.
There are some nice implementations out there . I developed a solution for the STM32F mcu's which will be published at some point.
Of course the STM32F2 and F4 have built-in true RNG, making the twister a bit superfluous.
If you are very, very particular about the randomness of your values then verify with the diehard (or dieharder) test suites .
More information about the Synth-diy