[PD] PD autoselects from a folder

Hans-Christoph Steiner hans at at.or.at
Wed Apr 28 06:08:46 CEST 2010

Try [tof/folderpanel] or

[import tof]


On Apr 26, 2010, at 7:06 PM, Ben Baker-Smith wrote:

> Patrick,
> [folderpanel] is an object from the TOF library, which is included
> with pd-extended but which I always have to add manually in the paths
> menu (don't know why this is, my guess is: bug).
> [$n 1] is short for [dollarg] from the iemlib (also included with
> pd-extended). I'm not sure what the problem is with it, but it doesn't
> always load for me either. In fact, I'm going to contact the list
> about it now.
> I fixed a couple things including replacing [$n 1] with [dollarg] and
> correcting the output of the right outlet, and attached the new
> version to this message.
> To get it working you should just have to add the TOF library to your
> paths and/or startup (I have it in both, don't remember which is
> required), in order for it to recognize [folderpanel]. Hope that does
> it.
> -Ben
> On Mon, Apr 26, 2010 at 3:54 PM, Pagano, Patrick
> <pat at digitalworlds.ufl.edu> wrote:
>> Looks like it's missing "folderpanel" and &n 1
>> -----Original Message-----
>> From: Ben Baker-Smith [mailto:bbakersmith at gmail.com]
>> Sent: Monday, April 26, 2010 2:33 PM
>> To: Pagano, Patrick
>> Cc: pd list
>> Subject: Re: [PD] PD autoselects from a folder
>> 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
> <bb_filebrowser.zip>_______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


"Free software means you control what your computer does. Non-free  
software means someone else controls that, and to some extent controls  
you." - Richard M. Stallman

More information about the Pd-list mailing list