denoise dataset client

nix
Owen Green 6 years ago
parent 676ac97aa5
commit 6779b8077b

@ -28,45 +28,42 @@ FluidDataSet : UGen {
} }
addPoint{|label, buffer, action| addPoint{|label, buffer, action|
this.pr_sendMsg(this.server, this.synth, 'addPoint',[label,buffer.asUGenInput],action); this.pr_sendMsg(\addPoint,[label,buffer.asUGenInput],action);
} }
getPoint{|label, buffer, action| getPoint{|label, buffer, action|
this.pr_sendMsg(this.server, this.synth, 'getPoint',[label,buffer.asUGenInput],action); this.pr_sendMsg(\getPoint,[label,buffer.asUGenInput],action);
} }
updatePoint{|label, buffer, action| updatePoint{|label, buffer, action|
this.pr_sendMsg(this.server, this.synth, 'updatePoint',[label,buffer.asUGenInput],action); this.pr_sendMsg(\updatePoint,[label,buffer.asUGenInput],action);
} }
deletePoint{|label,buffer action| deletePoint{|label,buffer action|
this.pr_sendMsg(this.server, this.synth, 'deletePoint',[label,buffer.asUGenInput],action); this.pr_sendMsg(\deletePoint,[label,buffer.asUGenInput],action);
} }
cols {|action| cols {|action|
this.pr_sendMsg(this.server, this.synth, \cols,[],action,[numbers(FluidMessageResponse,_,1,_)]); this.pr_sendMsg(\cols,[],action,[numbers(FluidMessageResponse,_,1,_)]);
} }
read{|filename,action| read{|filename,action|
this.pr_sendMsg(this.server, this.synth, \read,[filename],action); this.pr_sendMsg(\read,[filename],action);
} }
write{|filename,action| write{|filename,action|
this.pr_sendMsg(this.server, this.synth, \write,[filename],action); this.pr_sendMsg(\write,[filename],action);
} }
size { |action| size { |action|
this.pr_sendMsg(this.server, this.synth, \size,[],action,[numbers(FluidMessageResponse,_,1,_)]); this.pr_sendMsg(\size,[],action,[numbers(FluidMessageResponse,_,1,_)]);
} }
clear { |server,node,action| clear { |action|
this.pr_sendMsg(server, node, \clear,[],action); this.pr_sendMsg(\clear,[],action);
} }
pr_sendMsg { |server, node, msg, args, action,parser| pr_sendMsg { |msg, args, action,parser|
server = server ? Server.default;
OSCFunc( OSCFunc(
{ |msg| { |msg|
var result = FluidMessageResponse.collectArgs(parser,msg.drop(3)); var result = FluidMessageResponse.collectArgs(parser,msg.drop(3));
@ -74,6 +71,6 @@ FluidDataSet : UGen {
},'/'++msg },'/'++msg
).oneShot; ).oneShot;
server.listSendMsg(['/u_cmd',node.nodeID,this.synthIndex,msg].addAll(args)); this.server.listSendMsg(['/u_cmd',this.synth.nodeID,this.synthIndex,msg].addAll(args));
} }
} }
Loading…
Cancel
Save