-
... h Floor, Boston, MA 02110-1301, USA. */ MemoRoutine : Stream { var <>routine, <>lastValues, <>count, <>copyItems, <>copySets; *new { |func, stackSize = (512), bufSize = 1, copyItems = 0, copySets = 1| ^super.new.routine_(Routine(func, stack ...
-
MxFrameRateDevice { var <>func, <>forUnit, <lastValue; *new { arg func, forUnit; ^super.newCopyArgs(func, forUnit) } tick { arg time; lastValue = func.value(time); this.changed(lastValue); ^lastValue } }
-
... copySets) }) }; ^func.value(inval).embedInStream(inval) } at { |i| ^memoRoutine.lastValues[i] } lastValues { ^memoRoutine.lastValues } lastValue { ^memoRoutine.lastValues[0] } count { ^memoRoutine.count } bufSeq { |dropNils = true| var seq ...
-
... nable lines and disabled items in latest git version WSPopUpMenu { var <popup, <lastValue = 0, <items, <>action, <>mouseDownAction, wasClicked = false; *new { |parent, bounds| ^super.new.init( parent, bounds ); } init { |parent, bounds| pop ...
-
... ue (inval) Same as next. resume (inval) Same as next. run (inval) Same as next. lastValue Last value. lastValues Instance variable getter method for array of stored last values. at (i) Returns i th item of array of last values (keep in mind ...
-
... xample just displaying data using sliders and numberboxes ( var numChan= 4; var lastValues= -1.dup(numChan); var lastTime= 0; var win, sliders, numbers, updateFunc; win= Window("gui example simple", Rect(100, 100, 320, 240)).front; sliders= ...
-
... StreamKrDur : AbstractBusDriver { var <>values,<>durations; var valst,deltast,<lastValue,<delta,<beat; *new { arg values=0.0,durations=0.25,lag=0.0; // make refs of arrays into Pseq if(values.isKindOf(Ref),{ values = Pseq(values.value,inf) ...
-
... reamKrDur : AbstractBusDriver { var <>values, <>durations; var valst, deltast, <lastValue, <delta, <beat; *new { arg values=0.0, durations=0.25, lag=0.0; // make refs of arrays into Pseq if(values.isKindOf(Ref), { values = Pseq(values.value ...
-
... 2019 SGUIelement { //TODO optional smoothing, rounding subclasses? var <value, lastValue; var viewsSpecs, defaultSpec, lastViewValue; var >action; var softSetLastTime; *new { ^super.new.initSGUIelement; } initSGUIelement { value= 0; lastVi ...
-
... //file data //var recorder= DataRecord(board).start; //uncomment to record var lastValues= -1.dup(board.numChannels); var lastTime= 0; var win, sliders, numbers; ~maxuV= 1000; win= Window("gui example simple", Rect(100, 100, 80*board.numCh ...