-
/* Unit Library The Game Of Life Foundation. http://gameoflife.nl Copyright 2006-2011 Miguel Negrao, Wouter Snoei. GameOfLife Unit Library: you can redistribute it and/or modify it under the terms of the GNU General Public License as publis ...
-
... ; view.receiveDragHandler_({ View.currentDrag.setParent(this); }); } // private utility. gets the closest tab index of a given xy position closestIndexOf{arg x, y; var dropindex,pos=0; if ((tabPosition==\left) ||( tabPosition==\right)){ tab ...
-
... ; view.receiveDragHandler_({ View.currentDrag.setParent(this); }); } // private utility. gets the closest tab index of a given xy position closestIndexOf{arg x, y; var dropindex,pos=0; if ((tabPosition==\left) ||( tabPosition==\right)){ tab ...
-
... es.names[(roundedNote - 72) % 12].asString ++ octave.asString, residue]; } } // utility to calculate pitch bends for midi playback of microtones // this is in cents, pb is the pitch bend ammount (400 = +- 1 tone, i.e. -200 to +200 cents) // ...
-
... , 69, 1).midicps.round(0.001), 100!3].flop.compensateMasking.round(0.001) Other utility methods: *primes(maxPrime = 11) A shortcut for making arrays of primes. Array .primes(11); // -> [2, 3, 5, 7, 11] removeDuplicates A shortcut for removi ...
-
... size - 1)]; ^(a + ((b - a) * frac)) / data.maxItem.max(1e-9); } //Introspection utility: estimated summed output amplitude of every playing voice //at absolute time tAbs, using each voice's analyzed RMS shape (linear sum). //Not wired into ...
-
... ign ) Image image ( path, x, y, width, height, alpha, data ) imagesize ( path ) Utility size ( w, h ) - usually the first line in a NodeBox script (to set the size of the drawing canvas). The size command runs automatically during NB instan ...
-
... dict| dict.keysValuesDo { |key, value| this.perform(key.asSetter, value) } } // utility function unquoteString { |str, pos = 0, delimiter = $", ignoreInParens(false)| var i = str.indexOf(delimiter), j, escaped = false, parenCount = 0; ^if(i ...
-
... eyDownActions.keyCodes['arrow right'] ]; widget ?? { Error("CVWidgetEditor is a utility-GUI-class that can only be used in connection with an existing CVWidget").throw; }; name = widget.name; nextX ?? { nextX = 0 }; nextY ?? { nextY = 0 }; ...
-
/* Copyright the ATK Community and Joseph Anderson, 2011-2017 J Anderson j.anderson[at]ambisonictoolkit.net M McCrea mtm5[at]uw.edu This file is part of SuperCollider3 version of the Ambisonic Toolkit (ATK). The SuperCollider3 version of th ...