MidiFileInfo Struct Reference
Contains all the information about a MIDI file. All the information about a MIDI file. More...
#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
- Author:
- Antonio Larrosa Jimenez <larrosa@kde.org>
Definition at line 38 of file midfile.h.
Member Data Documentation
|
Format of MIDI file. |
|
Number of tracks. Definition at line 48 of file midfile.h. Referenced by MidiPlayer::play(), MidiPlayer::removeSong(), and MidiPlayer::setPos(). |
|
Ticks per cuarter note. Definition at line 53 of file midfile.h. Referenced by MidiPlayer::play(). |
|
Total number of MIDI ticks. Definition at line 58 of file midfile.h. Referenced by MidiPlayer::play(). |
|
Total number of milliseconds. |
|
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. Definition at line 76 of file midfile.h. Referenced by MidiPlayer::play(). |
The documentation for this struct was generated from the following file: