-
... l, sp; spec = sp.asSpec ?? {ControlSpec.new}; fractspec = ControlSpec(0, 1-spec.step, \linear, spec.step); intspec = ControlSpec(spec.minval.asInteger, spec.maxval.asInteger, \linear, 1); this.value_(val); } value { ^(int + fract) } poll { ...
-
... 4, \amp: 6, \db: 7 )[curvenum ]; }; ^[ minval, maxval, curvenum, curveval ? -2, step ]; } asOSCArgEmbeddedArray { | array| ^this.asControlInput.asOSCArgEmbeddedArray(array) } } + Spec { asControlInput { ^this.asControlSpec.asControlInput; } ...
-
... 4, \amp: 6, \db: 7 )[curvenum ]; }; ^[ minval, maxval, curvenum, curveval ? -2, step ]; } asOSCArgEmbeddedArray { | array| ^this.asControlInput.asOSCArgEmbeddedArray(array) } } + Spec { asControlInput { ^this.asControlSpec.asControlInput; } ...
-
... aryValue); } } PointSpec : Spec { classvar <>defaultMode = \point; var <rect, <>step, >default, <>units, <>mode; // constrains inside rect var clipRect; // mode can be \point, \polar, \deg_cw, \deg_ccw // only for gui; output will always be ...
-
... on = { this.valueAction_(controlSpec.map(sliderView.value)); }; if (controlSpec.step != 0) { sliderView.step = (controlSpec.step / (controlSpec.maxval - controlSpec.minval)); }; sliderView.receiveDragHandler = { arg slider; slider.valueActi ...
-
... et these absolutely, there are also many ways change them relatively, by little steps, or by random jumps. This makes it possible to play them with multiple interfaces sharing influence over all playing processes. /***** OVERVIEW *****/ The ...
-
... ctions , VarGui , VarGui shortcut builds Creation / Class Methods *new (lo, hi, step, length, envir) Creates a new PLbrown object. lo - Symbol or Pbrown lo arg. Defaults to 0. If a Symbol is passed, lo can be assigned to an envir variable l ...
-
... gMargin; var labelBounds, hiBounds,loBounds, unitBounds,rangerBounds; var numberStep; // Set Margin and Gap this.prMakeMarginGap(parentView, argMargin, argGap); unitWidth = argUnitWidth; numberWidth = argNumberWidth; layout=argLayout; bound ...
-
... nd( size ); }; if( originalSpec.isNil ) { ^warp.map(value.clip(0.0, 1.0)).round(step); } { ^value.collect({ |val| originalSpec.map( val ); }) }; } uconstrain { |value| ^this.constrain( value ? this.default ); } *testObject { |obj| ^obj.isAr ...
-
... unctions , VarGui , VarGui shortcut builds Creation / Class Methods *new (list, stepPattern, directionPattern, startPos, cutItems, envir) Creates a new PLwalk object. list - Symbol or Pwalk list arg. If a Symbol is passed, list can be assig ...