CA2391562C - Gain-smoothing in wideband speech and audio signal decoder - Google Patents

Gain-smoothing in wideband speech and audio signal decoder Download PDF

Info

Publication number
CA2391562C
CA2391562C CA 2391562 CA2391562A CA2391562C CA 2391562 C CA2391562 C CA 2391562C CA 2391562 CA2391562 CA 2391562 CA 2391562 A CA2391562 A CA 2391562A CA 2391562 C CA2391562 C CA 2391562C
Authority
CA
Canada
Prior art keywords
gain
codevector
signal
smoothed
wideband signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CA 2391562
Other languages
French (fr)
Other versions
CA2391562A1 (en
Inventor
Bruno Bessette
Redwan Salami
Roch Lefebvre
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
VoiceAge Corp
Original Assignee
VoiceAge Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CA002290037A external-priority patent/CA2290037A1/en
Application filed by VoiceAge Corp filed Critical VoiceAge Corp
Priority to CA 2391562 priority Critical patent/CA2391562C/en
Publication of CA2391562A1 publication Critical patent/CA2391562A1/en
Application granted granted Critical
Publication of CA2391562C publication Critical patent/CA2391562C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/08Determination or coding of the excitation function; Determination or coding of the long-term prediction parameters
    • G10L19/083Determination or coding of the excitation function; Determination or coding of the long-term prediction parameters the excitation function being an excitation gain

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Reduction Or Emphasis Of Bandwidth Of Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The gain smoothing method and device modify the amplitude of an innovative codevector in relation to background noise present in a previously sampled wideband signal. The gain smoothing device comprises a gain smoothing calculator for calculating a smoothing gain in response to a factor representative of voicing in the sampled wideband signal, a factor representative of the stability of a set of linear prediction filter coefficients, and an innovative codebook gain. The gain smoothing device also comprises an amplifier for amplifying the innovative codevector with the smoothing gain to thereby produce a gain-smoothed innovative codevector. The function of the gain-smoothing device improves the perceived synthesized signal when background noise is present in the sampled wideband signal.

Claims (42)

The embodiments of the invention in which an exclusive property or privilege is claimed are defined as follows:
1. A method for producing a gain-smoothed codevector during decoding of an encoded wideband signal from a set of signal encoding parameters, said method comprising:
finding a codevector in relation to at least one first signal encoding parameter of said set;
calculating a first factor representative of voicing in the wideband signal in response to at least one second signal encoding parameter of said set;
calculating a second factor representative of stability of said wideband signal in response to at least one third signal encoding parameter of said set;
calculating a smoothing gain in relation to said first and second factors; and amplifying the found codevector with said smoothing gain to thereby produce said gain-smoothed codevector.
2. A gain-smoothed codevector producing method as claimed in claim 1, wherein:
finding a codevector comprises finding an innovative codevector in an innovative codebook in relation to said at least one first signal encoding parameter; and the smoothing gain calculation comprises calculating the smoothing gain also in relation to an innovative codebook gain forming a fourth signal encoding parameter of said set.
3. A gain-smoothed codevector producing method as claimed in claim 1, wherein:

finding a codevector comprises finding a codevector in a codebook in relation to said at least one first signal encoding parameter;
and said at least one first signal encoding parameter comprises an innovative codebook index.
4. A gain-smoothed codevector producing method as claimed in claim 1, wherein:
finding a codevector comprises finding an innovative codevector in an innovative codebook in relation to said at least one first signal encoding parameter; and said at least one second signal encoding parameter comprises the following parameters:
a pitch gain computed during encoding of the wideband signal;
a pitch delay computed during encoding of the wideband signal;
an index j of a low-pass filter selected during encoding of the wideband signal and.applied to a pitch codevector computed during encoding of the wideband signal; and an innovative codebook index computed during encoding of the wideband signal.
5. A gain-smoothed codevector producing method as claimed in claim 1, wherein said at least one third signal encoding parameter comprises coefficients of a linear prediction filter calculated during encoding of the wideband signal.
6. A gain-smoothed codevector producing method as claimed in claim 1, wherein:
finding a codevector comprises finding an innovative codevector in an innovative codebook in relation to an index k of said innovative codebook, said index k forming said at least one first signal encoding parameter; and calculating a first factor comprises computing a voicing factor rv by means of the following relation:
rv = (Ev - Ec) / (Ev + Ec) where:
- Ev is the energy of a scaled adaptive codevector bvT;
- Ec is the energy of a scaled innovative codevector gck;
- b is a pitch gain computed during encoding of the wideband signal;
- T is a pitch delay computed during encoding of the wideband signal;
- vT is an adaptive codebook vector at pitch delay T;
- g is an innovative codebook gain computed during encoding of the wideband signal;
- k is an index of the innovative codebook computed during encoding of the wideband signal; and - ck is the innovative codevector of said innovative codebook at index k.
7. A gain-smoothed codevector producing method as claimed in claim 6, wherein the voicing factor rv has a value located between -1 and 1, wherein value 1 corresponds to a pure voiced signal and value -1 corresponds to a pure unvoiced signals.
8. A gain-smoothed codevector producing method as claimed in claim 7, wherein calculating a first factor comprises computing a factor .lambda. using the following relation:
.lambda. = 0.5 (1 - rv).
9. A gain-smoothed codevector producing method as claimed in claim 6, wherein a factor .lambda.=0 indicates a pure voiced signal and a factor .lambda.=1 indicates a pure unvoiced signal.
10. A gain-smoothed codevector producing method as claimed in claim 1, wherein calculating a second factor comprises determining a distance measure giving a similarity between adjacent, successive linear prediction filters computed during encoding of the wideband signal.
11. A gain-smoothed codevector producing method as claimed in claim 10, wherein:
the wideband signal is sampled prior to encoding, and is processed by frames during encoding and decoding; and determining a distance measure comprises calculating an Immitance Spectral Pair distance measure between the Immitance Spectral Pairs in a present frame n of the wideband signal and the Immitance Spectral Pairs of a past frame n-1 of the wideband signal through the following relation:
where p is the order of the linear prediction filters.
12. A gain-smoothed codevector producing method as claimed in claim 11, wherein calculating a second factor comprises mapping the Immitance Spectral Pair distance measure Ds to said second factor .theta. through the following relation:

bounded by 0 <= .theta. <= 1.
13. A gain-smoothed codevector producing method as claimed in claim 1, wherein calculating a smoothing gain comprises calculating a gain smoothing factor Sm based on both the first .lambda. and second .theta.
factors through the following relation:
S m=.lambda..theta.
14. A gain-smoothed codevector producing method as claimed in claim 13, wherein the factor Sm has a value approaching 1 for an unvoiced and stable wideband signal, and a value approaching 0 for a pure voiced wideband signal or an unstable wideband signal.
15. A gain-smoothed codevector producing method as claimed in claim 1, wherein:
finding a codevector comprises finding an innovative codevector in an innovative codebook in relation to said at least one first signal encoding parameter;
the wideband signal is sampled prior to encoding, and is - processed by frames and subframes during encoding and decoding; and calculating a smoothing gain comprises computing an initial modified gain g0 by comparing an innovative codebook gain g computed during encoding of the wideband signal to a threshold given by the initial modified gain from the past subframe g-1 as follows:
if g<g-1 then g0=g × 1.19 bounded by g0 <= g-1 and if g >= g-1 then g0=g/1.19 bounded by g0 >= g-1.
16. A gain-smoothed codevector producing method as claimed in claim 15, wherein calculating a smoothing gain comprises determining said smoothing gain through the following relation:
g s=S m*g0+(1-S m)*g
17. A method for producing a gain-smoothed codevector during decoding of an encoded wideband signal from a set of signal encoding parameters, said signal containing stationary background noise and said method comprising:
finding a codevector in relation to at least one first signal encoding parameter of said set;
calculating at least one factor indicative of stationary background noise in the signal in response to at least one second signal encoding parameter of said set;
calculating, in relation to said noise representative factor, a smoothing gain using a non linear operation; and amplifying the found codevector with said smoothing gain to thereby produce said gain-smoothed codevector.
18. A method for producing a gain-smoothed codevector during decoding of an encoded wideband signal from a set of signal encoding parameters, said method comprising:
finding a codevector in relation to at least one first signal encoding parameter of said set;
calculating at least one factor indicative of stationary background noise in the signal in response to at least one second signal encoding parameter of said set, said at least one factor indibative of stationary background noise comprising a factor representative of voicing in the signal;

calculating, in relation to said at least one noise indicative factor including the voicing representative factor, a smoothing gain using a non linear operation; and amplifying the found codevector with said smoothing gain to thereby produce said gain-smoothed codevector.
19. A method for producing a gain-smoothed codevector during decoding of an encoded wideband signal from a set of signal encoding parameters, said method comprising:
finding a codevector in relation to at least one first signal encoding parameter of said set;
calculating at least one factor indicative of stationary background noise in the signal in response to at least one second signal encoding parameter of said set, said at least one factor indicative of stationary background noise comprising a factor representative of stability of said wideband signal;
calculating, in relation to said at least one noise indicative factor including the stability representative factor, a smoothing gain using a non linear operation; and amplifying the found codevector with said smoothing gain to thereby produce said gain-smoothed codevector.
20. A device for producing a gain-smoothed codevector during decoding of an encoded wideband signal from a set of signal encoding parameters, said device comprising:
means for finding a codevector in relation to at least one first signal encoding parameter of said set;
means for calculating a first factor representative of voicing in the wideband signal in response to at least one second signal encoding parameter of said set;
means for calculating a second factor representative of stability of said wideband signal in response to at least one third signal encoding parameter of said set;

means for calculating a smoothing gain in relation to said first and second factors; and means for amplifying the found codevector with said smoothing gain to thereby produce said gain-smoothed codevector.
21. A gain-smoothed codevector producing device as claimed in claim 20, wherein:
the means for finding a codevector comprises means for finding an innovative codevector in an innovative codebook in relation to said at least one first signal encoding parameter; and the smoothing gain calculating means comprises means for calculating the smoothing gain also in relation to an innovative codebook gain forming a fourth signal encoding parameter of said set.
22. A gain-smoothed codevector producing device as claimed in claim 20, wherein:
the means for finding a codevector comprises means for finding a codevector in a codebook in relation to said at least one first signal encoding parameter; and said at least one first signal encoding parameter comprises an innovative codebook index.
23. A gain-smoothed codevector producing device as claimed in claim 20, wherein:
the means for finding a codevector comprises means for finding an innovative codevector in an innovative codebook in relation to said at least one first signal encoding parameter; and said at least one second signal encoding parameter comprises the following parameters:
a pitch gain computed during encoding of the wideband signal;
a pitch delay computed during encoding of the wideband signal;

an index j of a low-pass filter selected during encoding of the wideband signal and applied to a pitch codevector computed during encoding of the wideband signal; and an innovative codebook index computed during encoding of the wideband signal.
24. A gain-smoothed codevector producing device as claimed in claim 20, wherein said at least one third signal encoding parameter comprises coefficients of a linear prediction filter calculated during encoding of the wideband signal.
25. A gain-smoothed codevector producing device as claimed in claim 20, wherein:
the means for finding a codevector comprises means for finding an innovative codevector in an innovative codebook in relation to an index k of said innovative codebook, said index k forming said at least one first signal encoding parameter; and the means for calculating a first factor comprises means for computing a voicing factor rv by means of the following relation:
rv = (Ev - Ec) / (Ev + Ec) where:
- Ev is the energy of a scaled adaptive codevector bvT;
- Ec is the energy of a scaled innovative codevector gck;
- b is a pitch gain computed during encoding of the wideband signal;
- T is a pitch delay computed during encoding of the wideband signal;
- vT is an adaptive codebook vector at pitch delay T;
- g is an innovative codebook gain computed during encoding of the wideband signal;

- k is an index of the innovative codebook computed during encoding of the wideband signal; and - ck is the innovative codevector of said innovative codebook at index k.
26. A gain-smoothed codevector producing device as claimed in claim 25, wherein the voicing factor rv has a value located between -1 and 1, wherein value 1 corresponds to a pure voiced signal and value -1 corresponds to a pure unvoiced signals.
27. A gain-smoothed codevector producing device as claimed in claim 26, wherein the means for calculating a first factor comprises means for computing a factor .lambda. using the following relation: -.lambda. = 0.5 (1 - rv).
28. A gain-smoothed codevector producing device as claimed in claim 27, wherein a factor .lambda.=0 indicates a pure voiced signal and a factor .lambda.=1 indicates a pure unvoiced signal.
29. A gain-smoothed codevector producing device as claimed in claim 20, wherein the means for calculating a second factor comprises means for determining a distance measure giving a similarity between adjacent, successive linear prediction filters computed during encoding of the wideband signal.
30. A gain-smoothed codevector producing device as claimed in claim 29, wherein:
the wideband signal is sampled prior to encoding, and is processed by frames during encoding and decoding; and the means for determining a distance measure comprises means for calculating an Immitance Spectral Pair distance measure between the Immitance Spectral Pairs in a present frame n of the wideband signal and the Immitance Spectral Pairs of a past frame n-1 of the wideband signal through the following relation:
where p is the order of the linear prediction filters.
31. A gain-smoothed codevector producing device as claimed in claim 30, wherein the means for calculating a second factor comprises means for mapping the Immitance Spectral Pair distance measure Ds to said second factor .theta. through the following relation:
.theta.=1.25 - D s / 400000.0 bounded by 0 <= .theta. <= 1.
32. A gain-smoothed codevector producing device as claimed in claim 20, wherein the means for calculating a smoothing gain comprises means for calculating a gain smoothing factor Sm based on both the first .lambda.
and second .theta.
factors through the following relation:
S m = .lambda..theta.
33. A gain-smoothed codevector producing device as claimed in claim 32, wherein the factor Sm has a value approaching 1 for an unvoiced and stable wideband signal, and a value approaching 0 for a pure voiced wideband signal or an unstable wideband signal.
34. A gain-smoothed codevector producing device as claimed in claim 20, wherein:

the means for finding a codevector comprises means for finding an innovative codevector in an innovative codebook in relation to said at least one first signal encoding parameter;
the wideband signal is sampled prior to encoding, and is processed by frames and subframes during encoding and decoding; and the means for calculating a smoothing gain comprises means for computing an initial modified gain g O , said initial modified gain computing means comprising means for comparing an innovative codebook gain g computed during encoding of the wideband signal to a threshold given by the initial modified gain from the past subframe g-1 as follows:
if g<g-1 then g O=g x 1.19 bounded by g O <= g-1 and if g >= g-1 then g O=g/1.19 bounded by g O >= g-1.
35. A gain-smoothed codevector producing method as claimed in claim 34, wherein the means for calculating a smoothing gain comprises means for determining said smoothing gain through the following relation:
g s=S m*g o+(1-S m)*g
36. A device for producing a gain-smoothed codevector during decoding of an encoded wideband signal from a set of signal encoding parameters, said signal containing stationary background noise and said device comprising:
means for finding a codevector in relation to at least one first signal encoding parameter of said set;

means for calculating at least one factor indicative of stationary background noise in the signal in response to at least one second signal encoding parameter of said set;
means for calculating, in relation to said noise representative factor, a smoothing gain using a non linear operation; and means for amplifying the found codevector with said smoothing gain to thereby produce said gain-smoothed codevector.
37. A device for producing a gain-smoothed codevector during decoding of an encoded wideband signal from a set of signal encoding parameters, said device comprising:
means for finding a codevector in relation to at least one first signal encoding parameter of said set;
means for calculating at least one factor indicative of stationary background noise in the signal in response to at least one second signal encoding parameter of said set, said at least one factor indicative of stationary background noise comprising a factor representative of voicing in the signal;
means for calculating, in relation to said at least one noise indicative factor including the voicing representative factor, a smoothing gain using a non linear operation; and means for amplifying the found codevector with said smoothing gain to thereby produce said gain-smoothed codevector.
38. A device for producing a gain-smoothed codevector during decoding of an encoded wideband signal from a set of signal encoding parameters, said device comprising:
means for finding a codevector in relation to at least one first signal encoding parameter of said set;
means for calculating at least one factor indicative of stationary background noise in the signal in response to at least one second signal encoding parameter of said set, said at least one factor indicative of stationary background noise comprising a factor representative of stability of said wideband signal;
means for calculating, in relation to said at least one noise indicative factor including the stability representative factor, a smoothing gain using a non linear operation; and means for amplifying the found codevector with said smoothing gain to thereby produce said gain-smoothed codevector.
39. A cellular communication system for servicing a geographical area divided into a plurality of cells, comprising:
mobile transmitter/receiver units;
cellular base stations respectively situated in said cells;
means for controlling communication between the cellular base stations;
a bidirectional wireless communication sub-system between each mobile unit situated in one cell and the cellular base station of said one cell, said bidirectional wireless communication sub-system comprising in both the mobile unit and the cellular base station (a) a transmitter including a decoder for encoding a wideband signal and means for transmitting the encoded wideband signal, and (b) a receiver including means for receiving a transmitted encoded wideband signal and a decoder for decoding the received encoded wideband signal;
wherein said decoder comprises means responsive to a set of signal encoding parameters for decoding the received encoded wideband signal, and wherein said wideband signal decoding means comprises a device as recited in any one of claims 20 to 38, for producing a gain-smoothed codevector during decoding of the encoded wideband signal from said set of signal encoding parameters.
40. A communication network element comprising a receiver including means for receiving a transmitted encoded wideband signal and a decoder for decoding the received encoded wideband signal;

wherein said decoder comprises means responsive to a set of signal encoding parameters for decoding the received encoded wideband signal, and wherein said wideband signal decoding means comprises a device as recited in any one of claims 20 to 38, for producing a gain-smoothed codevector during decoding of the encoded wideband signal from said set of signal encoding parameters.
41. A mobile transmitter/receiver unit comprising a receiver including means for receiving a transmitted encoded wideband signal and a decoder for decoding the received encoded wideband signal;
wherein said decoder comprises means responsive to a set of signal encoding parameters for decoding the received encoded wideband signal, and wherein said wideband signal decoding means comprises a device as recited in any one of claims 20 to 38, for producing a gain-smoothed codevector during decoding of the encoded wideband signal from said set of signal encoding parameters.
42. In a cellular communication system for servicing a geographical area divided into a plurality of cells, comprising: mobile transmitter/receiver units; cellular base stations respectively situated in said cells;
and means for controlling communication between the cellular base stations;
- a bidirectional wireless communication sub-system between each mobile unit situated in one cell and the cellular base station of said one cell, said bidirectional wireless communication sub-system comprising in both the mobile unit and the cellular base station (a) a transmitter including an encoder for encoding a wideband signal and means for transmitting the encoded wideband signal, and (b) a receiver including means for receiving a transmitted encoded wideband signal and a decoder for decoding the received encoded wideband signal;
wherein said decoder comprises means responsive to a set of signal encoding parameters for decoding the received encoded wideband signal, and wherein said wideband signal decoding means comprises a device as recited in any one of claims 20 to 38, for producing a gain-smoothed codevector during decoding of the encoded wideband signal from said set of signal encoding parameters.
CA 2391562 1999-11-18 2000-11-17 Gain-smoothing in wideband speech and audio signal decoder Expired - Lifetime CA2391562C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CA 2391562 CA2391562C (en) 1999-11-18 2000-11-17 Gain-smoothing in wideband speech and audio signal decoder

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CA2,290,037 1999-11-18
CA002290037A CA2290037A1 (en) 1999-11-18 1999-11-18 Gain-smoothing amplifier device and method in codecs for wideband speech and audio signals
CA 2391562 CA2391562C (en) 1999-11-18 2000-11-17 Gain-smoothing in wideband speech and audio signal decoder
PCT/CA2000/001381 WO2001037264A1 (en) 1999-11-18 2000-11-17 Gain-smoothing in wideband speech and audio signal decoder

Publications (2)

Publication Number Publication Date
CA2391562A1 CA2391562A1 (en) 2001-05-25
CA2391562C true CA2391562C (en) 2006-05-16

Family

ID=25681334

Family Applications (1)

Application Number Title Priority Date Filing Date
CA 2391562 Expired - Lifetime CA2391562C (en) 1999-11-18 2000-11-17 Gain-smoothing in wideband speech and audio signal decoder

Country Status (1)

Country Link
CA (1) CA2391562C (en)

Also Published As

Publication number Publication date
CA2391562A1 (en) 2001-05-25

Similar Documents

Publication Publication Date Title
RU2219507C2 (en) Perceptive weighing method and device for effective coding of broadband signals
EP0698877B1 (en) Postfilter and method of postfiltering
US5933803A (en) Speech encoding at variable bit rate
KR100898324B1 (en) Spectral magnitude quantization for a speech coder
EP0770987B1 (en) Method and apparatus for reproducing speech signals, method and apparatus for decoding the speech, method and apparatus for synthesizing the speech and portable radio terminal apparatus
EP1738355B1 (en) Signal encoding
KR100675126B1 (en) Speech coding with comfort noise variability feature for increased fidelity
JP4662673B2 (en) Gain smoothing in wideband speech and audio signal decoders.
CN102341852B (en) Filtering speech
EP0784311A1 (en) Method and device for voice activity detection and a communication device
US11430456B2 (en) Encoding method, decoding method, encoding apparatus, and decoding apparatus
EP0843302B1 (en) Voice coder using sinusoidal analysis and pitch control
US6047253A (en) Method and apparatus for encoding/decoding voiced speech based on pitch intensity of input speech signal
WO2002033696B1 (en) Method and system for estimating artificial high band signal in speech codec
US6424942B1 (en) Methods and arrangements in a telecommunications system
CN104981870A (en) Speech enhancement device
KR20020033737A (en) Method and apparatus for interleaving line spectral information quantization methods in a speech coder
US7050968B1 (en) Speech signal decoding method and apparatus using decoded information smoothed to produce reconstructed speech signal of enhanced quality
CN116052700B (en) Voice coding and decoding method, and related device and system
CA2391562C (en) Gain-smoothing in wideband speech and audio signal decoder
Erhardt et al. An open-source speech codec at 450 bit/s with pseudo-wideband mode
JP3896654B2 (en) Audio signal section detection method and apparatus
JP4230550B2 (en) Speech encoding method and apparatus, and speech decoding method and apparatus
Tribolet et al. An analysis/synthesis framework for transform coding of speech
JPH09269799A (en) Voice coding circuit provided with noise suppression function

Legal Events

Date Code Title Description
EEER Examination request
MKEX Expiry

Effective date: 20201117