For most of today's purposes, bit size should be 16 bit. A WAV file contains a header and the raw data, in time format.īit size determines how much information can be stored in a file. For the purposes of this document, only a simple PCM file will be explored. This document does not cover inserting useful data into the WAV (RIFF) audio file.Ī WAV (RIFF) file is a multi-format file that contains a header and data. This document is designed to cover uncompressed PCM audio files, the most common type of RIFF files. It covers bit size, sample rate, channels, data, headers and finalizing the file. This tutorial covers the creation of a WAV (RIFF) audio file. Digital Audio - Creating a WAV (RIFF) file