created FluidFilesPath and a test file
parent
8c63d3532f
commit
94a51997f7
@ -0,0 +1,5 @@
|
||||
FluidFilesPath {
|
||||
*new {
|
||||
^"%/../AudioFiles/".format(File.realpath(FluidDataSet.class.filenameSymbol).dirname);
|
||||
}
|
||||
}
|
||||
@ -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;
|
||||
}
|
||||
)
|
||||
Loading…
Reference in New Issue