[PD] PD autoselects from a folder

Ben Baker-Smith bbakersmith at gmail.com
Mon Apr 26 19:42:21 CEST 2010


Here's an abstraction I made to handle file browsing with a GUI
interface. I actually based it on one of the PDMTL abstractions,
having not known until this thread that [playlist] existed. Anyway, it
should do all the same things playlist does, except for being

You can select files by index or using the GUI. The right outlet gives
you the number of loaded files, so you can use this to set the range
of a [random] object and use it to select files by index.

Attached is the patch and its help file.


On Mon, Apr 26, 2010 at 10:44 AM, Pagano, Patrick
<pat at digitalworlds.ufl.edu> wrote:
> This is a VERY helpful patch, thanks. I wish we could have something like playlist~ for windows.
> pp
> -----Original Message-----
> From: pd-list-bounces at iem.at [mailto:pd-list-bounces at iem.at] On Behalf Of Ben Baker-Smith
> Sent: Sunday, April 25, 2010 2:35 AM
> To: Andrew Faraday; pd list
> Subject: Re: [PD] PD autoselects from a folder
>>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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bb_filebrowser.zip
Type: application/zip
Size: 2924 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100426/8b27bcd5/attachment.zip>

More information about the Pd-list mailing list