-
... sition of the cursor to an index, // usually used to detect which case has been clicked getXIndex { |mousePos, maxIndex, invert = false| var index = 0; var caseSize = super.interactionRect.width / maxIndex; mousePos = mousePos - super.inter ...
-
... ring match for the MIDI output device. 'tempo' is a float, for BPM. When you click the button next to the device menu, it will wait until just before the next bar line, and then send a MIDI clock start message, and start running ticks on ...
-
... and -setString . Interaction Nodes can be selected and moved using mouse. Shift-clicking a node will add it to the selection. You can also move selected nodes and change selection using keyboard. Pressing the arrow keys will move selected n ...
-
... rted into -midiSrcField . Returns: a PopUpMenu . midiLearnBut A Button that, if clicked, either triggers the MIDI-learn functionality (button-label: "L") or creates a CCResponder for the values entered in -midiSrc, -midiChan or/and -midiCtr ...
-
... ing" + x + y) .postln; "wiggled" + Main.elapsedTime // return value }); a.add( 'click' ,{ arg x,y; [x,y].postln; "" .postln; "You clicked" + x + y // return value }); a.mountOSC ) Open Help/ osctest.pde and run it. The Processing osc lib ap ...
-
... ts. While you can set it to accept key strokes, it does not itself accept mouse clicks or drags. SCHLayoutView responds to the minWidth and maxWidth properties in its child views. This is useful when resize is set to 2, 5, or 8. See example ...
-
... } ) }; r = q.makeRecursion; r.fSpawn(350,350); win = Window("grow! (click to restart)", Rect(10, 10, 700, 700)); win.onClose = { r.fReset; run = false; }; view = UserView(win, 700@700).drawFunc_({ r.fUpdate }).clearOnRefresh_( ...
-
... lp); // FIXED: Changed fade-in from 0.1 to 1.0 seconds to prevent GPS-triggered clicks p.value = DiskIn.ar(channum, bufnum, lp) * EnvGen.kr(Env.new([0, 1], [1.0])); trig = Done.kr(p.value); FreeSelf.kr(trig); }, // for SCBus-in SynthDefs { ...
-
... _({ |sink| var index; // dragging an object from a dragboth into itself is like clicking on it // this should trigger the model index = dragViews.indexOf(sink) + model.minNote; (model.v[index].notNil and: { model.v[index].bp === sink.object ...
-
... _({ |sink| var index; // dragging an object from a dragboth into itself is like clicking on it // this should trigger the model index = dragViews.indexOf(sink) + model.minNote; (model.v[index].notNil and: { model.v[index].bp === sink.object ...