-
... % !\n" .postf(valStr.asCompileString) }; } // basic keyDown first keyDown, like slider+numbox is now. makeKeyDownActions { uv.keyDownAction = MFunc.new; // put this in for debugging? // uv.keyDownAction.add(\post, { |uv, key, mod| [key, mod ...
-
... nk.nanoKnobElements[8].action= {|val| //v1 only - unused nk.sendOsc([]); }; //--slider functions nk.nanoSliderElements[0].action= {|val| var vol= val.lincurve(0, 1, -90, 2, -4); nk.sendOsc([ [\sCluster, \mainVolume, vol], [\sDrone, \mainVol ...
-
... .kr(Env.adsr, \gate.kr(1), doneAction: 2); snd * env; }); // which param should slider set? Ndef( \sound1 ).addHalo(\xParam, \freq); Ndef( \sound1 ).addHalo(\yParam, \rfreq); // range of that param Ndef( \sound1 ).addSpec(\freq, [60, 600, \ ...
-
... { values.valueAction = values.value.collect { 1.0.rand }; }, 75); values = MultiSliderView(layout, 100@150); values.action = { model.liveValues = model.spec.map( values.value ); if(model.focusedPoint.notNil, { model.savePoint.initTable.chan ...
-
... server, channels, setting; var txtv, runCode, selectedChannel, codeList, volumeSliderList, volumeBusSynths, codeSynths, templatePop, templateCodeDict, templateNameField; var codeButtList, runList, outBusList; var point, outbus; SynthDef(\x ...
-
... FX. Arguments: name the name the gui will show numItems the number of buttons / sliders for parameters the gui will have buttonList an optional list of buttons. by default, this is the list of slotNames. parent the parent view or window on ...
-
... ightText'); palette.setColor(Color.fromHexString("#e0b01e"), 'light'); // welow slider palette.setColor(Color.fromHexString("#62400a"), 'midlight'); // brown contour palette.setColor(Color.fromHexString("#363636"), 'middark'); // widget bac ...
-
... , MKtl The core idea of Modality is playing highly modal interfaces: What each slider, knob, button etc does can be changed in the flow of performance. To make this easy, some coding strategies are better than others, and here is the one w ...
-
... , edit the var envInit line to read var envInit = 0; . ( a = Bus.control(s, 1); Slider(nil, Rect(800, 200, 200, 25)) .action_({ |view| a.set(view.value.lincurve(0, 1, 0, 0.12, 4)) }) .front .onClose_({ p.stop; a.free }); SynthDef(\test, { | ...
-
... - 175, 700, 350), false) .alwaysOnTop = (true); ~velocity = 60; ~velocitySlider = Slider.new(~mainScreen, Rect(205, 25, 200, 40)) .value_(60/127) .action_({ arg obj; ~velocity = obj.value * 127; ~velocityBox.value_(obj.value ...