[PD] Selecting random wavefile from folder without knowing the names

Mathieu Bouchard matju at artengine.ca
Thu Sep 15 07:51:45 CEST 2011


Le 2011-09-14 à 22:14:00, adam sanches a écrit :

> Hi, how can i select a random wavefile from a folder withouth knowing the names of the files in my folder?
> 
> how can i read all the files names in a folder and then select one? which would be the best way of doing this?

[hcs/folder_list] then [list length] then [random] then [list split] then 
$1.

  _______________________________________________________________________
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC


More information about the Pd-list mailing list