You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
707 B
Python
34 lines
707 B
Python
FluidStandardize : FluidManipulationClient {
|
|
|
|
*new {|server|
|
|
var uid = UniqueID.next;
|
|
^super.new(server,uid)!?{|inst|inst.init(uid);inst}
|
|
}
|
|
|
|
init {|uid|
|
|
id = uid;
|
|
}
|
|
|
|
fit{|dataset, action|
|
|
this.prSendMsg(\fit, [dataset.asSymbol], action);
|
|
}
|
|
|
|
transform{|sourceDataset, destDataset, action|
|
|
this.prSendMsg(\transform,
|
|
[sourceDataset.asSymbol, destDataset.asSymbol], action
|
|
);
|
|
}
|
|
|
|
fitTransform{|sourceDataset, destDataset, action|
|
|
this.prSendMsg(\fitTransform,
|
|
[sourceDataset.asSymbol, destDataset.asSymbol], action
|
|
);
|
|
}
|
|
|
|
transformPoint{|sourceBuffer, destBuffer, action|
|
|
this.prSendMsg(\transformPoint,
|
|
[sourceBuffer.asUGenInput, destBuffer.asUGenInput], action
|
|
);
|
|
}
|
|
}
|