• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

WAV File Chunk Size & Data Amount

New Here ,
Nov 04, 2021 Nov 04, 2021

Copy link to clipboard

Copied

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?

wav_file_format.gif

TOPICS
Import , User interface or workspaces

Views

704

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 04, 2021 Nov 04, 2021

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines