<br><br><div><span class="gmail_quote">On 19/11/2007, <b class="gmail_sendername">David Powers</b> <<a href="mailto:cyborgk@gmail.com">cyborgk@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I guess you need some pseudo-random number to multiply by, such as the<br>system time in milliseconds... However I'm not sure how one would get<br>the system time into ChucK.</blockquote><div><br>No, I'm nearly 100% sure you can't, in fact I put that on the wish-list last time we were asked for wishes for exactly this reason (and to be able to make a ChucKoo clock, of course!)
<br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I suppose that you could run some sort of batch script, or say a<br>couple lines of Python, that either gets the current system time, or
<br>creates some type of random seed number; then generates a ChucK file<br>with that seed number as a global variable.</blockquote><div><br>Perhaps a script could call the .ck with the system time as a parameter? That sounds reasonable enough, I'm no BASH/ batch wizzard but that should be quite possible.
<br><br>It's a interesting problem.<br><br>Kas.<br></div><br></div>