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
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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[playlist] is nice if you don't have [shell]. You can filter by extension and seek to iterate through the list.
http://ydegoyon.free.fr/software.html
On Fri, 20 Jul 2007 13:33:31 -0500 Denis Fitzpatrick dfsextras@cox.net wrote:
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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
There is also [folder_list] in "hcs" in Pd-extented.
.hc
On Jul 21, 2007, at 6:23 AM, Andy Farnell wrote:
[playlist] is nice if you don't have [shell]. You can filter by extension and seek to iterate through the list.
http://ydegoyon.free.fr/software.html
On Fri, 20 Jul 2007 13:33:31 -0500 Denis Fitzpatrick dfsextras@cox.net wrote:
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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
-- Use the source
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
'You people have such restrictive dress for women,’ she said,
hobbling away in three inch heels and panty hose to finish out
another pink-collar temp pool day. - “Hijab Scene #2", by Mohja Kahf