[PD] parse textfile

Dan Wilcox danomatika at gmail.com
Mon Nov 16 22:34:39 CET 2015


I’d create a bash script that simply converts the formats for you so both programs with with the native format. Text parsing like this is easier to do outside of Pd or with a scripting language like lua and the pdlua external.

--------
Dan Wilcox
@danomatika <https://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>
> On Nov 16, 2015, at 1:58 PM, pd-list-request at lists.iem.at wrote:
> 
> From: Simon Iten <itensimon at gmail.com <mailto:itensimon at gmail.com>>
> Date: November 16, 2015 at 1:58:02 PM MST
> To: Pd-List <pd-list at lists.iem.at <mailto:pd-list at lists.iem.at>>
> Subject: [PD] parse textfile
> 
> 
> hi list,
> 
> i’m trying to parse a textfile and use some numbers as parameters in a patch. unfortunately i can’t change the way the textfile is formatted, since it has to be compatible with another program. the first lines look like this:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20151116/a1d42585/attachment.html>


More information about the Pd-list mailing list