[PD] random seed
Miller Puckette
mpuckett at man104-1.ucsd.edu
Thu Aug 26 05:04:19 CEST 2004
Hi all,
I wonder if this is still a problem. I just tried 'random' in linux, gave
it a seed (123), got a seqence out, seeded it again with 123, got the same
sequence out, seeded it with 234, got a different sequence. Have any
of you found that you get the same sequence from 'random' having fed
it two different (integer) seeds !? This would be wrong.
c
m
On Sun, Apr 18, 2004 at 01:51:13AM +0200, derek holzer wrote:
> David,
>
> David Sabine wrote:
>
> >To avoid this behaviour, it's best to NOT give a seed at all. Or to
> >provide
> >a seed that is always different (like the operating system's clock time).
>
> Precisely my first two attempts! I gave a seed from [shell] which gave
> current time, or none at all. The progression seemed pretty much the
> same no matter what.
>
> Like I said, I remember it worked different on windoze, so I wonder if
> it has anything to do with PD's access to the random number pool in
> Linux. I guess that's one for Miller or Guenter to puzzel over ;-)
>
> d.
>
> --
> derek holzer ::: http://www.umatic.nl
> ---Oblique Strategy # 130:
> "Question the heroic"
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
More information about the Pd-list
mailing list