-
... stance Methods Inherited instance methods Examples // vary frequency { CuspN.ar(MouseX.kr(20, SampleRate.ir), 1.0, 1.99) * 0.3 }.play(s); // mouse-controlled params { CuspN.ar(SampleRate.ir/4, MouseX.kr(0.9, 1.1, 1), MouseY.kr(1.8, 2, 1)) * ...
-
... 400, 500, 600, 800 ]), LFSaw .kr(2.0).range(0, 7) ), 0, 0.5 ) }.play; ) // with mouse control ( { SinOsc .ar( Index .kr( LocalBuf .newFrom([ 200, 300, 400, 500, 600, 800 ]), MouseX .kr(0, 7) ), 0, 0.5 ) }.play; ) ( // indexing into a change ...
-
... rmation. If you still want to be able to interact with the view below using the mouse, you can make the one above ignore the mouse using View: -acceptsMouse . See the example below. Views can be added to the layout immediately at constructi ...
-
... L Class methods new Inherited class methods Instance methods Interaction action mouseDownAction value min max scale expMin orientation polarity helpersNumber helperSubdivisions modStep modStepOperator modStepPixelRange modStep2 modStep2Oper ...
-
... widgets. 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 e ...
-
... req; a = Dreset(Dseries(0, 2, inf), Drand([0, 0, 0, 1], inf)); freq = Duty.kr(1/MouseX.kr(1, 40, 1), 0, a) * 30 + 340; SinOsc.ar(freq) * 0.1 }.play; ) // reset when mouse button is pressed ( { var a, freq; a = Dreset(Dseries(0, 2, inf), Mou ...
-
... er is in the box default style individual box styling named styles (eg playing) mouse events / dragging styles Each box is an environment and stores variables. These are used to set display style and to hold sounds, patterns, players, funct ...
-
... e bus to different values: ~b1.set(100); ~b1.xline(800, 5); ~s3 = { Out.kr(~b1, MouseX.kr(300, 900, 1)) }; // add some mouse control on the fly ~s3.free; // remove it again. // finish: ~b1.free; d.clear; d.pop; ⧉ ✔ helpfile source: /usr/loc ...
-
... HIDdef methods will not work properly: HIDdef.usage(\x, { }, \X); // X-axis of mouse ⧉ ✔ So it is worth repairing until newer SC releases fix this. // * check if hutDirectory is missing: ~hutDirMissing = HIDUsage.hutDirectory.pathMatch.pos ...
-
... 600, 800 ].scramble), LFSaw .kr(2.0).range(0, 7) ), 0, 0.5 ) }.play; ) // with mouse control ( { SinOsc.ar( IndexL .kr( LocalBuf .newFrom([ 200, 300, 400, 500, 600, 800 ].scramble), MouseX .kr(0, 7) ), 0, 0.5 ) }.play; ) ( // indexing into ...