-
... 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, ...
-
... e dependent on instance variables which you defined such as value , states (for buttons), x and y (for mouse clicks), or anything else you might need for your design. See SCPen for drwaing methods. 5. Define typical widget methods Here you ...
-
... //////////////// // Sound example ( // start server s.waitForBoot({ var w, startButton, noteControl, cutoffControl, resonControl; var balanceControl, ampControl; var node, cmdPeriodFunc; // define a synth SynthDef("window-test", { |out, not ...
-
... 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 ...
-
... ) Examples ////////// Simple example ( w = Window("Simple QC Test").front; b = Button(w, Rect(0, 0, 150, 20)) .states_([["pick another QC file"]]) .action_({ File.openDialog("", { |path| m.path_(path) }) }); m = QuartzComposerView(w, Rect( ...
-
... ().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 ...
-
... durations. Read the resulting rhythm on the X axis (left to right). The "Play" button will repeat a C major scale using the warped timing. Note that, to prevent negative durations, the playback warp will update only once per bar; changes t ...
-
... unit generators, wave samples, points, rectangles, graphical windows, graphical buttons, sliders and much more. Operations upon objects are invoked by messages. A message is a request for an object, called the receiver , to perform one of i ...
-
... with multiple tablets / mice, you can match actions by looking at the deviceID. buttonNumber 0 left, 1 right, 2 middle wheel click. see also buttonMask below. clickCount double click, triple click ... most relevant for the mouseDown, but st ...