13.6. Working With Wave Audio Files

13.6.1. The Wave Information Header

There are many types of audio data file, of which the wave (.wav) type is one of the most widely used. Wave files contain a number of details about the audio data followed by the audio data itself. Wave files contain uncompressed (i.e., raw) data, mostly in a format know as linear pulse code modulation (PCM). PCM specifically refers to the coding of amplitude signal data at a fixed sample rate, so each sample value is given to a specified resolution (often 16 bit) on a linear scale. Time data for each sample is not recorded because the sample rate is known, so only amplitude data is stored. The wave header information details the actual resolution and sample frequency of the ...

Get Fast and Effective Embedded Systems Design, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.