| 1 |
<html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 |
<title>PowerCepstrum: Smooth...</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 |
PowerCepstrum: Smooth... |
| 13 |
</b></font></table></table> |
| 14 |
<p>A command to smooth the selected <a href="PowerCepstrum.html">PowerCepstrum</a> by averaging values at successive quefrencies.</p> |
| 15 |
<h2>Settings</h2> |
| 16 |
<dl> |
| 17 |
<dt><b>Quefrency averaging window (s)</b> |
| 18 |
<dd>determines the width of the averaging window in the quefrency domain. By chosing a value of zero, you can prevent any smoothing in the quefrency dimension.</dd> |
| 19 |
<dt><b>Number of iterations</b> |
| 20 |
<dd>determines how often the averaging will take place. If chosen 2, for example, the output PowerCepstrum after the first averaging will be averaged once again.</dd> |
| 21 |
</dl> |
| 22 |
<h2>Examples</h2> |
| 23 |
<p>The figure below is the PowerCepstrum taken from an artificial /a/ vowel synthesized as follows:</p> |
| 24 |
<code> Create KlattGrid from vowel: "a", 0.3, 125, 800, 80, 1200, 80, 2300, 100, 2800, 0.1, 1000<br></code> |
| 25 |
<code> To Sound<br></code> |
| 26 |
<code> To PowerCepstrogram: 60, 0.002, 5000, 50<br></code> |
| 27 |
<code> To PowerCepstrum (slice): 0.1<br></code> |
| 28 |
<code> prominence = Get peak prominence: 60, 333.3, "Parabolic", 0.001, 0.05, "Straight", "Robust slow"<br></code> |
| 29 |
<code> Draw: 0, 0, 0, 110, "yes"<br></code> |
| 30 |
<code> Text top: "no", "Peak prominence = " + fixed$ (prominence, 2) + " dB"<br></code> |
| 31 |
<p align=middle><img height=300 width=500 src=PowerCepstrum__Smooth____1.png></p><p>After 1 iteration with an averaging window of 0.0005 s the PowerCepstrum is:</p> |
| 32 |
<p align=middle><img height=300 width=500 src=PowerCepstrum__Smooth____2.png></p><p>After 2 iterations with an averaging window of 0.0005 s the PowerCepstrum is:</p> |
| 33 |
<p align=middle><img height=300 width=500 src=PowerCepstrum__Smooth____3.png></p><hr> |
| 34 |
<address> |
| 35 |
<p>© djmw 20191005</p> |
| 36 |
</address> |
| 37 |
</body> |
| 38 |
</html> |