-
... y } massEdit { |inArray, params| ^params; } } + Nil { massEditSpec { ^nil } } + ControlSpec { massEditSpec { |inArray| ^this.asArrayControlSpec.size_( inArray.size ).default_( inArray ); } massEditValue { |inArray| ^inArray } massEdit { |in ...
-
... Name,argSpec); } initialize { |argName, argSpec| if (argSpec.isNil) { argSpec = ControlSpec(); }; if (argName.isNil) { argName = \default }; spec = argSpec; name = argName; midiFlag = 0; bMidiInvert = false; canRandomize = true; model = (va ...
-
... lider classes (Example 8). For quick GUI generation using SynthDef metadata for controlspecs and / or automatic Pbind builds see VarGui shortcut builds . As both VarGui help files are quite full of details, a more general overview, includin ...
-
Server.local.boot.makeWindow; ( s.boot; ( // controlspecs for its params Spec .add( \pFreq , [2, 200, \exp ]); Spec .add( \pWidth , [0.01, 0.5, \exp ]); Ndef(\test, { |pFreq=100, pWidth=0.5| LPF.ar(LFPulse.ar(pFreq, 0, pWidth), 1500) * 0.1 ...
-
... th: 82, height: 20) ).background_(Color.fromHexString("#A0A0A0")); spec_Metro = ControlSpec(minval: 0, maxval: 0.5); metronomeVolume.value = spec_Metro.unmap(metro_Vol); metronomeVolume.canFocus = false; metronomeVolume.action = { metro_Vol ...
-
... rray; // no mass editing for default spec } } + Nil { massEditSpec { ^nil } } + ControlSpec { massEditSpec { |inArray| ^this.asArrayControlSpec.default_( inArray ); } massEditValue { |inArray| ^inArray } massEdit { |inArray, params| ^params ...
-
... dProxy; var <mainLayoutView, <sliderView, <labelView, <numberBoxView, unitView, controlSpecView, <>actionTextChanged; *new { | parent, bounds | ^super.new(parent, bounds).init(); } uiMode { |uiMode| if (uiMode == \brief, { labelView.visible ...
-
... } + Spec { canAccept { ^false } // for canReceiveDragHandler or other uses } + ControlSpec { canAccept { arg thing; var thingSpec; ^if(thing.isNumber,{ thing.inclusivelyBetween(clipLo,clipHi) },{ thingSpec = thing.tryPerform(\spec); if(thi ...
-
... } + Spec { canAccept { ^false } // for canReceiveDragHandler or other uses } + ControlSpec { canAccept { arg thing; var thingSpec; ^if(thing.isNumber, { thing.inclusivelyBetween(clipLo, clipHi) }, { thingSpec = thing.tryPerform(\spec); if( ...
-
... miny = model.xypoints.minValue(_.y); maxy = model.xypoints.maxValue(_.y); sp = ControlSpec(miny.floor,maxy.ceil); ^sp.grid.looseRange(miny,maxy).asSpec } guessDomainSpec { var xs,minx,maxx,sp; xs = model.points.collect(_.first); minx = xs. ...