TimeDivision

Members

Functions

getFormat
int getFormat()

Returns the time division's format. If the format is 0, then use getTicksPerQuarterNote(). If it is 1, use getNegativeSMPTEFormat() and getTicksPerFrame().

getNegativeSMPTEFormat
byte getNegativeSMPTEFormat()
getTicksPerFrame
ubyte getTicksPerFrame()
getTicksPerQuarterNote
ushort getTicksPerQuarterNote()

Preconditions: getFormat() must be 0

Properties

rawValue
ushort rawValue [@property getter]

(read-only)

Static functions

fromFormat0
TimeDivision fromFormat0(ushort ticksPerQuarterNote)
fromFormat1
TimeDivision fromFormat1(byte negativeSMPTEFormat, ubyte ticksPerFrame)
fromRawValue
TimeDivision fromRawValue(ushort rawValue)

fromRawValue creates a TimeDivision object from the raw encoding of this property in the header chunk.

Meta