MidiFileInfo Struct Reference
#include <midfile.h>
Public Attributes | |
| int | format |
| int | ntracks |
| int | ticksPerCuarterNote |
| ulong | ticksTotal |
| double | millisecsTotal |
| ulong | ticksPlayed |
| int | patchesUsed [256] |
Detailed Description
Contains all the information about a MIDI file.
All the information about a MIDI file.
- Version
- 0.9.5 17/01/2000
Member Data Documentation
◆ format
◆ millisecsTotal
| double MidiFileInfo::millisecsTotal |
◆ ntracks
◆ patchesUsed
| int MidiFileInfo::patchesUsed[256] |
Patches used in the MIDI file.
In each position of the array it stores the number of times the corresponding patch is used. So, if a MIDI file plays 782 notes with a piano, patchesUsed[0] will store 782. In the same way, if it doesn't use the Music Box patch, patchesUsed[10] will be 0.
◆ ticksPerCuarterNote
| int MidiFileInfo::ticksPerCuarterNote |
◆ ticksPlayed
◆ ticksTotal
The documentation for this struct was generated from the following file:
Trinity API Reference