You can load a text file into a table or array using the read message:

[read mytextfile.txt(
|
[send array1]

You can also save the data to a text file using the write message.

.mmb

Andrew Faraday wrote:
Data storage in that format is something I've been looking for for ages, it's merely the way of writing direct to a table that I wasn't aware of before. Is it possible to load this out of a text file?

> Date: Sat, 9 Jan 2010 18:12:22 +0000
> From: claudiusmaximus@goto10.org
> To: c.benardis@gmail.com
> CC: pd-list@iem.at
> Subject: Re: [PD] a better way to make a patch
>
> Using data storage instead of control flow saves the wrists of the world
> (see attached).
>
> Konstantinos Benardis wrote:
> > Hi all
> >
> > I want to make a patch to play randomly 8 concrete midi notes. I made the
> > attached patch. As you can see i needed to make many connections by hand and
> > this is something it happens to many of my patches. Would it be a better way
> > to make this patch without having to make that many connection? What makes
> > me believe that should be a better way is that as far as i know, select many
> > objects and connect them with one click to another object has never appear
> > as a question or as a feature of an enhanced gui.
> >
> > Thanks for your help
>


Not got a Hotmail account? Sign-up now - Free

_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list