Debian Codegraph @

docs/manual/Sound_files_1_5__Size.html

raw symbols SCIP
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>Sound files 1.5. Size</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 files 1.5. Size
13 </b></font></table></table>
14 <p>The size of a sound file is equal to the size of the header plus the product of the number of samples, the quantization size, and the number of channels.</p>
15 <p>For instance, a stereo sound with a duration of 3 seconds, sampled at 44100 Hz, would, when written into a 16-bit NeXT/Sun file, take up a disk space of</p>
16 <table width="100%" style="white-space:pre-wrap"><tr><td align=middle>28 + 2 * 3.0 * 44100 * 2 = 529228 bytes</table>
17 <p>whereas the same sound, when averaged to mono, downsampled to 8000 Hz, and written into a &#956;-law NeXT/Sun file, take up only a disk space of</p>
18 <table width="100%" style="white-space:pre-wrap"><tr><td align=middle>28 + 1 * 3.0 * 8000 * 1 = 24028 bytes</table>
19 <p>The first example is typical of CD quality, the second of telephone speech.</p>
20 <h3>Links to this page</h3>
21 <ul>
22 <li><a href="Sound_files.html">Sound files</a>
23 <li><a href="Sound_files_1__General_structure.html">Sound files 1. General structure</a>
24 </ul>
25 <hr>
26 <address>
27 <p>© ppgb 20000126</p>
28 </address>
29 </body>
30 </html>