The wav file model
WaveFile
00 Remarks
Waveform Audio File Format (WAVE, or WAV due to its filename extension; pronounced /wæv/ or /weɪv/) is an audio file format standard, developed by IBM and Microsoft, for storing an audio bitstream on personal computers. It is the main format used on Microsoft Windows systems for uncompressed audio. The usual bitstream encoding is the linear pulse-code modulation (LPCM) format.
WAV Is an application Of the Resource Interchange File Format (RIFF) bitstream format method For storing data In chunks, And thus Is similar To the 8SVX And the Audio Interchange File Format (AIFF) format used On Amiga And Macintosh computers, respectively.
01 Syntax
02 Properties
| Name | Overloads | Summary |
|---|---|---|
| magic | 1 | Contains the letters "RIFF" in ASCII form (0x52494646 big-endian form). |
| fileSize | 1 | 36 + SubChunk2Size, or more precisely: 4 + (8 + SubChunk1Size) + (8 + SubChunk2Size) This Is the size of the rest of the chunk following this number. |
| format | 1 | Contains the letters "WAVE" (0x57415645 big-endian form). |
| fmt | 1 | Subchunk1 |
| data | 1 | Subchunk2 |
03 Members
Contains the letters "RIFF" in ASCII form (0x52494646 big-endian form). Resource Interchange File Format.
36 + SubChunk2Size, or more precisely:
4 + (8 + SubChunk1Size) + (8 + SubChunk2Size)
This Is the size of the rest of the chunk following this number. This Is the size Of the entire file In bytes minus 8 bytes For the two fields Not included In this count: ChunkID And ChunkSize.
Contains the letters "WAVE" (0x57415645 big-endian form).
Subchunk1
Subchunk2