...
 
Commits (2)
......@@ -53,7 +53,7 @@ if ( ~now.year == 1970,
~file.postln;
// cue file form disk then play
Buffer.cueSoundFile (server: s, path: ~prefix++~file, action: ~play1);
b=Buffer.cueSoundFile (s, ~prefix++~file); ~play1.value(b);
};
~foreground = {
......@@ -86,7 +86,7 @@ if ( ~now.year == 1970,
Routine {
"~play [bg - ".post; b1.path.post; "]".postln;
{(Diskin.ar(1, b1, loop: 0) * 0.1).dup }.play.waitForFree;
{(DiskIn.ar(1, b1, loop: 0) * 0.1).dup }.play.waitForFree;
// free buffer once done?
"freed [bg - ".post; b1.path.post; "]".postln;
......