Pitch Lag Selection for Stable Low-Complexity LTPF Encoding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current low complexity pitch detection algorithms for Long Term Post Filtering (LTPF) in audio codecs are not satisfactory, particularly for complex signals like polyphonic music, resulting in unstable pitch contours due to jumps between local maxima of the weighted autocorrelation function.

Innovation Solution

A method involving two estimators to determine a pitch lag for an audio signal, where the first estimator finds the lag maximizing a correlation function for the current frame, and the second estimator searches within a subinterval containing the previous frame's pitch lag, with a selector choosing between the estimates based on normalized autocorrelation measurements to stabilize the pitch contour.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If a low complexity pitch detection algorithm is used for LTPF encoding, then computational complexity is reduced, but pitch contour stability deteriorates due to jumps between local maxima

Engineering Contradiction:
Improvecomputational complexityVSAvoidpitch contour stability
Core Design Contradiction:
Device complexityVSStability of the object's composition

Solution Approach 1:

The pitch detection range is segmented into multiple subintervals, with each subinterval dedicated to detecting a specific harmonic component (fundamental frequency, second harmonic, third harmonic, etc.). This segmentation allows the algorithm to systematically search for local maxima in each subinterval and select the most appropriate pitch lag, thereby improving pitch contour stability while maintaining low computational complexity through targeted local searches rather than exhaustive global search.

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If the pitch detection searches the entire lag range to find the global maximum, then measurement precision is improved, but computational complexity increases

Engineering Contradiction:
Improvepitch lag estimation accuracyVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

Different subintervals are assigned to detect different harmonic components with specialized search strategies. The fundamental frequency subinterval searches for the primary pitch lag, while higher harmonic subintervals search for their respective local maxima. This local quality approach ensures that each subinterval's search is optimized for its specific harmonic component, achieving accurate pitch lag estimation for complex signals without requiring a computationally expensive exhaustive search of the entire lag range.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

Instead of performing a complete exhaustive search of the entire lag range to guarantee finding the global maximum, the algorithm performs partial searches within multiple subintervals. By detecting local maxima in each subinterval and selecting the most appropriate one based on correlation measurements, the algorithm achieves sufficient accuracy for LTPF encoding without the excessive computational cost of a full global search.

Inventive Principle:
Principle #16Partial or excessive action

3Stability of the object's composition

If a stable pitch contour is prioritized by using conventional algorithms, then pitch continuity is improved, but adaptability to complex signals deteriorates

Engineering Contradiction:
Improvepitch contour continuityVSAvoidadaptability to complex signals
Core Design Contradiction:
Stability of the object's compositionVSAdaptability or versatility

Solution Approach 1:

The algorithm dynamically adapts its search strategy based on the signal characteristics in each frame. By dividing the lag range into multiple subintervals and detecting local maxima in each, the algorithm can flexibly respond to changing pitch conditions in complex signals like polyphonic music. The dynamic selection of pitch lag based on correlation measurements across subintervals allows the system to maintain stable pitch contours while adapting to varying signal content, resolving the contradiction between stability and adaptability.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11380341B2Selecting pitch lag
Publication Date: 2022.07.05 FRAUNHOFER GESELLSCHAFT ZUR FORDERUNG DER ANGEWANDTEN FORSCHUNG EV
  • US11380341B2 patent drawing
  • US11380341B2 patent drawing
  • US11380341B2 patent drawing

AI summary

In apparatus, methods, and programs for selecting pitch lag, an encoder obtains a first and a second estimates of a pitch lag for a current frame. A selected value is chosen by selection between the first and the second estimates, based on a first and a second correlation measurements. The second estimate is conditioned by the pitch lag selected at the previous frame. The selection is based on a comparison between: a downscaled version of a first correlation measurement associated to the current frame and obtained at a lag corresponding to the first estimate; and a second correlation measurement associated to the current frame and obtained at a lag corresponding to the second estimate.