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

Changes

Jump to navigation Jump to search
1,061 bytes added ,  05:15, 30 July 2016
Line 123: Line 123:  
| 4
 
| 4
 
| Offset to HEAD chunk part 3
 
| Offset to HEAD chunk part 3
 +
|}
 +
 +
 +
HEAD chunk part 1<br/>
 +
This part is 0x34 bytes long
 +
{| class="wikitable"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0000
 +
| 1
 +
| Codec:
 +
0 - 8-bit PCM<br/>
 +
1 - 16-bit PCM<br/>
 +
2 - 4-bit ADPCM<br/>
 +
|-
 +
| 0x0001
 +
| 1
 +
| Loop flag
 +
|-
 +
| 0x0002
 +
| 1
 +
| Number of channels
 +
|-
 +
| 0x0003
 +
| 0
 +
| Padding? (0x00)
 +
|-
 +
| 0x0004
 +
| 2
 +
| Sample rate
 +
|-
 +
| 0x0006
 +
| 2
 +
| Padding? (0x00)
 +
|-
 +
| 0x0008
 +
| 4
 +
| Loop start in samples
 +
|-
 +
| 0x000C
 +
| 4
 +
| Total sample count
 +
|-
 +
| 0x0010
 +
| 4
 +
| Absolute offset to the beginning of the ADPCM data.
 +
Note that this is ''not'' the beginning of the DATA chunk.
 +
|-
 +
| 0x0014
 +
| 4
 +
| Total block count.
 +
The total number of interlaced blocks in the ADPCM data.
 +
This count includes the final block.
 +
|-
 +
| 0x0018
 +
| 4
 +
| Block Size in bytes.
 +
|-
 +
| 0x001C
 +
| 4
 +
| Samples per block.
 +
|-
 +
| 0x0020
 +
| 4
 +
| Size of the final block without padding in bytes
 +
|-
 +
| 0x0024
 +
| 4
 +
| Samples in the final block.
 +
|-
 +
| 0x0028
 +
| 4
 +
| Size of the final block with padding in bytes
 +
|-
 +
| 0x002C
 +
| 4
 +
| Samples per entry in the ADPC table
 +
|-
 +
| 0x0030
 +
| 4
 +
| Bits per sample? (0x04 for 4-bit ADPCM)
 
|}
 
|}
  

Navigation menu