Audio Codec Switching Using INTMDCT for Real-Time Noise-Free Handover

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional methods for switching between lossy and lossless audio codecs are complex, require time-frequency domain transforms, and cannot be implemented in real time, leading to high overheads and perceived noise.

Innovation Solution

Implement switching between lossy and lossless codecs by using integer window time domain aliasing cancellation (INT winTDAC) and modified discrete cosine transform (MDCT/IMDCT) within frequency domain encoders and decoders, allowing direct transforms without type conversions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If conventional switching methods between lossy and lossless codecs are used, then switching can be implemented, but the process becomes complex and cannot be performed in real time with high overheads

Engineering Contradiction:
Improveswitching speedVSAvoidswitching process complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent changes the fundamental parameter of codec architecture by making both lossy and lossless codecs frequency domain codecs using MDCT/INTMDCT transforms. This parameter change eliminates the need for time-frequency domain conversion during switching, enabling real-time switching with low complexity and overhead

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent applies homogeneity by making both lossy and lossless codecs use the same frequency domain architecture and MDCT-based transform. This homogeneous design allows seamless switching between codecs without requiring complex domain conversions, directly resolving the contradiction between switching speed and process complexity

Inventive Principle:
Principle #33Homogeneity

2Reliability

If time-frequency domain transform is performed during codec switching, then domain conversion can be achieved, but overheads increase and perceived noise is introduced

Engineering Contradiction:
Improveaudio qualityVSAvoidcomputational overhead
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent changes the operational parameter from time-frequency domain conversion to pure frequency domain processing. Both codecs use MDCT transforms, eliminating the need for time-frequency domain conversion during switching. This reduces computational overhead and avoids introducing perceived noise, simultaneously improving reliability and reducing energy loss

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If lossless codec is used for high quality audio, then audio quality improves, but data transmission size increases beyond Bluetooth channel limitations

Engineering Contradiction:
Improveaudio encoding precisionVSAvoiddata transmission size
Core Design Contradiction:
Manufacturing precisionVSQuantity of substance

Solution Approach 1:

The patent applies parameter changes by using frequency domain MDCT transforms for both lossless and lossy encoding. This allows the system to achieve high encoding precision through intelligent parameter control while maintaining data compression efficiency suitable for Bluetooth transmission, resolving the contradiction between audio quality and data size

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20250372108A1Method and apparatus for switching between lossy codec and lossless codec
Publication Date: 2025.12.04 HUAWEI TECH CO LTD
  • US20250372108A1 patent drawing
  • US20250372108A1 patent drawing
  • US20250372108A1 patent drawing

AI summary

A method and an apparatus for switching between a lossy codec and a lossless codec are provided. The method includes: obtaining a waveform of a previous frame Ti−1, and updating the waveform of the previous frame Ti−1 to an input frame buffer in the lossless codec, where the waveform of the previous frame Ti−1 is encoded by a lossy encoder; performing integer window time domain aliasing cancellation INT winTDAC on a waveform in a lossless encoder buffer to obtain a first transform result, and updating the first transform result to an overlapped buffer in the lossless codec; obtaining a waveform of a current frame Ti, and updating the waveform of the current frame Ti to the input frame buffer; and performing integer modified discrete cosine transform INTMDCT on the waveform in the lossless encoder buffer to obtain a second transform result.