Estimating a pitch lag
AssigneeQUALCOMM Incorporated
InventorsVenkatesh Krishnan, Stephane Pierre Villette
Life of this patent
Estimating the term…
Abstract
An electronic device for estimating a pitch lag is described. The electronic device includes a processor and executable instructions stored in memory that is in electronic communication with the processor. The electronic device obtains a current frame. The electronic device also obtains a residual signal based on the current frame. The electronic device additionally determines a set of peak locations based on the residual signal. Furthermore, the electronic device obtains a set of pitch lag candidates based on the set of peak locations. The electronic device also estimates a pitch lag based on the set of pitch lag candidates.
Claims50
An electronic device for estimating a pitch lag, comprising:
- a processor;
- memory in electronic communication with the processor;
- instructions stored in the memory, the instructions being executable to:
- obtain a current frame of a digital speech signal;
- obtain a residual signal based on the current frame;
- determine a set of peak locations based on the residual signal, wherein determining the set of peak locations comprises calculating an envelope signal based on samples of the residual signal and a window signal, calculating a first gradient signal based on a difference between the envelope signal and a time-shifted version of the envelope signal, calculating a second gradient signal based on a difference between the first gradient signal and a time-shifted version of the first gradient signal, and selecting a first set of location indices where a second gradient signal value falls below a first threshold;
- obtain a set of pitch lag candidates based on the set of peak locations by determining a distance between peak locations within the current frame;
- and
- estimate a pitch lag based on the set of pitch lag candidates.
An electronic device for estimating a pitch lag, comprising:
- a processor;
- memory in electronic communication with the processor;
- instructions stored in the memory, the instructions being executable to:
- obtain a speech signal;
- obtain a set of pitch lag candidates based on the speech signal;
- determine a set of confidence measures corresponding to the set of pitch lag candidates;
- and
- estimate a pitch lag based on the set of pitch lag candidates and the set of confidence measures using an iterative pruning algorithm that removes a pitch lag candidate based on a weighted mean and recalculates the weighted mean, wherein the weighted mean is calculated using the set of pitch lag candidates and the set of confidence measures.
A method for estimating a pitch lag on an electronic device, comprising:
- obtaining a current frame of a digital speech signal;
- obtaining a residual signal based on the current frame;
- determining a set of peak locations based on the residual signal, wherein determining the set of peak locations comprises calculating an envelope signal based on samples of the residual signal and a window signal, calculating a first gradient signal based on a difference between the envelope signal and a time-shifted version of the envelope signal, calculating a second gradient signal based on a difference between the first gradient signal and a time-shifted version of the first gradient signal, and selecting a first set of location indices where a second gradient signal value falls below a first threshold;
- obtaining a set of pitch lag candidates based on the set of peak locations by determining a distance between peak locations within the current frame;
- and
- estimating a pitch lag based on the set of pitch lag candidates.
A method for estimating a pitch lag on an electronic device, comprising:
- obtaining a speech signal;
- obtaining a set of pitch lag candidates based on the speech signal;
- determining a set of confidence measures corresponding to the set of pitch lag candidates;
- and
- estimating a pitch lag based on the set of pitch lag candidates and the set of confidence measures using an iterative pruning algorithm that removes a pitch lag candidate based on a weighted mean and recalculates the weighted mean, wherein the weighted mean is calculated using the set of pitch lag candidates and the set of confidence measures.
A computer-program product for estimating a pitch lag, comprising a non-transitory tangible computer-readable medium having instructions thereon, the instructions comprising:
- code for causing an electronic device to obtain a current frame of a digital speech signal;
- code for causing the electronic device to obtain a residual signal based on the current frame;
- code for causing the electronic device to determine a set of peak locations based on the residual signal, wherein the code for determining the set of peak locations comprises code for calculating an envelope signal based on samples of the residual signal and a window signal, code for calculating a first gradient signal based on a difference between the envelope signal and a time-shifted version of the envelope signal, code for calculating a second gradient signal based on a difference between the first gradient signal and a time-shifted version of the first gradient signal, and code for selecting a first set of location indices where a second gradient signal value falls below a first threshold;
- code for causing the electronic device to obtain a set of pitch lag candidates based on the set of peak locations by determining a distance between peak locations within the current frame;
- and
- code for causing the electronic device to estimate a pitch lag based on the set of pitch lag candidates.
A computer-program product for estimating a pitch lag, comprising a non-transitory tangible computer-readable medium having instructions thereon, the instructions comprising:
- code for causing an electronic device to obtain a speech signal;
- code for causing the electronic device to obtain a set of pitch lag candidates based on the speech signal;
- code for causing the electronic device to determine a set of confidence measures corresponding to the set of pitch lag candidates;
- and
- code for causing the electronic device to estimate a pitch lag based on the set of pitch lag candidates and the set of confidence measures using an iterative pruning algorithm that removes a pitch lag candidate based on a weighted mean and recalculates the weighted mean, wherein the weighted mean is calculated using the set of pitch lag candidates and the set of confidence measures.
An apparatus for estimating a pitch lag, comprising:
- means for obtaining a current frame of a digital speech signal;
- means for obtaining a residual signal based on the current frame;
- means for determining a set of peak locations based on the residual signal, wherein the means for determining the set of peak locations comprises means for calculating an envelope signal based on samples of the residual signal and a window signal, means for calculating a first gradient signal based on a difference between the envelope signal and a time-shifted version of the envelope signal, means for calculating a second gradient signal based on a difference between the first gradient signal and a time-shifted version of the first gradient signal, and means for selecting a first set of location indices where a second gradient signal value falls below a first threshold;
- means for obtaining a set of pitch lag candidates based on the set of peak locations by determining a distance between peak locations within the current frame;
- and
- means for estimating a pitch lag based on the set of pitch lag candidates.
An apparatus for estimating a pitch lag, comprising:
- means for obtaining a speech signal;
- means for obtaining a set of pitch lag candidates based on the speech signal;
- means for determining a set of confidence measures corresponding to the set of pitch lag candidates;
- and
- means for estimating a pitch lag based on the set of pitch lag candidates and the set of confidence measures using an iterative pruning algorithm that removes a pitch lag candidate based on a weighted mean and recalculates the weighted mean, wherein the weighted mean is calculated using the set of pitch lag candidates and the set of confidence measures.
Dependencies are inferred from the claim text.