O, forgot to mention, list-sample uses [urn] but I figured you could replace it with [urne].
On Thu, Mar 6, 2008 at 2:48 AM, Luke Iannini (pd) lukexipd@gmail.com wrote:
Here's another quick pair, again inspired by Python libraries (sorry, Python just seems to love lists as much as Pd .39+ and I do), this time the random module.
[list-sample n] grabs a random bunch of n unique items from the incoming list and outputs them as a new list.
list-shuffle is a shortcut to [list-sample]ing the same number of items as were in the list originally, which results in a shuffled list.
Cheers Luke