[PD] Shuffling arrays
lsutton at libero.it
Mon Oct 4 15:07:52 CEST 2010
tim vets wrote:
> William Brent's tabletool ?
> 2010/10/4 Andrew Faraday <jbturgid at hotmail.com
> <mailto:jbturgid at hotmail.com>>
> Hey Guys
> 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)?
I guess if you only need to *read* elements of the array you could also
use the [urn] object from cyclone feeding a [tabread].
> Help would be appreciated
> Pd-list at iem.at <mailto:Pd-list at iem.at> mailing list
> UNSUBSCRIBE and account-management ->
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list