Environment: Siren
Instances of the RatioMagnitude subclasses are fractional values relative to some context-defined reference value--their relative. The relative may be provided, or it may be assumed if uninitialized (e.g., for a default whole note's duration or default reference pitch).
Instance Variable:
accessing
relative
value
Answer the receiver's value mapped to the receiver.
converting
Answer self.
map
Apply the receivers reference.
relativeTo: aRelative
Set the receivers reference.
MetaClass: RatioMagnitude class
instance creation
Answer and instance with the argument as its value.