[PD] seeking 'playlist' windows version or means to implement similar function

Jie Ma jma3 at student.monash.edu
Wed Mar 19 08:04:37 CET 2003


i could get the file names each at a new line. like
a.wav
b.wav
c.wav
but after reading them with textfile object, they are still gonna be 
seperated either by space, or by semicolon. then how could the output 
of textfile object(like a.wav b.wav c.wav.... or
a.wav ;
b.wav ;
c.wav ;
) be processed one by one? using read  ...%s?? or use pointer/element 
which gives no comments about how to traverse array word-by-word?

my failed prototype is

              read .../namelist.txt
              |
              textfile
              |________________________
              |                        |
              read ...%s arrayXX       tabplay arrayXX & go on.....
              |
              soundfile

p.s. sorry josh, i forgot to reply to the maillist rather than your 
mailbox, so have to do it again :p

parden me

regards

----- Original Message -----
From: Josh Steiner <joschi at eds.org>
Date: Tuesday, March 18, 2003 4:51 pm
Subject: Re: [PD] seeking 'playlist' windows version or means to 
implement similar function

> have you thought of having the file list separated by newlines 
> rather 
> than spaces?  if you did this then reading in each filename per 
> line 
> would be very simple.
> 
> -josh
> 
> Jie Ma wrote:
> 
> >hi there.
> >
> >i am looking for the windows version of Yves' object -- playlist. 
> or is 
> >there any way to implement similar function?
> >
> >the reason is i need to test a large number of wav files. and 
> instead of 
> >loading the name one by one, i have to work out how to do it 
> >efficiently. what i did before was to use dos command and 
> generate a txt 
> >file with all the names of wav files seperated by spaces or 
> >semi-columns. but i fail to let the Pd array to read the content 
> of this 
> >txt file word by word.
> >
> >appreciate your help and time.
> >
> >regards
> >jay
> >
> >
> >_______________________________________________
> >PD-list mailing list
> >PD-list at iem.kug.ac.at
> >http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
> >  
> >
> 
> 
> -- 
> ____________________________________________________
> independent u.s. drum'n'bass -- http://vitriolix.com
> 
> 
> 
> 
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: multifile.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20030319/a666f8fa/attachment.txt>


More information about the Pd-list mailing list