[PD] saving relative paths in a textfile

Hans-Christoph Steiner hans at at.or.at
Fri Feb 4 04:46:54 CET 2011


Use [getdir] and [list2symbol]:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chop-path.pd
Type: application/octet-stream
Size: 338 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110203/3bca851c/attachment.obj>
-------------- next part --------------



.hc

On Feb 1, 2011, at 1:37 PM, Athos Bacchiocchi wrote:

> hello list,
>
> i'm building a patch in wich openpanel is used to load
> four wavfiles in four different arrays. The four paths are stored and,
> if needed, saved in a text file using [textfile] object, so that they
> can be loaded all together like a primitive kind of soundbank.
>
> The
> problem with openpanel is that it outputs absolute paths, making the
> textfile useless in case i move the entire patch (with wavfiles as
> well, without modifying the relative positions), to another position  
> or
> machine.
>
> Can anyone point me in the right direction? Maybe there is a
> specific object, but an entire day of googling didn't get me anywhere.
>
>
> thanks,
> athos
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



----------------------------------------------------------------------------

                                               http://at.or.at/hans/




More information about the Pd-list mailing list