Method and apparatus for transcoding between different speech encoding/decoding systems and recording medium
First Claim
1. A code converting method for converting a first code sequence conforming to a first system to a second code sequence conforming to a second system, comprising the steps of:
- acquiring a first linear prediction coefficient and the information on an excitation signal from said first code sequence and actuating a filter having said first linear prediction coefficient with the excitation signal obtained from said information on the excitation signal to generate a first speech signal;
deriving an optimum gain based on a second speech signal generated by the information obtained from a second code sequence, and on said first speech signal;
correcting said optimum gain; and
finding the gain information in said second code sequence based on an optimum gain corrected (termed ‘
corrected optimum gain’
), said optimum gain and on the gain read out from a gain codebook for said second system.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is a code converting apparatus for converting a first code sequence conforming to a first system to a second code sequence conforming to a second system, in which a speech decoding circuit acquires a first linear prediction coefficient and the information on an excitation signal from the first code sequence, and actuates a filter having the aforementioned first linear prediction coefficient with the excitation signal obtained from the information on the excitation signal, to generate a first speech signal. A gain code generating circuit calculates a gain minimizing the distance between a second speech signal, generated from the information, obtained from the second code sequence, and the first speech signal (optimum gain), and corrects the optimum gain and the gain code generating circuit then finds the gain information in the second code sequence, based on the optimum gain as corrected (optimum gain corrected), the above optimum gain and a gain read out from a gain codebook of the second system. The gain is found at this time, in a non-speech segment, based on a speech decision value, using an evaluation function which will reduce time variations of the gain of the second system.
5 Citations
36 Claims
-
1. A code converting method for converting a first code sequence conforming to a first system to a second code sequence conforming to a second system, comprising the steps of:
-
acquiring a first linear prediction coefficient and the information on an excitation signal from said first code sequence and actuating a filter having said first linear prediction coefficient with the excitation signal obtained from said information on the excitation signal to generate a first speech signal;
deriving an optimum gain based on a second speech signal generated by the information obtained from a second code sequence, and on said first speech signal;
correcting said optimum gain; and
finding the gain information in said second code sequence based on an optimum gain corrected (termed ‘
corrected optimum gain’
), said optimum gain and on the gain read out from a gain codebook for said second system. - View Dependent Claims (3, 5, 7, 8, 9, 10, 17)
-
-
2. A code converting method for converting a first code sequence conforming to a first system to a second code sequence conforming to a second system, comprising the steps of:
-
decoding the gain information from said first code sequence;
correcting the gain decoded (termed ‘
decoded gain’
); and
finding the gain information in said code sequence based on the decoding gain corrected (termed ‘
corrected decoded gain’
), said decoded gain and the gain read out from the codebook in said second system. - View Dependent Claims (4, 6)
-
-
11. A code converting apparatus for converting a first code sequence conforming to a first system to a second code sequence conforming to a second system, said apparatus comprising:
-
a speech decoding circuit for acquiring a first linear prediction coefficient and the information on an excitation signal from said first code sequence and actuating a filter having said first linear prediction coefficient with the excitation signal obtained from said information on the excitation signal to generate a first speech signal;
an optimum gain calculating circuit for calculating an optimum gain based on a second speech signal generated by the information obtained from a second code sequence, and on said first speech signal;
an optimum gain correcting circuit for correcting said optimum gain; and
a gain encoding circuit for finding the gain information in said second code sequence based on an optimum gain corrected (termed ‘
corrected optimum gain’
), said optimum gain and on the gain read out from a gain codebook for said second system. - View Dependent Claims (13, 15, 18, 19, 20)
-
-
12. A code converting apparatus for converting a first code sequence conforming to a first system to a second code sequence conforming to a second system, said apparatus comprising:
-
a gain decoding circuit for decoding the gain information from said first code sequence;
a decoded gain correcting circuit for correcting the gain decoded (termed ‘
decoded gain’
); and
a gain encoding circuit for finding the gain information in said code sequence based on the decoding gain corrected (‘
corrected decoded gain’
), said decoded gain and the gain read out from the codebook in said second system. - View Dependent Claims (14, 16)
-
-
21. A computer program product in a medium used by a computer that composes a code converting apparatus for converting a first code sequence, conforming to a first system, into a second code sequence conforming to a second system, comprising a program for causing said computer to execute:
-
(a) the processing of acquiring first linear prediction coefficient and the information on an excitation signal from said first code sequence and actuating a filter having said first linear prediction coefficient with the excitation signal obtained from said information on the excitation signal to generate a first speech signal;
(b) the processing of calculating an optimum gain based on a second speech signal generated by the information obtained from a second code sequence, and on said first speech signal;
(c) the processing of correcting said optimum gain; and
(d) the processing of finding the gain information in said second code sequence based on an optimum gain corrected (termed ‘
corrected optimum gain’
), said optimum gain and on the gain read out from a gain codebook for said second system. - View Dependent Claims (23, 25, 28, 29, 30, 31)
-
-
22. A computer program product in a medium used by a computer, that composes a code converting apparatus for converting a first code sequence, into a second code sequence conforming to a second system, comprising a program to cause said computer to execute:
-
(a) the processing of decoding the gain information from said first code sequence;
(b) the processing of correcting the gain decoded (decoded gain); and
(c) the processing of finding the gain information in said code sequence based on the decoding gain corrected (corrected decoded gain), said decoded gain and the gain read out from the codebook in said second system. - View Dependent Claims (24, 26, 27)
-
-
32. A code converting apparatus in which code sequence data, obtained on multiplexing codes obtained on encoding a speech signal by a first system, is input to a code demultiplexing circuit,
a code, separated by said code demultiplexing circuit, is converted to a code conforming to a second system distinct from said first system, said code conforming to said second system is sent to a code multiplexing circuit, and in which said code conforming to said second system and multiplexed by said code multiplexing circuit is output from said code multiplexing circuit; - said code converting apparatus comprising;
a circuit for generating first and second linear prediction coefficients, obtained on decoding a linear prediction coefficient, separated by said code demultiplexing circuit, in accordance with said first system and said second system;
an adaptive codebook code converting circuit (termed ‘
ACB code converting circuit’
), including a unit for replacing an adaptive codebook (ACB) code of the first system, input from said code demultiplexing circuit, using the relationship of correspondence between a code of the first system and a code of the second system, to generate an adaptive codebook (ACB) code of the second system, outputting the ACB code of the second system to said code multiplexing circuit, and for outputting an ACB delay associated with said second ACB code as a second ACB delay to a target signal computing circuit;
a speech decoding circuit for synthesizing a decoded speech signal and for outputting the synthesized signal, by actuating a synthesis filter by an excitation signal obtained from the information on the excitation signal, said synthesis filter receiving, as an input, the excitation signal information containing an ACB code, a fixed codebook (FCB) code and the gain code in the first system, separated by said code demultiplexing circuit, and decoding said excitation signal information, said synthesis filter having a first linear prediction coefficient obtained on decoding the linear prediction coefficient code separated by said code separation circuit in accordance with a first system;
a fixed codebook code generating circuit (termed ‘
FCB code generating circuit’
), supplied with the FCB code of the first system output from said code separation circuit, and converting said FCB code into a code decodable by said second system, said fixed codebook code generating circuit outputting the converted FCB code as the second FCB code to said code multiplexing circuit to output a second FCB signal corresponding to said second FCB code;
an impulse response calculating circuit for outputting an impulse response signal of an auditory perceptual weighting synthesis filter made up by said first linear prediction coefficient and said second linear prediction coefficient;
said target signal calculating circuit; and
a gain code generating circuit;
wherein said target signal calculating circuit includes;
a weighting signal calculating circuit supplied with a decoded speech output from a synthesis filter of said speech decoding circuit, and actuating an auditory perceptual weighting filter, formed using said first linear prediction coefficient, with said decoded speech, to generate an auditory perceptually weighted speech signal, said weighting signal calculating circuit generating a first target signal by subtracting a zero-input response of the auditory perceptual weighting synthesis filter, made up by said first linear prediction coefficient and said second linear prediction coefficients, from said auditory perceptually weighted speech signal;
an ACB signal generating circuit supplied with said first target signal, output from said weighting signal calculating circuit, said second ACB delay output from said ACB code converting circuit, said impulse response signal output from said impulse response calculating circuit and a past second excitation signal output from a second excitation signal storage circuit, storing and holding the past second excitation signal;
said ACB signal generating circuit calculating the past filter-processed excitation signal with a delay k, from said past second excitation signal, by convolution of a signal extracted with a delay k, where k is said second ACB delay, and said impulse response signal, to output the so calculated past excitation signal as second ACB signal; and
an optimum ACB gain calculating circuit supplied with said first target signal, output from said weighting signal calculating circuit, and with the past filter-processed excitation signal with the delay k, output from said ACB signal generating circuit, said optimum ACB gain calculating circuit deriving an optimum ACB gain from said first target signal and from the past filter-processed excitation signal with the delay k to output the so derived optimum ACB gain; and
wherein said gain code generating circuit includes;
a unit supplied with said first target signal, output from said target signal calculating circuit, said second ACB signal, said optimum ACB gain, said second FCB signal, output from said FCB code generating circuit, said impulse response signal output from said impulse response calculating circuit and with said first linear prediction coefficient, said unit calculating a second target signal from said first target signal, second ACB signal, said optimum ACB gain and the impulse response signal and also calculating an optimum FCB gain from said second target signal, said second FCB signal and the impulse response signal;
a unit for finding a corrected ACB gain from said optimum ACB gain;
a unit supplied with the optimum FCB gain calculated to calculate a corrected FCB gain from said optimum FCB gain;
a unit for determining a speech decision value from said first linear prediction coefficient;
a unit for calculating a first square error from the ACB gain sequentially read from an ACB gain codebook and said optimum ACB gain and for calculating a second square error from said ACB gain and said corrected ACB gain;
a unit for selecting a weighting coefficient, calculated from said speech decision value, the ACB gain minimizing the first evaluation function calculated from said first square error and the second square error and the corresponding ACB gain code;
a unit for calculating a third square error from the FCB gain sequentially read from an FCB gain codebook and said optimum FCB gain and for calculating a fourth square error from said FCB gain and said corrected FCB gain;
a unit for selecting an FCB gain minimizing a second evaluation function as calculated from the weighting coefficient, calculated in turn from said speech decision value, said third square error and the fourth square error, and a corresponding FCB gain code; and
a unit for outputting a second gain code, made up by the ACB gain code and the FCB gain code as selected, to said code multiplexing circuit, as a code decodable by the gain decoding method in the second system. - View Dependent Claims (33, 34)
- said code converting apparatus comprising;
-
35. A code converting apparatus in which a code obtained on encoding a speech signal in accordance with a first system is input to a code demultiplexing circuit, a code obtained on separation by said code demultiplexing circuit is converted into a code conforming to a second system distinct from said first system, the so converted code is sent to a code multiplexing circuit and code sequence data obtained on multiplexing the so converted code is output from said code multiplexing circuit, characterized in that said apparatus comprises:
-
a circuit for generating first and second linear prediction coefficients, decoded in accordance with the first and second systems, from linear prediction coefficients, separated by said code demultiplexing circuit;
an ACB code conversion circuit supplied with a first ACB code, output from said code demultiplexing circuit, to convert said first ACB code into a code decodable by said second system, to output the so converted ACB code as second ACB code to said code multiplexing circuit;
an FCB code conversion circuit supplied with a first FCB code, output from said code demultiplexing circuit, to convert said first FCB code into a code decodable by said second system, to output the so converted FCB code as second FCB code to said code multiplexing circuit; and
a gain code conversion circuit supplied with a first gain code output from said code separation circuit to convert said first gain code into a code decodable by said second system to output the so converted gain code as second gain code to said code multiplexing circuit;
said gain code conversion circuit including a unit supplied with a first gain output from said code demultiplexing circuit and with said first linear prediction coefficient to calculate a corrected ACB gain and corrected FCB gain from a first adaptive codebook (ACB) gain and from a first fixed codebook (FCB) gain, obtained on decoding said first gain code in accordance with the gain decoding method of the first system;
a unit for determining a speech decision value from said first linear prediction coefficient;
a unit for calculating a first square error from the ACB gain sequentially read from an ACB gain codebook, and said first ACB gain, and calculating a second square error from said ACB gain and said corrected ACB gain, to select an ACB gain minimizing a first evaluation function as calculated from the weighting coefficients calculated from said speech decision value and said first and second square errors;
a unit for calculating a third square error from the FCB gain sequentially read from an FCB gain codebook and said first FCB gain to calculate a fourth square error from said FCB gain and said corrected FCB gain and for selecting an FCB gain minimizing a second evaluation function as calculated from the weighting coefficient calculated from said speech decision value, said third square error and the fourth square error, and a corresponding FCB gain code; and
a unit for outputting a second gain code, made up by the ACB gain code and the FCB gain code as selected, as a code decodable by the gain decoding method in the second system, to said code multiplexing circuit. - View Dependent Claims (36)
-
Specification