Adjust fine bits allocation.
The old code allocated too many fine bits to large bands. New allocations were derived from by numerical optimization using quantization MSE sampled from Laplacian distributed random data to within +/- 1 bit for N=2...160 and bits per band from 0 to 64. Those allocations could be modeled with only minor errors using a simple offset of 19/8+log2(N), with no bits spent on fine energy when there would not be enough bits remaining to code a single pulse. However, PEAQ testing suggested an offset of 14/8 was better, and that it was always worth spending at least one bit on fine energy.
Loading
Please register or sign in to comment