shithub: opus

Download patch

ref: c98ff9086ccbde4da15c836aa82646589d3ae0c6
parent: 8bcd38824dd4baf082913dab734449ef729588ec
author: Jean-Marc Valin <[email protected]>
date: Wed Sep 1 11:43:06 EDT 2010

Tuning at very low bit-rate (around 14 kb/s)

--- a/libcelt/modes.c
+++ b/libcelt/modes.c
@@ -96,7 +96,7 @@
 static const unsigned char band_allocation[] = {
 /*0  200 400 600 800  1k 1.2 1.4 1.6  2k 2.4 2.8 3.2  4k 4.8 5.6 6.8  8k 9.6 12k 15.6 */
   0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
- 40, 40, 40, 40, 40, 40, 40, 42, 44, 48, 52, 44, 32, 16,  8,  4,  0,  0,  0,  0,  0,
+ 80, 80, 75, 70, 65, 60, 55, 50, 44, 40, 35, 30, 15,  1,  0,  0,  0,  0,  0,  0,  0,
  84, 84, 87, 90, 88, 84, 78, 74, 70, 65, 60, 54, 40, 20, 12,  8,  8,  4,  4,  0,  0,
 100,100,110,110,100, 96, 90, 88, 84, 76, 68, 60, 44, 28, 20, 20, 20, 12, 12,  0,  0,
 130,130,130,128,120,112,104,104,100, 96, 76, 68, 60, 52, 36, 36, 32, 28, 20,  8,  0,