Difference between revisions of "WAF"

From Game Research Wiki
Jump to navigation Jump to search
Line 17: Line 17:
| 2Bytes || Channel Count || 2 = stereo
| 2Bytes || Channel Count || 2 = stereo
|-
|-
| 4Bytes || Frequency || 2 = stereo
| 4Bytes || Frequency ||
|-
|-
| 4Bytes || Avg Stream Speed || Channels*Frequency*(Bitdepth div 8)
| 4Bytes || Avg Stream Speed || Channels*Frequency*(Bitdepth div 8)

Revision as of 09:09, 21 August 2014

Used in the following game(s):

  • Ever17

Since I know little about audio. I ended up looking at another project's source. Specifically, AE - VN Tools.

Structure

Header
Size Content Description
3Bytes Magic Always "WAF"
3Bytes Unknown Always 0x00, Empty
2Bytes Channel Count 2 = stereo
4Bytes Frequency
4Bytes Avg Stream Speed Channels*Frequency*(Bitdepth div 8)
4Bytes Block Align Channels*(Bitdepth div 8); bitdepth = Bits per sample * channels
?Bytes Format Specific ?
?Bytes Data Length ?

External Links

http://wks.arai-kibou.ru/ae.php <-Source