-
... ✔ A more complex example, with 3 controls : amplitude, frequency and panning. A slider also allows to modify widgets timeScales: ( s.waitForBoot({ var win = Window.new( "", Rect(0, 400, 800, 600) ); var button = GMButton(); var zoomSlider = ...
-
... is.curveGui(layout); } curveGui { arg layout; orderSpec = [2,8].asSpec; order = Slider( layout, 17@200 ) .value_( orderSpec.unmap( model.order ) ) .action_({ model.order = orderSpec.map(order.value); model.changed }); } focusColor_ { arg c; ...
-
... d default. // Here, one takes the difference on an interface element // (e.g. a slider's current position minus is previous position, // and tells NTMI to shift the parameters of the running processes // by a difference vector coming from t ...
-
... classvar <>defaultBounds, <>defaultFromBounds; var <composite, <userView, <scaleSliders, <moveSliders; var <viewOffset; var <>maxZoom = 8, <>minZoom = 1; var <>zoomCurve = 0; var resize = 1; var window; var currentBounds; var <sliderKnobCol ...
-
... er ; var <>w, <>enterField, <>multiField, <>terminal, <>clockField ; var <>tempoSlider, tempoView ; var <>startTime, <>clockTask ; *new { arg graphParser ; // runner is needed for tempo ^super.new.initParserView(graphParser) } initParserVie ...
-
... = HLayout(*~dirt.orbits.collect { |x| var val = spec.unmap(x.get(\amp).ampdb); Slider().value_(val).action_({ |v| x.set(\amp, spec.map(v.value).dbamp.postln) }) }); ) ⧉ ✔ . doNotReadYet If set to true , any sound files are not read but onl ...
-
... 'lagTime', " ++ lag ++ ");").radcode(\radpostcont); }); this.mixWinBool({ setVolSlider.(trackIndex, value); //slider always shows dB }); }, { "Track not found".warn; }); } setVolumeLag {arg trackType=\track, trackNum=1, lag=0; var ndefCS, s ...
-
... call window), \menu (a GUI PopUpMenu or list), \button // (a GUI button), \gui (sliders, knobs, text fields), \hid (MIDI and HID // controllers), \osc (incoming OSC), \hidcmd (a controller mapped to a // command with no value in it, a trigg ...
-
... nd Automation The current sample set of plugins shipping with Hadron uses the HrSlider widget which is a normal slider with midi learn and automation record capabilities. Check its help file to find out how to use it. Midi bindings and auto ...
-
... (p); p.reset.play }] ]); // control the filter cutoff with the modwheel (or gui slider) ~leadsock = VoicerMIDISocket (0, ~lead); ~leadsock.addControl( \mw , \ffreq , 2000, [800, 20000, \exponential ], \omni ); ~lead.gui; ) // Now, to play t ...