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

int MidiFileInfo::format
 

Format of MIDI file.

Definition at line 44 of file midfile.h.

double MidiFileInfo::millisecsTotal
 

Total number of milliseconds.

Definition at line 64 of file midfile.h.

int MidiFileInfo::ntracks
 

Number of tracks.

Definition at line 49 of file midfile.h.

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.

Definition at line 77 of file midfile.h.

int MidiFileInfo::ticksPerCuarterNote
 

Ticks per cuarter note.

Definition at line 54 of file midfile.h.

ulong MidiFileInfo::ticksTotal
 

Total number of MIDI ticks.

Definition at line 59 of file midfile.h.


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