BCWAV: Difference between revisions

Steveice10 (talk | contribs)
mNo edit summary
PabloMK7 (talk | contribs)
B doesn't stand for Banner, but for Binary (same all of the other NW4C related file formats).
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:File formats]]
[[Category:File formats]]
This document is about the format of Banner's CTR Wave files (BCWAV).
This document is about the format of Binary CTR Wave files (BCWAV). The structure is very similar to Microsoft's Wave file.
 
The structure is very similar to Microsoft's Wave file.
 
Banner CWAV total channels must be 2, and the length of the audio in seconds must be 3 seconds or less.


=== Overview ===
=== Overview ===
Line 79: Line 75:
| 0x018 || 4 || Reserved
| 0x018 || 4 || Reserved
|-
|-
| 0x01C || 4 + Count * 8 || [[#Channel Info|Channel Info]] [[#Reference Table|Reference Table]] (Offsets relative to this field)
| 0x01C || X || [[#Channel Info|Channel Info]] [[#Reference Table|Reference Table]]
|-
|-
| 0x01C + (4 + Count * 8) || Count * 20 || [[#Channel Info|Channel Info]] Entries
| X || X || [[#Channel Info|Channel Info]] Entries
|}
|}


Line 90: Line 86:
! OFFSET !! SIZE !!  DESCRIPTION
! OFFSET !! SIZE !!  DESCRIPTION
|-
|-
| 0x01C + (4 + Count * 8) + (Count * 20) || Count * 46 || [[#DSP ADPCM Info|DSP ADPCM Info]] Entries
| X || X || [[#DSP ADPCM Info|DSP ADPCM Info]] Entries
|}
|}


Line 99: Line 95:
! OFFSET !! SIZE !!  DESCRIPTION
! OFFSET !! SIZE !!  DESCRIPTION
|-
|-
| 0x01C + (4 + Count * 8) + (Count * 20) || Count * 8 || [[#IMA ADPCM Info|IMA ADPCM Info]] Entries
| X || X || [[#IMA ADPCM Info|IMA ADPCM Info]] Entries
|}
|}


Line 132: Line 128:
|}
|}


==== DSP ADPCM Info ====
===== DSP ADPCM Info =====


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 147: Line 143:
|}
|}


==== DSP ADPCM Param ====
====== DSP ADPCM Param ======


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 156: Line 152:
|}
|}


==== DSP ADPCM Context ====
====== DSP ADPCM Context ======


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 171: Line 167:
|}
|}


==== IMA ADPCM Info ====
===== IMA ADPCM Info =====


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 182: Line 178:
|}
|}


==== IMA ADPCM Context ====
====== IMA ADPCM Context ======


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 216: Line 212:
| 0x000 || 4 || Count
| 0x000 || 4 || Count
|-
|-
| 0x004 || Count * 8 || [[#Reference|References]]
| 0x004 || Count * 8 || [[#Reference|References]] (Offsets relative to Count field)
|}
|}