IP Library › Granted Patent US 10,431,233
Granted Patent B2
US 10,431,233 · App. 15/814,083 · Granted Oct 1, 2019

Methods, encoder and decoder for linear predictive encoding and decoding of sound signals upon transition between frames having different sampling rates

Inventors: Redwan Salami (Saint-Laurent, CA); Vaclav Eksler (Sherbrooke, CA)
Assignee: VoiceAge EVS LLC
G10L19/12G10L19/06G10L19/167G10L19/173G10L19/24G10L19/26G10L25/06G10L19/07G10L21/038G10L2019/0002G10L2019/0004G10L2019/0016
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,431,233
App. No.
15/814,083
Granted
Oct 1, 2019
Kind
B2
Abstract

Methods, an encoder and a decoder are configured for transition between frames with different internal sampling rates. Linear predictive (LP) filter parameters are converted from a sampling rate S 1 to a sampling rate S 2 . A power spectrum of a LP synthesis filter is computed, at the sampling rate S 1 , using the LP filter parameters. The power spectrum of the LP synthesis filter is modified to convert it from the sampling rate S 1 to the sampling rate S 2 . The modified power spectrum of the LP synthesis filter is inverse transformed to determine autocorrelations of the LP synthesis filter at the sampling rate S 2 . The autocorrelations are used to compute the LP filter parameters at the sampling rate S 2.

Claims (81)

1. A method for encoding a sound signal, comprising:

sampling the sound signal during successive sound signal processing frames;

producing, in response to the sampled sound signal, parameters for encoding the sound signal during the successive frames, wherein the sound signal encoding parameters include linear predictive (LP) filter parameters, wherein producing the LP filter parameters comprises, upon switching from a first one of the frames using an internal sampling rate S 1 to a second one of the frames using an internal sampling rate S 2 , converting LP filter parameters from the first frame from the internal sampling rate S 1 to the internal sampling rate S 2 , and wherein converting the LP filter parameters from the first frame comprises:

computing, at the internal sampling rate S 1 , a power spectrum of a LP synthesis filter using the LP filter parameters;

modifying the power spectrum of the LP synthesis filter to convert it from the internal sampling rate S 1 to the internal sampling rate S 2 based on a ratio between the internal sampling rates S 1 and S 2 ;

inverse transforming the modified power spectrum of the LP synthesis filter to determine autocorrelations of the LP synthesis filter at the internal sampling rate S 2 ; and

using the autocorrelations to compute the LP filter parameters at the internal sampling rate S 2 ; and

encoding the sound signal encoding parameters into a bitstream.

2. The method as recited in claim 1 , wherein modifying the power spectrum of the LP synthesis filter to convert it from the internal sampling rate S 1 to the internal sampling rate S 2 comprises:

if S 1 is less than S 2 , extending the power spectrum of the LP synthesis filter based on the ratio between S 1 and S 2 ;

if S 1 is larger than S 2 , truncating the power spectrum of the LP synthesis filter based on the ratio between S 1 and S 2 .

3. The method as recited in claim 1 , wherein the frames are divided into subframes, and wherein the method comprises computing LP filter parameters in each subframe of a current frame by interpolating LP filter parameters of the current frame at the internal sampling rate S 2 with LP filter parameters of a past frame converted from the internal sampling rate S 1 to the internal sampling rate S 2 .

4. The method as recited in claim 1 , comprising forcing the current frame to an encoding mode that does not use a history of an adaptive codebook.

5. The method as recited in claim 1 , comprising forcing a LP-parameter quantizer to use a non-predictive quantization method in the current frame.

6. The method as recited in claim 1 , wherein the power spectrum of the LP synthesis filter is a discrete power spectrum.

7. The method as recited in claim 1 , comprising:

computing the power spectrum of the LP synthesis filter at K samples;

extending the power spectrum of the LP synthesis filter to K(S 2 /S 1 ) samples when the internal sampling rate S 1 is less than the internal sampling rate S 2 ; and

truncating the power spectrum of the LP synthesis filter to K(S 2 /S 1 ) samples when the internal sampling rate S 1 is greater than the internal sampling rate S 2 .

8. The method as recited in claim 1 , comprising computing the power spectrum of the LP synthesis filter as an energy of a frequency response of the LP synthesis filter.

9. The method as recited in claim 1 , comprising inverse transforming the modified power spectrum of the LP synthesis filter by using an inverse discrete Fourier Transform.

10. The method as recited in claim 1 , comprising searching a fixed codebook using a reduced number of iterations.

11. A method for decoding a sound signal, comprising:

receiving a bitstream including sound signal encoding parameters in successive sound signal processing frames, wherein the sound signal encoding parameters include linear predictive (LP) filter parameters;

decoding from the bitstream the sound signal encoding parameters including the LP filter parameters during the successive sound signal processing frames, and producing from the decoded sound signal encoding parameters an LP synthesis filter excitation signal, wherein decoding the LP filter parameters comprises, upon switching from a first one of the frames using an internal sampling rate S 1 to a second one of the frames using an internal sampling rate S 2 , converting the LP filter parameters from the first frame from the internal sampling rate S 1 to the internal sampling rate S 2 , and wherein converting the LP filter parameters from the first frame comprises:

computing, at the internal sampling rate S 1 , a power spectrum of a LP synthesis filter using the LP filter parameters;

modifying the power spectrum of the LP synthesis filter to convert it from the internal sampling rate S 1 to the internal sampling rate S 2 based on a ratio between the internal sampling rates S 1 and S 2 ;

inverse transforming the modified power spectrum of the LP synthesis filter to determine autocorrelations of the LP synthesis filter at the internal sampling rate S 2 ; and

using the autocorrelations to compute the LP filter parameters at the internal sampling rate S 2 ; and

synthesizing the sound signal using LP synthesis filtering in response to the decoded LP filter parameters and the LP synthesis filter excitation signal.

12. The method as recited in claim 11 , wherein modifying the power spectrum of the LP synthesis filter to convert it from the internal sampling rate S 1 to the internal sampling rate S 2 comprises:

if S 1 is less than S 2 , extending the power spectrum of the LP synthesis filter based on the ratio between S 1 and S 2 ;

if S 1 is larger than S 2 , truncating the power spectrum of the LP synthesis filter based on the ratio between S 1 and S 2 .

13. The method as recited in claim 11 , wherein the frames are divided into subframes, and wherein the method comprises computing LP filter parameters in each subframe of a current frame by interpolating LP filter parameters of the current frame at the internal sampling rate S 2 with LP filter parameters of a past frame converted from the internal sampling rate S 1 to the internal sampling rate S 2 .

14. The method as recited in claim 11 , wherein the power spectrum of the LP synthesis filter is a discrete power spectrum.

15. The method as recited in claim 11 , comprising:

computing the power spectrum of the LP synthesis filter at K samples;

extending the power spectrum of the LP synthesis filter to K(S 2 /S 1 ) samples when the internal sampling rate S 1 is less than the internal sampling rate S 2 ; and

truncating the power spectrum of the LP synthesis filter to K(S 2 /S 1 ) samples when the internal sampling rate S 1 is greater than the internal sampling rate S 2 .

16. The method as recited in claim 11 , comprising computing the power spectrum of the LP synthesis filter as an energy of a frequency response of the LP synthesis filter.

17. The method as recited in claim 11 , comprising inverse transforming the modified power spectrum of the LP synthesis filter by using an inverse discrete Fourier Transform.

18. The method as recited in claim 11 , wherein a post filtering is skipped to reduce decoding complexity.

19. A device for encoding a sound signal, comprising:

at least one processor; and

a memory coupled to the processor and comprising non-transitory instructions that when executed cause the processor to:

produce, in response to the sound signal, parameters for encoding the sound signal during successive sound signal processing frames, wherein (a) the sound signal encoding parameters include linear predictive (LP) filter parameters, (b) for producing the LP filter parameters upon switching from a first one of the frames using an internal sampling rate S 1 to a second one of the frames using an internal sampling rate S 2 , the processor is configured to convert the LP filter parameters from the first frame from the internal sampling rate S 1 to the internal sampling rate S 2 , and (c) for converting the LP filter parameters from the first frame, the processor is configured to:

compute, at the internal sampling rate S 1 , a power spectrum of a LP synthesis filter using the LP filter parameters,

modify the power spectrum of the LP synthesis filter to convert it from the internal sampling rate S 1 to the internal sampling rate S 2 based on a ratio between the internal sampling rates S 1 and S 2 ,

inverse transform the modified power spectrum of the LP synthesis filter to determine autocorrelations of the LP synthesis filter at the internal sampling rate S 2 , and

use the autocorrelations to compute the LP filter parameters at the internal sampling rate S 2 , and

encode the sound signal encoding parameters into a bitstream.

20. The device as recited in claim 19 , wherein the processor is configured to:

extend the power spectrum of the LP synthesis filter based on the ratio between S 1 and S 2 if S 1 is less than S 2 ; and

truncate the power spectrum of the LP synthesis filter based on the ratio between S 1 and S 2 if S 1 is larger than S 2 .

21. The device as recited in claim 19 , wherein the frames are divided into subframes, and wherein the processor is configured to compute LP filter parameters in each subframe of a current frame by interpolating LP filter parameters of the current frame at the internal sampling rate S 2 with LP filter parameters of a past frame converted from the internal sampling rate S 1 to the internal sampling rate S 2 .

22. The device as recited in claim 19 , wherein the processor is configured to:

compute the power spectrum of the LP synthesis filter at K samples;

extend the power spectrum of the LP synthesis filter to K(S 2 /S 1 ) samples when the internal sampling rate S 1 is less than the internal sampling rate S 2 ; and

truncate the power spectrum of the LP synthesis filter to K(S 2 /S 1 ) samples when the internal sampling rate S 1 is greater than the internal sampling rate S 2 .

23. The device as recited in claim 19 , wherein the processor is configured to compute the power spectrum of the LP synthesis filter as an energy of a frequency response of the LP synthesis filter.

24. The device as recited in claim 19 , wherein the processor is configured to inverse transform the modified power spectrum of the LP synthesis filter by using an inverse discrete Fourier Transform.

25. A device for decoding a sound signal, comprising:

at least one processor; and

a memory coupled to the processor and comprising non-transitory instructions that when executed cause the processor to:

receive a bitstream including sound signal encoding parameters in successive sound signal processing frames, wherein the sound signal encoding parameters include linear predictive (LP) filter parameters;

decode from the bitstream the sound signal encoding parameters including the LP filter parameters during the successive sound signal processing frames, and produce from the decoded sound signal encoding parameters an LP synthesis filter excitation signal, wherein (a) for decoding the LP filter parameters upon switching from a first one of the frames using an internal sampling rate S 1 to a second one of the frames using an internal sampling rate S 2 , the processor is configured to convert the LP filter parameters from the first frame from the internal sampling rate S 1 to the internal sampling rate S 2 , and (b) for converting the LP filter parameters from the first frame, the processor is configured to:

compute, at the internal sampling rate S 1 , a power spectrum of a LP synthesis filter using the received LP filter parameters,

modify the power spectrum of the LP synthesis filter to convert it from the internal sampling rate S 1 to the internal sampling rate S 2 based on a ratio between the internal sampling rates S 1 and S 2 ,

inverse transform the modified power spectrum of the LP synthesis filter to determine autocorrelations of the LP synthesis filter at the internal sampling rate S 2 , and

use the autocorrelations to compute the LP filter parameters at the internal sampling rate S 2 , and

synthesize the sound signal using LP synthesis filtering in response to the decoded LP filter parameters and the LP synthesis filter excitation signal.

26. The device as recited in claim 25 , wherein the processor is configured to:

extend the power spectrum of the LP synthesis filter based on the ratio between S 1 and S 2 if S 1 is less than S 2 ; and

truncate the power spectrum of the LP synthesis filter based on the ratio between S 1 and S 2 if S 1 is larger than S 2 .

27. The device as recited in claim 25 , wherein the frames are divided into subframes, and wherein the processor is configured to compute LP filter parameters in each subframe of a current frame by interpolating LP filter parameters of the current frame at the internal sampling rate S 2 with LP filter parameters of a past frame converted from the internal sampling rate S 1 to the internal sampling rate S 2 .

28. The device as recited in claim 25 , wherein the processor is configured to:

compute the power spectrum of the LP synthesis filter at K samples;

extend the power spectrum of the LP synthesis filter to K(S 2 /S 1 ) samples when the internal sampling rate S 1 is less than the internal sampling rate S 2 ; and

truncate the power spectrum of the LP synthesis filter to K(S 2 /S 1 ) samples when the internal sampling rate S 1 is greater than the internal sampling rate S 2 .

29. The device as recited in claim 25 , wherein the processor is configured to compute the power spectrum of the LP synthesis filter as an energy of a frequency response of the LP synthesis filter.

30. The device as recited in claim 25 , wherein the processor is configured to inverse transform the modified power spectrum of the LP synthesis filter by using an inverse discrete Fourier Transform.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 19, 2019
From: VOICEAGE CORPORATION
To: VOICEAGE EVS LLC
Reel/Frame 050085/0762 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 16, 2017
From: SALAMI, REDWAN; EKSLER, VACLAV
To: VOICEAGE CORPORATION
Reel/Frame 044149/0903 →
Continuity (3)
Continuation 14677672 · Apr 2, 2015
Provisional Application 61980865 · Apr 17, 2014
Related Publication 20180137871A1 · May 17, 2018
Cited By (1)
US 12,394,425