Loading samples from relative paths

I’m using Buffer.read() for loading samples. Can I load them from a relative path without using the Platform.resourceDir? That’d be helpful for using git remotely.

Something like this:

Buffer.read(s, “…/bfsamples/”.resolveRelative ++ “hitz02/00 DR npK_base no5_E-2.aif”);

3 Likes