Add FDCompose.sc (autogenerated, not tested)
parent
a6e0146acf
commit
16387a7e5f
@ -0,0 +1,14 @@
|
||||
FDCompose{
|
||||
*process { arg server, src, offsetframes1 = 0, numframes1 = -1, offsetchans1 = 0, numchans1 = -1, src1gain = 1, src2, offsetframes2 = 0, numframes2 = -1, offsetchans2 = 0, numchans2 = -1, src2gain = 1, dstbuf;
|
||||
|
||||
server = server ? Server.default;
|
||||
if(src.bufNum.isNil) {Error("Invalid Buffer").format(thisMethod.name, this.class.name).throw};
|
||||
|
||||
server.sendMsg(\cmd, \BufCompose ,src.buNum, offsetframes1, numframes1, offsetchans1, numchans1, src1gain,
|
||||
if( src2.isNil, -1, {src2.bufNum}) ,offsetframes2 ,numframes2 ,offsetchans2 ,numchans2 ,src2gain ,
|
||||
if( dstbuf.isNil, -1, {dstbuf.bufNum}));
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue