[PD] list-shuffle

Stephen Lucas s9lucas at gmail.com
Sat Nov 7 05:47:41 CET 2009


Here's a version with [until].

Abstractions using other abstractions the same library blows my mind.

-Stephen
On Fri, Nov 6, 2009 at 10:27 PM, Matt Barber <brbrofsvl at gmail.com> wrote:

> I like this solution, too -- I would probably use an [until] to
> control the loop, however -- this will help for huge lists that might
> freeze Pd otherwise.
>
> About "only vanilla" -- one of my favorite things about the list-abs
> library is that the abstractions often use other abstractions from the
> library, so I try to use them when I can in a way that might be
> pedagogically useful... I think yours might be a little more efficient
> at first glance.
>
> MB
>
> On Fri, Nov 6, 2009 at 11:12 PM, Stephen Lucas <s9lucas at gmail.com> wrote:
> > This might be a simpler solution using only vanilla objects; I think I
> > debugged it well enough.
> >
> > The second inlet for seed value is not essential if you want to switch it
> > back to the route method.
> >
> > -Stephen
> >
> > On Fri, Nov 6, 2009 at 8:51 PM, Matt Barber <brbrofsvl at gmail.com> wrote:
> >>
> >> Hello,
> >>
> >> Attached is [list-shuffle], which should randomly shuffle the elements
> >> of an incoming list.  I assume that something like this already
> >> exists, but I couldn't find it on a cursory search so I thought I'd
> >> send it along on the off-chance that it hasn't been included or that
> >> it might help.  Of course I'd welcome improvements.
> >>
> >> Thanks,
> >>
> >> Matt
> >>
> >> _______________________________________________
> >> Pd-list at iem.at mailing list
> >> UNSUBSCRIBE and account-management ->
> >> http://lists.puredata.info/listinfo/pd-list
> >>
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20091106/575c62fa/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: list-jumble.pd
Type: application/octet-stream
Size: 1766 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20091106/575c62fa/attachment.obj>


More information about the Pd-list mailing list