[PD] declare and abstraction (cont.)
Miller Puckette
msp at ucsd.edu
Sun Jan 26 04:24:02 CET 2014
Are you using readsf~ to read th soundfile? Unfortunately, readsf~
doesn't search along the canvas's path (for complicated reasons) and so needs
to be sent an explicit path, like "../folder/a.wav", to find files outside
the patch's directory.
Alternatively you can set Pd's global path in preferences -- readsf~ knows
how to use those even though it doesn't know about the patch's own declarations.
cheers
Miller
On Sat, Jan 25, 2014 at 11:05:39PM +0100, rolfm at dds.nl wrote:
>
> sorry, i should be more precise about what i experience.
>
> i'm using "../folder" to load soundfiles in my patch.
> while having a [declare -path .] in the main patch.
>
> like i said in the first mail: this works when the patch is started
> up 'directly'.
>
> when i first start Pd and then open the patch with the menu-open
> Pd cannot find the directory.
>
> rolf
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list
mailing list