User:Ya Block

From The VG Resource Wiki
Revision as of 23:58, 23 September 2026 by Ya Block (talk | contribs) (Created page with "WAV file format <pre> RIFF Header 0x00 | string | RIFF 0x04 | 4 Bit | Chunk Size 0x08 | string | WAVE fmt Chunk 0x00 | string | fmt 0x04 | 4 Bit | Chunk Size 0x08 | 2 Bit |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

WAV file format

RIFF Header
0x00 | string | RIFF
0x04 | 4 Bit | Chunk Size
0x08 | string | WAVE

fmt Chunk
0x00 | string | fmt 
0x04 | 4 Bit | Chunk Size
0x08 | 2 Bit | Encoding
0x0a | 2 Bit | Channels
0x0c | 4 Bit | Sample Rate
0x10 | 4 Bit | Bitrate
0x14 | 2 Bit | Block Align
0x16 | 2 Bit | Bits per Sample

Non-PCM Chunk
0x00 | string | fact
0x04 | 4 Bit | Chunk Size
0x08 | 4 Bit | Sample Length

Data Chunk
0x00 | string | data
0x04 | 4 Bit | Chunk Size

Encoding
0x0001 PCM
0x0002 MS ADPCM
0x0003 Float
0x0006 A-Law
0x0007 U-Law
0x0011 IMA ADPCM
0x0031 GSM 6.10
0x0038 NMS ADPCM
0x0040 G721 ADPCM
0x0050 MPEG
0x0055 MP3
0x7002 unk (PSP)