-
NodeProxyPlayer { var <>nodeProxy, <>args, <>bus, <>numChannels, <>group, <>multi; *new { | nodeProxy, args = #[], bus, numChannels, group, multi = false | ^super.newCopyArgs (nodeProxy, args, bus, numChannels, group, multi) } play { nodePr ...
-
# NodeProxy enhancements some additional NodeProxy methods Add a method 'seti' to NodeProxy, allowing to set an arg for a single channel in a multichannel NodeProxy: ``` // 5-channel NodeProxy ( Ndef(\multichannel, { SinOsc.ar(\freq.kr(220! ...
-
... |val| sensitivity = val; controllers.first.sensitivity = val; controllers.first.nodeProxy.set(\sensitivity, val); } dt_{|val| dt = val; controllers.first.dt = val; controllers.first.nodeProxy.set(\dt, val); } audioInBus_{|val| audioInBus = ...
-
... FPSoundRepresentation : EntityRepresentation { var >input, >release = 0.2; var <nodeProxy; *new { arg repManager, collisionFunc, input, release; ^super.new(repManager, collisionFunc) .input_(input) .release_(release); } init { super.init; r ...
-
TestNodeProxySeti : UnitTest { var proxy, server; setUp { server = Server.default; proxy = NodeProxy.audio(server, 5); proxy.source = { SinOsc.ar(\freq.kr(200!5), \phase.kr(0!5)) }; } tearDown { proxy.clear; } test_seti { var keysValues; pr ...
-
... atternProxy : Pdef NPdef creates a shortcut for creating a Pdef that controls a NodeProxy. Instead of sending arguments directly to the server, this uses the 'npset' event type, which uses the set method of the NodeProxy. After you have cre ...
-
... tternProxy : Pdef NPxdef creates a shortcut for creating a Pdef that controls a NodeProxy. Instead of sending arguments directly to the server, this uses the 'npxset' event type, which uses the xset method of the NodeProxy. After you have c ...
-
... erBlock : SoundBlock { classvar <bus, <phase; var <>buffers; var <>synth; //var nodeProxy; var <synthName; var <synthParams; var <out; // helper var ampTrigs = #[ [1, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0], [0, 0, 0, 1, 0, 0 ...
-
... the portions of this code not written by myself. -- H. James Harkins ***/ StereoNodeProxy : NodeProxy { defineBus { |rate = \audio, numChannels| // 2 unless otherwise specified, but only for audio proxies if(numChannels.isNil and: { rate == ...
-
+NodeProxy { set { arg ... args; // pairs of keys or indices and value nodeMap.set(*args); if(this.isPlaying) { server.sendBundle(server.latency, [15, group.nodeID] ++ args.asOSCArgArray); }; this.changed(\set, args); } prset { arg ... args ...