\hypertarget{instruments_8c}{\section{Référence du fichier sources/instruments/instruments.c}
\label{instruments_8c}\index{sources/instruments/instruments.\-c@{sources/instruments/instruments.\-c}}
}
{\ttfamily \#include \char`\"{}instruments.\-h\char`\"{}}\\*
Graphe des dépendances par inclusion de instruments.\-c\-:
\subsection*{Fonctions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{instruments_8c_a5bf07257c1018526706f17f5dd2e453d}{ajouter\-Instrument} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$tab\mbox{[}$\,$\mbox{]}, int i)
\item 
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{instruments_8c_a1b4d0adf7a9012b51b6cf75146ce8e87}{supprimer\-Instrument} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$tab\mbox{[}$\,$\mbox{]}, int i)
\item 
char $\ast$ \hyperlink{instruments_8c_ab41cad77f4a94310dc211a28dfb21043}{get\-Chemin} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$\hyperlink{main_8c_a51daa158cc3ad050d5aed7b500f18886}{inst})
\item 
int \hyperlink{instruments_8c_a16666d90b8a5f1814bf5508b081a5850}{get\-Volume\-Inst} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$\hyperlink{main_8c_a51daa158cc3ad050d5aed7b500f18886}{inst})
\item 
int \hyperlink{instruments_8c_a1bff83ef5393fa8e882dc0c5b7660fcd}{get\-Balance} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$\hyperlink{main_8c_a51daa158cc3ad050d5aed7b500f18886}{inst})
\item 
char $\ast$ \hyperlink{instruments_8c_aa4f31c49f61e26b4b93aef01d63e5ec7}{get\-Nom\-Inst} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$\hyperlink{main_8c_a51daa158cc3ad050d5aed7b500f18886}{inst})
\item 
\hyperlink{samples_8h_ad0ca612b35eebe718a131db33f4fa089}{Sample} $\ast$ \hyperlink{instruments_8c_a65858268b21c66c9aa10adb6bf00dfa9}{get\-Sample} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$\hyperlink{main_8c_a51daa158cc3ad050d5aed7b500f18886}{inst})
\item 
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{instruments_8c_af006b658c6ed5277e7b76ef2d254e646}{set\-Volume\-Inst} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$\hyperlink{main_8c_a51daa158cc3ad050d5aed7b500f18886}{inst}, int volume)
\item 
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{instruments_8c_a07a91a8df3ec50603b08ab049f50e742}{set\-Balance\-Inst} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$\hyperlink{main_8c_a51daa158cc3ad050d5aed7b500f18886}{inst}, int balance)
\item 
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{instruments_8c_a1f6ed72cbc1a2aa4dae0863269e728e2}{set\-Nom\-Inst} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$\hyperlink{main_8c_a51daa158cc3ad050d5aed7b500f18886}{inst}, char $\ast$nom)
\item 
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{instruments_8c_ae2da904100b4105b21814f7d40e370bb}{set\-Sample} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$\hyperlink{main_8c_a51daa158cc3ad050d5aed7b500f18886}{inst}, \hyperlink{samples_8h_ad0ca612b35eebe718a131db33f4fa089}{Sample} $\ast$\hyperlink{main_8c_a1b2c31d071735c5a50db9f93c1ad53d1}{smpl})
\item 
\hyperlink{fmod_8h_aeb841aa4b4b5f444b5d739d865b420af}{float} \hyperlink{instruments_8c_a23b2d1a486a42541c8d094bacbf4c1b8}{rapport\-Pitch} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$\hyperlink{main_8c_a51daa158cc3ad050d5aed7b500f18886}{inst}, int note, int octave)
\end{DoxyCompactItemize}


\subsection{Description détaillée}
Implémentation de sample.\-h

\begin{DoxyVersion}{Version}
1 
\end{DoxyVersion}
\begin{DoxyAuthor}{Auteur}
Guy 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
Mai 2014 
\end{DoxyDate}


Définition dans le fichier \hyperlink{instruments_8c_source}{instruments.\-c}.



\subsection{Documentation des fonctions}
\hypertarget{instruments_8c_a5bf07257c1018526706f17f5dd2e453d}{\index{instruments.\-c@{instruments.\-c}!ajouter\-Instrument@{ajouter\-Instrument}}
\index{ajouter\-Instrument@{ajouter\-Instrument}!instruments.c@{instruments.\-c}}
\subsubsection[{ajouter\-Instrument}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} ajouter\-Instrument (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{tab\mbox{[}$\,$\mbox{]}, }
\item[{int}]{i}
\end{DoxyParamCaption}
)}}\label{instruments_8c_a5bf07257c1018526706f17f5dd2e453d}


Définition à la ligne 13 du fichier instruments.\-c.

\hypertarget{instruments_8c_a1bff83ef5393fa8e882dc0c5b7660fcd}{\index{instruments.\-c@{instruments.\-c}!get\-Balance@{get\-Balance}}
\index{get\-Balance@{get\-Balance}!instruments.c@{instruments.\-c}}
\subsubsection[{get\-Balance}]{\setlength{\rightskip}{0pt plus 5cm}int get\-Balance (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{inst}
\end{DoxyParamCaption}
)}}\label{instruments_8c_a1bff83ef5393fa8e882dc0c5b7660fcd}


Définition à la ligne 30 du fichier instruments.\-c.

\hypertarget{instruments_8c_ab41cad77f4a94310dc211a28dfb21043}{\index{instruments.\-c@{instruments.\-c}!get\-Chemin@{get\-Chemin}}
\index{get\-Chemin@{get\-Chemin}!instruments.c@{instruments.\-c}}
\subsubsection[{get\-Chemin}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ get\-Chemin (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{inst}
\end{DoxyParamCaption}
)}}\label{instruments_8c_ab41cad77f4a94310dc211a28dfb21043}


Définition à la ligne 22 du fichier instruments.\-c.

\hypertarget{instruments_8c_aa4f31c49f61e26b4b93aef01d63e5ec7}{\index{instruments.\-c@{instruments.\-c}!get\-Nom\-Inst@{get\-Nom\-Inst}}
\index{get\-Nom\-Inst@{get\-Nom\-Inst}!instruments.c@{instruments.\-c}}
\subsubsection[{get\-Nom\-Inst}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ get\-Nom\-Inst (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{inst}
\end{DoxyParamCaption}
)}}\label{instruments_8c_aa4f31c49f61e26b4b93aef01d63e5ec7}


Définition à la ligne 34 du fichier instruments.\-c.

\hypertarget{instruments_8c_a65858268b21c66c9aa10adb6bf00dfa9}{\index{instruments.\-c@{instruments.\-c}!get\-Sample@{get\-Sample}}
\index{get\-Sample@{get\-Sample}!instruments.c@{instruments.\-c}}
\subsubsection[{get\-Sample}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Sample}$\ast$ get\-Sample (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{inst}
\end{DoxyParamCaption}
)}}\label{instruments_8c_a65858268b21c66c9aa10adb6bf00dfa9}


Définition à la ligne 38 du fichier instruments.\-c.

\hypertarget{instruments_8c_a16666d90b8a5f1814bf5508b081a5850}{\index{instruments.\-c@{instruments.\-c}!get\-Volume\-Inst@{get\-Volume\-Inst}}
\index{get\-Volume\-Inst@{get\-Volume\-Inst}!instruments.c@{instruments.\-c}}
\subsubsection[{get\-Volume\-Inst}]{\setlength{\rightskip}{0pt plus 5cm}int get\-Volume\-Inst (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{inst}
\end{DoxyParamCaption}
)}}\label{instruments_8c_a16666d90b8a5f1814bf5508b081a5850}


Définition à la ligne 26 du fichier instruments.\-c.

\hypertarget{instruments_8c_a23b2d1a486a42541c8d094bacbf4c1b8}{\index{instruments.\-c@{instruments.\-c}!rapport\-Pitch@{rapport\-Pitch}}
\index{rapport\-Pitch@{rapport\-Pitch}!instruments.c@{instruments.\-c}}
\subsubsection[{rapport\-Pitch}]{\setlength{\rightskip}{0pt plus 5cm}{\bf float} rapport\-Pitch (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{inst, }
\item[{int}]{note, }
\item[{int}]{octave}
\end{DoxyParamCaption}
)}}\label{instruments_8c_a23b2d1a486a42541c8d094bacbf4c1b8}


Définition à la ligne 58 du fichier instruments.\-c.

\hypertarget{instruments_8c_a07a91a8df3ec50603b08ab049f50e742}{\index{instruments.\-c@{instruments.\-c}!set\-Balance\-Inst@{set\-Balance\-Inst}}
\index{set\-Balance\-Inst@{set\-Balance\-Inst}!instruments.c@{instruments.\-c}}
\subsubsection[{set\-Balance\-Inst}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} set\-Balance\-Inst (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{inst, }
\item[{int}]{balance}
\end{DoxyParamCaption}
)}}\label{instruments_8c_a07a91a8df3ec50603b08ab049f50e742}


Définition à la ligne 46 du fichier instruments.\-c.

\hypertarget{instruments_8c_a1f6ed72cbc1a2aa4dae0863269e728e2}{\index{instruments.\-c@{instruments.\-c}!set\-Nom\-Inst@{set\-Nom\-Inst}}
\index{set\-Nom\-Inst@{set\-Nom\-Inst}!instruments.c@{instruments.\-c}}
\subsubsection[{set\-Nom\-Inst}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} set\-Nom\-Inst (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{inst, }
\item[{char $\ast$}]{nom}
\end{DoxyParamCaption}
)}}\label{instruments_8c_a1f6ed72cbc1a2aa4dae0863269e728e2}


Définition à la ligne 50 du fichier instruments.\-c.

\hypertarget{instruments_8c_ae2da904100b4105b21814f7d40e370bb}{\index{instruments.\-c@{instruments.\-c}!set\-Sample@{set\-Sample}}
\index{set\-Sample@{set\-Sample}!instruments.c@{instruments.\-c}}
\subsubsection[{set\-Sample}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} set\-Sample (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{inst, }
\item[{{\bf Sample} $\ast$}]{smpl}
\end{DoxyParamCaption}
)}}\label{instruments_8c_ae2da904100b4105b21814f7d40e370bb}


Définition à la ligne 54 du fichier instruments.\-c.

\hypertarget{instruments_8c_af006b658c6ed5277e7b76ef2d254e646}{\index{instruments.\-c@{instruments.\-c}!set\-Volume\-Inst@{set\-Volume\-Inst}}
\index{set\-Volume\-Inst@{set\-Volume\-Inst}!instruments.c@{instruments.\-c}}
\subsubsection[{set\-Volume\-Inst}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} set\-Volume\-Inst (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{inst, }
\item[{int}]{volume}
\end{DoxyParamCaption}
)}}\label{instruments_8c_af006b658c6ed5277e7b76ef2d254e646}


Définition à la ligne 42 du fichier instruments.\-c.

\hypertarget{instruments_8c_a1b4d0adf7a9012b51b6cf75146ce8e87}{\index{instruments.\-c@{instruments.\-c}!supprimer\-Instrument@{supprimer\-Instrument}}
\index{supprimer\-Instrument@{supprimer\-Instrument}!instruments.c@{instruments.\-c}}
\subsubsection[{supprimer\-Instrument}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} supprimer\-Instrument (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{tab\mbox{[}$\,$\mbox{]}, }
\item[{int}]{i}
\end{DoxyParamCaption}
)}}\label{instruments_8c_a1b4d0adf7a9012b51b6cf75146ce8e87}


Définition à la ligne 18 du fichier instruments.\-c.

