| 1 |
<html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 |
<title>Sound & Pitch: To Spectrogram...</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 & Pitch: To Spectrogram... |
| 13 |
</b></font></table></table> |
| 14 |
<p>A command that creates a <a href="Spectrogram.html">Spectrogram</a> object from the selected <a href="Sound.html">Sound</a> and <a href="Pitch.html">Pitch</a> objects by <a href="band_filtering_in_the_frequency_domain.html">band filtering in the frequency domain</a> with a bank of filters whose bandwidths depend on the local pitch.</p> |
| 15 |
<p>The filter functions used are:</p> |
| 16 |
<table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i><b>H</i></b>(<i>f</i>, <i>f</i><sub>0</sub>) = 1 / (((<i>f</i><sub><i>c</i></sub><sup>2</sup> - <i>f</i><sup>2</sup>) /<i>f</i>·<i>B</i>(<i>f</i><sub>0</sub>)))<sup>2</sup> + 1),</table> |
| 17 |
<p>where <i>f</i><sub><i>c</i></sub> is the central (resonance) frequency of the filter. <i>B</i>(<i>f</i><sub>0</sub>) is the bandwidth in Hz and determined as</p> |
| 18 |
<table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>B</i>(<i>f</i><sub>0</sub>) = <i>relativeBandwidth</i>·<i>f</i><sub>0</sub>, </table> |
| 19 |
<p>where <i>f</i><sub>0</sub> is the fundamental frequency as determined from the Pitch object. Whenever the value of <i>f</i><sub>0</sub> is undefined, a value of 100 Hz is taken.</p> |
| 20 |
<h3>Links to this page</h3> |
| 21 |
<ul> |
| 22 |
<li><a href="Sound__To_FormantFilter___.html">Sound: To FormantFilter...</a> |
| 23 |
<li><a href="Sound__To_Spectrogram__pitch-dependent____.html">Sound: To Spectrogram (pitch-dependent)...</a> |
| 24 |
</ul> |
| 25 |
<hr> |
| 26 |
<address> |
| 27 |
<p>© djmw 20191008</p> |
| 28 |
</address> |
| 29 |
</body> |
| 30 |
</html> |