| 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.4. The header</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.4. The header |
| 13 | </b></font></table></table> |
| 14 | <p>The bulk of most sound files is formed by the samples. The sample part is usually preceded by a header, which contains information about:</p> |
| 15 | <dl> |
| 16 | <dd style="position:relative;padding-left:1em;text-indent:-2em">1. The type of file (WAV, AIFF, AIFC, NeXT/Sun, NIST, Kay, FLAC...).</dd> |
| 17 | <dd style="position:relative;padding-left:1em;text-indent:-2em">2. The sampling frequency (<a href="Sound_files_1_1__Sampling.html">§1.1</a>).</dd> |
| 18 | <dd style="position:relative;padding-left:1em;text-indent:-2em">3. The encoding (linear, 8 or 16 bit, byte order, μ-law, A-law, see <a href="Sound_files_1_2__Quantization.html">§1.2</a>).</dd> |
| 19 | <dd style="position:relative;padding-left:1em;text-indent:-2em">4. The number of channels (mono, stereo, see <a href="Sound_files_1_3__Channels.html">§1.3</a>).</dd> |
| 20 | <dd style="position:relative;padding-left:1em;text-indent:-2em">5. The duration (usually the number of samples).</dd> |
| 21 | </dl> |
| 22 | <h3>Links to this page</h3> |
| 23 | <ul> |
| 24 | <li><a href="Sound_files.html">Sound files</a> |
| 25 | <li><a href="Sound_files_1__General_structure.html">Sound files 1. General structure</a> |
| 26 | </ul> |
| 27 | <hr> |
| 28 | <address> |
| 29 | <p>© ppgb 20040223</p> |
| 30 | </address> |
| 31 | </body> |
| 32 | </html> |