<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 14/11/2012 18:30, Andrew Faraday a
écrit :<br>
</div>
<blockquote cite="mid:COL120-W28DC631301CF8F0843498EDE530@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<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>> Date: Wed, 14 Nov 2012 14:53:44 +0000<br>
> From: <a class="moz-txt-link-abbreviated" href="mailto:enrique@netpd.org">enrique@netpd.org</a><br>
> To: <a class="moz-txt-link-abbreviated" href="mailto:pd-list@iem.at">pd-list@iem.at</a><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>
> <a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management ->
<a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
<br>
Yep, but the first requirement for Enrique was :<br>
- No externals / Vanilla Pd only<br>
<br>
So it doesn't work with zexy [time] (this not in Pd Vanilla ;).<br>
++<br>
<br>
Jack<br>
<br>
<br>
</body>
</html>