49 lines
1.7 KiB
TeX
49 lines
1.7 KiB
TeX
\hypertarget{lecture_8h}{\section{Référence du fichier sources/lecture/lecture.h}
|
|
\label{lecture_8h}\index{sources/lecture/lecture.\-h@{sources/lecture/lecture.\-h}}
|
|
}
|
|
{\ttfamily \#include \char`\"{}../melodie/melodie.\-h\char`\"{}}\\*
|
|
{\ttfamily \#include $<$stdio.\-h$>$}\\*
|
|
{\ttfamily \#include $<$stdlib.\-h$>$}\\*
|
|
{\ttfamily \#include $<$unistd.\-h$>$}\\*
|
|
{\ttfamily \#include \char`\"{}../fmod/include/fmod.\-h\char`\"{}}\\*
|
|
\subsection*{Fonctions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
void \hyperlink{lecture_8h_ae9f8bb9930882abb275282c8ac2fb90c}{lecture} (int nbr\-Chaines, int tempo, \hyperlink{struct__motif}{Motif} $\ast$melodie\mbox{[}$\,$\mbox{]})
|
|
\end{DoxyCompactItemize}
|
|
|
|
|
|
\subsection{Description détaillée}
|
|
Lecture de la mélodie
|
|
|
|
\begin{DoxyVersion}{Version}
|
|
1
|
|
\end{DoxyVersion}
|
|
\begin{DoxyAuthor}{Auteur}
|
|
Quentin, Guy
|
|
\end{DoxyAuthor}
|
|
\begin{DoxyDate}{Date}
|
|
Mai 2014
|
|
\end{DoxyDate}
|
|
|
|
|
|
\subsection{Documentation des fonctions}
|
|
\hypertarget{lecture_8h_ae9f8bb9930882abb275282c8ac2fb90c}{\index{lecture.\-h@{lecture.\-h}!lecture@{lecture}}
|
|
\index{lecture@{lecture}!lecture.h@{lecture.\-h}}
|
|
\subsubsection[{lecture}]{\setlength{\rightskip}{0pt plus 5cm}void lecture (
|
|
\begin{DoxyParamCaption}
|
|
\item[{int}]{nbr\-Chaines, }
|
|
\item[{int}]{tempo, }
|
|
\item[{{\bf Motif} $\ast$}]{melodie\mbox{[}$\,$\mbox{]}}
|
|
\end{DoxyParamCaption}
|
|
)}}\label{lecture_8h_ae9f8bb9930882abb275282c8ac2fb90c}
|
|
Permet la lecture d'un motif
|
|
\begin{DoxyParams}[1]{Paramètres}
|
|
\mbox{\tt in} & {\em nbr\-Chaines} & \-: nombre de chaines \\
|
|
\hline
|
|
\mbox{\tt in} & {\em tempo} & \-: vitesse de lecture \\
|
|
\hline
|
|
\mbox{\tt in} & {\em melodie\mbox{[}$\,$\mbox{]}} & \-: tableau ordonné des motifs \\
|
|
\hline
|
|
\end{DoxyParams}
|