-
... en + xsize + 10; if ( xposScreen > 900, { xposScreen = 0; }); }); showconsole = Button.new( w, Rect( 0, 0, xsize-5, 20 ) ).states_( [ ["Show console"] ] ).action_( { DMXConsole.new( dmx ) } ); // GUI.staticText.new(w, Rect(0, 0, xsize - 2, ...
-
... window, DataSmoothing filterLog * 1.85 - changed SyntheticData to match 4.2.0, button bugfix, filterN, smoother drawing * 1.82 - fft optimisation and windowtypes, fixing links, increase framerate in examples * 1.81 - important bugfix for r ...
-
... ().decimals_(3), lagDownSpec) ) ), VLayout( //--synth section onElement.addView(Button().states_([ ["Formant Off", palette.buttonText, palette.button], ["Formant On", palette.buttonText, palette.highlight] ])), HLayout( SGUI.shrink(StaticTe ...
-
... etParam( \amp , val.linlin(0, 127, 0, 1)); }; }; }; (ctlNum == 17).if{ // lower button -> mute (chan == 8).if{ // master (right-most) q.blocks.do{ |block| q.god.muteAll(val.linlin(0, 127, 0, 1)); } }; (chan < 8).if{ q.blocks[q.blockChannels ...
-
... ); }; super.drawBorder; }) // ACTIONS // .mouseDownAction_({ |view, x, y, mod, button, clickCount| if(hoveredElement.isNil) { pressedCase = hoveredCase; } { if((caseHandle.x.abs + caseHandle.y.abs) == 2) { thisDrawGrid = false; thisDrawDot ...
-
... // open stage control can do this: str = oscpath.asString; // a bit of a dodge: buttons have labels, faders don't // but a globalcontrol =>.x t will assign to a fader; // we need to send the label message anyway if(~sendAddr.notNil) { num = ...
-
... wRects_(true) .value_(this.asEnvViewInput(true) ) .setEditable(-1,false); c = SCButton(a, Rect(0,0,60,20)).states_( [["refresh"]] ) .action_({ b.value_(this.asEnvViewInput(true) )}); d = SCButton(a, Rect(0,0,60,20)).states_( [["edit"]] ) .a ...
-
... ew.value; }) .canFocus_(false) .font_(font) .value_(params[2]); onOffButt = GUI.button.new(win, Rect(pad[0] + rect.width + 8, rect.height-2, pad[1], 16)) .states_([["On", Color.black, Color.clear], ["Off", Color.black, Color.green(alpha:0.2 ...
-
... orientation = \vertical; sl }; sliders.do { |sl, i| var ll = VLayout(); ll.add( Button().states_([["x"], ["y"], [" "]]).action_({ |b| if(b.value == 0) { ysl.remove(i);xsl.add(i); sl.value = twod.x; }; if(b.value == 1) { xsl.remove(i); ysl.a ...
-
... index index - some key to identify the running voice. e.g. a MIDInote key, or a button number. args - the arguments to be set individually for this voice. (usually, these are the ones in setParams.) g.play; g.put(48, [ \freq , 48.midicps, \ ...