Sierra Audio: Difference between revisions

From MultimediaWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
* Company: [[Sierra Entertainment]]
* Company: [[Sierra Entertainment]]
This page describes audio format and codecs used in different games by  
This page describes audio format and codecs used in different games by Sierra.


=== File Format ===
=== File Format ===

Revision as of 22:46, 18 February 2006

This page describes audio format and codecs used in different games by Sierra.

File Format

 Byte Value
 ----------------
 0    Header size
 1    Version
 2-5  String "SOL"
 6-7  Sample rate
 8    Flags
 9-10 Size

Flags are used to determine audio format and compression:

 0x01 DPCM
 0x04 Stereo
 0x10 16-bit

Working scheme to determine what decompressor to use:

 if(Version == 0x8D) {
   if(Flags & USE_DPCM)
     use old DPCM variant;
   else
     use 8-bit unsigned mono PCM;
 }
 if(Flags == USE_DPCM | USE_16BIT)
   use 8->16 bit DPCM;
 else if(Flags == USE_DPCM)
   use new DPCM variant;
 else if(Flags & USE_16BIT)
   use 16-bit mono or stereo PCM;
 else
   use 8-bit mono PCM;

Games using this format:

  • Island of Dr. Brain
  • King's Quest 5
  • King's Quest 6
  • King's Quest 7
  • Laura Bow 2
  • Leisure Suit Larry 5
  • Leisure Suit Larry 6
  • Leisure Suit Larry 7
  • Mixed-Up Mother Goose
  • Pepper's Adventures in Time
  • Phantasmagoria
  • Space Quest 4
  • Space Quest 5
  • Space Quest 6
  • Torin's Passage