Class:            PitchTimeView

Environment:      Siren
Superclass:         Siren.TimeSequenceView
Category:         MusicUI-Editors
Instance variables:   pitchOffset yScale yScaleDefault

Instances of PitchTimeView (and its subclasses) are time-line oriented DisplayListViews which make the assumption that the y-coordinate is related to pitch.
The relationship may be a function (as in piano-roll and Hauer-Steffens notation), or involve a look-up table (as in CMN).

Instance Variables:
   pitchOffset    the view's lowest pitch (normally a key number)

displaying

highlightFrom: pt1 to: pt2
   Show selection of the range pt1--pt2

zoom: aPoint
   Set the receiver's 'zoom' to be aPoint.

transforming

pitchFromY: aPoint
   Answer the transformed pitch represented by the y-coordinate of the argument.

layout manager access

generateItemFor: anAss
   Answer the correct visual item for the given assoc. (sent from layoutManagers).

itemFor: anAss
   Answer the correct visual item for the given assoc. (sent from layoutManagers).

layoutManager
   Answer a default layout manager for the receiver.

initialize-release

initialize
   Initialize the instance variables of the receiver.

controller access

defaultControllerClass
   Answer the class of the default controller for the receiver.

MetaClass:         PitchTimeView class

examples

randomExample
   Open a p-t view on a random event list.

randomExampleLong
   Open a p-t view on a random event list.

instance creation

label
   Answer the view label for the receiver's instances.

subview creation

addButtonsOn: me for: dled to: container in: rect
   Add the default button panel to the instance in the given rectangle.