-
... routers, and you might run into an error along the lines of `router.ws is not a function`. After setting up `express-ws`, you will be able to add WebSocket routes (almost) the same way you add other routes. The following snippet sets up a s ...
-
... the distance between the interactands and evaluates a class-wide user-definable function. *distfunc_(function) function might have SETOIDistance .distFunc = { |distance, isValid, parts| postf("%<->% : %\n", parts[0].id, parts[1].id, distanc ...
-
... olyTouchResponder : MIDIResponder { classvar <ptrinit = false,<ptrs; *new { arg function, src, chan, num, veloc, install=true,swallowEvent=false; ^super.new.function_(function) .matchEvent_(MIDIEvent(nil, src, chan, num, veloc)) .swallowEve ...
-
... e { |defName, addr| all.removeAt(defName).value(addr) } } Sequencer { classvar <functions; classvar cmd, responder; *initClass { var langID = inf.asInteger.rand; // make sure to look up function in the right client cmd = "/sequencer" ++ lan ...
-
... { listHasChanged = false; itemHasChanged = false } }; index = i; ^this; } do { |function, ref = (`true)| var i = 0, size = this.streamSources.size; while { (i < size) and: { ref.() } } { function.value(this.source(i), i); i = i + 1; } } doN ...
-
... directly. Accessing Instance and Class Variables initAction_(arg1) initAction A function you should provide, which allocates the necessary resources (loading of buffers etc.) before playAction executes. You should fork a thread in this func ...
-
... ss of the request, using the given `trust` parameter. The `trust` argument is a function that returns `true` if you trust the address, `false` if you don't. The closest untrusted address is returned. <!-- eslint-disable no-undef --> ```js p ...
-
... ... you are welcome to share your own sound processes here! // some more modal functionality using MFunc: (~basePath +/+ "5_modal_functionality_2_hid.scd").openDocument; (~basePath +/+ "5_modal_functionality_2_midi.scd").openDocument; (~ba ...
-
... ('wss://echo.websocket.org/', { origin: 'https://websocket.org' }); ws.onopen = function open() { console.log('connected'); ws.send(Date.now()); }); ws.onclose = function close() { console.log('disconnected'); }); ws.onmessage = function in ...
-
... Boston, MA 02110-1301, USA. */ Fb1_ODEdef { classvar all, initKeys; var <name, <function, <t0, <y0, <outScale, <diffOutScale, <size; *new { |name, function, t0 = 0, y0, outScale = 1, diffOutScale = 1| ^super.newCopyArgs( name, function, t0, ...