-
... 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 ...
-
... audible 1 second. To avoid this, passing both the levels and the times to this function will detect when the sound stops playing and will reduce the "silence" times to 0.01s, thus freeing the UGens way faster. Can be useful for granular 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 ...
-
... is evaluated withIf cancel is pressed then cancelFunc is evaluated. okFunc - A Function to be evaluated when OK is pressed. The selected paths are passed as an Array of Strings as the first argument. cancelFunc - A Function to be evaluated ...
-
... { 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 ...
-
... ks in the "plugins" directory for all files ending in .scx and calls the load() function in each one. The load() function When the library is loaded the server calls the load() function in the library. The load function has two responsibili ...
-
... > Patterns>Filter'>Filter FuncFilterPattern : FilterPattern : Pattern : AbstractFunction : Object Abstract class that filters a pattern using a function Source: FilterPatterns.sc Subclasses: Pcollect , Pfset , Preject , Pselect , Pwhile … s ...
-
... 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 ...