\section{Midi\-File\-Info Struct Reference}
\label{structMidiFileInfo}\index{MidiFileInfo@{MidiFileInfo}}
Contains all the information about a MIDI file. All the information about a MIDI file.  


{\tt \#include $<$midfile.h$>$}

\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
int {\bf format}
\begin{CompactList}\small\item\em Format of MIDI file. \item\end{CompactList}\item 
int {\bf ntracks}
\begin{CompactList}\small\item\em Number of tracks. \item\end{CompactList}\item 
int {\bf ticks\-Per\-Cuarter\-Note}
\begin{CompactList}\small\item\em Ticks per cuarter note. \item\end{CompactList}\item 
{\bf ulong} {\bf ticks\-Total}
\begin{CompactList}\small\item\em Total number of MIDI ticks. \item\end{CompactList}\item 
double {\bf millisecs\-Total}
\begin{CompactList}\small\item\em Total number of milliseconds. \item\end{CompactList}\item 
{\bf ulong} {\bf ticks\-Played}\label{structMidiFileInfo_o5}

\item 
int {\bf patches\-Used} [256]
\begin{CompactList}\small\item\em Patches used in the MIDI file. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Contains all the information about a MIDI file. All the information about a MIDI file. 

\begin{Desc}
\item[Version:]0.9.5 17/01/2000 \end{Desc}
\begin{Desc}
\item[Author:]Antonio Larrosa Jimenez $<${\tt larrosa@kde.org}$>$ \end{Desc}




Definition at line 38 of file midfile.h.

\subsection{Member Data Documentation}
\index{MidiFileInfo@{Midi\-File\-Info}!format@{format}}
\index{format@{format}!MidiFileInfo@{Midi\-File\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Midi\-File\-Info::format}}\label{structMidiFileInfo_o0}


Format of MIDI file. 



Definition at line 43 of file midfile.h.\index{MidiFileInfo@{Midi\-File\-Info}!ntracks@{ntracks}}
\index{ntracks@{ntracks}!MidiFileInfo@{Midi\-File\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Midi\-File\-Info::ntracks}}\label{structMidiFileInfo_o1}


Number of tracks. 



Definition at line 48 of file midfile.h.

Referenced by Midi\-Player::play(), Midi\-Player::remove\-Song(), and Midi\-Player::set\-Pos().\index{MidiFileInfo@{Midi\-File\-Info}!ticksPerCuarterNote@{ticksPerCuarterNote}}
\index{ticksPerCuarterNote@{ticksPerCuarterNote}!MidiFileInfo@{Midi\-File\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Midi\-File\-Info::ticks\-Per\-Cuarter\-Note}}\label{structMidiFileInfo_o2}


Ticks per cuarter note. 



Definition at line 53 of file midfile.h.

Referenced by Midi\-Player::play().\index{MidiFileInfo@{Midi\-File\-Info}!ticksTotal@{ticksTotal}}
\index{ticksTotal@{ticksTotal}!MidiFileInfo@{Midi\-File\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf ulong} {\bf Midi\-File\-Info::ticks\-Total}}\label{structMidiFileInfo_o3}


Total number of MIDI ticks. 



Definition at line 58 of file midfile.h.

Referenced by Midi\-Player::play().\index{MidiFileInfo@{Midi\-File\-Info}!millisecsTotal@{millisecsTotal}}
\index{millisecsTotal@{millisecsTotal}!MidiFileInfo@{Midi\-File\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Midi\-File\-Info::millisecs\-Total}}\label{structMidiFileInfo_o4}


Total number of milliseconds. 



Definition at line 63 of file midfile.h.\index{MidiFileInfo@{Midi\-File\-Info}!patchesUsed@{patchesUsed}}
\index{patchesUsed@{patchesUsed}!MidiFileInfo@{Midi\-File\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Midi\-File\-Info::patches\-Used}[256]}\label{structMidiFileInfo_o6}


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, patches\-Used[0] will store 782. In the same way, if it doesn't use the Music Box patch, patches\-Used[10] will be 0. 

Definition at line 76 of file midfile.h.

Referenced by Midi\-Player::play().

The documentation for this struct was generated from the following file:\begin{CompactItemize}
\item 
midfile.h\end{CompactItemize}
