diff --git a/release-packaging/Classes/FluidFilesPath.sc b/release-packaging/Classes/FluidFilesPath.sc new file mode 100644 index 0000000..0b03015 --- /dev/null +++ b/release-packaging/Classes/FluidFilesPath.sc @@ -0,0 +1,5 @@ +FluidFilesPath { + *new { + ^"%/../AudioFiles/".format(File.realpath(FluidDataSet.class.filenameSymbol).dirname); + } +} \ No newline at end of file diff --git a/test/FluidFilesPath_test.scd b/test/FluidFilesPath_test.scd new file mode 100644 index 0000000..37addff --- /dev/null +++ b/test/FluidFilesPath_test.scd @@ -0,0 +1,12 @@ +( +s.waitForBoot{ + Routine{ + var path = FluidFilesPath()++"Nicol-LoopE-M.wav"; + var buf = Buffer.read(s,path); + + s.sync; + + buf.play; + }.play; +} +) \ No newline at end of file