[sdiy] Uniformly distributed noise generator?

Dave Manley dlmanley at sonic.net
Mon Jun 10 18:09:34 CEST 2013


Careful with MT, it can have very poor quality output with some seeds.

-------- Original Message --------
 From: Martin Klang <mars at pingdynasty.com>
 Sent: Mon, Jun 10, 2013 07:55 AM
 To: cheater00 . <cheater00 at gmail.com>
 CC: synth-diy <Synth-diy at synth-diy.org>
 Subject: Re: [sdiy] Uniformly distributed noise generator?

>
>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 [1] will do just fine.
>
>There are some nice implementations out there [2]. 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 [3].
>
>hth,
>
>/m
>
>[1] http://en.wikipedia.org/wiki/Mersenne_twister
>[2] http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
>[3] http://code.google.com/p/dieharder/
>
>_______________________________________________
>Synth-diy mailing list
>Synth-diy at synth-diy.org
>http://synth-diy.org/mailman/listinfo/synth-diy
>


More information about the Synth-diy mailing list