<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I'm fairly sure that [snapshot~] doesn't generate random numbers, but marks the current point of an audio signal. Although this whole thing's got me thinking...<div><br></div><div>If you use [snapshot~], attached to a real world sound source [adc~] to generate random numbers, then increasing volume would increase the range of your random generation. For instance </div><div><br></div><div>[adc~]</div><div>|</div><div>[snapshot~] (plus a bang)</div><div>|</div><div>[+ 1]</div><div>|</div><div>[* 10]</div><div>|</div><div>[int]<br><br></div><div>In this case a sound source at a solid 1 - -1 volume (such as [osc~]) would give you a number from 0 to 20, when the bang is sent.</div><div><br></div><div>but a quieter sound source e.g. 0.2 - -0.2 would provide a number from 0 - 4</div><div><br></div><div><br></div><div>Anyone fault my logic?</div><div><br></div><div><br></div><div><br>> Date: Mon, 6 Jul 2009 11:37:35 +0200<br>> From: zmoelnig@iem.at<br>> To: kram@stillavailable.com<br>> CC: pd-list@iem.at<br>> Subject: Re: [PD] help_random/seed<br>> <br>> Georg Bosch wrote:<br>> > IOhannes m zmoelnig wrote:<br>> > <br>> >> Andrew Faraday wrote:<br>> >>> Just an idea, but if the hardware random number generators use a jittery<br>> >>> oscillator etc. Why not use [noise~] and [snapshot~] followed by some<br>> >>> arithmetic and [int] you could build what I assume would be more random<br>> >>> than the [random] box.<br>> >> weird idea.<br>> >> especially, since [noise~] uses exactly the same pseudo-random algorithm<br>> >> as [snapshot~].<br>> > <br>> > Snapshot~ outputs random numbers? That would explain a lot of oddities in<br>> > my patches ;)<br>> <br>> man, it was early in the morning....<br>> <br>> > <br>> > What does make sense is to use noise *from the adc* with snapshot~ to get<br>> > seeds for your random objects, I think that was what Frank meant with the<br>> > "Can of Beats" patch.<br>> <br>> yes that is a perfectly good idea (at least if you can make sure that <br>> the [adc~] will be hooked up to some real-world soundsource)<br>> <br>> and then there is the wide range of time-based seeds (e.g. uptime of the <br>> computer, system time...)<br>> <br>> gf<br>> asdrm<br>> IOhannes<br></div><br /><hr />Beyond Hotmail - see what else you can do with Windows Live. <a href='http://clk.atdmt.com/UKM/go/134665375/direct/01/' target='_new'>Find out more.</a></body>
</html>