[PD] PD autoselects from a folder

F. Medeiros excalibas at gmail.com
Mon Apr 26 13:03:35 CEST 2010


On Sun, 2010-04-25 at 01:34 -0500, Ben Baker-Smith wrote:
> >Hey All
> >It's the perpetual newbie here again. I've been working on a generative gem patch (to run on a seperate machine when I work) and I want this to load >and re-load images from a selected folder. So far the only thing remotely like it I've found is [openpanel] which requires a user to choose. I really want an >object to load files from this directory randomly or sequentially without human interaction. I think I've seen something like this before, just no idea what it >is.
> >Also, I could use something like it for audio
> >Thanks
> >Andrew
> 
> This patch will do what you want. It was originally created for audio
> loops, but will work for any directory or file extension.
> 
> -Ben

I use [playlist] on pd-extended, I don't have a help file but use this
http://wiki.puredata.info/en/playlist 

"You can seek a file in the list [seek $1(
It will skip the first two items ( '.' and '..')
and behave like a round list"

So it is very easy to use with [random]

F. Medeiros







More information about the Pd-list mailing list