[PD] Shuffling arrays
Mathieu Bouchard
matju at artengine.ca
Mon Oct 4 16:31:29 CEST 2010
On Sun, 3 Oct 2010, Andrew Faraday wrote:
> I've recently come across the .shuffle method in Ruby which randomly
> re-orders the content of an array. Does anyone know of a way to do this
> in Pd, that is, either change the order of notes within an array or
> output them in a random order (without repeating any part of it)?
there's an example of shuffling at the top of [#sort]'s help file :
http://gridflow.ca/help/%23sort-help.html
_______________________________________________________________________
| Mathieu Bouchard ------------------------------ Villeray, Montréal, QC
More information about the Pd-list
mailing list