WAV


'WAV' (or 'WAVE'), short for Waveform audio format, is a Microsoft and IBM audio file format standard for storing audio on PCs. It is a variant of the RIFF bitstream format method for storing data in “chunks”, and thus also close to the IFF and the AIFF format used on Amiga and Macintosh computers, respectively.
It is the main format used on Windows systems for raw audio.

Contents
Description
Popularity
Limitations
Audio CDs
WAV File Compression Codecs Compared
See also
External links

Description


Both WAVs and AIFFs are compatible with Windows and Macintosh operating systems. The format takes into account some differences of the Intel CPU such as little-endian byte order. The RIFF format acts as a “wrapper” for various audio compression codecs.
Though a WAV file can hold compressed audio, the most common WAV format contains uncompressed audio in the pulse-code modulation (PCM) format. PCM audio is the standard audio file format for CDs, containing two channels of 44,100 samples per second, 16 bits per sample. Since PCM uses an uncompressed, lossless storage method, which keeps all the samples of an audio track, professional users or audio experts may use the WAV format for maximum audio quality. WAV audio can also be edited and manipulated with relative ease using software.

Popularity


Uncompressed WAV files are quite large in size, so, as file sharing over the Internet has become popular, the WAV format has declined in popularity. However, it is still a commonly used, relatively “pure”, i.e. lossless, file type, suitable for retaining “first generation” archived files of high quality, or use on a system where high fidelity sound is required and disk space is not restricted.
More frequently, the smaller file sizes of compressed but lossy formats such as MP3, ATRAC, AAC, (Ogg)Vorbis and WMA are used to store and transfer audio. Their small file sizes allow faster Internet transmission, as well as lower consumption of space on memory media. However, lossy formats trade off smaller file size against loss of audio quality, as all such compression algorithms compromise available signal detail. There are also more efficient lossless codecs available, such as FLAC, Shorten, Monkey's Audio, ATRAC Advanced Lossless, Apple Lossless, WMA Lossless, TTA, and WavPack, but none of these is yet a ubiquitous standard for both professional and home audio.
The usage of the WAV format has more to do with its familiarity, its simplicity and simple structure, which is heavily based on the IFF file format. Because of this, it continues to enjoy widespread use with a variety of software applications, often functioning as a 'lowest common denominator' when it comes to exchanging sound files between different programs. Some PlayStation Portable game software uses the AT3 file format which is a WAV file compressed in an ATRAC codec that can be decoded by the unit's libatrac3plus decoder.
In spite of their large occupancy in size, uncompressed WAV (though that format can be different from the Microsoft WAV) files are sometimes used by a few radio broadcasters, especially those that adopted the tapeless system, so-called “D-Cart”, which was developed by the Australian broadcaster ABC. This is because the producers believe that uncompressed WAV files can offer better quality than lossy compressed MPEG-1 Audio Layer 2 (usually at the bit rates of 256 or 384 kbit/s) files do, and the price of harddisks has relatively decreased these days. In the system of “D-Cart”, the sampling rate of WAV files is usually at a 48 kHz 16 bit stereo, which is identical to that of the Digital Audio Tape.

Limitations


The WAV format is limited to files that are less than 6 GiB in size, due to its use of a 32 bit unsigned integer to record the file size header (some programs limit the file size to 2-4 GiB). Although this is equivalent to about 6.6 hours of CD-quality audio (44.1 kHz, 16-bit stereo), it is sometimes necessary to go over this limit, especially when higher sampling rates or bit resolutions are required. The 'W64' format was therefore created for use in Sound Forge. Its 64-bit header allows for much longer recording times. This format can be converted using the libsndfile library.
The 'RF64' format specified by the European Broadcasting Union has also been created to solve this problem.

Audio CDs


Audio CDs do not use WAV as their sound format, using instead Red Book audio. The commonality is that both audio CDs and WAV files have the audio data encoded in PCM. WAV is a data file format for computer use that can't be understood by CD players directly. To record WAV files to an Audio CD the file headers must be stripped and the remaining PCM data written directly to the disc as individual tracks with zero padding added to match the CD's sector size.

WAV File Compression Codecs Compared


As mentioned wav files can be encoded with a variety of codecs to reduce the file size (for example the GSM or mp3 codecs).
This is a reference to compare the audio quality and compression bitrates of the different wave compression codecs available for .wav files using the audio compression manager including PCM, GSM, ADPCM, CELP, SBC, TrueSpeech and MPEG Layer-3.
Format Bitrate 1 Min = Sample
11,025 Hz 16 bit PCM 176.4 kbs 1292 k 11k16bitpcm.wav
8,000 Hz 16 bit PCM 128 kbs 937.5 k 8k16bitpcm.wav
11,025 Hz 8 bit PCM 88.2 kbs 646 k 11k8bitpcm.wav
11,025 Hz µ-Law 88.2 kbs 646 k 11kulaw.wav
8,000 Hz 8 bit PCM 64 kbs 468.8 k 8k8bitpcm.wav
8,000 Hz µ-Law 64 kbs 468.8 k 8kulaw.wav
11,025 Hz 4 bit ADPCM 44.1 kbs 323k 11kadpcm.wav
8,000 Hz 4bit ADPCM 32 kbs 234.4 k 8kadpcm.wav
11,025 Hz GSM6.10 18 kbs 131.8 k 11kgsm.wav
8,000 Hz Mp3 16 k 16 kbs 117 k 8kmp316.wav
8,000 Hz GSM6.10 13 kbs 102.5 k 8kgsm.wav
8,000 Hz Lernout & Hauspie SBC 12 k 12.0 kbs 87.9 k 8ksbc12.wav
8,000 Hz DSP Group Truespeech 9 kbs 65.9 k 8ktruespeech.wav
8,000 Hz Mp3 8 k 8 kbs 60 k 8kmp38.wav
8,000 Hz Lernout & Hauspie CELP 4.8 kbs 35 k 8kcelp.wav

These are just the most popular formats. For more samples see the NCH Software ACM reference list (in External Links Below).
The above are wave files – even if they have the mp3 codec they will have the “.wav” extension.

See also



Broadcast Wave Format (BWF)

RF64, an extended file format for audio (multichannel file format enabling file sizes to exceed 4 gigabytes)

External links



A summary of the WAVE file format

Another summary of WAVE file format

WAV file format

Basic WAV file format

A detailed explanation of digital audio formats and best practices (pdf)

Samples of all wav codecs prepared by NCH Software

This article provided by Wikipedia. To edit the contents of this article, click here for original source.

psst.. try this: add to faves