kx, ky xyin iprd, ixmin, ixmax, iymin, iymax[, ixinit, iyinit]
tempo ktempo, istartempo
Sense the cursor position in an input window. Apply tempo control to an uninterpreted score.xmin, xmax, ymin, ymax - edge values for the x-y coordinates of a cursor in the input window.
ixinit, iyinit (optional) - initial x-y coordinates reported; the default values are 0,0. If these values are not within the given min-max range, they will be coerced into that range.
istartempo - initial tempo (in beats per minute). Typically 60.
tempo allows the performance speed of Csound scored events to be controlled from within an orchestra. It operates only in the presence of the csound -t flag. When that flag is set, scored events will be performed from their uninterpreted p2 and p3 (beat) parameters, initially at the given command-line tempo. When a tempo statement is activated in any instrument (ktempo > 0.), the operating tempo will be adjusted to ktempo beats per minute. There may be any number of tempo statements in an orchestra, but coincident activation is best avoided.
Example:
kx,ky xyin .05, 30, 0, 120, 0, 75 ; sample the cursor
tempo kx, 75 ; and control the tempo of performance