Debian Codegraph @

docs/manual/Sound__De-emphasize__in-place____.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: De-emphasize (in-place)...</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: De-emphasize (in-place)...
13 </b></font></table></table>
14 <p>A command to change the spectral slope of every selected <a href="Sound.html">Sound</a> object.</p>
15 <p>The reverse of <a href="Sound__Pre-emphasize__in-place____.html">Sound: Pre-emphasize (in-place)...</a>. For an example, see <a href="Source-filter_synthesis.html">Source-filter synthesis</a>.</p>
16 <p>This is the in-place version of <a href="Sound__Filter__de-emphasis____.html">Sound: Filter (de-emphasis)...</a>, i.e., it does not create a new Sound object but modifies an existing object.</p>
17 <h2>Setting</h2>
18 <dl>
19 <dt><b>From frequency (Hz)</b>
20 <dd>the frequency <i>F</i> above which the spectral slope will decrease by 6 dB/octave.</dd>
21 </dl>
22 <h2>Algorithm</h2>
23 <p>The de-emphasis factor <i></i> l is computed as</p>
24 <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>&#945;</i> = exp (-2 <i>&#960;</i> <i>F</i> <i>&#916;t</i>)</table>
25 <p>where <i>&#916;t</i> is the sampling period of the sound. Every sample <i>x</i><sub><i>i</i></sub> of the sound, except <i>x</i><sub>1</sub>, is then changed, going up from the second sample:</p>
26 <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>x</i><sub><i>i</i></sub> = <i>x</i><sub><i>i</i></sub> + <i>&#945;</i> <i>x</i><sub><i>i</i>&#8722;1</sub></table>
27 <h3>Links to this page</h3>
28 <ul>
29 <li><a href="Filtering.html">Filtering</a>
30 </ul>
31 <hr>
32 <address>
33 <p>© Paul Boersma 2017-11-14</p>
34 </address>
35 </body>
36 </html>