Structure of a WAV file by Naphier20th Nov 2011 13:10
|
---|
Summary Table illustrating the file structure of a WAV file Description Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com Field bytes format contains 1 0...3 str4 "RIFF" in ASCII 2 4...7 int4 Total bytes minus 8 3 8...15 str4 "WAVEfmt" Eigth character is a space 4 16...19 int4 16 for PCM format 5 20...21 int2 1 for PCM format 6 22...23 int2 channels 7 24...27 int4 sampling frequency 8 28...31 int4 bytes per second 9 32...33 int2 bytes by capture 10 34...35 int2 bits per sample 11 36:39 str4 "data" 12 40:43 int4 bytes in data |