Developers Notebook-DWVW

From WxWiki

Jump to: navigation, search

[edit] DWVW v1.2

Part of Developers_Notebook-DWVW-Compression Methods.

Origin:

Theory: Essentially to bits as RLE is (normally) to bytes - tries to take out 0 bits of value...

Algorithm:

  1. . Count the number of 0 bits until 1 or bitwidth/2 is reached - this is the WWM (Word Width Modifier)
  2. . The bit after this is the sign of the WWM (if not 0).
  3. . Read ((original-width + WWM) % bit-resolution) - this is the sample "delta"
  4. . Next bit is the sign of the delta if delta > 0
  5. . Last bit, only if lowest or next lowest, tells whether it is the lowest or next lowest value

Decoding:

[edit] Resources

  • AUDIO FILE FORMAT RESOURCE GUIDE, Version 1.1, by Dave Huizing
Personal tools