Returns the note in the window that is closest to the specified point.
method .drawphrase(phrase, mode)
Draws the specified phrase in the window.
The optional mode can be set to XOR, CLEAR, or STORE.
The default mode is STORE.
Scales the coordinates in xyarray from raw window values (pixels)
to click (time) and pitch coordinates.
The scaled coordinates are relative to the window's current view
(as set by the view() method).
Begins a sweep operation.
Sets the name of the track displayed in the window.
This method controls what area of the phrase is seen within the window,
i.e. it allows you to zoom and pan around the phrase, using the window as a viewport.
The argument to this method is assumed to be an xyarray value that specifies
the desired viewing area.
The coordinates are specified in terms of click (time) and pitch values.
For example, if the phrase in window w were 32 beats in length,
this statement would cause it to be dislayed in its entirety:
returns the x screen value corresponding to a given time
returns the y screen value corresponding to a given pitch
returns the pixel distance corresponding to a given duration
returns the pixel distance corresponding to a given pitch range
returns the screen point (pixel) corresponding to note n
returns the pitch value corresponding at y screen value
returns the time value at screen value x