Class:            RatioDuration

Environment:      Siren
Superclass:         Siren.RatioMagnitude
Category:         Music-Models-Implementation

Instances of RatioDuration are 'beat' fractions.
They can be expanded into msec. relative to some given event (a whole note), or use the default tempo of 1 sec.

printing

printOn0: aStream
   Print the receiver as a fractional duration.

units
   Answer the units string of the receiver.

private

species
   Answer Duration.

double dispatching

quotientFromInteger: numerator
   Answer a MM whose value is the argument over the receiver's value.

converting

asMS
   Answer a MSecondDuration.

asMsec
   Answer a MSecondDuration.

asSec
   Answer a SecondDuration.

asUsec
   Answer a USecondDuration.

asUseconds
   Answer a USecondDuration.

mostGeneral
   Answer the most numerically meaningful version of the receiver.

MetaClass:         RatioDuration class

coercion

ddMsgName
   Answer the selector to be used in coercing double-dispatching messages.