Difference between revisions of "WAVESET.WD"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "==WAVESET.WD Header== the header information contains quite a bit of meta data related to the sound fonts contained within the file. 0x00: dwdsP (string, file designation) 0...")
 
m
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
  0x10: start of wave forms
 
  0x10: start of wave forms
 
  0x14: size of all wave forms
 
  0x14: size of all wave forms
followed by 2c0 pointers to different waves within the file, from 0x30 to oxb30
+
0x20: soundfont ID (0x00)
 +
0x28: ADPCM offset (0x00)
 +
0x2c: next soundfont pointer
 +
0x30: instrument settings array (0x10 per instrument, 0xB0 instruments):
 +
      0x00: wave pointer
 +
      0x04: ADPCM Repeat address
 +
      0x06: ?
 +
      0x07: ?
 +
      0x08: Attack shift step
 +
      0x09: Decay Shift
 +
      0x0a: Sustain Flags
 +
      0x0b: Release Flags
 +
      0x0c: Sustain Level
 +
      0x0d: Attack Mode
 +
      0x0e: Sustain Mode
 +
      0x0f: Release Mode

Latest revision as of 08:59, 14 September 2025

WAVESET.WD Header

the header information contains quite a bit of meta data related to the sound fonts contained within the file.

0x00: dwdsP (string, file designation)
0x05: 
0x08: size of entire file
0x10: start of wave forms
0x14: size of all wave forms
0x20: soundfont ID (0x00)
0x28: ADPCM offset (0x00)
0x2c: next soundfont pointer
0x30: instrument settings array (0x10 per instrument, 0xB0 instruments):
      0x00: wave pointer
      0x04: ADPCM Repeat address
      0x06: ?
      0x07: ?
      0x08: Attack shift step
      0x09: Decay Shift
      0x0a: Sustain Flags
      0x0b: Release Flags
      0x0c: Sustain Level
      0x0d: Attack Mode
      0x0e: Sustain Mode
      0x0f: Release Mode