\hypertarget{audiomanip_8h}{}\section{audiomanip.\+h File Reference}
\label{audiomanip_8h}\index{audiomanip.\+h@{audiomanip.\+h}}
{\ttfamily \#include $<$Q\+Audio\+Buffer$>$}\\*
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{audiomanip_8h_a03d94cc61b0c5794b5aeb0e8390e7e0d}{Audio\+Buffer}~Q\+Audio\+Buffer\+::\+S16\+S
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{audiomanip_8h_a3cd69c0b889169ee6625239ca35e9538}{Remove\+Vocals} (\hyperlink{audiomanip_8h_a03d94cc61b0c5794b5aeb0e8390e7e0d}{Audio\+Buffer} frames\mbox{[}$\,$\mbox{]}, int N)
\begin{DoxyCompactList}\small\item\em Given the audio frames of the sound clip, remove the vocals from the clip. \end{DoxyCompactList}\item 
void \hyperlink{audiomanip_8h_a88857e657ef3840063e4ea5e9e898dba}{Audio\+Fade\+In} (\hyperlink{audiomanip_8h_a03d94cc61b0c5794b5aeb0e8390e7e0d}{Audio\+Buffer} frames\mbox{[}$\,$\mbox{]}, int N, int fade\+\_\+length)
\begin{DoxyCompactList}\small\item\em Perform an audio fade in of the sound clip. \end{DoxyCompactList}\item 
void \hyperlink{audiomanip_8h_a980252d21947f1aa1bd45d1ba3938121}{Audio\+Fade\+Out} (\hyperlink{audiomanip_8h_a03d94cc61b0c5794b5aeb0e8390e7e0d}{Audio\+Buffer} frames\mbox{[}$\,$\mbox{]}, int N, int fade\+\_\+length)
\begin{DoxyCompactList}\small\item\em Perform an audio fade out of the sound clip. \end{DoxyCompactList}\item 
void \hyperlink{audiomanip_8h_acdb38ec71647d81c81eeadf210a7800c}{Left\+To\+Right} (\hyperlink{audiomanip_8h_a03d94cc61b0c5794b5aeb0e8390e7e0d}{Audio\+Buffer} frames\mbox{[}$\,$\mbox{]}, int N, int pan\+\_\+length)
\begin{DoxyCompactList}\small\item\em Performs a panning effect from left to right. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\hypertarget{audiomanip_8h_a03d94cc61b0c5794b5aeb0e8390e7e0d}{}\index{audiomanip.\+h@{audiomanip.\+h}!Audio\+Buffer@{Audio\+Buffer}}
\index{Audio\+Buffer@{Audio\+Buffer}!audiomanip.\+h@{audiomanip.\+h}}
\subsubsection[{Audio\+Buffer}]{\setlength{\rightskip}{0pt plus 5cm}\#define Audio\+Buffer~Q\+Audio\+Buffer\+::\+S16\+S}\label{audiomanip_8h_a03d94cc61b0c5794b5aeb0e8390e7e0d}
Audio\+Buffer is an object with left and right side of an stereo audio 

\subsection{Function Documentation}
\hypertarget{audiomanip_8h_a88857e657ef3840063e4ea5e9e898dba}{}\index{audiomanip.\+h@{audiomanip.\+h}!Audio\+Fade\+In@{Audio\+Fade\+In}}
\index{Audio\+Fade\+In@{Audio\+Fade\+In}!audiomanip.\+h@{audiomanip.\+h}}
\subsubsection[{Audio\+Fade\+In}]{\setlength{\rightskip}{0pt plus 5cm}void Audio\+Fade\+In (
\begin{DoxyParamCaption}
\item[{{\bf Audio\+Buffer}}]{frames\mbox{[}$\,$\mbox{]}, }
\item[{int}]{N, }
\item[{int}]{fade\+\_\+length}
\end{DoxyParamCaption}
)}\label{audiomanip_8h_a88857e657ef3840063e4ea5e9e898dba}


Perform an audio fade in of the sound clip. 


\begin{DoxyParams}{Parameters}
{\em frames} & array that contains audio samples, it will modified this function. \\
\hline
{\em N} & number of audio samples (per channel) \\
\hline
{\em fade\+\_\+length} & length of the fade in, in terms of audio samples \\
\hline
\end{DoxyParams}
\hypertarget{audiomanip_8h_a980252d21947f1aa1bd45d1ba3938121}{}\index{audiomanip.\+h@{audiomanip.\+h}!Audio\+Fade\+Out@{Audio\+Fade\+Out}}
\index{Audio\+Fade\+Out@{Audio\+Fade\+Out}!audiomanip.\+h@{audiomanip.\+h}}
\subsubsection[{Audio\+Fade\+Out}]{\setlength{\rightskip}{0pt plus 5cm}void Audio\+Fade\+Out (
\begin{DoxyParamCaption}
\item[{{\bf Audio\+Buffer}}]{frames\mbox{[}$\,$\mbox{]}, }
\item[{int}]{N, }
\item[{int}]{fade\+\_\+length}
\end{DoxyParamCaption}
)}\label{audiomanip_8h_a980252d21947f1aa1bd45d1ba3938121}


Perform an audio fade out of the sound clip. 


\begin{DoxyParams}{Parameters}
{\em frames} & array that contains audio samples, it will modified this function. \\
\hline
{\em N} & number of audio samples (per channel) \\
\hline
{\em fade\+\_\+length} & length of the fade out, in terms of audio samples \\
\hline
\end{DoxyParams}
\hypertarget{audiomanip_8h_acdb38ec71647d81c81eeadf210a7800c}{}\index{audiomanip.\+h@{audiomanip.\+h}!Left\+To\+Right@{Left\+To\+Right}}
\index{Left\+To\+Right@{Left\+To\+Right}!audiomanip.\+h@{audiomanip.\+h}}
\subsubsection[{Left\+To\+Right}]{\setlength{\rightskip}{0pt plus 5cm}void Left\+To\+Right (
\begin{DoxyParamCaption}
\item[{{\bf Audio\+Buffer}}]{frames\mbox{[}$\,$\mbox{]}, }
\item[{int}]{N, }
\item[{int}]{pan\+\_\+length}
\end{DoxyParamCaption}
)}\label{audiomanip_8h_acdb38ec71647d81c81eeadf210a7800c}


Performs a panning effect from left to right. 


\begin{DoxyParams}{Parameters}
{\em frames} & array that contains audio samples, it will modified this function. \\
\hline
{\em N} & number of audio samples (per channel) \\
\hline
{\em pan\+\_\+length} & length of the panning effect, in terms of audio samples \\
\hline
\end{DoxyParams}
\hypertarget{audiomanip_8h_a3cd69c0b889169ee6625239ca35e9538}{}\index{audiomanip.\+h@{audiomanip.\+h}!Remove\+Vocals@{Remove\+Vocals}}
\index{Remove\+Vocals@{Remove\+Vocals}!audiomanip.\+h@{audiomanip.\+h}}
\subsubsection[{Remove\+Vocals}]{\setlength{\rightskip}{0pt plus 5cm}void Remove\+Vocals (
\begin{DoxyParamCaption}
\item[{{\bf Audio\+Buffer}}]{frames\mbox{[}$\,$\mbox{]}, }
\item[{int}]{N}
\end{DoxyParamCaption}
)}\label{audiomanip_8h_a3cd69c0b889169ee6625239ca35e9538}


Given the audio frames of the sound clip, remove the vocals from the clip. 


\begin{DoxyParams}{Parameters}
{\em frames} & array that contains audio samples, it will be modified this function. \\
\hline
{\em N} & number of audio samples (per channel) \\
\hline
\end{DoxyParams}