Dear Community,
I have the question how it is possible, to read a text File into a Pd Patch like doing it into a Array Object.
Mungo1981
-
Read a File into a array
-
you have [text] and [textfile] for text files (I guess the newer [text] is more flexible than [textfile]). You can read text files with these and if you want, you can load the contents of the text file into an array. Though, since these objects output the text file data, there might be no real reason to load the data into an array, except if the array is faster (which I guess it is...).
-
@Mungo1981 Hello Mungo.......... @alexandros has given you the clues........ and here is a patch that will give you some ideas about how to read and write lists of your table (array) and give the lists a header so that they are returned to the right table on recall from the text file........
maybe.zip
David. -
Tank you to whale-av, Your patch will help me a lot but it has a misstake a Object drip" would not be create, And I would need something more.I have a table, with 3 coluns. In the first its countain a duration this would give too a delay, this dealy would than read the next row of the table. Any help to make this posible are welcome.
-
[drip] is in the zexy library.
It's better if you share your patch because just explaining what you want to do doesn't help a lot. Also, please include comments in your patch to make it easier for whoever is going to take a look at it. -
@alexandros Hello Mungo...... if it is just one big patch then click the "up arrow" above where you are typing your new post, then find and select the patch...... and click "open".
If it is a group of patches linked together...... put them in a .zip file, and upload that..........
David. -
@whale-av wrong tag I guess?...