<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<div><br></div>Just an idea, but if the hardware random number generators use a jittery oscillator etc. Why not use [noise~] and [snapshot~] followed by some arithmetic and [int] you could build what I assume would be more random than the [random] box.<div><br></div><div>Andrew</div><div><br>&gt; Date: Sun, 5 Jul 2009 00:22:51 -0400<br>&gt; From: martin.peach@sympatico.ca<br>&gt; To: mmoserbooth@gmail.com<br>&gt; CC: pd-list@iem.at; zmoelnig@iem.at<br>&gt; Subject: Re: [PD] help_random/seed<br>&gt; <br>&gt; Mike Moser-Booth wrote:<br>&gt; &gt; IOhannes m zmölnig wrote:<br>&gt; &gt;&gt; Frank Barknecht wrote:<br>&gt; &gt;&gt;&gt; Hallo,<br>&gt; &gt;&gt;&gt; cem guney hat gesagt: // cem guney wrote:<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; just started studying PD. going through the control examples i've <br>&gt; &gt;&gt;&gt;&gt; been stuck trying to figure out the function of the message, seed <br>&gt; &gt;&gt;&gt;&gt; 123 in the<br>&gt; &gt;&gt;&gt;&gt; example for "random". not sure if i figured out the explanation below,<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; Seeds are kept locally so that if two Randoms are seeded the same <br>&gt; &gt;&gt;&gt;&gt; they will have the same output (or indeed you can seed the same one <br>&gt; &gt;&gt;&gt;&gt; twice to repeat the output.)<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Yes, that's true, you understood correctly.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Oh, wait, that's what's in the help-file! What exactly is cloudy there?<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; probably the simple fact, that [random] despite of it's name does not <br>&gt; &gt;&gt; really produce random numbers.<br>&gt; &gt;&gt; mostly when computers present you a "random" number, then this number <br>&gt; &gt;&gt; will only appear to be random, but in reality is just calculated as <br>&gt; &gt;&gt; the next item of a totally deterministic series.<br>&gt; &gt;&gt; (as a matter of fact, a new random number is usually generated by <br>&gt; &gt;&gt; simple taking the last number and then applying some more or less <br>&gt; &gt;&gt; complicated transformation on this number). this method is known as <br>&gt; &gt;&gt; "pseudo random".<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; you can set the "starting point" of the series by setting the "seed", <br>&gt; &gt;&gt; which is the first number of the random sequence). since all [random] <br>&gt; &gt;&gt; object use the same algorithm to calculate the next pseudo-random <br>&gt; &gt;&gt; number, they will all end up with the same sequence if they all start <br>&gt; &gt;&gt; with the same "seed".<br>&gt; &gt;&gt; by default Pd uses different seeds for all [random] objects so they <br>&gt; &gt;&gt; all appear to work independently.<br>&gt; &gt; In addition, it's probably worth mentioning that Pd will produce the <br>&gt; &gt; same seeds for each [random] every time you load the patch. So while <br>&gt; &gt; they appear to work independently, you will still get the same results <br>&gt; &gt; each time you first run a patch after loading it.<br>&gt; &gt; <br>&gt; <br>&gt; A lot of the latest cpus have hardware random number generators that <br>&gt; work by having a jittery oscillator sample the cpu clock, or something <br>&gt; along those lines. (Such a jittery oscillator is assumed to have <br>&gt; normally distributed transition times.)<br>&gt; It would be nice if the random source could be independently specified <br>&gt; for all the pd objects that use random numbers, since the count of <br>&gt; unreachable combinations when using the standard deterministic chaos <br>&gt; generators is infinite.<br>&gt; <br>&gt; Martin<br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; Pd-list@iem.at mailing list<br>&gt; UNSUBSCRIBE and account-management -&gt; http://lists.puredata.info/listinfo/pd-list<br></div><br /><hr />
Upgrade to Internet Explorer 8 Optimised for MSN. <a href='http://extras.uk.msn.com/internet-explorer-8/?ocid=T010MSN07A0716U' target='_new'>Download Now</a></body>
</html>