| 1 |
<html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 |
<title>Sound: To LPC (autocorrelation)...</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 |
Sound: To LPC (autocorrelation)... |
| 13 |
</b></font></table></table> |
| 14 |
<p>With this command you create a new <a href="LPC.html">LPC</a> from every selected <a href="Sound.html">Sound</a>, using the autocorrelation method.</p> |
| 15 |
<h2>Warning</h2> |
| 16 |
<p>You are advised not to use this command for formant analysis. For formant analysis, instead use <a href="Sound__To_Formant__burg____.html">Sound: To Formant (burg)...</a>, which also works via LPC (linear predictive coding). This is because <b>Sound: To Formant (burg)...</b> lets you specify a maximum frequency, whereas the <b>To LPC</b> commands automatically use the <a href="Nyquist_frequency.html">Nyquist frequency</a> as their maximum frequency. If you do use one of the <b>To LPC</b> commands for formant analysis, you may therefore want to downsample the sound first. For instance, if you want five formants below 5500 Hz but your Sound has a sampling frequency of 44100 Hz, you have to downsample the sound to 11000 Hz with the <a href="Sound__Resample___.html">Sound: Resample...</a> command. After that, you can use the <b>To LPC</b> commands, with a prediction order of 10 or 11.</p> |
| 17 |
<h2>Settings</h2> |
| 18 |
<dl> |
| 19 |
<dt><b>Prediction order</b> |
| 20 |
<dd>the number of linear prediction coefficients, also called the <i>number of poles</i>. Choose this number at least twice as large as the number of spectral peaks that you want to detect.</dd> |
| 21 |
<dt><b>Analysis window duration (s)</b> |
| 22 |
<dd>the effective duration of each analysis frame, in seconds.</dd> |
| 23 |
<dt><b>Time step (s)</b> |
| 24 |
<dd>the time step between two consecutive analysis frames.</dd> |
| 25 |
<dt><b>Pre-emphasis frequency (Hz)</b> |
| 26 |
<dd>a +6dB / octave filtering will be applied above this frequency. A pre-emphasis frequency of 48.47 Hz for a signal with a sampling frequency of 10 kHz approximately corresponds to a value of <i>a</i> = 0.97 for the filter <i>y</i><sub><i>n</i></sub> = <i>x</i><sub><i>n</i></sub> - <i>a</i> · <i>x</i><sub><i>n</i>-1</sub>. The relation between <i>a</i> and the pre-emphasis frequency is: <i>a</i> = exp (–2·<i>π</i>·<i>preemphasisFrequency</i>/<i>samplingFrequency</i>). If you do not want pre-emphasis, choose a frequency greater than the <a href="Nyquist_frequency.html">Nyquist frequency</a>.</dd> |
| 27 |
</dl> |
| 28 |
<h2>Algorithm</h2> |
| 29 |
<p>The autocorrelation algorithm is decribed in <a href="Markel___Gray__1976_.html">Markel & Gray (1976)</a>.</p> |
| 30 |
<h3>Links to this page</h3> |
| 31 |
<ul> |
| 32 |
<li><a href="Formants___LPC_menu.html">Formants & LPC menu</a> |
| 33 |
<li><a href="Sound__LPC_analysis.html">Sound: LPC analysis</a> |
| 34 |
</ul> |
| 35 |
<hr> |
| 36 |
<address> |
| 37 |
<p>© David Weenink & Paul Boersma 20040407</p> |
| 38 |
</address> |
| 39 |
</body> |
| 40 |
</html> |