The midi file header. Contains meta information about the midi.
More...
|
| HeaderChunk (FileStream file) |
|
| Chunk (EMidiChunkType type, uint length) |
|
| Chunk (int type, uint length) |
|
| Chunk (uint type, uint length) |
|
| Chunk (byte[] type, uint length) |
|
|
ushort | format = 0 |
|
ushort | ntrks = 0 |
|
ushort | divisionU = 0 |
| The raw 2 bytes representing the time division exactly as in the file header.
Combines fmt, ticksPerQuarter, and ticksPerFrame
|
|
uint | type = 0 |
|
uint | length = 0 |
|
|
EMidiDivisionFormat | fmt [get, set] |
| The format that time is expressed in in this midi.
|
|
int | ticksPerQuarter [get, set] |
| The number of midi ticks per quarter note. Only meaningful if fmt is EMidiDivisionFormat.TPQN.
|
|
byte | ticksPerFrame [get, set] |
| The number of ticks per frame. Only meaningful if fmt is EMidiDivisionFormat.SMPTE.
|
|
EMidiSMPTEFPS | smpte [get, set] |
| The raw bits signifying desired frames per second. Only meaningful if fmt is EMidiDivisionFormat.SMPTE.
|
|
double | SMPTEFPS [get] |
| The number of frames per second. Only meaningful if fmt is EMidiDivisionFormat.SMPTE.
|
|
The midi file header. Contains meta information about the midi.
◆ smpte
EMidiSMPTEFPS HeaderChunk.smpte |
|
getset |
The raw bits signifying desired frames per second. Only meaningful if fmt is EMidiDivisionFormat.SMPTE.
- See also
- EMidiSMPTEFPS
The documentation for this class was generated from the following file:
- L:/Coding/Unity/OMIDIV/Assets/Scripts/MIDI/Parser/Chunks.cs