MouseY:
Filter:
Classes | UGens > User interaction

MouseY : MouseX : UGen : AbstractFunction : Object

Cursor tracking UGen.
Source: MacUGens.sc

Description

Cursor tracking UGen.

Class Methods

MouseY.kr(minval: 0, maxval: 1, warp: 0, lag: 0.2)

From superclass: MouseX

Arguments:

minval

Value corresponding to the bottom edge of the screen.

maxval

Value corresponding to the top edge of the screen.

warp

Mapping curve. 0 is linear, 1 is exponential (e. g. for freq or times). Alternatively you can specify: 'linear' or 'exponential'.

lag

Lag factor to dezipper cursor movement.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

{ SinOsc.ar(MouseY.kr(40, 10000, 1), 0, 0.1) }.play;