Audio Encoding Rate Allocation for FEC Noise Reduction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing audio encoding methods using forward error correction (FEC) technology face issues with code rate allocation, leading to a severe shortage of encoding rate for main frames, resulting in noise in encoded audio, especially when encoding complex audio signals.
Innovation Solution
An audio encoding method that dynamically determines an initial encoding rate, overuse penalty code rate, and main frame encoding proportion to allocate encoding rates more efficiently, reducing noise by dynamically adjusting the main frame encoding rate based on these factors.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If FEC technology is used to encode both main frames and redundant frames, then packet loss resistance is improved, but encoding rate for main frames becomes insufficient
Solution Approach 1:
The patent implements dynamic code rate allocation where the encoding rate for main frames and redundant frames is not fixed but adjusted based on audio signal characteristics. The system calculates complexity metrics for different audio frames and dynamically distributes the total encoding rate, allowing main frames to receive sufficient rate when audio complexity is high while still maintaining FEC protection for redundant frames.
Solution Approach 2:
The patent changes the parameter of code rate allocation from a static fixed value to a dynamic value that varies with audio signal characteristics. By introducing complexity-based weighting factors and adjusting code rates according to frame-by-frame audio analysis, the system optimizes the distribution of encoding bits between main and redundant frames, ensuring main frames receive adequate rate while maintaining packet loss resistance.
2Reliability
If encoding rate is allocated to redundant frames, then error correction capability is improved, but noise appears in encoded audio
Solution Approach 1:
The patent applies different encoding qualities to different parts of the audio data by analyzing local audio characteristics. Frames with high audio complexity receive higher encoding rates to maintain quality, while frames with low complexity can tolerate lower rates. This localized quality adjustment ensures that noise is minimized in critical audio segments while still providing error correction where applicable.
Solution Approach 2:
The system dynamically changes encoding parameters based on audio frame characteristics. By calculating complexity metrics and adjusting code rates accordingly, the patent ensures that main audio frames receive sufficient encoding rate to avoid noise, while redundant frames receive appropriate but reduced rates. This parameter adaptation resolves the contradiction between error correction capability and audio quality.
Data Source
AI summary
An audio encoding method and apparatus, and a device and a storage medium. The audio encoding method comprises: acquiring an initial encoding rate and an overuse penalty code rate corresponding to the current audio frame; determining a main frame encoding proportion corresponding to the current audio frame; determining a main frame encoding rate of the current audio frame based on the initial encoding rate, the overuse penalty code rate, and the main frame encoding proportion; and obtaining main encoded audio data by encoding, based on the main frame encoding rate, the current audio frame.

