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.
Value
| 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.
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database