Developers Notebook-DWVW
From WxWiki
[edit] DWVW v1.2
Part of Developers_Notebook-DWVW-Compression Methods.
Origin:
- Invented in 1991 by Magnus Lidstrom
- (C) 1993 NuEdge Development
- Origin may not be misrepresented
Theory: Essentially to bits as RLE is (normally) to bytes - tries to take out 0 bits of value...
Algorithm:
- . Count the number of 0 bits until 1 or bitwidth/2 is reached - this is the WWM (Word Width Modifier)
- . The bit after this is the sign of the WWM (if not 0).
- . Read ((original-width + WWM) % bit-resolution) - this is the sample "delta"
- . Next bit is the sign of the delta if delta > 0
- . 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
