-
... }); if ( butState.value == 0, { Pdef(\metronome).clear}); }; metronomeVolume = Slider(window, Rect(width: 82, height: 20) ).background_(Color.fromHexString("#A0A0A0")); spec_Metro = ControlSpec(minval: 0, maxval: 0.5); metronomeVolume.valu ...
-
... . When many elements of the same type are listed in an obvious order, such as 8 sliders sending cc numbers, or 88 piano keys sending noteOn and noteOff, it makes sense to organize them into Arrays. 'Reference/MKtl_description_files'.openHel ...
-
... (row: 3, column: 0, height: 2) ), ( key: \mod, midiMsgType: 'cc', elementType: 'slider', midiChan: 0, midiNum: 1, spec: 'midiCC', style: (row: 3, column: 1, height: 2) ), ] ) )
-
// wslib 2006 // slider based on blackrain's knob SmoothSlider : RoundView { var <>color, <value, <>step, hit, <>mode, isCentered = false, <centerPos = 0.5; var <border = 0, <baseWidth = 1, <extrude = false, <knobBorderScale = 2; var <knobS ...
-
... *(..7).collect({ |x| [ ("global_" ++ x).asSymbol, 0.5 ] }).flatten(1) ), \nano_sliders, { var ccs; ccs = [ 2, 3, 4, 5, 6, 8, 9, 12, 13 ]; this.new( *ccs.collect({ |cc, i| [ ("global_" ++ i).asSymbol, UMap( 'midi_cc', [ \cc, cc, \channel, 0 ...
-
... *(..7).collect({ |x| [ ("global_" ++ x).asSymbol, 0.5 ] }).flatten(1) ), \nano_sliders, { var ccs; ccs = [ 2, 3, 4, 5, 6, 8, 9, 12, 13 ]; this.new( *ccs.collect({ |cc, i| [ ("global_" ++ i).asSymbol, UMap( 'midi_cc', [ \cc, cc, \channel, 0 ...
-
... dow("SC grids", Rect(100, 100, 400, 580)); [\hh, \k, \sd].do({|instrument, num| Slider2D(w, Rect(20, 20 + (180*num), 150, 150)) .x_(0.5) .y_(0.5) .action_({|sl| Tdef(instrument).set(\x, sl.x); Tdef(instrument).set(\y, sl.y); }); StaticText( ...
-
MxDrawer.add("Slider", { NumberEditor(1.0) }); MxDrawer.add("CC", { CCResponder.new }); MxDrawer.add("MxControlRecorder", { MxControlRecorder.new }); if(\BezierSpline.asClass.notNil, { MxDrawer.add("SplineKr", { KrSplinePlayer.new }); MxDra ...
-
... "RefGain: "; v[0] = GUI.staticText.new(w, Rect(0, 0, 30, height+2)); s[0] = GUI.slider.new(w, Rect(0, 0, 182, height)); s[0].value = this.refGain; s[0].action = { this.refGain = s[0].value; v[0].string = s[0].value.round(0.01).asString; }; ...
-
/* goal: offer all ControlSpec inlets in the current Mx show all on a gui with sliders learn cc, keystroke (toggle), osc record those events multiple patterns / takes mute/play/solo takes so pattern switching is by soloing one of the takes ...