[Sc-devel] Buffer.play - outbus would be useful
Tom Hall
scth at ludions.com
Sun Apr 20 14:29:11 PDT 2008
Hello List
Has anyone has the time to add the outbus argument to Buffer.play?
it currently has loop and mul only.
Would be useful for quick listening via e.g. a private bus.
play { arg loop = false, mul = 1, outbus = 0;
^{ var player;
player = PlayBuf.ar(numChannels,bufnum,BufRateScale.kr(bufnum),
loop: loop.binaryValue);
loop.not.if(FreeSelfWhenDone.kr(player));
player * mul;
}.play(server, outbus);
}
Tom
More information about the Sc-devel
mailing list