Worked example 1
Calculate the file size in kilobytes (KB) for a 25-second mono audio clip sampled at 22,050 Hz with a 16-bit sampling resolution. Give your answer to one decimal place. (Assume 1 KB = 1024 bytes).
Show solution outline
- Identify the formula:<br>File Size (bits) = Sampling Rate Resolution Time Channels<br><br>2. Substitute the values:<br>File Size (bits) = 22,050 Hz 16 bits 25 s 1 (mono)<br><br>3. Calculate the total bits:<br>File Size = 8,820,000 bits<br><br>4. Convert bits to bytes:<br>File Size (bytes) = 8,820,000 / 8 = 1,102,500 bytes<br><br>5. Convert bytes to kilobytes (KB):<br>File Size (KB) = 1,102,500 / 1024 = 1076.66... KB<br><br>6. Round to one decimal place:<br>Final Answer: 1076.7 KB