.TH "MidiFileInfo" 3 "28 Jan 2004" "libkmid Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
MidiFileInfo \- Contains all the information about a MIDI file. All the information about a MIDI file.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <midfile.h>\fP
.PP
.SS "Public Attributes"

.in +1c
.ti -1c
.RI "int \fBformat\fP"
.br
.RI "\fIFormat of MIDI file. \fP"
.ti -1c
.RI "int \fBntracks\fP"
.br
.RI "\fINumber of tracks. \fP"
.ti -1c
.RI "int \fBticksPerCuarterNote\fP"
.br
.RI "\fITicks per cuarter note. \fP"
.ti -1c
.RI "\fBulong\fP \fBticksTotal\fP"
.br
.RI "\fITotal number of MIDI ticks. \fP"
.ti -1c
.RI "double \fBmillisecsTotal\fP"
.br
.RI "\fITotal number of milliseconds. \fP"
.ti -1c
.RI "\fBulong\fP \fBticksPlayed\fP"
.br
.ti -1c
.RI "int \fBpatchesUsed\fP [256]"
.br
.RI "\fIPatches used in the MIDI file. \fP"
.in -1c
.SH "Detailed Description"
.PP 
Contains all the information about a MIDI file. All the information about a MIDI file. 

\fBVersion:\fP
.RS 4
0.9.5 17/01/2000 
.RE
.PP
\fBAuthor:\fP
.RS 4
Antonio Larrosa Jimenez <larrosa@kde.org> 
.RE
.PP

.PP
Definition at line 38 of file midfile.h.
.SH "Member Data Documentation"
.PP 
.SS "int \fBMidiFileInfo::format\fP"
.PP
Format of MIDI file. Definition at line 43 of file midfile.h.
.SS "int \fBMidiFileInfo::ntracks\fP"
.PP
Number of tracks. Definition at line 48 of file midfile.h.
.PP
Referenced by MidiPlayer::play(), MidiPlayer::removeSong(), and MidiPlayer::setPos().
.SS "int \fBMidiFileInfo::ticksPerCuarterNote\fP"
.PP
Ticks per cuarter note. Definition at line 53 of file midfile.h.
.PP
Referenced by MidiPlayer::play().
.SS "\fBulong\fP \fBMidiFileInfo::ticksTotal\fP"
.PP
Total number of MIDI ticks. Definition at line 58 of file midfile.h.
.PP
Referenced by MidiPlayer::play().
.SS "double \fBMidiFileInfo::millisecsTotal\fP"
.PP
Total number of milliseconds. Definition at line 63 of file midfile.h.
.SS "int \fBMidiFileInfo::patchesUsed\fP[256]"
.PP
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.
.PP
Referenced by MidiPlayer::play().

.SH "Author"
.PP 
Generated automatically by Doxygen for libkmid Library from the source code.
