-
... rray interpolation lookup for a stored RMS shape, normalized so its peak = 1. //Out-of-range positions return 0. Pure function -- no Env objects on the trigger path. *shapeLookup {|data, normPos| var idx, frac, a, b; if(normPos.isNil or: {n ...
-
... . // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more de ...
-
... that * cannot be represented by a single floating point number. It raw data without * header or type information, hence it always matches. */ AutomationFileDouble : AutomationFileBase { *new {|ifile| ^super.new.constructor(ifile); } constru ...
-
... gle, i| PanB.ar( in[i] * 0.25, angle.neg / pi, elevation / 0.5pi ); }); UPrivateOut.ar( 0, ambis.flatten(1) ); DC.ar(0.dup); }, \stereo: { |in, point| var distances, globalDist, delays, amplitudes; distances = [ -0.3@0, 0.3@0 ].collect(_.di ...
-
... res (not only subsets) // can always be done with using allTuples and filtering out afterwards, // but this is only feasible for small n. // E.g. n = 18 and k = 5 requires calculating 1889568 (n**k) tuples first. // Furthermore method allTu ...
-
... .black, Color.green], ["stop", Color.black, Color.red]]) .action_({ }); v = VLayoutView(w, Rect(140, 20, 200, 300)); // Group the following views StaticText(v, Rect(20, 20, 180, 60)) .string_("The button does nothing at first, so try draggi ...
-
... ways to get say-based sound into SC servers: 1. Patching e.g. the system audio output to an audio input (by hardware of by software) and thus routing Say-produced (mono) sound into the server for processing. 2. Using the SayBuf class to re ...
-
... nother confusion is that HID's are not merely input devices, they can also have outputs, e.g. the leds which indicate whether you have turned CapsLock or NumLock on, or force feedback (or vibration) in game devices. Nowadays most HID's use ...
-
... incoming(data) { console.log(`Roundtrip time: ${Date.now() - data} ms`); setTimeout(function timeout() { ws.send(Date.now()); }, 500); }); ``` ### Use the Node.js streams API ```js const WebSocket = require('ws'); const ws = new WebSocket(' ...
-
... r version. SynthiGME is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. ...