VAG (PS Single Waveform Data): Difference between revisions
| Revision as of 02:22, 23 October 2026 RemmyLee (Hardware and system software pages from the Sony manuals) | Revision as of 02:27, 23 October 2026 RemmyLee (File format pages from the Sony File Formats manual) | ||
| Line 1: | Line 1: | ||
| + | --- | ||
| + | title: VAG (PS Single Waveform Data) | ||
| + | type: format | ||
| + | summary: ADPCM waveform data of one sampled sound. | ||
| + | category: File formats | ||
| + | info: Extension = .VAG | ||
| + | info: ID = VAGp | ||
| + | --- | ||
| + | |||
| + | ## Overview | ||
| + | |||
| + | VAG is the PlayStation single waveform data format. It holds ADPCM-encoded data of a sampled sound.[^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 | ||
| + | |||
| + | A VAG file has the following fields:[^ff45] | ||
| + | |||
| + | Table: VAG format | ||
| + | |||
| + | | Field | Byte count | | ||
| + | | --- | --- | | ||
| + | | ID (VAGp) | 4 | | ||
| + | | Version | 4 | | ||
| + | | Reserved | 4 | | ||
| + | | Data size (Bytes) | 4 | | ||
| + | | Sampling frequency | 4 | | ||
| + | | Reserved | 12 | | ||
| + | | Name | 16 | | ||
| + | | Waveform data | Any | | ||
| + | |||
| + | ## References | ||
| + | |||
| + | [^ff45]: Sony Computer Entertainment Inc. File Formats. November 1998. Page 4-5, Figure 201. | ||