-
... will fail and the number will display as floating point. Useful for working out just intonation or other ratio-based tuning systems. Creation: Rational (1.5) 1.5.asRational 3 /% 2 All the above display "3/2." Math: a = 3 /% 2; b = 5 /% 4; a ...
-
Quick and dirty first pass at a class for the Akai MPD24 Jeff C. uses just one scene, so no switching supports cc, notes, aftertouch, sysex. sysex is with MIDI.sysex - very dirty! test all kinds: ( m = MPD24Ktl.new; // m.dump; m.mapCC( \k1 ...
-
... } absoluteBounds_ { |absBounds| absoluteBounds = absBounds; } // can't change, just compat bounds_ { } bounds { ^absoluteBounds } reset { } } + Object { // should kick in as soon as relativeOrigin_ is removed relativeOrigin_ { |bool| this. ...
-
... { arg f; v.gate1(f, 0.5) }) }) } } That's a lot of braces to keep track of--but just remember that the function that follows the argument should be written exactly the same as if you were saying QuantTask.new(func). Why? Because you can't g ...
-
... { arg f; v.gate1(f, 0.5) }) }) } } That's a lot of braces to keep track of--but just remember that the function that follows the argument should be written exactly the same as if you were saying QuantTask.new(func). Why? Because you can't g ...
-
... case for the EntTec DMX USB Pro, which is a subclass of DMXDevice // DMXDevice just encapsulates the common properties of DMXDevices DMXDevice : SerialPort{ sendDMX{ arg cue; var datablob; var cuesize = cue.size + 1; // Int8Array[0] is the ...
-
... ed ? if(this.decorator.bounds.containsRect(consumed).not, { // yes // pretend I just consumed nothing this.didUseAllocated(consumed.resizeTo(0, 0)); // goto the next line this.decorator.nextLine; // don't put a StartRow in there, the decora ...
-
... e is always located at [0, 0, 0]. size - extent of the cube. // simple example, just renders a (plain white) Cube at the origin of the coordinate system. g = GServer .default; // we do not have a GServer atm. g.boot; g.makeWindow; ( x = { v ...
-
... options, load order, GUI start — is now in the Dorota // class, so this file is just a demonstration. /////////////////////////////////////////////////////////////////////////////// // Open the editor. Boots the server if it is not running. ...
-
... e scheduling events".error; ^this }); switchCascadeMode = val; } //Normal case: just push to bottom of the List pushAction { | action | if(interruptOnSchedRunning.not, { //Normal case: add to actions actions.add(action); }, { //A scheduled ...