wav

wav(waveform audio file format)とは、バイナリデータで構成されるfile形式です。
'52 49 46 46'(hex) > 'file size'-8(4bytes) > '57 41 56 45'(hex) > fmtchunk > datachunk

chunk

name
fmt
data
id
66 6d 74 20
64 61 74 61
size
10 00 00 00
?
data
16bytes
?
'linear pcm'or'ieee float'

fmt

data

audio_format(2)
number_of_channels(2)
sample_rate(4)
byte_rate(4)
block_align(2)
bits/sample(2)
'linear pcm'or'ieee float'
?
?
?
'sample rate'*'block align'
'bits/sample'*'number of channels'/8
?