[PD] Random numbers

B. Bogart ben at ekran.org
Fri Mar 17 16:52:39 CET 2006


Hi Chris,

I only have one random object.

I tried sending a different [random] seed on loadbang, but of course that
gives us the same seed each time, and then the random gives the same set
of random numbers each time.

Seed just changes the next set of random numbers while PD is running, once
you quit and start again, the same [random] will output the same sequence
of numbers, no matter what the seed.

I need PD to give me different random numbers for each PD session, not for
each loaded patch (which would work) sorry I did not make this clear.

Chris, I'm working on a easier test of my OSX CPU bug, I'll send it to
pd-dev once I make sure it still fails. You'll need at least 16 different
videos to test it.

.b..

On Fri, March 17, 2006 10:34 am, chris clepper said:
> Have you tried sending a different 'seed' message to each random object?
>
> On 3/17/06, B. Bogart <ben at ekran.org> wrote:
>>
>> Hey all,
>>
>> How can I get PD to generate a different set of 16 random numbers each
>> time a patch loads? They should be uniformly distributed.
>>
>> After a few tests it seems [random] always outputs the same values on
>> load
>> which does make sense in terms of pseudorandom numbers.
>>
>> would doing a snapshot on [noise~] be any better?
>>
>> Thanks all,
>>
>> .b.
>>
>>
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>






More information about the Pd-list mailing list