-
... spring spring constant (incl. mass) damp damping // examples // trigger gate is mouse button // spring constant is mouse x // mouse y controls damping ( { var inforce, outforce, freq, k, d; inforce = K2A .ar( MouseButton .kr(0,1,0)) > 0; k ...
-
... ct friction proximity from which on attraction to surface starts // examples // mouse x controls switch of level // mouse y controls gravity ( { var t, sf; sf = K2A .ar( MouseX .kr > 0.5) > 0; t = TBall .ar(sf, MouseY .kr(0.01, 1.0, 1), 0.0 ...
-
... ct friction proximity from which on attraction to surface starts // examples // mouse x controls switch of level ( { var f, sf; sf = K2A .ar( MouseX .kr > 0.5) > 0; f = Ball .ar(sf, MouseY .kr(0.01, 20, 1), 0.01); f = f * 10 + 500; SinOsc . ...
-
... nd displays. Thus anything you can draw with the methods of Pen , combined with mouse tracking, can be used to create a vast variety of interfaces and displays. When a view is refreshed, either maunually, or triggered by a refresh of the pa ...
-
... seq ([204, 400, 201, 502, 300, 200], inf ), Drand ([1.01, 0.2, 0.1, 2], inf ) * MouseY .kr(0.01, 3, 1), 7 // cubic interpolation ); SinOsc .ar(freq * [1, 1.01]) * 0.1 }.play; ) // frequency modulation ( { var freq, list; list = { exprand(20 ...
-
... Float) shift_scale A value for increment 's or decrement 's zoom argument while mouse scrolling or arrow keys, and while the shift key is pressed. shift_scale defaults to 100. aFloat - An instance of Float . ctrl_scale_(aFloat) ctrl_scale A ...
-
... to access devices in the linux input layer, which supports many input devices (mouse, keyboard, joystick, gamepad, tablet) and busses (serial, PS/2, USB). It is advised to use GeneralHID instead, which wraps the HIDDeviceService functional ...
-
... s from SCStaticTextBase . By default, scroll is set to to true, and you can use mouse scrolling in the SCNumberBox by step. By default, the shift, ctrl, and alt keys will modify the arrow stepping and scrolling by 100x, 10x, or 0.1x repecti ...
-
... ar( Dust .ar(20, Line .kr(0, 1, 4)), 0.999) * 1500 + 200, 0, 0.2 ) }.play; ) // mouse x controls decay, center of the ( { var decay; decay = MouseX .kr(0.99, 1.00001).min(1.0); SinOsc .ar( PeakFollower .ar( Dust .ar(20), decay) * 1500 + 200 ...
-
... number of steps per octave in the scale. The default is 12. ( // modal space // mouse x controls discrete pitch in dorian mode var scale; scale = FloatArray [0, 2, 3.2, 5, 7, 9, 10]; // dorian scale play({ var mix; mix = // lead tone SinOsc ...