rsc3/doc/help/ugen/controls/mouse-y.help.scrbl

19 lines
395 B
Text
Raw Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(mouse-y rate minval maxval warp lag)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
Report mouse location on root window of the machine that the
synthesis server is running on. For a linear mapping set warp to
0, for an exponential mapping set warp to 1.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition
(out 0 (mul (sin-osc ar (mouse-x kr 20 2000 0 0.1) 0)
(mouse-y kr 0.01 0.1 0 0.1))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00