[sdiy] Pseudo Random Noise Generator in an AVR?
Martin Fay
martin at martinfay.com
Thu Jan 10 08:26:45 CET 2013
Hi Jay,
Can you give any reasoning behind why you say this? One I can think of
is that the constants for the linear conguential algorithm in a
standard library can be poorly chosen.
Martin
Sent from my iPhone
On 10 Jan 2013, at 03:21, "Jay Schwichtenberg" <jays at aracnet.com> wrote:
> FYI
>
> The rand function in C libraries is typically of the form: rnd =
> (rnd * x) +
> y; where x and y are constants. These aren't good random number
> generators
> for a lot of work. LFSRs are usually a lot better.
>
> -----Original Message-----
> From: synth-diy-bounces at dropmix.xs4all.nl
> [mailto:synth-diy-bounces at dropmix.xs4all.nl] On Behalf Of MTG
> Sent: Wednesday, January 09, 2013 10:21 AM
> To: synth-diy at dropmix.xs4all.nl
> Subject: Re: [sdiy] Pseudo Random Noise Generator in an AVR?
>
> This may be heresy, but many C compilers include a rand() function as
> part of their C library. You might want to see if you already have
> it.
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at dropmix.xs4all.nl
> http://dropmix.xs4all.nl/mailman/listinfo/synth-diy
>
>
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at dropmix.xs4all.nl
> http://dropmix.xs4all.nl/mailman/listinfo/synth-diy
More information about the Synth-diy
mailing list