Sierra DPCM: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(one more format that can contain this audio type) |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
* Company: [[Sierra Entertainment]] | * Company: [[Sierra Entertainment]] | ||
This is a set of DPCM codecs used in [[Sierra Audio]] and [[ | This is a set of DPCM codecs used in [[Sierra Audio]], [[VMD]], and [[RBT]] files. | ||
=== Old DPCM === | === Old DPCM === | ||
Decoding of DPCM is very simple: read nibble, get corresponding delta value from table and update current sample value. | |||
Delta table: | |||
{ 0, 1, 2, 3, 6, 10, 15, 21, | |||
-21,-15,-10, -6, -3, -2, -1, -0} | |||
=== New DPCM === | === New DPCM === | ||
New scheme differs from old one by delta table (note the order of its second part): | |||
{ 0, 1, 2, 3, 6, 10, 15, 21, | |||
-0, -1, -2, -3, -6, -10, -15, -21} | |||
=== 16-bit DPCM === | === 16-bit DPCM === | ||
TODO | |||
[[Category:Audio Codecs]] | |||
[[Category:DPCM Audio Codecs]] | |||
[[Category:Game Formats]] | [[Category:Game Formats]] |
Latest revision as of 23:22, 13 February 2020
- Company: Sierra Entertainment
This is a set of DPCM codecs used in Sierra Audio, VMD, and RBT files.
Old DPCM
Decoding of DPCM is very simple: read nibble, get corresponding delta value from table and update current sample value.
Delta table:
{ 0, 1, 2, 3, 6, 10, 15, 21, -21,-15,-10, -6, -3, -2, -1, -0}
New DPCM
New scheme differs from old one by delta table (note the order of its second part):
{ 0, 1, 2, 3, 6, 10, 15, 21, -0, -1, -2, -3, -6, -10, -15, -21}
16-bit DPCM
TODO