In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
1,479 bytes added ,  05:32, 30 July 2016
Line 207: Line 207:  
| 4
 
| 4
 
| Bits per sample? (0x04 for 4-bit ADPCM)
 
| Bits per sample? (0x04 for 4-bit ADPCM)
 +
|}
 +
 +
 +
HEAD chunk part 2
 +
 +
There are at least 2 known types of this part:
 +
 +
{| class="wikitable"
 +
|-
 +
! Type
 +
! Marker
 +
! Description
 +
|-
 +
| 1
 +
| 0x01000000
 +
| Used in Super Smash Bros. Brawl
 +
|-
 +
| 2
 +
| 0x01010000
 +
| Used in other games.
 +
|}
 +
 +
HEAD chunk part 2 header
 +
{| class="wikitable"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0000
 +
| 4
 +
| Marker
 +
|}
 +
 +
 +
HEAD chunk part 2 offset table<br/>
 +
The file contains one of this structure for each track
 +
{| class="wikitable"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0000
 +
| 4
 +
| Marker
 +
|-
 +
| 0x0004
 +
| 4
 +
| Offset to track description
 +
|}
 +
 +
HEAD chunk part 2 track table type 1<br/>
 +
The file contains one of this structure for each track
 +
{| class="wikitable"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0000
 +
| 1
 +
| Number of channels in track
 +
|-
 +
| 0x0001
 +
| 1
 +
| Left channel ID if stereo track. Only channel if mono.
 +
|-
 +
| 0x0002
 +
| 1
 +
| Right channel ID if stereo track. 0x00 if mono.
 +
|-
 +
| 0x0003
 +
| 1
 +
| Padding? (0x00)
 +
|}
 +
 +
HEAD chunk part 2 track table type 2<br/>
 +
The file contains one of this structure for each track
 +
{| class="wikitable"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0000
 +
| 1
 +
| Track volume (0x00 to 0x7F)
 +
|-
 +
| 0x0001
 +
| 1
 +
| Track panning (0x00 to 0x7F, Left to right)
 +
|-
 +
| 0x0002
 +
| 2
 +
| Padding? (0x00)
 +
|-
 +
| 0x0004
 +
| 4
 +
| Padding? (0x00)
 +
|-
 +
| 0x0008
 +
| 1
 +
| Number of channels in track
 +
|-
 +
| 0x0009
 +
| 1
 +
| Left channel ID if stereo track. Only channel if mono.
 +
|-
 +
| 0x000A
 +
| 1
 +
| Right channel ID if stereo track. 0x00 if mono.
 +
|-
 +
| 0x000B
 +
| 1
 +
| Padding? (0x00)
 
|}
 
|}
  

Navigation menu