home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 5_2007-2008.ISO / data / Zips / True_(not_2080698252007.psc / @PSC_ReadMe_69188_1.txt
Text File  |  2007-08-25  |  2KB  |  7 lines

  1. Title: True (not pseudo) Random Coin Toss
  2. Description: As you know, computers generate a pseudo set of random numbers. This is unavoidable in a digital environment. A coin toss is in reality an analog event. The only way to have a truly random number generator is by introducing an analog to digital conversion. This program does exactly that. The analog random event sampled is sound frequency and by using a microphone, a completely random set of numbers (seeds) are generated. The audio FFT is borrowed from PSC. Many methods have been suggested to perform this task. Some have used random data sets as seeds. Others have sampled mouse movement. A website provides realtime random atmospheric data (www.random.org). There has even been a proposal to include a cesium chip in all computers eventually as it decays in a random fashion. My method seems foolproof as long as a microphone is set at a reasonable sensitivity and the environment is noisey. The importance of true randomization cannot be overemphasized as this is essential for the scientific method and in clinical studies. My application, which will be posted soon, is simpler and more abstruse. I intend to use this random generator to identify variations in our collective unconscious, an idea I heard about on National Geographic. ---Update(08-22-07):Instability added, minor changes ---Update (08-25-07): Algorithm improved, Added Temporal Instability monitor with raw data, Chi Squared Statistic with table to assess randomness. You may compare a Simulation (using the Timer seed) versus my Hardware (sound) Seed, although significant difference will require over about 1 million flips. The instability data may be viewed in 15 minute intervals for about 1 year using MSChart32. Rudimentary help file with more to follow.
  3. This file came from Planet-Source-Code.com...the home millions of lines of source code
  4. You can view comments on this code/and or vote on it at: http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=69188&lngWId=1
  5.  
  6. The author may have retained certain copyrights to this code...please observe their request and the law by reviewing all copyright conditions at the above URL.
  7.