rsc3/doc/examples/ugen/controls/mouse-y.help.scm

10 lines
326 B
Scheme
Raw Normal View History

2022-08-24 13:53:18 +00:00
;; (mouse-y rate minval maxval warp lag)
;; 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.
(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))))