-
... , [ \direction, 0.0, \mode, \line ] ) .changesT_( false ) .setSpec( \direction, ControlSpec(0,1) ) .setSpec( \mode, ListSpec([\line, \circle, \spacing, \spacing_nearest]) );
-
... t(width: 190, height: 20) ).background_(Color.fromHexString("#A0A0A0")); spec = ControlSpec(0.ampdb, 2.ampdb, \db, units: " dB"); volSlider.value = spec.unmap(0); volSlider.canFocus = false; volSlider.action = { arg slider; Server.default.v ...
-
... berrect, slidrect; font = GUI.font.new("Helvetica", 12); lastval= start; spec = ControlSpec(min,max,warp,step,start); if ( GUI.id == \cocoa, { namerect= Rect(bounds.left,(bounds.height)+bounds.top,(bounds.width)-30, 20); numberrect= Rect(bo ...
-
... Dictionary[ // has an extra arg SimpleNumber -> { arg n,spec; if(spec.class === ControlSpec,{ KrNumberEditor(n,spec) },{ NumberEditor(n,spec) }) }, Env -> { arg e,levelSpec; EnvEditor(e,levelSpec) }, Dictionary -> { arg e; DictionaryEditor( ...
-
... ictionary[ // has an extra arg SimpleNumber -> { arg n, spec; if(spec.class === ControlSpec, { KrNumberEditor(n, spec) }, { NumberEditor(n, spec) }) }, Env -> { arg e, levelSpec; EnvEditor(e, levelSpec) }, Dictionary -> { arg e; DictionaryE ...
-
... t) data the data; format: [[aX, aY],[bX, bY],[cX, cY],[dx, dy], ... ] specX the ControlSpec indicating the Specification of the X-Axis specY the ControlSpec indicating the Specification of the Y-Axis background(color) set background-color s ...
-
... pool, <>spec, <>keyName, buttonRandomize, popupSelectControl, labelControlName, controlSpecView, <controlView, textFieldControlName, mainLayout, buttonRemove, <editMode, <patternProxy, <value; var <>actionRemove, <>actionMoveDown, <>actionM ...
-
/*ItemSpec : ControlSpec { var <items; *new { arg items, default; ^super.new(0, 1, \linear, 1.0 / items.size, default ?? {items[0]}).items_(items).init } *newFrom { arg similar; ^this.new(similar.items) } items_{ |inItems| items = inItems; ...
-
... teger; ctls.do { |key| midi.cc(key, value) }; }; learning.keysValuesDo { |name, controlSpec| midi.addCtl(spec[0], name, controlSpec.dereference); }; // otherwise ignore unknown (bc this function gets *everything*) learning.clear; }; }; this ...
-
... timeScale = 1| var phasor; if( env.isKindOf( Env ) && { spec.isNil } ) { spec = ControlSpec( env.levels.minItem, env.levels.maxItem ); env.levels = env.levels.normalize; }; env = this.prepareEnv(env, spec); spec = spec.asSpec; phasor = Line ...