[PD] PD autoselects from a folder

Ben Baker-Smith bbakersmith at gmail.com
Mon Apr 26 20:32:52 CEST 2010

Oops, looks like I left a couple [print] objects in the abstraction
from when I was debugging it. You can delete [print STACK2] [print
STACK3] [print STACK4]

On Mon, Apr 26, 2010 at 12:42 PM, Ben Baker-Smith <bbakersmith at gmail.com> wrote:
> Patrick,
> 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
> resizeable.
> 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.
> -Ben
> 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

More information about the Pd-list mailing list