Retrieving the Sequence Division Type
The division type of a MIDI sequence determines the amount of time between MIDI events in the sequence. To determine the division type of a sequence, use the MCI_STATUS command and set the dwItem member of the MCI_STATUS_PARMS structure to MCI_SEQ_STATUS_DIVTYPE .
If the MCI_STATUS command is successful, the dwReturn member of the MCI_STATUS_PARMS structure will contain one of the following values to indicate the division type.
|MCI_SEQ_DIV_PPQN||PPQN (parts-per-quarter note)|
|MCI_SEQ_DIV_SMPTE_24||SMPTE, 24 fps (frames per second)|
|MCI_SEQ_DIV_SMPTE_25||SMPTE, 25 fps|
|MCI_SEQ_DIV_SMPTE_30||SMPTE, 30 fps|
|MCI_SEQ_DIV_SMPTE_30DROP||SMPTE, 30 fps drop frame|
You must know the division type of a sequence to change or query its tempo. You cannot change the division type of a sequence by using the MCI sequencer.