795 bytes added
, 17:37, 21 September 2009
AST files contain PCM16 sound data. They're used in Super Mario Galaxy for musics, and possibly in other games.
They contain an header followed by a BLCK chunk.
All the data in those files are big-endian, except where mentioned.
All the offsets are absolute (from begining of file), except where mentioned.
All the sizes are in bytes, except where mentioned.
=== AST header ===
The header is 64 bytes long.
{| class="wikitable"
|-
! Offset
! Size
! Description
|-
| 0x0000
| 4
| "STRM" (0x0354524D)
|-
| 0x0004
| 4
| Size of the BLCK chunk
|-
| 0x0008
| 4
| Unknown (0x00010010)
|-
| 0x000C
| 4
| Unknown
|-
| 0x0010
| 4
| Sampling rate in Hz
|-
| 0x0014
| 4
| ????????
|-
| 0x0018
| 4
| ????????
|-
| 0x001C
| 4
| ????????
|-
| 0x0020
| 4
| Loopstart position?
|-
| 0x0024
| 28
| Unknown
|}