-
... (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new("",Rect(300,300,90,90)).front; m = MinBox (w, Rect (10,10,70,70)); m.value = 0.4; m.action = { arg q; q.postln ...
-
... execution is blocked until the child Thread finishes or is suspended, at which point the parent Thread continues execution. The current Thread may be accessed using thisThread , while a Thread's parent may be accessed using -parent . A Thr ...
-
... dth, minSize.x), max(bounds.height, minSize.y) ); ^this }; defBounds = Rect.fromPoints(defPos, defPos + minSize + (skin.margin * 2)); if (bounds.isNil) { bounds = defBounds; ^this }; if (bounds.isKindOf(Point)) { bounds = defBounds.setExten ...
-
... dth, minSize.x), max(bounds.height, minSize.y) ); ^this }; defBounds = Rect.fromPoints(defPos, defPos + minSize + (skin.margin * 2)); if (bounds.isNil) { bounds = defBounds; ^this }; if (bounds.isKindOf(Point)) { bounds = defBounds.setExten ...
-
... lass Methods DrawGrid. new ( bounds , horzGrid , vertGrid ) Arguments: bounds A Point or Rect describing the size and position of the grid within the parent view (not including any labels). horzGrid A grid lines object for the x-axis, insta ...
-
... . They vibrate as follows (note that their sum is scaled down to valid floating-point signal range): Oscillator Low value High value A 0 4 B 0 2 C 0 1 NOTE: There is always DC offset with this UGen. It's strongly recommended to use LeakDC o ...
-
... game theoretic angle by von Neumann and Morgenstern, and from the psychological point of view by Edgar Allen Poe in the "The Purloined Letter." Oddly enough, the machine is aimed more nearly at Poe's method of play than von Neumann's. To pl ...
-
... of the squares of a and b. Or equivalently, the distance from the origin to the point (x, y). Discussion: In this example, hypot is used to calculate a doppler shift pitch and amplitude based on distance. ( { var x, y, distance, velocity, p ...
-
... press / 127) }); // sysexResp = SysexResponder ... // should be written at some point. // index 4 is crucial MIDIIn.sysex = { arg src, sysex; sysexDict[sysex[4]].value.postln; }; ctlNames = defaults[this.class]; orderedCtlNames = ctlNames.k ...
-
... isKindOf(Sieve).if { // set to nil with empty Sieve offsets[i] = (item.mode == \points).if { (item.list.size != 0).if { offsets[i] + item.list[0] }; }{ item.offset.notNil.if { offsets[i] + item.offset }; } } }; itemStreams = items.collect(_ ...