packages feed

hsc3-0.1: Help/UGen/IO/mouseY.help.lhs

mouseY rate minval maxval warp lag

Report mouse location on root window of the machine that the
synthesis server is running on.

> let freq = mouseX KR 20 2000 Exponential 0.1
> let ampl = mouseY KR 0.01 0.1 Linear 0.1
> audition (out 0 (sinOsc AR freq 0 * ampl))