WAV File
history
Waveform Audio File Format (WAVE, or WAV known to the public because of its extension) is an encoding format developed by Microsoft and IBM to store audio streams on personal computers. It is widely supported on the Windows platform application software and is similar to the AIFF in Macintosh computers in terms of status. This format is one of the applications of the Resource Exchange Archives Format (RIFF), and audio funds that are usually stored in blocks with pulse code modulation. It is also one of the commonly used specifications among its music enthusiasts. Since this audio format is not compressed, there will be no distortion in terms of sound quality, but the volume of the archive is larger among many audio formats.
Format description
| Offset Address | Size (bytes) | Block Type | Content |
| 00H03H | 4 | Characters | Resource Exchange File Flag ("RIFF") |
| 04H07H | 4 | Long integer | Total number of bytes from the next address to the end of the file |
| 08H0BH | 4 | Characters | WAV file logo ("WAVE") |
| 0CH0FH | 4 | Characters | Format block flag ("fmt"), last space |
| 10H13H | 4 | Integer | Format block size (usually 00000010H), if it is 00000012H, it means that the data header carries additional information (see "Additional Information") |
| 14H15H | 2 | Integer | Format type (When the value is 1, it means that the data is linear PCM encoding) |
| 16H17H | 2 | Integer | Number of channels, mono is 1 and dual channels is 2 |
| 18H1BH | 4 | Long integer | Sampling frequency |
| 1CH1FH | 4 | Long integer | Waveform data transmission rate (average number of bytes per second) |
| 20H21H | 2 | Integer | DATA data block length, byte |
| 22H23H | 2 | Integer | PCM bit depth |
| option | 2 | integer | Additional information (optional, determined by filtered bytes above) |
| 24H27H | 4 | Characters | Data Block Flag ("data") (Data Block) |
| 28H2BH | 4 | Integer | Data Block Size N |
| 2CH | N | Data | N Data |
TIPS
Another reason why WAV is widely popular is that a large number of CD tracks are stored in WAV format, which is also an important factor for HiFi enthusiasts to consider WAV as a lossless format.
References: