[readanysf~] does not seem to take into account search pathes when trying to open a (local) file.
When launching Pd with the -verbose flag and I send [open soundfile.wav( to [readanysf~], it prints:
[in_file] Error: Cannot open soundfile.wav: No such file or directory
Could not open file soundfile.wav
Invalid file or unsupported codec.
I would have expected to see a few lines like:
tried /home/roman/soundfile.wav and failed
Because of that it also ignores pathes added by [declare].
Anonymous