| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>LPC: To Formant</title> |
| 3 | <style> |
| 4 | td { padding-left: 5pt; padding-right: 5pt; } |
| 5 | th { padding-left: 5pt; padding-right: 5pt; } |
| 6 | code { white-space: pre-wrap; } |
| 7 | dd { white-space: pre-wrap; } |
| 8 | </style> |
| 9 | </head><body bgcolor="#FFFFFF"> |
| 10 | |
| 11 | <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 | LPC: To Formant |
| 13 | </b></font></table></table> |
| 14 | <p>You can choose this command after selecting 1 or more <a href="LPC.html">LPC</a> objects.</p> |
| 15 | <h2>Behaviour</h2> |
| 16 | <p>For each LPC frame, the zeros of the linear prediction polynomial are extracted. Zeros that are outside the unit circle are reflected into it. Next, formant frequencies and bandwidths are calculated from all the roots that have the imaginary part positive, i.e., that lie in the upper half of the unit circle. Formant frequencies smaller than 50 Hz or larger than (<i>nyquistFrequency</i> - 50) are discarded. The remaining frequencies and bandwidths are sorted and copied to the Formant frame. Finally, the <i>gain</i> field of the LPC is copied to the <i>intensity</i> field of the Formant frame.</p> |
| 17 | <h2>Algorithm</h2> |
| 18 | <p>The root finder is Laguerre's method followed by root polishing, see <a href="Press_et_al___1992_.html">Press et al. (1992)</a>.</p> |
| 19 | <h2>Warning</h2> |
| 20 | <dl> |
| 21 | <dd style="position:relative;padding-left:1em;text-indent:-2em">• The formant values can be very inaccurate if you did not resample the Sound before the LPC-analysis (consult the <a href="Source-filter_synthesis.html">Source-filter synthesis</a> tutorial).</dd> |
| 22 | <dd style="position:relative;padding-left:1em;text-indent:-2em">• The results of the root finder may not always be accurate when more than 30 roots have to be found.</dd> |
| 23 | </dl> |
| 24 | <h3>Links to this page</h3> |
| 25 | <ul> |
| 26 | <li><a href="Source-filter_synthesis_4__Using_existing_sounds.html">Source-filter synthesis 4. Using existing sounds</a> |
| 27 | </ul> |
| 28 | <hr> |
| 29 | <address> |
| 30 | <p>© djmw 19970123</p> |
| 31 | </address> |
| 32 | </body> |
| 33 | </html> |