@xaverius why do you need each clone to have its own array, if you're reading the same soundfile into all of them?
If you aren't modifying it differently in each copy you can just load it outside of the [clone]
s and pass the name of the array as an argument to [clone]
and your abstraction. That will enable the abstraction to have full flexibility for other soundfiles and even other arrays..
If you do need to modify it differently in each copy, then are you trying to use the subfolder of whatever folder the containing patch is in? you could normally use [pdcontrol]
for that in vanilla think (not sure about purr data), but from a design perspective I would be careful to require a certain directory structure of the calling class.. (you could get the path from the user instead)
I don't get what you're trying to do tbh. Maybe it would help to upload your full use case.