Debian Codegraph @

docs/manual/Sound__Fade_out___.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: Fade out...</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: Fade out...
13 </b></font></table></table>
14 <p>A command to gradually decrease the amplitude of a selected <a href="Sound.html">Sound</a>.</p>
15 <h2>Settings</h2>
16 <dl>
17 <dt><b>Channel</b>
18 <dd>determines whether you want to fade all channels or only a selected channel.</dd>
19 <dt><b>Time (s)</b>
20 <dd>determines where the fade-out will take place. If <i>time</i> is later than the end time of the sound, the end time of the sound wil be used.</dd>
21 <dt><b>Fade time (s)</b>
22 <dd>determines the start point and the endpoint of the fade-out with respect to the <i>time</i> argument. Depending on the sign of <i>fadeTime</i>, <i>time</i> is either the start or the end position of the fade-out. If <i>fadeTime</i> is positive, fade-out will take place between <i>time</i> and <i>time+fadeTime</i>. If <i>fadeTime</i> is negative, fade-out wil take place between <i>time+fadeTime</i> and <i>time</i>.</dd>
23 <dt><b>Silent to end</b>
24 <dd>Make the sound silent after the fade-out finishes. </dd>
25 </dl>
26 <h2>Algorithm</h2>
27 <p>Multiplication with the first half period of a (1+cos(<i>x</i>))/2 function.</p>
28 <hr>
29 <address>
30 <p>© djmw 20121010</p>
31 </address>
32 </body>
33 </html>