MidiFileInfo Struct Reference

#include <midfile.h>

List of all members.


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 39 of file midfile.h.


Public Attributes

int format
int ntracks
int ticksPerCuarterNote
ulong ticksTotal
double millisecsTotal
ulong ticksPlayed
int patchesUsed [256]

Member Data Documentation

Format of MIDI file.

Definition at line 44 of file midfile.h.

Number of tracks.

Definition at line 49 of file midfile.h.

Ticks per cuarter note.

Definition at line 54 of file midfile.h.

Total number of MIDI ticks.

Definition at line 59 of file midfile.h.

Total number of milliseconds.

Definition at line 64 of file midfile.h.

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 77 of file midfile.h.


The documentation for this struct was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys