-
Benchmarking KDTree KDTree should be fast for searches, although not necessarily fast for creation/addition/deletion. /////////// Construction ( // Change these two parameters if you like: ~dims = 3; ~num = 10000; // Test either with unifor ...
-
/******* make a control interface for the NTMI app for the behringer xtouch MKtl.all[\xtm].free; MKtl(\xtm, "*x-touch-mini*"); MKtl(\xtm).gui.showLabels; -------- THE LAYOUT: ---------- main volume : big slider play/stop slot: buttons A 1-4 ...
-
... this.devices = devices }; } *devices_ { |newDevices| devices = newDevices; this.changed( \devices ); } *refreshDevices { Platform.case( \osx, { this.addDevices( ServerOptions.devices.select({ |item| item.find( "Built-in", true ).isNil }) ); ...
-
... itClass { lib = lib ?? { Halo.new }; } *put { |...args| lib.put(*args); args[0].changed(*args[1..]); } *at { | ... keys| ^lib.at(*keys); } *postTree { this.lib.postTree } } + Object { addHalo { |...args| Halo.put(this, *args); } getHalo { | ...
-
... ssageSystem p = ArduinoSMS("/dev/tty.usbserial-A1000ecP", 115200); // was 9600 (changed by thor) p.action = { |... msg| msg.postln }; // read digital inputs p.send($r, $d); // read analog inputs p.send($r, $a); // write digital input 13 p.s ...
-
... _({ UScoreEditorGUI.current !! { |x| UScore.current.events.sort; UScore.current.changed( \numEventsChanged ); UScore.current.changed( \something ); }; }); SCMenuItem.new(scoreMenu, "Overlapping events to new tracks").action_({ UScoreEditorG ...
-
... _({ UScoreEditorGUI.current !! { |x| UScore.current.events.sort; UScore.current.changed( \numEventsChanged ); UScore.current.changed( \something ); }; }); SCMenuItem.new(scoreMenu, "Overlapping events to new tracks").action_({ UScoreEditorG ...
-
/******* make control interface for the NTMI app for the: ******* AKAI MIDIMIX ********** Specific elements are given: 1 - custom access names, 2 - custom labels that show on the gui, 3 - actions that remain the same across all control devi ...
-
... is.prDrawNewPoint(positions); }; } prCheckHovering { |x, y| var hover = -1; var changed = false; var positions = this.prGetPointPositions; positions.do({ |position, index| if(hover == -1) { if( this.prCollideWith( Point(x, y), position ) ) ...
-
... or all values into the // wrong GUI elements, depending on whether their order changed. // (However, if you can always dock newer GUI elements after the // older ones, this won't be a problem.) // Note that the order of appearance is not n ...