[PD] permute lists?

IOhannes m zmoelnig zmoelnig at iem.at
Fri Jan 14 09:15:40 CET 2022


On 1/14/22 08:09, Peter P. wrote:
> Thanks José! This works really nicely and I am still trying to
> understand how this is done!

similar to how you would create a randomly permutated list:
- pick a random element from the input list and append it to the output list
- repeat until the input list is exhausted

since the input list shrinks over time, the [random] generator's maximum 
value is decremented for each iteration.

gmadsr
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20220114/94c9888c/attachment.sig>


More information about the Pd-list mailing list