Skip to main content
Participant
November 4, 2021
Question

WAV File Chunk Size & Data Amount

  • November 4, 2021
  • 1 reply
  • 867 views

Hello. I have been writing because I had a question about the wav format.

The general wav file format is as below.

So I understood that adding 8 to chunk size resulted in the total data size(include headers).

In the case of subchunk2 size, it is the real pcm data size excluding the headers(44bytes).

Eventually, there is a 36bytes difference between chunk size and subchunk2 size, is it right?

 

But I checked that some files were different from this result.

For example, there is a wav file with a size of 960bytes.

It's chunk size is 952(decimal) and subchunk2 size is 880(decimal).

Actually, as a result of my counting, there are 458 data(916 bytes).

(This wav file is 16bits, 44.1kHz, Mono format)

So, I think subchunk2 size is not right.

In the "Adobe Audition" program, this wav file displays only 440 data same as subchunk2 size.

Is there a reason to mark it like this?

This topic has been closed for replies.

1 reply

SteveG_AudioMasters_
Community Expert
Community Expert
November 4, 2021

We're a U2U group. I think you need a coding forum!