Debian Codegraph @

docs/manual/Sound__Get_root-mean-square___.html

raw
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>Sound: Get root-mean-square...</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: Get root-mean-square...
13 </b></font></table></table>
14 <p>A command available in the <a href="Query_submenu.html">Query submenu</a> if you select a <a href="Sound.html">Sound</a> object. The Info window will show the root-mean-square (rms) value of the sound pressure, expressed in Pascal.</p>
15 <h2>Setting</h2>
16 <dl>
17 <dt><b>Time range (s)</b>
18 <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 sound is considered.</dd>
19 </dl>
20 <h2>Mathematical definition</h2>
21 <p>The root-mean-square value is defined as</p>
22 <table width="100%" style="white-space:pre-wrap"><tr><td align=middle>&#8730; { 1/(<i>t</i><sub>2</sub>&#8722;<i>t</i><sub>1</sub>) &#8747;<sub><i>t1</i></sub><sup><i>t2</i></sup> <i>x</i><sup>2</sup>(<i>t</i>) <i>dt</i> }</table>
23 <p>where <i>x</i>(<i>t</i>) is the amplitude of the sound. For how stereo sounds are handled, see <a href="Sound__Get_energy___.html">Sound: Get energy...</a>.</p>
24 <hr>
25 <address>
26 <p>© Paul Boersma 2022-12-02</p>
27 </address>
28 </body>
29 </html>