-
... v[0]) } ) }) }); if(GUI.id !== \cocoa, { midiLearn.pairsDo({ |k, v| v.toolTip_("Click and and move an arbitrary\nslider on your MIDI-device to\nconnect the widget at '"++k++"' to that slider.") }) }); nextY = nextY+13; [midiSrc.hi, [\hi, ne ...
-
... ends are identical to those sent for binary # arguments. # Example: METRONOME t/click # The device sends /click or /click 1 to toggle the metronome on or off. REAPER # sends /click 1 when the metronome is enabled, and /click 0 when the metr ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... wn(item); }) }; lv.mouseDownAction = { arg view, x, y, modifiers, buttonNumber, clickCount; // double click on a top level single item or unfolded sub-item => select if(clickCount == 2, action) }; lv.stringColor = fg; lv.focusColor = Color. ...
-
... //SCMovieView\cf0 \ ];\ \}\ \}\ \ \cf3 GD_AreaSelection\cf0 \ \{\ \cf3 var\cf0 click,round,<rect;\ \ *new \{ \cf3 |p,r|\cf0 r !? \{ p = round(p,r) \};\ ^\cf3 super\cf0 .newCopyArgs(p,r).mouseDrag(p)\ \}\ \ mouseDrag \{ \cf3 |drag|\cf0 \ ro ...
-
... nd of the samples, and that the start and end of the sample is at zero to avoid clicks (you might need to fade in / fade out by a tiny amount to achieve this). Consider adjusting the volume/loudness too, for example normalising to -1.0db - ...