Difference between revisions of "SCUMM/Technical Reference/Sound resources"

Jump to navigation Jump to search
→‎Original: Improved consistency, added some bits.
m (→‎Compressed: removed plural for clarity)
(→‎Original: Improved consistency, added some bits.)
Line 23: Line 23:
From Indy 4 onwards, sound effects and speech are stored in a separate resource file called "MONSTER.SOU". The format is:
From Indy 4 onwards, sound effects and speech are stored in a separate resource file called "MONSTER.SOU". The format is:


  "SOU " header (incl. size?)
  Block name        4 ("SOU ") bytes
  one or more {
Block size         4 bytes
   "VCTL" header/block (contains lip-synch tags?)
  One or more:
  "CREA" block (Creative VOC file)
   Block name        4 ("VCTL") bytes
}
  Block size        4 bytes
  Lip-sync tags    variable
  Sound data        variable ("Crea" block / VOC file)
 
The lip-sync tags provide timing information. In v5 the number of tags is stored in the calling text, according to the formula ((num_tags / 2) << 1) + 8. The "Crea" block is an entire Creative VOC file.


===Compressed===
===Compressed===
126

edits

Navigation menu