-
... owLayout.new(w.view.bounds); b = { var spec = Spec.specs.select({|x| x.isKindOf(ControlSpec)}).keys.choose; MinBox.new(w, (0@0)@([rrand(20,100)@rrand(20,100)].choose)) .mode_(MinBox.modes.choose) .textMode_(MinBox.textModes.choose) .label_( ...
-
... t, bounds ).setDefaults( spec ); } defaultObject { ^(0,0.1..1) } defaultSpec { ^ControlSpec(0,1); } defaultTransformers { ArrayTransformerDef.loadOnceFromDefaultDirectory; ^[ ArrayTransformer( \clip ) ]; } setDefaults { |inSpec| object = ob ...
-
... ols.do({ |pair, i| var ctlName, ctl; #ctlName, ctl = pair; case( { ctl.isKindOf(ControlSpec) }, { this.addSliderCtl(ctlName, ctl, i) }, // a ctl of a Symbol, e.g. \A0 yields a // dropdown menu for an input soundfield { ctl.isKindOf(Symbol) ...
-
... 0.1, 0.5)); //vertical - still has some issues //EZSlider with control spec; e.controlSpec_(\freq.asSpec) //only in EZSlider; e.bounds // getter e.bounds(Rect(0,0,100,100)) e.value_(0.5) e.background_(Color.green) //only color styling avai ...
-
... c, <midiFunc, broadcastDest, broadcastFunc, lastInEvent=0; *defaultInputSpec { ^ControlSpec(0, 127); } *initClass { mappings = (); } mapTo { |cv| this.updateOnConnect = false; mappings[cv].free; mappings[cv] = ConnectionList [ this.signal(\ ...
-
... tion -- ...LineTo uses current value as start // any warp that can be used in a ControlSpec can be used here controlLine { arg name, start, end, dur = 1, warp; var startTime, timeSpec; name.notNil.if({ this.stopAuto(name); // begin by clear ...
-
... tion -- ...LineTo uses current value as start // any warp that can be used in a ControlSpec can be used here controlLine { arg name, start, end, dur = 1, warp; var startTime, timeSpec; name.notNil.if({ this.stopAuto(name); // begin by clear ...
-
... / check the final result of the instr synth def build, // check its signalRange ControlSpec(-1,1) }) },{ //("This patch "+this+"does not yet know its output rate until it is built.").warn; nil }); }; } rate { ^rate ?? { if(this.instr.outSpe ...
-
... arGui // basic form of a step sequencer (amp defaults to 0 in associated global ControlSpec) ( \default .pVarGui( ctrBefore: [ \a , [0, 6, \lin , 1, 3] ! 8], pBefore: [ \degree , PLseq ( \a ) ] ).gui; ) See VarGui and VarGui shortcut builds ...
-
... m start to end, taking dur seconds. Warp can be any of the options supported by ControlSpec. Default values for start and end will be taken from the control's spec. The spec is defined in the MixerChannelDef. These methods use a routine to ...