[PD] getting file info from a directory

Patrice Colet megalegoland at yahoo.fr
Sat Jul 21 02:38:34 CEST 2007


Hello Denis,

  I don't know how to do this with pd native objects, but it's possible 
to use another 'language' for this task, in attached patch taken from 
some researches on the web, TCL language is used with the [MiXed/tot] 
external, but you also can use bash with [shell] or [popen], or python 
with [pyext].

Denis Fitzpatrick a écrit :
> I would like to get a list of all the sound files in a directory 
> (including sub-directories possibly),  and be able to iterate through 
> this list (perhaps randomly), getting their length, then loading and 
> playing all or part of these files.  Any suggestions regarding 
> objects/patches to look at would be greatly appreciated.
> 
> Denis
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: folderspiller.pd
Type: application/puredata
Size: 2590 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070721/14c5222c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: folderspiller-help.pd
Type: application/puredata
Size: 331 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070721/14c5222c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: megalegoland.vcf
Type: text/x-vcard
Size: 173 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070721/14c5222c/attachment.vcf>


More information about the Pd-list mailing list