Debian Codegraph @

docs/manual/PitchTier__Get_mean__curve____.html

raw symbols SCIP
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>PitchTier: Get mean (curve)...</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 PitchTier: Get mean (curve)...
13 </b></font></table></table>
14 <p>A <a href="Query_submenu.html">query</a> to the selected <a href="PitchTier.html">PitchTier</a> object.</p>
15 <h2>Return value</h2>
16 <p>the mean of the curve within a specified time window.</p>
17 <h2>Settings</h2>
18 <dl>
19 <dt><b>From time (s)</b>
20 <dt><b>To time (s)</b>
21 <dd>the time window, in seconds. Values outside this window are ignored. If <b>To time</b> is not greater than <b>From time</b>, the entire time domain of the tier is considered.</dd>
22 </dl>
23 <h2>Algorithm</h2>
24 <p>The curve consists of a sequence of line segments. The contribution of the line segment from (<i>t</i><sub>1</sub>, <i>f</i><sub>1</sub>) to (<i>t</i><sub>2</sub>, <i>f</i><sub>2</sub>) to the area under the curve is</p>
25 <table width="100%" style="white-space:pre-wrap"><tr><td align=middle>1/2 (<i>f</i><sub>1</sub> + <i>f</i><sub>2</sub>) (<i>t</i><sub>2</sub> &#8211; <i>t</i><sub>1</sub>)</table>
26 <p>The mean is the sum of these values divided by <i>toTime</i> &#8211; <i>fromTime</i>.</p>
27 <p>For a PitchTier that was created from a <a href="Pitch.html">Pitch</a> object, this command gives the same result as <b>Get mean....</b> for the original Pitch object (but remember that the median, as available for Pitch objects, is more robust).</p>
28 <p>To get the mean of the pitch points, i.e. not weighted by the durations of the line pieces, Use <a href="PitchTier__Get_mean__points____.html">PitchTier: Get mean (points)...</a> instead.</p>
29 <h3>Links to this page</h3>
30 <ul>
31 <li><a href="PitchTier__Modify_interval___.html">PitchTier: Modify interval...</a>
32 </ul>
33 <hr>
34 <address>
35 <p>© ppgb 20170618</p>
36 </address>
37 </body>
38 </html>