Bit Rate Reduction

Bit Rate Reduction

Bit Rate Reduction, or BRR, also called Bit Rate Reduced, is a name given toan audio compression method used on the SPC700 sound coprocessor used in the SNES. The method is a form of ADPCM.

BRR compresses each consecutive sequence of sixteen 16-bit PCM samples into a block of 9 bytes. From most to least significant, the first byte of each blockconsists of four bits indicating the "range" of the block (see below),two bits indicating the "filter" (see below), and two bits of control information for the SPC700.The remaining eight bytes consist of 16 signed 4-bit nibbles which correspond to the 16 samples,packed in a big-endian manner. As 32 bytes of input become 9 bytes of output, the BRR algorithm yields a 3.56:1 compression ratio.

Decompression algorithm

A nibble "n" in a block with filter "f" and range "r" should be decoded into a PCM sample "s" in the following manner:

* If "f=0", "s=2r n".
* If "f=1", "s=2r n + (15/16) s′".
* If "f=2", "s=2r n + (61/32) s′ - (15/16) s″".
* If "f=3", "s=2r n + (115/64) s′ - (13/16) s″".

Here, "s′" and "s″" are the last-output and next-to-last-output PCM samples, respectively. In words:

* Filter 0 linearly decodes the r bit downquantized version of the samples.
* Filter 1 adds an r bit downquantized version of the samples to a lowered previous input (delta pack or differential coding).
* Filters 2 and 3 add an r bit downquantized version of the samples to the linear extrapolation from the last two samples (2nd order differential coding).

References

* [http://emureview.ztnet.com/developerscorner/SoundCPU/spc.htm SPC 700 Documentation]
* [http://home.comcast.net/~brad.martin1/brr.txt The Bit Rate Reduction sound encoding scheme]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Bit rate reduction — may refer to:* Bit rate reduction, a synonym for data compression. * Bit Rate Reduction, a name given to an audio compression format used by the SPC 700 …   Wikipedia

  • Bit rate — Bit rates Decimal prefixes (SI) Name Symbol Multiple kilobit per second kbit/s 103 megabit per second Mbit/s 106 gigabit per second Gbit/s 109 …   Wikipedia

  • Reduction — Reduction, reduced, or reduce may refer to:cienceChemistry*Reduction – chemical reaction in which atoms have their oxidation number (oxidation state) changed. **Reduced gas – a gas with a low oxidation number **Ore reduction: see… …   Wikipedia

  • Urea reduction ratio — For the Scottish river see: Urr Water The urea reduction ratio (URR), is a dimensionless number used to quantify hemodialysis treatment adequacy.DefinitionURR = frac{U {pre} U {post{U {pre imes 100% Where: * Upre is the pre dialysis urea level *… …   Wikipedia

  • MPEG-2 — Not to be confused with MPEG 1 Audio Layer II (MP2). MPEG 2 is used in Digital Video Broadcast and Digital Versatile Discs. The MPEG transport stream, TS, and MPEG program stream, PS, are container formats. MPEG 2 is a standard for the generic… …   Wikipedia

  • NICAM — This article is about a compression form for digital audio. For the media content rating institute, see Netherlands Institute for the Classification of Audiovisual Media. NICAM stands for Near Instantaneous Companded Audio Multiplex. It is an… …   Wikipedia

  • Data compression — Source coding redirects here. For the term in computer programming, see Source code. In computer science and information theory, data compression, source coding or bit rate reduction is the process of encoding information using fewer bits than… …   Wikipedia

  • Advanced Audio Coding — AAC redirects here. For other uses, see AAC (disambiguation). Advanced Audio Codings iTunes standard AAC file icon Filename extension .m4a, .m4b, .m4p, .m4v, .m4r, .3gp, .mp4, .aac Internet media type audio/aac, audio/aacp, au …   Wikipedia

  • BRR — may refer to:* Barra Airport (Scotland) (IATA airport code) * Barrhead railway station, a Scottish railway station * Belton Railroad (AAR reporting mark) * Binary Revolution Radio, a hacker internet radio show * Bit rate reduction, another term… …   Wikipedia

  • Super Nintendo Entertainment System — Super Nintendo Entertainment System …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”