[353] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
| 3 | <title>mixpp: lpcfunc.h Source File</title> |
---|
| 4 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
| 5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
| 6 | </head><body> |
---|
| 7 | <!-- Generated by Doxygen 1.5.8 --> |
---|
| 8 | <script type="text/javascript"> |
---|
| 9 | <!-- |
---|
| 10 | function changeDisplayState (e){ |
---|
| 11 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
| 12 | var button=this.firstChild; |
---|
| 13 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
| 14 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
| 15 | sectionDiv.style.display='block'; |
---|
| 16 | button.src='open.gif'; |
---|
| 17 | }else{ |
---|
| 18 | sectionDiv.style.display='none'; |
---|
| 19 | button.src='closed.gif'; |
---|
| 20 | } |
---|
| 21 | } |
---|
| 22 | function initDynSections(){ |
---|
| 23 | var divs=document.getElementsByTagName('div'); |
---|
| 24 | var sectionCounter=1; |
---|
| 25 | for(var i=0;i<divs.length-1;i++){ |
---|
| 26 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
| 27 | var header=divs[i]; |
---|
| 28 | var section=divs[i+1]; |
---|
| 29 | var button=header.firstChild; |
---|
| 30 | if (button!='IMG'){ |
---|
| 31 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
| 32 | button=document.createElement('img'); |
---|
| 33 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
| 34 | } |
---|
| 35 | header.style.cursor='pointer'; |
---|
| 36 | header.onclick=changeDisplayState; |
---|
| 37 | header.id='dynheader'+sectionCounter; |
---|
| 38 | button.src='closed.gif'; |
---|
| 39 | section.id='dynsection'+sectionCounter; |
---|
| 40 | section.style.display='none'; |
---|
| 41 | section.style.marginLeft='14px'; |
---|
| 42 | sectionCounter++; |
---|
| 43 | } |
---|
| 44 | } |
---|
| 45 | } |
---|
| 46 | window.onload = initDynSections; |
---|
| 47 | --> |
---|
| 48 | </script> |
---|
| 49 | <div class="navigation" id="top"> |
---|
| 50 | <div class="tabs"> |
---|
| 51 | <ul> |
---|
| 52 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
| 53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
| 54 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
| 55 | <li><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 56 | <li class="current"><a href="files.html"><span>Files</span></a></li> |
---|
| 57 | </ul> |
---|
| 58 | </div> |
---|
| 59 | <div class="tabs"> |
---|
| 60 | <ul> |
---|
| 61 | <li><a href="files.html"><span>File List</span></a></li> |
---|
| 62 | <li><a href="globals.html"><span>File Members</span></a></li> |
---|
| 63 | </ul> |
---|
| 64 | </div> |
---|
| 65 | <h1>lpcfunc.h</h1><a href="lpcfunc_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 |
---|
| 66 | <a name="l00044"></a>00044 <span class="preprocessor">#ifndef LPCFUNC_H</span> |
---|
| 67 | <a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor">#define LPCFUNC_H</span> |
---|
| 68 | <a name="l00046"></a>00046 <span class="preprocessor"></span> |
---|
| 69 | <a name="l00047"></a>00047 <span class="preprocessor">#include <<a class="code" href="vec_8h.html" title="Templated Vector Class Definitions.">itpp/base/vec.h</a>></span> |
---|
| 70 | <a name="l00048"></a>00048 |
---|
| 71 | <a name="l00049"></a>00049 |
---|
| 72 | <a name="l00050"></a>00050 <span class="keyword">namespace </span>itpp |
---|
| 73 | <a name="l00051"></a>00051 { |
---|
| 74 | <a name="l00052"></a>00052 |
---|
| 75 | <a name="l00055"></a>00055 |
---|
| 76 | <a name="l00056"></a>00056 |
---|
| 77 | <a name="l00058"></a>00058 vec <a class="code" href="group__lpc.html#g910710dbcba62fc369d5d38432472ef4" title="Returns a chirped version of the input vector.">chirp</a>(<span class="keyword">const</span> vec &a, <span class="keywordtype">double</span> factor); |
---|
| 78 | <a name="l00060"></a>00060 <span class="keywordtype">double</span> <a class="code" href="group__lpc.html#g093af26787d37630cd33fe28499be6a5" title="Spectral distortion between two vectors, in dB, up to highest frequency highestfreq...">sd</a>(<span class="keyword">const</span> vec &In1, <span class="keyword">const</span> vec &In2); |
---|
| 79 | <a name="l00062"></a>00062 <span class="keywordtype">double</span> <a class="code" href="group__lpc.html#g093af26787d37630cd33fe28499be6a5" title="Spectral distortion between two vectors, in dB, up to highest frequency highestfreq...">sd</a>(<span class="keyword">const</span> vec &In1, <span class="keyword">const</span> vec &In2, <span class="keywordtype">double</span> highestfreq); |
---|
| 80 | <a name="l00064"></a>00064 vec <a class="code" href="group__lpc.html#g5d4c25ec9fc806fef76234ae22b245a3" title="Computes reflection coefficients from autocorrelation, using the Le-Roux-Guegen algorithm...">lerouxguegenrc</a>(<span class="keyword">const</span> vec &R, <span class="keywordtype">int</span> order); |
---|
| 81 | <a name="l00066"></a>00066 vec <a class="code" href="group__lpc.html#gb5126f657fd6d48ae69d95eb3644405c" title="Levinson - Levinson-Durbin recursion.">levinson</a>(<span class="keyword">const</span> vec &R2, <span class="keywordtype">int</span> order); |
---|
| 82 | <a name="l00068"></a>00068 vec <a class="code" href="group__lpc.html#ga24e9b9b779c34ce55177852822f34e3" title="Computes the autocorrelation function.">autocorr</a>(<span class="keyword">const</span> vec &x, <span class="keywordtype">int</span> order); |
---|
| 83 | <a name="l00070"></a>00070 vec <a class="code" href="group__lpc.html#g9220c50ea37defac1c30b65809a15725" title="lpc - Linear Predictive Coefficients using autocorrelation method.">lpc</a>(<span class="keyword">const</span> vec &x, <span class="keywordtype">int</span> order); |
---|
| 84 | <a name="l00072"></a>00072 vec <a class="code" href="group__lpc.html#g85f17f0a5885b6429e9db147e1e75774" title="schurrc - Schur algorithm.">schurrc</a>(<span class="keyword">const</span> vec &R, <span class="keywordtype">int</span> order); |
---|
| 85 | <a name="l00074"></a>00074 vec <a class="code" href="group__lpc.html#g8f04e86c31ac01dc5db6d0759bffa1ef" title="ac2rc - Autocorrelation sequence to reflection coefficients conversion.">ac2rc</a>(<span class="keyword">const</span> vec &ac); |
---|
| 86 | <a name="l00076"></a>00076 vec <a class="code" href="group__lpc.html#gec039aa896e5c0100b6d65e7436a1b37" title="ac2poly - Autocorrelation sequence to prediction polynomial conversion.">ac2poly</a>(<span class="keyword">const</span> vec &ac); |
---|
| 87 | <a name="l00078"></a>00078 vec <a class="code" href="group__lpc.html#g8be84802bfe9d4cf034e1604e7d56c0b" title="is2rc - Inverse sine parameters to reflection coefficients conversion.">is2rc</a>(<span class="keyword">const</span> vec &is); |
---|
| 88 | <a name="l00080"></a>00080 vec <a class="code" href="group__lpc.html#gc038e7378bbd7b1a5692a2f5030ecf1d" title="lar2rc - Log area ratios to reflection coefficients conversion.">lar2rc</a>(<span class="keyword">const</span> vec &lar); |
---|
| 89 | <a name="l00082"></a>00082 vec <a class="code" href="group__lpc.html#g976e9d53e97c2ca6d419405043f797dd" title="lsf2poly - Line spectral frequencies to prediction polynomial conversion.">lsf2poly</a>(<span class="keyword">const</span> vec &lsf); |
---|
| 90 | <a name="l00084"></a>00084 vec <a class="code" href="group__lpc.html#g93b987bcf4c0ff6234e66dee1084005e" title="poly2ac - Prediction polynomial to autocorrelation sequence conversion.">poly2ac</a>(<span class="keyword">const</span> vec &poly); |
---|
| 91 | <a name="l00086"></a>00086 vec <a class="code" href="group__lpc.html#g1599b81d47e2940cc31bbcb7a9464fbd" title="poly2lsf - Prediction polynomial to line spectral frequencies conversion.">poly2lsf</a>(<span class="keyword">const</span> vec &poly); |
---|
| 92 | <a name="l00088"></a>00088 vec <a class="code" href="group__lpc.html#g21878ace7f58177550b2aa18ab2b2df8" title="poly2rc - Prediction polynomial to reflection coefficients conversion.">poly2rc</a>(<span class="keyword">const</span> vec &poly); |
---|
| 93 | <a name="l00090"></a>00090 vec <a class="code" href="group__lpc.html#g6d161cf15e75d589d83b76313a0f7298" title="poly2cepstrum - Prediction polynomial to cepstrum conversion, to the specified order...">poly2cepstrum</a>(<span class="keyword">const</span> vec &a); |
---|
| 94 | <a name="l00092"></a>00092 vec <a class="code" href="group__lpc.html#g6d161cf15e75d589d83b76313a0f7298" title="poly2cepstrum - Prediction polynomial to cepstrum conversion, to the specified order...">poly2cepstrum</a>(<span class="keyword">const</span> vec &a, <span class="keywordtype">int</span> num); |
---|
| 95 | <a name="l00094"></a>00094 vec <a class="code" href="group__lpc.html#gf3c9df0a6762c09a9e5d99d0edc25db8" title="cepstrum2poly - Cepstrum to prediction polynomial conversion.">cepstrum2poly</a>(<span class="keyword">const</span> vec &c); |
---|
| 96 | <a name="l00096"></a>00096 vec <a class="code" href="group__lpc.html#gd66680e00f70e2825fc58975a72de6ce" title="rc2ac - Reflection coefficients to autocorrelation sequence conversion.">rc2ac</a>(<span class="keyword">const</span> vec &rc); |
---|
| 97 | <a name="l00098"></a>00098 vec <a class="code" href="group__lpc.html#g45d64f5f24c1560930cdc203b6e77560" title="rc2is - Reflection coefficients to inverse sine parameters conversion.">rc2is</a>(<span class="keyword">const</span> vec &rc); |
---|
| 98 | <a name="l00100"></a>00100 vec <a class="code" href="group__lpc.html#gf15334d67a542932703212c5240b850f" title="rc2lar - Reflection coefficients to log area ratios conversion.">rc2lar</a>(<span class="keyword">const</span> vec &rc); |
---|
| 99 | <a name="l00102"></a>00102 vec <a class="code" href="group__lpc.html#gcb4739cd98af8363816a60d8a954fe30" title="rc2poly - Reflection coefficients to prediction polynomial conversion.">rc2poly</a>(<span class="keyword">const</span> vec &rc); |
---|
| 100 | <a name="l00103"></a>00103 |
---|
| 101 | <a name="l00105"></a>00105 |
---|
| 102 | <a name="l00106"></a>00106 } <span class="comment">// namespace itpp</span> |
---|
| 103 | <a name="l00107"></a>00107 |
---|
| 104 | <a name="l00108"></a>00108 <span class="preprocessor">#endif // #ifndef LPCFUNC_H</span> |
---|
| 105 | </pre></div></div> |
---|
| 106 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:12 2009 for mixpp by |
---|
| 107 | <a href="http://www.doxygen.org/index.html"> |
---|
| 108 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
| 109 | </body> |
---|
| 110 | </html> |
---|