Distribution of random numbers and pseudo random generators
|
|
Bored Chemist
|
|
Registered Member #193
Joined: Fri Feb 17 2006, 07:04AM
Location: sheffield
Posts: 1022
|
I realise this may be a dumb idea for testing many sequences, but what do "bad" random number generators sound like if you feed them to a speaker? Presumably, if they are bad enough, they don't sound like noise anymore.
|
Back to top
|
|
Carbon_Rod
|
|
Registered Member #65
Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
|
pink/white noise in the AF is 2^16 *2*44kHz typical sample rate per second.
|
Back to top
|
|
Bjørn
|
|
Registered Member #27
Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
|
I tried sound but I was unable to identify generators with short periods and other defects like missing values. The human hearing is very sensitive to some things like very weak sinewaves in the sound but it seems like most things that humans are good at detecting by sound very rarely exist as defects in pseudo random generators. So most defects that are easy to hear are also easy to detect automatically.
My conclusion about the simple generators I have looked at is: Most generators does not generate all values and have very short periods. Some generators have pseudorandom properties but the period is very short. Just a few generators have periods long enough to be really usable.
|
Back to top
|
|
Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob
|
|
Powered by e107 Forum System
|