buffering

This commit is contained in:
nik gaffney 2018-05-14 13:18:11 +02:00
parent cd9a28b99c
commit a7c6b1531d

View file

@ -52,8 +52,8 @@ if ( ~now.year == 1970,
~file = ~sources.choose;
~file.postln;
// cue file form disk then play
b=Buffer.cueSoundFile (s, ~prefix++~file); ~play1.value(b);
// cue mono file from disk then play
b=Buffer.cueSoundFile (server: s, path: ~prefix++~file, numChannels, 1); ~play1.value(b);
};
~foreground = {