Debian Codegraph @

docs/manual/Sound__Set_value_at_sample_number___.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: Set value at sample number...</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: Set value at sample number...
13 </b></font></table></table>
14 <p>A command to change a specified sample of the selected <a href="Sound.html">Sound</a> object.</p>
15 <h2>Settings</h2>
16 <dl>
17 <dt><b>Sample number</b>
18 <dd>the sample whose value is to be changed. Specify any value between 1 and the number of samples in the Sound. If you specify a value outside that range, you will get an error message.</dd>
19 <dt><b>New value</b>
20 <dd>the value that is to be put into the specified sample.</dd>
21 </dl>
22 <h2>Scripting</h2>
23 <p>Example:</p>
24 <code> <a href="_selectObject_.html">selectObject</a>: "Sound hallo"<br></code>
25 <code> <b>Set value at sample number:</b> 100, 1/2<br></code>
26 <p>This sets the value of the 100th sample to 0.5.</p>
27 <hr>
28 <address>
29 <p>© Paul Boersma 2014-04-21</p>
30 </address>
31 </body>
32 </html>