[PD] newbie :: listing a directory
moocow at ling.uni-potsdam.de
Thu Feb 26 19:00:08 CET 2004
on linux, you can do this (and more) with the [shell] object
should print the contents of the current directory.
... as it turns out, I made a random-file-from-directory patch
a while back, and in the course of it wrote a directory-reader
object, available at:
my random-file patch also uses a bunch of other externals,
and has been known to cause clicks in the audio stream,
but if you're interested, I can send it to you...
On 26 February 2004 at 11:38:11, yannick.dauby at free.fr appears to have written:
> hi list !
> i am just starting pd/linux... (and very excited about it!)
> i am currently writing during a workshop runned by the friendly karosta sound
> explorer, derek holzer...
> now, i have a question for you :
> i need to grab randomly an audiofile name from a directory, which is supposed to
> be updated frequently.
> i was used to make such things in max/msp with the combination of folder and
> menu objects. is there a way to do that inside pd ?
> derek proposed me to make a script into the linux os, but i am wondering if
> anybody developped an object that could be easier for me to use (i am totally
> unfamiliar with linux tricks...).
> yannick dauby
> PD-list mailing list
> PD-list at iem.at
More information about the Pd-list