Claims
- 1. A method for detecting and correcting gross errors in pitch period estimates of a speech signal, comprising the steps of:
- determining an average of nonzero values of received pitch period estimates;
- accepting a current pitch period estimate if said current pitch period estimate is within a predetermined range of said average; and
- correcting said current pitch period estimate if said current pitch period estimate is outside said predetermined range of said average.
- 2. The detecting and correcting method of claim 1, wherein said predetermined range is
- 0.75P(i)<p(i)<1.25P(i),
- where P(i) is said average and p(i) is said current pitch period estimate.
- 3. The detecting and correcting method of claim 1, wherein said step of correcting said current pitch period estimate comprises:
- (1) if preceding and succeeding pitch period estimates p(i-1) and p(i+1), respectively, are both nonzero, setting p(i) equal to an average of p(i-1) and p(i+1); and
- (2) if one of p(i-1) and p(i+1) is nonzero, setting p(i) equal to the nonzero one of p(i-1) and p(i+1).
- 4. The detecting and correcting method of claim 3, further comprising the step of, if both p(i-1) and p(i+1) are zero, setting p(i) equal to zero.
- 5. The detecting and correcting method of claim 4, further comprising the steps of:
- counting a number of consecutive times of correcting said current pitch period estimate p(i) without p(i) being in said predetermined range or p(i) being set equal to zero; and
- discarding said average and determining a new average when the count exceeds a predetermined limit value.
- 6. The detecting and correcting method of claim 4, wherein said predetermined limit value is three.
- 7. The detecting and correcting method of claim 1, wherein said step of determining said average comprises recursively calculating: ##EQU3## where N.sub.nz is a number of nonzero values of p(i) included in said average.
- 8. The detecting and correcting method of claim 1, wherein said step of averaging comprises averaging a predetermined minimum number of nonzero values of said received pitch period estimate before proceeding to said step of accepting a current pitch period estimate.
- 9. The detecting and correcting method of claim 8, wherein said predetermined minimum number is eight.
Government Interests
The invention described herein was made in the performance of work under NASA Contract No. 957113/(MS-86-0091) and is subject to the provisions of Section 305 of the National Aeronautics and Space Act of 1958 (75 Stat. 435; 42 U.S.C. 2457).
US Referenced Citations (9)