[PD] abstraction [list-unique-random]

Jack jack at rybn.org
Tue Mar 16 19:21:29 CET 2010


Then, here my small contribution ;)
Based on the abstraction [urne] (thx to Frank) from the 'purepd' section
on Sourceforge and the messages [add2 $1( instead of [list]x[t l] to
accelerate things (thx to Roman).
++

Jack



Le mardi 16 mars 2010 à 18:13 +0100, Jack a écrit :
> Very clever method.
> I have nothing to add :)
> ++
> 
> Jack
> 
> 
> Le mardi 16 mars 2010 à 16:01 +0100, Frank Barknecht a écrit :
> > Hallo,
> > Jack hat gesagt: // Jack wrote:
> > 
> > > I just make this abstraction : [list-unique-random] to get a list with
> > > random numbers (integers).
> > > I didn't see it in the list-abs or in sfruit (am i wrong ?).
> > > 
> > > You can determine :
> > > - the range of the random number with an argument or dynamically.
> > > - the size wanted of you list with a message.
> > > 
> > > Maybe, this is not an optimized abstraction, so people can modify it.
> > > Frank, if you want, you can modify it (my english is not very good) and
> > > add it to list-abs.
> > 
> > Thanks a lot for it, Jack. I guess, an object like this would be good to have
> > in list-abs.  I've used the functionality in the past, but never bothered with
> > an abstraction. I have used my urne.pd then, which is in the "purepd" section
> > on Sourceforge and a clone of Max'/Cyclone's [urn] (but not zexy's [urn]!). It
> > seems to deal a bit better with huge numbers like building a list of 1000
> > unique numbers without stack overflows. It's attached.
> > 
> > Ciao
> > _______________________________________________
> > Pd-list at iem.at mailing list
> > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 
> 
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

-------------- next part --------------
A non-text attachment was scrubbed...
Name: list-urn-help.pd
Type: text/x-puredata-help
Size: 750 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100316/0ca6f3d1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: list-urn.pd
Type: text/x-puredata
Size: 3505 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100316/0ca6f3d1/attachment-0001.bin>


More information about the Pd-list mailing list