Transform Coder Scale Factor Weighting for Speech Quality
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In TwinVQ transform coding, reducing the number of bits for encoding average amplitude leads to insufficient candidates, increasing quantization distortion and deteriorating speech quality due to the uniform weight function across Bark scales, which fails to accurately represent significant spectral bands.
Innovation Solution
A transform coding apparatus that calculates and weights distortion differently based on the difference between input and output scale factors, prioritizing smaller scale factors to minimize weighted distortion, thereby improving speech quality under low bit rates.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If the number of bits for encoding average amplitude is reduced, then bit rate is lowered, but quantization distortion increases and speech quality deteriorates
Solution Approach 1:
The patent applies local quality by differentiating the treatment of scale factors based on their magnitude. Small-scale factors (corresponding to spectral valleys) are encoded with higher precision using more bits, while large-scale factors (corresponding to spectral peaks) are encoded with fewer bits. This localized differentiation of encoding precision resolves the contradiction by allocating bits according to perceptual importance rather than uniformly, thereby maintaining speech quality in critical regions while reducing overall bit rate.
Solution Approach 2:
The patent changes the parameter of bit allocation from a fixed uniform value to a dynamic value that varies with the magnitude of scale factors. By introducing a bit allocation mechanism that adapts to the local spectral characteristics (changing the parameter based on scale factor magnitude), the system achieves both lower overall bit rate and maintained speech quality in perceptually critical regions.
2Device complexity
If uniform weight function is used across Bark scales, then encoding is simplified, but significant spectral bands cannot be accurately represented
Solution Approach 1:
The patent implements local quality by assigning different weights to different Bark scales based on their spectral significance. Instead of a uniform weight function, the system calculates weights that reflect the local importance of each spectral band, allowing accurate representation of significant spectral features while simplifying the encoding of less important regions.
Solution Approach 2:
The patent introduces dynamics by making the weight function adaptive rather than static. The weights are calculated based on the actual spectral characteristics of the input signal, allowing the encoding system to dynamically adjust its precision allocation according to the signal's local features, thereby achieving both accuracy and efficiency.
Data Source
AI summary
A transform coding apparatus includes an input scale factor calculating section that calculates an input scale factor having a predetermined number of scale factors associated with an input spectrum as an element, and a codebook that stores a plurality of scale factor candidates having a predetermined number of elements and outputs one scale factor candidate. The transform coding apparatus also includes an error calculating section that calculates an error on a per element basis, a weighted error calculating section that determines a weight on a per element basis and calculates a sum of products of the error and the weight to calculate a weighted error, and a searching section that searches for a scale factor candidate that minimizes the weighted error in the codebook.


