-
... GameOfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ + RangeSpec { expandArgSpecs { ^[ ArgSpec( \lo, this.default[0], this.asControlSpec ), ArgSpec( \hi, this.default[1], this.asControlSpec.default_( this.default[1] ) ), ...
-
... GameOfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ + RangeSpec { expandArgSpecs { ^[ ArgSpec( \lo, this.default[0], this.asControlSpec ), ArgSpec( \hi, this.default[1], this.asControlSpec.default_( this.default[1] ) ), ...
-
UPatternSpec : Spec { classvar <>specs; *initClass { specs = [ ArgSpec( 'sustain', 1, SMPTESpec(0, 3600), false, \init ), ArgSpec( 'timeToNext', 1, SMPTESpec(0.01, 3600), false, \init ) ]; } constrain { |value| value = value.asArray.wrapExt ...
-
... mentsDesc: ( elements: [ ( key: \pad, shared: (elementType: 'pad', midiChan: 0, spec: 'midiNote', ioType: \inout), elements: (0..63).collect { |midiNote, i| ( key: (i+1).asSymbol, midiNum: midiNote, groupType: \noteOnOff, shared: ( groupTyp ...
-
... s, f ); }; postMakeViewsFunc.value( f, res ); } ); ^res; } viewNumLines { ^this.specs.collect({|spec| if( spec.isNil ) { 1 } { spec.viewNumLines }; }).sum; } getHeight { |margin, gap| viewHeight = viewHeight ? 14; margin = margin ?? {0@0}; ...
-
... r: Description Class methods new Inherited class methods Instance methods label spec action ezviews slider ranger textview currview value valueAction doAction viewType valueType background Inherited instance methods Undocumented instance me ...
-
... it; } init { noteEl = noteEl ?? { MKtlElement([\note, chan].join($_).asSymbol, (spec: \midiNum)) }; velEl = velEl ?? { MKtlElement([\vel, chan].join($_).asSymbol, (spec: \midiVel)) }; bendEl = bendEl ?? { MKtlElement([\bend, chan].join($_). ...
-
... and the "EZ" container classes, all in a minimal amount of space. You may also specify a ControlSpec, as well as step and round values. You may change the value using the mouse, programmatically, using the arrow keys, or using the number k ...
-
... ,0.5)) .font_(Font("Helvetica",10)) .action_({ arg nb; model.activeValue_(model.spec.constrain(nb.value)).changed(numv); }); numv.mouseDownAction = { arg view,x, y, modifiers, buttonNumber, clickCount; if(modifiers.isAlt,{ model.activeValue ...
-
... 0.5)) .font_(Font("Helvetica", 10)) .action_({ arg nb; model.activeValue_(model.spec.constrain(nb.value)).changed(numv); }); numv.mouseDownAction = { arg view, x, y, modifiers, buttonNumber, clickCount; if(modifiers.isAlt, { model.activeVal ...