<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi<div><br></div><div>Is the [time] object in pd-vanilla? If so you could use the milliseconds output as your seed...</div><div><br></div><div>[loadbang]</div><div> |</div><div>[time]</div><div> | (milliseconds)</div><div> [random]</div><div><br></div><div><br></div><div><br><div><div id="SkyDrivePlaceholder"></div>> Date: Wed, 14 Nov 2012 14:53:44 +0000<br>> From: enrique@netpd.org<br>> To: pd-list@iem.at<br>> Subject: [PD] Random number generation quest<br>> <br>> Hi List!<br>> <br>> Can a random number form 0 to 100 be generated with the following requirements:<br>> <br>> - No externals / Vanilla Pd only<br>> - DSP must be off<br>> - The patch is loaded with Pd through command line interface i.e.<br>> `pd -noprefs -nogui givemerandom.pd`<br>> - The output should not always be the same number<br>> <br>> Thanks for looking into it<br>> <br>> eni<br>> <br>> _______________________________________________<br>> Pd-list@iem.at mailing list<br>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list<br></div></div>                                            </div></body>
</html>