​you need a folder playlist object attached to a file player 

i suggest the browser/folder from the MTL abstractions and the player~ external from Eric lyon Potpourri




Patrick Pagano B.S, M.F.A
Audio and Projection Design Faculty
Digital Worlds Institute
University of Florida, USA
(352)294-2020

From: Pd-list <pd-list-bounces@mail.iem.at> on behalf of Spyros Polychronopoulos <spypolymail@gmail.com>
Sent: Thursday, February 11, 2016 6:50 PM
To: pd-list@mail.iem.at
Subject: [PD] loading random samples
 
Hi list,

I have a question if you could enlighten me:

I would like to make a patch that loads randomly a sample from a folder (if I can make it open randomly any file begging with P01 ie. P01*.wav) and when the sample ends loads automatically another sample randomly (ie. P02*.wav).

thank you in advance
--
Spyros Polychronopoulos
Music Composer / BSc / PhD