Debian Codegraph @

docs/manual/Harmonicity__Get_mean___.html

raw
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>Harmonicity: Get mean...</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 Harmonicity: Get mean...
13 </b></font></table></table>
14 <p>A <a href="Query_submenu.html">query</a> to the selected <a href="Harmonicity.html">Harmonicity</a> object.</p>
15 <h2>Return value</h2>
16 <p>the mean value, expressed in dB.</p>
17 <h2>Setting</h2>
18 <dl>
19 <dt><b>Time range (s)</b>
20 <dd>the time range (<i>t</i><sub>1</sub>, <i>t</i><sub>2</sub>). Values outside this range are ignored. If <i>t</i><sub>1</sub> is not less than <i>t</i><sub>2</sub>, the entire time domain of the Harmonicity is considered.</dd>
21 </dl>
22 <h2>Algorithm</h2>
23 <p>The mean harmonicity between the times <i>t</i><sub>1</sub> and <i>t</i><sub>2</sub> is defined as</p>
24 <table width="100%" style="white-space:pre-wrap"><tr><td align=middle>1/(<i>t</i><sub>2</sub> - <i>t</i><sub>1</sub>) &#8747;<sub><i>t</i>1</sub><sup><i>t</i>2</sup> <i>dt</i> <i>x</i>(<i>t</i>)</table>
25 <p>where <i>x</i>(<i>t</i>) is the harmonicity (in dB) as a function of time. Frames in which the value is undefined (i.e. in silent intervals) are ignored. If all the frames are silent, the returned value is <a href="undefined.html">undefined</a>.</p>
26 <hr>
27 <address>
28 <p>© ppgb 20041107</p>
29 </address>
30 </body>
31 </html>