-
... client.sendMsg("/reset"); controllers = (); "Resetted controllers".postln; } newSlider {|name, spec, callback| callback = callback ? {}; name = name; controllers[name.asSymbol] = ( spec: spec, callback: callback ); // send [k1, v1, k2, v2,. ...
-
... 2], stream: p ).gui ) // add a hook that re-plots control function after every slider change ( u = Plotter (bounds: Rect (200, 200, 700, 500)); // evaluation points x = (0, 0.1..20); // EventStreamPlayer is run in separate Environment, // ...
-
... trol, we will use MFunc from the adclib. // our simple use case: // we have two sliders that we use for continuous control of different synths. // the upper buttons of the icontrols select which synths the controls go to. // two lower butto ...
-
... .drawFunc = { |uv| var bounds = uv.bounds.moveTo(0,0); Pen.stringCenteredIn("2d Slider \ninterface here?", bounds); }; /// right bottom: outvals ~uouts.drawFunc = { |uv| var bounds = uv.bounds.moveTo(0,0); var width = bounds.width, height = ...
-
... alues([ \pFreq ])[0] }); n = NodeProxyEditor ( Ndef ( \test ), 5); //n.edits[0].sliderView.mouseDownAction = { if (c.autoIsOn) { c.autoOn(rec: true) }; }; //n.edits[0].sliderView.mouseUpAction = { if (c.autoIsOn) { c.play } }; ) CtLoop.verb ...
-
... : 1.6, column: 1.2, height: 0.7, width: 0.7) ) ), ( key: \pedal, \elementType: \slider, \midiMsgType: \cc, \spec: \midiCC, \midiNum: 64, midiChan: 0, style: (row: 0, column: 0, height: 2) ) ] ) )
-
... idget-sources", code: { ~radKinds = [PopUpMenu(), ListView(), Button(), Knob(), Slider(), TextField()].collect(_.radSourceKind) }, check: { ~radKinds == [\menu, \menu, \button, \gui, \gui, \gui] }, gui: true ); // PR 2: the same mixer metho ...
-
... Color.black, basicColor]]; nameView.value = 0; } setupDialView { dialView = GUI.slider.new(layoutView, Rect(0, 0, 80, 16)); dialView.knobColor_(basicColor); dialView.background_(basicColor.copy.alpha_(0.3)); dialView.thumbSize = 4; dialView ...
-
... sc: ( elements: [ // page 1 ( key: \xfader, oscPath: '/1/fader5', elementType: 'slider', spec: \unipolar, ioType: \inout, style: (width: 4, height: 1) ), ( key: \sl, shared: (elementType: \slider, spec: \unipolar, ioType: \inout), elements: ...
-
... m that range onto the toSpec. the default is true The gui also presents a range slider to manually adjust the output range mapping. a = Pseq ([0,0.05,0.1], inf ); m = PMapSpec (a, [0,1], \freq ); t = m.asStream t.next t.next t.next Since th ...