[PD] Reading txt file inside folder

Lorenzo Sutton lorenzofsutton at gmail.com
Wed Aug 28 10:28:34 CEST 2013


On 28/08/2013 02:17, Ronni Montoya wrote:
> Hi , i have a folder with my pd patch and another folder that stores
> txt files ( my data).
>
> How can i read my txt files from that folder using relative path?
> I need to be able to change the location of my folder and not having
> the necessity of rewriting the path.
>
>
>
> any idea?
Assuming you're using [textfile], something like this should work

[read ../path_to_file/file.txt(
|
[textfile]

Lorenzo.



More information about the Pd-list mailing list