Difference between revisions of "WAVESET.WD"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m
Line 8: Line 8:
 
  0x20: soundfont ID
 
  0x20: soundfont ID
 
  0x2c: next soundfont pointer
 
  0x2c: next soundfont pointer
followed by 2c0 pointers to different waves within the file, from 0x30 to oxb30. curiously, it seems ENV.SED and SYSTEM.SED follow this same header style, based on how they're treated, though I couldn't tell you what they're for.
+
0x30: instrument settings array (0x10 per instrument, 0xB0 instruments):
 +
      0x00: wave pointer
 +
      0x04: ADPCM Repeat address (in SPU?)
 +
      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

Revision as of 08:53, 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
0x2c: next soundfont pointer
0x30: instrument settings array (0x10 per instrument, 0xB0 instruments):
      0x00: wave pointer
      0x04: ADPCM Repeat address (in SPU?)
      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