Geen omschrijving

audiomanip_8cpp.tex 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. \hypertarget{audiomanip_8cpp}{}\section{audiomanip.\+cpp File Reference}
  2. \label{audiomanip_8cpp}\index{audiomanip.\+cpp@{audiomanip.\+cpp}}
  3. {\ttfamily \#include \char`\"{}audiomanip.\+h\char`\"{}}\\*
  4. \subsection*{Functions}
  5. \begin{DoxyCompactItemize}
  6. \item
  7. void \hyperlink{audiomanip_8cpp_a3cd69c0b889169ee6625239ca35e9538}{Remove\+Vocals} (\hyperlink{audiomanip_8h_a03d94cc61b0c5794b5aeb0e8390e7e0d}{Audio\+Buffer} frames\mbox{[}$\,$\mbox{]}, int N)
  8. \begin{DoxyCompactList}\small\item\em Given the audio frames of the sound clip, remove the vocals from the clip. \end{DoxyCompactList}\item
  9. void \hyperlink{audiomanip_8cpp_a88857e657ef3840063e4ea5e9e898dba}{Audio\+Fade\+In} (\hyperlink{audiomanip_8h_a03d94cc61b0c5794b5aeb0e8390e7e0d}{Audio\+Buffer} frames\mbox{[}$\,$\mbox{]}, int N, int fade\+\_\+length)
  10. \begin{DoxyCompactList}\small\item\em Perform an audio fade in of the sound clip. \end{DoxyCompactList}\item
  11. void \hyperlink{audiomanip_8cpp_a980252d21947f1aa1bd45d1ba3938121}{Audio\+Fade\+Out} (\hyperlink{audiomanip_8h_a03d94cc61b0c5794b5aeb0e8390e7e0d}{Audio\+Buffer} frames\mbox{[}$\,$\mbox{]}, int N, int fade\+\_\+length)
  12. \begin{DoxyCompactList}\small\item\em Perform an audio fade out of the sound clip. \end{DoxyCompactList}\item
  13. void \hyperlink{audiomanip_8cpp_acdb38ec71647d81c81eeadf210a7800c}{Left\+To\+Right} (\hyperlink{audiomanip_8h_a03d94cc61b0c5794b5aeb0e8390e7e0d}{Audio\+Buffer} frames\mbox{[}$\,$\mbox{]}, int N, int pan\+\_\+length)
  14. \begin{DoxyCompactList}\small\item\em Performs a panning effect from left to right. \end{DoxyCompactList}\end{DoxyCompactItemize}
  15. \subsection{Function Documentation}
  16. \hypertarget{audiomanip_8cpp_a88857e657ef3840063e4ea5e9e898dba}{}\index{audiomanip.\+cpp@{audiomanip.\+cpp}!Audio\+Fade\+In@{Audio\+Fade\+In}}
  17. \index{Audio\+Fade\+In@{Audio\+Fade\+In}!audiomanip.\+cpp@{audiomanip.\+cpp}}
  18. \subsubsection[{Audio\+Fade\+In}]{\setlength{\rightskip}{0pt plus 5cm}void Audio\+Fade\+In (
  19. \begin{DoxyParamCaption}
  20. \item[{{\bf Audio\+Buffer}}]{frames\mbox{[}$\,$\mbox{]}, }
  21. \item[{int}]{N, }
  22. \item[{int}]{fade\+\_\+length}
  23. \end{DoxyParamCaption}
  24. )}\label{audiomanip_8cpp_a88857e657ef3840063e4ea5e9e898dba}
  25. Perform an audio fade in of the sound clip.
  26. \begin{DoxyParams}{Parameters}
  27. {\em frames} & array that contains audio samples, it will modified this function. \\
  28. \hline
  29. {\em N} & number of audio samples (per channel) \\
  30. \hline
  31. {\em fade\+\_\+length} & length of the fade in, in terms of audio samples \\
  32. \hline
  33. \end{DoxyParams}
  34. \hypertarget{audiomanip_8cpp_a980252d21947f1aa1bd45d1ba3938121}{}\index{audiomanip.\+cpp@{audiomanip.\+cpp}!Audio\+Fade\+Out@{Audio\+Fade\+Out}}
  35. \index{Audio\+Fade\+Out@{Audio\+Fade\+Out}!audiomanip.\+cpp@{audiomanip.\+cpp}}
  36. \subsubsection[{Audio\+Fade\+Out}]{\setlength{\rightskip}{0pt plus 5cm}void Audio\+Fade\+Out (
  37. \begin{DoxyParamCaption}
  38. \item[{{\bf Audio\+Buffer}}]{frames\mbox{[}$\,$\mbox{]}, }
  39. \item[{int}]{N, }
  40. \item[{int}]{fade\+\_\+length}
  41. \end{DoxyParamCaption}
  42. )}\label{audiomanip_8cpp_a980252d21947f1aa1bd45d1ba3938121}
  43. Perform an audio fade out of the sound clip.
  44. \begin{DoxyParams}{Parameters}
  45. {\em frames} & array that contains audio samples, it will modified this function. \\
  46. \hline
  47. {\em N} & number of audio samples (per channel) \\
  48. \hline
  49. {\em fade\+\_\+length} & length of the fade out, in terms of audio samples \\
  50. \hline
  51. \end{DoxyParams}
  52. \hypertarget{audiomanip_8cpp_acdb38ec71647d81c81eeadf210a7800c}{}\index{audiomanip.\+cpp@{audiomanip.\+cpp}!Left\+To\+Right@{Left\+To\+Right}}
  53. \index{Left\+To\+Right@{Left\+To\+Right}!audiomanip.\+cpp@{audiomanip.\+cpp}}
  54. \subsubsection[{Left\+To\+Right}]{\setlength{\rightskip}{0pt plus 5cm}void Left\+To\+Right (
  55. \begin{DoxyParamCaption}
  56. \item[{{\bf Audio\+Buffer}}]{frames\mbox{[}$\,$\mbox{]}, }
  57. \item[{int}]{N, }
  58. \item[{int}]{pan\+\_\+length}
  59. \end{DoxyParamCaption}
  60. )}\label{audiomanip_8cpp_acdb38ec71647d81c81eeadf210a7800c}
  61. Performs a panning effect from left to right.
  62. \begin{DoxyParams}{Parameters}
  63. {\em frames} & array that contains audio samples, it will modified this function. \\
  64. \hline
  65. {\em N} & number of audio samples (per channel) \\
  66. \hline
  67. {\em pan\+\_\+length} & length of the panning effect, in terms of audio samples \\
  68. \hline
  69. \end{DoxyParams}
  70. \hypertarget{audiomanip_8cpp_a3cd69c0b889169ee6625239ca35e9538}{}\index{audiomanip.\+cpp@{audiomanip.\+cpp}!Remove\+Vocals@{Remove\+Vocals}}
  71. \index{Remove\+Vocals@{Remove\+Vocals}!audiomanip.\+cpp@{audiomanip.\+cpp}}
  72. \subsubsection[{Remove\+Vocals}]{\setlength{\rightskip}{0pt plus 5cm}void Remove\+Vocals (
  73. \begin{DoxyParamCaption}
  74. \item[{{\bf Audio\+Buffer}}]{frames\mbox{[}$\,$\mbox{]}, }
  75. \item[{int}]{N}
  76. \end{DoxyParamCaption}
  77. )}\label{audiomanip_8cpp_a3cd69c0b889169ee6625239ca35e9538}
  78. Given the audio frames of the sound clip, remove the vocals from the clip.
  79. \begin{DoxyParams}{Parameters}
  80. {\em frames} & array that contains audio samples, it will be modified this function. \\
  81. \hline
  82. {\em N} & number of audio samples (per channel) \\
  83. \hline
  84. \end{DoxyParams}