edu.columbia.ee.csmit.MidiKaraoke.MidiMessage
Interface TimeSignature

All Superinterfaces:
MetaCommand, MidiCommand
All Known Subinterfaces:
TimeSignatureInTrack
All Known Implementing Classes:
TimeSignatureParser.Command

public interface TimeSignature
extends MetaCommand

Stores the information associated with a time signature command.

See Also:
TimeSignatureParser

Method Summary
 int getDenominator()
          Returns the denominator of the time signature, where 2 is quarter, 3 is eighth, etc.
 int getMetronomeClick()
          Return the number of midi clocks in a metronome click.
 int getMidiQuarterNote()
          Returns the "number of notated 32nd notes in a midi quarter note" (stolen from this site).
 int getNumerator()
          Returns the numerator of the time signature.
 
Methods inherited from interface edu.columbia.ee.csmit.MidiKaraoke.MidiMessage.MidiCommand
getLength, getMessage
 

Method Detail

getNumerator

int getNumerator()
Returns the numerator of the time signature. 6 in 6/8 time, for example.

Returns:
the numerator

getDenominator

int getDenominator()
Returns the denominator of the time signature, where 2 is quarter, 3 is eighth, etc.

Returns:
the denominator

getMetronomeClick

int getMetronomeClick()
Return the number of midi clocks in a metronome click.

Returns:
ticks

getMidiQuarterNote

int getMidiQuarterNote()
Returns the "number of notated 32nd notes in a midi quarter note" (stolen from this site).

Returns:
32nd notes in a midi quarter note