psx.wiki

VAG (PS Single Waveform Data): Difference between revisions

Revision as of 02:46, 23 October 2026
RemmyLee
(SPU and CD-ROM at register depth; CPU overview rewritten)
Revision as of 02:47, 23 October 2026
RemmyLee
(Formats: Sony paragraph voice; HMD, RSD extended files, full BS code book; sprite editor formats)
Line 10:Line 10:
## Overview## Overview
−VAG is the PlayStation single waveform data format. It holds ADPCM-encoded data of a sampled sound.[^ff45]+VAG is the PlayStation single waveform data format. It holds ADPCM-encoded data of a sampled sound such as a piano note, an explosion or music, and its typical extension in DOS is ".VAG". Several VAG files are managed as one group in a [VAB](/formats/vab/) file.[^ff45]
−Sampled sounds include piano sounds, explosions and music. The typical extension in DOS is ".VAG".[^ff45]
−
−A [VAB](/formats/vab/) file manages several VAG files as one group.[^ff45]
−
## Structure## Structure
−A VAG file has the following fields:[^ff45]+A VAG file has a 48-byte header (4 + 4 + 4 + 4 + 4 + 12 + 16 bytes) followed by the waveform data. The header gives the data size in bytes and the sampling frequency and also holds a 16-byte name. The fields and their byte counts are shown below.[^ff45]
Table: VAG formatTable: VAG format