Nenhuma descrição

audiomanip_8cpp.html 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>My Project: audiomanip.cpp File Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td style="padding-left: 0.5em;">
  26. <div id="projectname">My Project
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generated by Doxygen 1.8.9.1 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  41. <li><a href="annotated.html"><span>Classes</span></a></li>
  42. <li class="current"><a href="files.html"><span>Files</span></a></li>
  43. <li>
  44. <div id="MSearchBox" class="MSearchBoxInactive">
  45. <span class="left">
  46. <img id="MSearchSelect" src="search/mag_sel.png"
  47. onmouseover="return searchBox.OnSearchSelectShow()"
  48. onmouseout="return searchBox.OnSearchSelectHide()"
  49. alt=""/>
  50. <input type="text" id="MSearchField" value="Search" accesskey="S"
  51. onfocus="searchBox.OnSearchFieldFocus(true)"
  52. onblur="searchBox.OnSearchFieldFocus(false)"
  53. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  54. </span><span class="right">
  55. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  56. </span>
  57. </div>
  58. </li>
  59. </ul>
  60. </div>
  61. <div id="navrow2" class="tabs2">
  62. <ul class="tablist">
  63. <li><a href="files.html"><span>File&#160;List</span></a></li>
  64. <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  65. </ul>
  66. </div>
  67. <!-- window showing the filter options -->
  68. <div id="MSearchSelectWindow"
  69. onmouseover="return searchBox.OnSearchSelectShow()"
  70. onmouseout="return searchBox.OnSearchSelectHide()"
  71. onkeydown="return searchBox.OnSearchSelectKey(event)">
  72. </div>
  73. <!-- iframe showing the search results (closed by default) -->
  74. <div id="MSearchResultsWindow">
  75. <iframe src="javascript:void(0)" frameborder="0"
  76. name="MSearchResults" id="MSearchResults">
  77. </iframe>
  78. </div>
  79. </div><!-- top -->
  80. <div class="header">
  81. <div class="summary">
  82. <a href="#func-members">Functions</a> </div>
  83. <div class="headertitle">
  84. <div class="title">audiomanip.cpp File Reference</div> </div>
  85. </div><!--header-->
  86. <div class="contents">
  87. <div class="textblock"><code>#include &quot;<a class="el" href="audiomanip_8h_source.html">audiomanip.h</a>&quot;</code><br />
  88. </div><table class="memberdecls">
  89. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  90. Functions</h2></td></tr>
  91. <tr class="memitem:a3cd69c0b889169ee6625239ca35e9538"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="audiomanip_8cpp.html#a3cd69c0b889169ee6625239ca35e9538">RemoveVocals</a> (<a class="el" href="audiomanip_8h.html#a03d94cc61b0c5794b5aeb0e8390e7e0d">AudioBuffer</a> frames[], int N)</td></tr>
  92. <tr class="memdesc:a3cd69c0b889169ee6625239ca35e9538"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given the audio frames of the sound clip, remove the vocals from the clip. <a href="#a3cd69c0b889169ee6625239ca35e9538">More...</a><br /></td></tr>
  93. <tr class="separator:a3cd69c0b889169ee6625239ca35e9538"><td class="memSeparator" colspan="2">&#160;</td></tr>
  94. <tr class="memitem:a88857e657ef3840063e4ea5e9e898dba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="audiomanip_8cpp.html#a88857e657ef3840063e4ea5e9e898dba">AudioFadeIn</a> (<a class="el" href="audiomanip_8h.html#a03d94cc61b0c5794b5aeb0e8390e7e0d">AudioBuffer</a> frames[], int N, int fade_length)</td></tr>
  95. <tr class="memdesc:a88857e657ef3840063e4ea5e9e898dba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform an audio fade in of the sound clip. <a href="#a88857e657ef3840063e4ea5e9e898dba">More...</a><br /></td></tr>
  96. <tr class="separator:a88857e657ef3840063e4ea5e9e898dba"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. <tr class="memitem:a980252d21947f1aa1bd45d1ba3938121"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="audiomanip_8cpp.html#a980252d21947f1aa1bd45d1ba3938121">AudioFadeOut</a> (<a class="el" href="audiomanip_8h.html#a03d94cc61b0c5794b5aeb0e8390e7e0d">AudioBuffer</a> frames[], int N, int fade_length)</td></tr>
  98. <tr class="memdesc:a980252d21947f1aa1bd45d1ba3938121"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform an audio fade out of the sound clip. <a href="#a980252d21947f1aa1bd45d1ba3938121">More...</a><br /></td></tr>
  99. <tr class="separator:a980252d21947f1aa1bd45d1ba3938121"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:acdb38ec71647d81c81eeadf210a7800c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="audiomanip_8cpp.html#acdb38ec71647d81c81eeadf210a7800c">LeftToRight</a> (<a class="el" href="audiomanip_8h.html#a03d94cc61b0c5794b5aeb0e8390e7e0d">AudioBuffer</a> frames[], int N, int pan_length)</td></tr>
  101. <tr class="memdesc:acdb38ec71647d81c81eeadf210a7800c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs a panning effect from left to right. <a href="#acdb38ec71647d81c81eeadf210a7800c">More...</a><br /></td></tr>
  102. <tr class="separator:acdb38ec71647d81c81eeadf210a7800c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. </table>
  104. <h2 class="groupheader">Function Documentation</h2>
  105. <a class="anchor" id="a88857e657ef3840063e4ea5e9e898dba"></a>
  106. <div class="memitem">
  107. <div class="memproto">
  108. <table class="memname">
  109. <tr>
  110. <td class="memname">void AudioFadeIn </td>
  111. <td>(</td>
  112. <td class="paramtype"><a class="el" href="audiomanip_8h.html#a03d94cc61b0c5794b5aeb0e8390e7e0d">AudioBuffer</a>&#160;</td>
  113. <td class="paramname"><em>frames</em>[], </td>
  114. </tr>
  115. <tr>
  116. <td class="paramkey"></td>
  117. <td></td>
  118. <td class="paramtype">int&#160;</td>
  119. <td class="paramname"><em>N</em>, </td>
  120. </tr>
  121. <tr>
  122. <td class="paramkey"></td>
  123. <td></td>
  124. <td class="paramtype">int&#160;</td>
  125. <td class="paramname"><em>fade_length</em>&#160;</td>
  126. </tr>
  127. <tr>
  128. <td></td>
  129. <td>)</td>
  130. <td></td><td></td>
  131. </tr>
  132. </table>
  133. </div><div class="memdoc">
  134. <p>Perform an audio fade in of the sound clip. </p>
  135. <dl class="params"><dt>Parameters</dt><dd>
  136. <table class="params">
  137. <tr><td class="paramname">frames</td><td>array that contains audio samples, it will modified this function. </td></tr>
  138. <tr><td class="paramname">N</td><td>number of audio samples (per channel) </td></tr>
  139. <tr><td class="paramname">fade_length</td><td>length of the fade in, in terms of audio samples </td></tr>
  140. </table>
  141. </dd>
  142. </dl>
  143. </div>
  144. </div>
  145. <a class="anchor" id="a980252d21947f1aa1bd45d1ba3938121"></a>
  146. <div class="memitem">
  147. <div class="memproto">
  148. <table class="memname">
  149. <tr>
  150. <td class="memname">void AudioFadeOut </td>
  151. <td>(</td>
  152. <td class="paramtype"><a class="el" href="audiomanip_8h.html#a03d94cc61b0c5794b5aeb0e8390e7e0d">AudioBuffer</a>&#160;</td>
  153. <td class="paramname"><em>frames</em>[], </td>
  154. </tr>
  155. <tr>
  156. <td class="paramkey"></td>
  157. <td></td>
  158. <td class="paramtype">int&#160;</td>
  159. <td class="paramname"><em>N</em>, </td>
  160. </tr>
  161. <tr>
  162. <td class="paramkey"></td>
  163. <td></td>
  164. <td class="paramtype">int&#160;</td>
  165. <td class="paramname"><em>fade_length</em>&#160;</td>
  166. </tr>
  167. <tr>
  168. <td></td>
  169. <td>)</td>
  170. <td></td><td></td>
  171. </tr>
  172. </table>
  173. </div><div class="memdoc">
  174. <p>Perform an audio fade out of the sound clip. </p>
  175. <dl class="params"><dt>Parameters</dt><dd>
  176. <table class="params">
  177. <tr><td class="paramname">frames</td><td>array that contains audio samples, it will modified this function. </td></tr>
  178. <tr><td class="paramname">N</td><td>number of audio samples (per channel) </td></tr>
  179. <tr><td class="paramname">fade_length</td><td>length of the fade out, in terms of audio samples </td></tr>
  180. </table>
  181. </dd>
  182. </dl>
  183. </div>
  184. </div>
  185. <a class="anchor" id="acdb38ec71647d81c81eeadf210a7800c"></a>
  186. <div class="memitem">
  187. <div class="memproto">
  188. <table class="memname">
  189. <tr>
  190. <td class="memname">void LeftToRight </td>
  191. <td>(</td>
  192. <td class="paramtype"><a class="el" href="audiomanip_8h.html#a03d94cc61b0c5794b5aeb0e8390e7e0d">AudioBuffer</a>&#160;</td>
  193. <td class="paramname"><em>frames</em>[], </td>
  194. </tr>
  195. <tr>
  196. <td class="paramkey"></td>
  197. <td></td>
  198. <td class="paramtype">int&#160;</td>
  199. <td class="paramname"><em>N</em>, </td>
  200. </tr>
  201. <tr>
  202. <td class="paramkey"></td>
  203. <td></td>
  204. <td class="paramtype">int&#160;</td>
  205. <td class="paramname"><em>pan_length</em>&#160;</td>
  206. </tr>
  207. <tr>
  208. <td></td>
  209. <td>)</td>
  210. <td></td><td></td>
  211. </tr>
  212. </table>
  213. </div><div class="memdoc">
  214. <p>Performs a panning effect from left to right. </p>
  215. <dl class="params"><dt>Parameters</dt><dd>
  216. <table class="params">
  217. <tr><td class="paramname">frames</td><td>array that contains audio samples, it will modified this function. </td></tr>
  218. <tr><td class="paramname">N</td><td>number of audio samples (per channel) </td></tr>
  219. <tr><td class="paramname">pan_length</td><td>length of the panning effect, in terms of audio samples </td></tr>
  220. </table>
  221. </dd>
  222. </dl>
  223. </div>
  224. </div>
  225. <a class="anchor" id="a3cd69c0b889169ee6625239ca35e9538"></a>
  226. <div class="memitem">
  227. <div class="memproto">
  228. <table class="memname">
  229. <tr>
  230. <td class="memname">void RemoveVocals </td>
  231. <td>(</td>
  232. <td class="paramtype"><a class="el" href="audiomanip_8h.html#a03d94cc61b0c5794b5aeb0e8390e7e0d">AudioBuffer</a>&#160;</td>
  233. <td class="paramname"><em>frames</em>[], </td>
  234. </tr>
  235. <tr>
  236. <td class="paramkey"></td>
  237. <td></td>
  238. <td class="paramtype">int&#160;</td>
  239. <td class="paramname"><em>N</em>&#160;</td>
  240. </tr>
  241. <tr>
  242. <td></td>
  243. <td>)</td>
  244. <td></td><td></td>
  245. </tr>
  246. </table>
  247. </div><div class="memdoc">
  248. <p>Given the audio frames of the sound clip, remove the vocals from the clip. </p>
  249. <dl class="params"><dt>Parameters</dt><dd>
  250. <table class="params">
  251. <tr><td class="paramname">frames</td><td>array that contains audio samples, it will be modified this function. </td></tr>
  252. <tr><td class="paramname">N</td><td>number of audio samples (per channel) </td></tr>
  253. </table>
  254. </dd>
  255. </dl>
  256. </div>
  257. </div>
  258. </div><!-- contents -->
  259. <!-- start footer part -->
  260. <hr class="footer"/><address class="footer"><small>
  261. Generated on Wed Jun 3 2015 09:11:49 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
  262. <img class="footer" src="doxygen.png" alt="doxygen"/>
  263. </a> 1.8.9.1
  264. </small></address>
  265. </body>
  266. </html>