-
... . beatDur (beat) Returns the duration of a given beat in an XMLMeter. // inline example g = XMLMeter (4, 4); g.beatDur(1); g = XMLMeter([3, 2, 3, 2], 8); g.beatDur(1); g.beatDur(2); g.measureDur; measureDur Returns the duration of a full me ...
-
///////// Example for an external MIDI device /////// /* Doepfer Pocket fader box has 16 sliders. // For a usage example, see "Tutorials/Connecting_external_MIDI_devices".openHelpFile; thisProcess.nowExecutingPath.basename.split($.).first.p ...
-
... Network is created, and most methods are accessible directly from that class. - Example - // define the network x = SWDataNetwork .new; // add some keys to the spec (SWDataNetwork forwards these methods to the spec): x.add( \accelerometer , ...
-
... is not represented in the sequential string representation naturally). See the examples in this document. To learn more about L-Systems and the syntax, you might want to check out the book The Algorithmic Beauty of Plants which can be obta ...
-
... sical instrument. */ // Different protocols: // - HID, or Human Input Device // examples are joysticks, gamepads, mice, keyboards, ... // ( - WiiMote... uses a special interface using BlueTooth ) // - MIDI, or Musical Instrument Digital Int ...
-
//gui example with userview / pen graphics //only plotting accelerometer data ( var board= CytonSerial("/dev/tty.usbserial-DM00DRM0", initAction: {|b| b.start}); //edit here to match your board //var board= CytonWifi(NetAddr("OpenBCI_WifiSh ...
-
... il it matches the other coefficient array in size. See the '/' operation for an example. Creation / Class Methods *new(coefs) Creates a new instance of Polynomial. Returned is a polynomial of a degree equal to the number of coefficients min ...
-
// /* example for the Steinberg CMD-FD hi-res faderbox. * use 4 faders of FD to set values of four sliders in a grid of 16x4: */ // make a dict for this example ~fdex = ~fdex ? (); // make a window with 4 x 16 faders to control ~fdex.w = Wi ...
-
... stance { /** action evaluated if a head and a club are involved in the action. @example {|distance, isValid, head, club| distance.postln;} */ classvar <>headClubAction; /** action evaluated if only clubs are involved in the action. @example ...
-
... PI I found out that `safe-buffer` is itself causing problems in some cases. For example, consider the following snippet: ```console $ cat example.unsafe.js console.log(Buffer(20)) $ ./node-v6.13.0-linux-x64/bin/node example.unsafe.js <Buffe ...