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

Jump to navigation Jump to search
→‎Original: more info on lip-synch tags
(→‎Early v5 - CD tracks: SOUN instead of SOU block for CD tracks)
(→‎Original: more info on lip-synch tags)
Line 110: Line 110:
   Block name        4 bytes ("VCTL")
   Block name        4 bytes ("VCTL")
   Block size        4 bytes
   Block size        4 bytes
   Lip-sync tags    variable
   Lip-sync tags    variable * 2 bytes LE
   Sound data        variable ("Crea" block / VOC file)
   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.
The lip-sync tags provide timing information, and are 16-bit LE values, representing positions in the speech file. Lip synching is basically just toggling the speaking animation on and off whenever the speech goes past the positions listed in the lip-synch tags. In v5 the number of tags is stored in the calling text, according to the formula (num_tags << 1) + 8. The "Crea" block is an entire Creative VOC file.


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

edits

Navigation menu