Debian Codegraph @

docs/manual/Get_number_of_samples.html

raw
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>Get number of samples</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 Get number of samples
13 </b></font></table></table>
14 <p>A command that becomes available in the <a href="Query_submenu.html">Query submenu</a> if you select a <a href="Sound.html">Sound</a> or <a href="LongSound.html">LongSound</a> object.</p>
15 <p>The Info window will tell you the total number of time samples in this object.</p>
16 <h2>Example</h2>
17 <p>If the sampling frequency is 44100 hertz, a recording with a duration of 60 seconds will contain 2,646,000 samples.</p>
18 <h2>Details for hackers</h2>
19 <p>If you select a Sound or LongSound and click <a href="Inspect.html">Inspect</a>, you can see how the number of samples is stored in the object: it is the <b>nx</b> attribute.</p>
20 <hr>
21 <address>
22 <p>© ppgb 20221202</p>
23 </address>
24 </body>
25 </html>