EP1536413A1 - Method and device for code conversion between voice encoding and decoding methods and storage medium thereof - Google Patents

Method and device for code conversion between voice encoding and decoding methods and storage medium thereof Download PDF

Info

Publication number
EP1536413A1
EP1536413A1 EP03765278A EP03765278A EP1536413A1 EP 1536413 A1 EP1536413 A1 EP 1536413A1 EP 03765278 A EP03765278 A EP 03765278A EP 03765278 A EP03765278 A EP 03765278A EP 1536413 A1 EP1536413 A1 EP 1536413A1
Authority
EP
European Patent Office
Prior art keywords
gain
code
acb
circuit
fcb
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.)
Granted
Application number
EP03765278A
Other languages
German (de)
French (fr)
Other versions
EP1536413A4 (en
EP1536413B1 (en
Inventor
Atsushi c/o NEC Corporation Murashima
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.)
NEC Corp
Original Assignee
NEC 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
Application filed by NEC Corp filed Critical NEC Corp
Priority claimed from PCT/JP2003/008701 external-priority patent/WO2004010416A1/en
Publication of EP1536413A1 publication Critical patent/EP1536413A1/en
Publication of EP1536413A4 publication Critical patent/EP1536413A4/en
Application granted granted Critical
Publication of EP1536413B1 publication Critical patent/EP1536413B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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/16Vocoder architecture
    • G10L19/173Transcoding, i.e. converting between two coded representations avoiding cascaded coding-decoding
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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

Definitions

  • This invention relates to encoding and decoding methods for transmitting or storing a speech signal at a low bit rate. More particularly, it relates to a method and an apparatus, used in speech communication employing different encoding/ decoding systems, for converting codes obtained on encoding the speech by a given system, into codes which can be decoded by another system, with a high sound quality and reduced computation quantity.
  • CELP code excited linear prediction
  • an LP filter in which the LP coefficients, representing frequency response of the input speech, is driven by an excitation signal represented by the sum of an adaptive codebook (ACB) representing the pitch period of the input speech and a fixed codebook (FCB) composed of random numbers and pulses to generate a synthesized speech signal.
  • ACB adaptive codebook
  • FCB fixed codebook
  • tandem connection speech signals are transiently decoded from a code sequence, obtained on encoding the speech, using one of the standard systems, by this one standard system, and the speech signals, thus decoded, are re-encoded using the other standard system.
  • problems as lowered speech quality, increased delay and increased computation quantity as compared to a case where encoding and decoding are carried out only once in each of the speech encoding/ decoding systems.
  • transcoding system in which a code obtained on encoding the speech using one of the standard systems into a code decodable using the other standard system in a code domain or in an encoding parameter domain.
  • code converting method reference may be had to Hong-Goo Kang: “Improving Transcoding Capability of Speech Coders in Clean and Frame Erased Channel Environments," Proc. of IEEE Workshop on Speech Coding 2000, pp.78 to 80, 2000 (Publication 2).
  • Fig.12 shows an illustrative configuration of a transcoder which converts a code, obtained on encoding the speech using a first speech encoding system (system A) into a code decodable by a second code (system B).
  • the transcoder includes an input terminal 10, a code demultiplexing circuit 1010, an LP coefficient code converting circuit 100, an ACB code converting circuit 200, an FCB code converting circuit 300, a gain code converting circuit 400, a code multiplexing circuit 1020 and an output terminal 20.
  • the component elements of the conventional transcoder are described.
  • a first code sequence, obtained on encoding the speech in accordance with the system A, is entered to the input terminal 10.
  • the code demultiplexing circuit 1010 separates codes corresponding to the LP coefficient, ACB, FCB, ACB gain and FCB gain, that is, LP coefficient code, ACB code, FCB code and the gain code, from the first code sequence, entered to the input terminal 10.
  • the ACB gain and the FCB gain are collectively encoded/ decoded and are termed the gains, for simplicity sake.
  • the corresponding codes are termed gain codes.
  • the LP coefficient code, ACB code, FCB code and the gain code are termed first LP coefficient code, first ACB code, first FCB code and the first gain code, respectively.
  • the first LP coefficient codes, first ACB codes, first FCB codes and the first gain code are output to the LP coefficient code converting circuit 100, an ACB code converting circuit 200, an FCB code converting circuit 300 and to the gain code converting circuit 400, respectively.
  • the LP coefficient code converting circuit 100 is supplied with the first LP coefficient codes, output from the code demultiplexing circuit 1010, to convert the first LP coefficient codes into codes decodable by the system B.
  • the so converted LP coefficient codes are output as the second LP coefficient codes to the code multiplexing circuit 1020.
  • the ACB code converting circuit 200 is supplied with the first ACB code, output from the code demultiplexing circuit 1010, to convert the first ACB code into a code decodable by the system B.
  • the so converted ACB code is supplied as the second ACB code to the code multiplexing circuit 1020.
  • the FCB code converting circuit 300 is supplied with the first FCB code, output from the code demultiplexing circuit 1010, to convert the first FCB code into a code decodable by the system B.
  • the so converted FCB code is supplied as the second FCB code to the code multiplexing circuit 1020.
  • the gain code converting circuit 400 is supplied with the first gain codes, output from the code demultiplexing circuit 1010, to convert the first gain code into code decodable by the system B.
  • the so converted gain code is supplied as the second gain code to the code multiplexing circuit 1020.
  • the LP coefficient code converting circuit 100 decodes the first LP coefficient code, entered from the code demultiplexing circuit 1010, by an LP coefficient decoding method in the system A to produce first LP coefficient.
  • the LP coefficient code converting circuit 100 quantizes and encodes the first LP coefficient, in accordance with the quantization method and the encoding method for the LP coefficient by the system B, to yield second LP coefficient code.
  • the LP coefficient code converting circuit 100 outputs the second LP coefficient code to the code multiplexing circuit 1020, as the code decodable by the LP coefficient decoding method by the system B.
  • the ACB code converting circuit 200 translates the first ACB code, entered from the code demultiplexing circuit 1010, using the relationship of correspondence between the code of the system A and that of the system B, to derive the second ACB code.
  • the ACB code converting circuit 200 outputs the second ACB code to the code multiplexing circuit 1020 as the code decodable by the ACB decoding method in the system B.
  • the FCB code converting circuit 300 translates the first FCB code, entered from the code demultiplexing circuit 1010, using the relationship of correspondence between the code of the system A and that of the system B, to derive the second FCB code.
  • the FCB code converting circuit 300 outputs the second FCB code to the code multiplexing circuit 1020 as the code decodable by the FCB decoding method in the system B.
  • the gain code converting circuit 400 decodes the first gain code, supplied from the code demultiplexing circuit 1010, using the gain decoding method of the system A, to produce the first gain.
  • the gain code converting circuit 400 then quantizes and encodes the first gain in accordance with the gain quantization method and the gain encoding method of the system B to derive the second gain and its code (second gain code).
  • the gain code converting circuit 400 then outputs the second gain code as the code decodable by the gain decoding method of the system B to the code multiplexing circuit 1020.
  • the code multiplexing circuit 1020 is supplied with the second LP coefficient code, output from the LP coefficient code converting circuit 100, the second ACB code, output from the ACB code converting circuit 200, the second FCB code, output from the FCB code converting circuit 300 and the second gain code, output from the gain code converting circuit 400, to output a code sequence, obtained on multiplexing these codes, as a second code sequence to the output terminal 20.
  • the above is the description of Fig.12.
  • the conventional transcoder suffers from the problem that the sound quality of the background noise energy for the non-speech period is deteriorated.
  • the present invention provides, in one aspect, 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 first linear prediction coefficient and the information on an excitation signal from the first code sequence and actuating a filter having the first linear prediction coefficient with the excitation signal obtained from the 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 the first speech signal, correcting the optimum gain, and finding the gain information in the second code sequence based on an optimum gain corrected (termed 'corrected optimum gain'), the optimum gain and on the gain read out from a gain codebook for the second system.
  • the optimum gain is preferably found as a gain which minimizes the distance between the second speech signal, generated from the second code sequence, and the aforementioned first speech signal.
  • the present invention provides, in its second aspect, 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 the first code sequence, correcting the gain decoded (decoded gain), and finding the gain information in the code sequence based on the decoding gain corrected (corrected decoded gain), the decoded gain and the gain read out from the codebook in the second system.
  • a first square error is calculated from the corrected optimum gain and from the gain read out from the gain codebook
  • a second square error is calculated from the optimum gain and from the gain read out from the gain codebook
  • a gain minimizing an evaluation function which is based on the first square error and the second square error from the gain codebook is selected to find the gain information in the second code sequence.
  • a first square error is calculated from the corrected decoded gain and from the gain read out from the gain codebook
  • a second square error is calculated from the decoded gain and from the gain read out from the gain codebook
  • a gain minimizing an evaluation function which is based on the first square error and the second square error from the gain codebook is selected to find the gain information in the second code sequence.
  • the corrected optimum gain is based on the long-term average value of the optimum gain.
  • preferably corrected decoded gain is based on the long-term average value of the decoded gain.
  • the present invention also provides, in its third aspect, a transcoder for converting a first code sequence conforming to a first system to a second code sequence conforming to a second system, comprising a speech decoding circuit for acquiring first linear prediction coefficient and the information on an excitation signal from the first code sequence and actuating a filter having the first linear prediction coefficient with the excitation signal obtained from the 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 the first speech signal, an optimum gain correcting circuit for correcting the optimum gain, and a gain encoding circuit for finding the gain information in the second code sequence based on an optimum gain corrected (corrected optimum gain), the optimum gain and on the gain read out from a gain codebook for the second system.
  • the optimum gain is preferably found as a gain which minimizes the distance between the second speech signal, generated from the second code
  • the present invention also provides, in its fourth aspect, a transcoder for converting a first code sequence conforming to a first system to a second code sequence conforming to a second system, comprising a gain decoding circuit for decoding the gain information from the first code sequence, a decoded gain correcting circuit for correcting the gain decoded (decoded gain), and a gain encoding circuit for finding the gain information in the code sequence based on the decoding gain corrected (corrected decoded gain), the decoded gain and the gain read out from the codebook in the second system.
  • a transcoder for converting a first code sequence conforming to a first system to a second code sequence conforming to a second system, comprising a gain decoding circuit for decoding the gain information from the first code sequence, a decoded gain correcting circuit for correcting the gain decoded (decoded gain), and a gain encoding circuit for finding the gain information in the code sequence based on the decoding gain corrected (corrected decoded gain),
  • the gain encoding circuit preferably finds the gain information in the second code sequence by calculating a first square error from the corrected optimum gain and from the gain read out from the gain codebook, calculates a second square error from the optimum gain and from the gain read out from the gain codebook, and selects a gain minimizing an evaluation function which is based on the first square error and the second square error from the gain codebook to find the gain information in the second code sequence.
  • the gain encoding circuit preferably calculates a first square error from the corrected decoded gain and from the gain read out from the gain codebook, calculates a second square error from the decoded gain and from the gain read out from the gain codebook, and selects a gain minimizing an evaluation function which is based on the first square error and the second square error from the gain codebook to find the gain information in the second code sequence.
  • the corrected optimum gain is preferably based on the long-term average value of the optimum gain.
  • the corrected decoded gain is preferably based on the long-term average value of the decoded gain.
  • the present invention also provides, in its fifth aspect, a program for having a computer, forming a transcoder for converting a first code sequence, conforming to a first system, into a second code sequence conforming to a second system, execute
  • the present invention provides, in its sixth aspect, a program for having a computer, forming a transcoder for converting a first code sequence conforming to a first system, into a second code sequence conforming to a second system, execute
  • a first square error is calculated from the corrected optimum gain and from the gain read out from the gain codebook
  • a second square error is calculated from the optimum gain and from the gain read out from the gain codebook
  • a gain minimizing an evaluation function which is based on the first square error and the second square error is selected from the gain codebook to find the gain information in the second code sequence.
  • a first square error is calculated from the corrected decoded gain and from the gain read out from the gain codebook
  • a second square error is calculated from the decoded gain and from the gain read out from the gain codebook
  • a gain minimizing an evaluation function which is based on the first square error and the second square error is selected from the gain codebook to find the gain information in the second code sequence.
  • the corrected optimum gain is based on a long-term average value of the optimum gain.
  • the corrected decoded gain is based on a long-term average value of the optimum gain.
  • the present invention also provides, in its seventh aspect, a recording medium having recorded thereon the program according to the fifth and sixth aspects of the present invention.
  • a speech decoding circuit (1500) obtains the information of first linear prediction coefficient and an excitation signal from the first code sequence, conforming to the first system, and actuates a filter, having the aforementioned first linear prediction coefficient, with the excitation signal obtained from the information of the excitation signal, to generate a first speech signal.
  • a gain code generating circuit (1400) calculates a second speech signal, generated from the information obtained from the second code sequence conforming to the second system, and the gain minimizing the distance from the first speech signal (optimum gain), and corrects the optimum gain to find the gain information in the second code sequence based on the gain read out from the gain codebook in the second system.
  • the method of the present invention has the following steps:
  • the aforementioned second gain is found, in the non-speech period, using an evaluation function which will minimize the temporal variation of the second gain (gain in the second code sequence).
  • Fig.1 shows the configuration of a first embodiment of the transcoder according to the present invention.
  • the first embodiment of the transcoder includes an input terminal 10, a code demultiplexing circuit 1010, an LP coefficient code converting circuit 1100, an LSP to LPC converting circuit 1110, an impulse response calculating circuit 1120, an ACB code converting circuit 1200, a target signal calculating circuit 1700, an FCB code generating circuit 1800, a gain code generating circuit 1400, a speech decoding circuit 1500, a second excitation signal calculating circuit 1610, a second excitation signal storage circuit 1620, a code multiplexing circuit 1020 and an output terminal 20.
  • the input terminal 10, output terminal 20, code demultiplexing circuit 1010 and the code multiplexing circuit 1020 are basically the same elements as the elements shown in Fig.12, except that interconnections are partially branched. In the following, these same or equivalent elements are omitted from explanation, and mainly the point of difference from the configuration shown in Fig.12 is described.
  • the sampling frequency is 8000 Hz and that T ( A ) / fr and T ( B ) / fr are 10 msec, L ( A ) / fr and L ( B ) / fr are 160 samples, while L ( A ) / sfr and L ( B ) / sfr are 80 samples.
  • the LP coefficient code converting circuit 1100 is supplied from the code demultiplexing circuit 1010 with the first LP coefficient code. It is noted that, in many standard systems, including '3GPP AMR Speech Codec' (Publication 3) and ITU-T recommendations G.729, the LP coefficient is represented by a line spectral pair (LSP), which LSP is encoded and decoded, and hence it is assumed that encoding and decoding of the LP coefficient is carried out in an LSP domain. As regards the conversion from the LP coefficient to LSP and from LSP to LP coefficient, reference may be had to known methods, such as are described in 'Publication 3' paragraphs 5.2.3 and 5.2.5. The LP coefficient code converting circuit 1100 decodes the aforementioned first LP coefficient code by the LSP decoding method in the system A to yield a first LSP.
  • LSP line spectral pair
  • the LP coefficient code converting circuit 1100 quantizes and encodes the first LSP by the LSP quantizing and encoding methods of the system B to yield a second LSP and a corresponding code (second LP coefficient code).
  • the LP coefficient code converting circuit 1100 outputs the second LP coefficient code to the code multiplexing circuit 1020, as the code decodable by the LSP decoding method of the system B, and outputs the frit LSP and the second LSP to the LSP-to-LPC converting circuit 1110.
  • Fig.2 depicts the configuration of the LP coefficient code converting circuit 1100.
  • the LP coefficient code converting circuit 1100 includes an LSP decoding circuit 110, a first LSP codebook 111, an LSP coefficient encoding circuit 130 and a second LSP codebook 131.
  • the constituent elements of the LP coefficient code converting circuit 1100 are described.
  • the LSP decoding circuit 110 decodes the LP coefficient code into corresponding LSP.
  • the LSP decoding circuit 110 includes the first LSP codebook 111, in which there are stored plural sets of LSPs. More specifically, the LSP decoding circuit is supplied via the input terminal 31 with first LP coefficient code, output from the code demultiplexing circuit 1010, and reads out LSP corresponding to the first LSP coefficient code from the first LSP codebook 111 to output the so read out LSP as the first LSP to the LSP coefficient encoding circuit 130, as well as to output the read out LSP via an output terminal 33 to the LSP-LPC converting circuit 1110.
  • the LSP codebook of the system A is used, in accordance with the LSP decoding method of the system A.
  • the LSP coefficient encoding circuit 130 is supplied with the first LSP, output from the LSP decoding circuit 110, to read in the second LSP and the corresponding LP coefficient codes sequentially from the second LSP codebook 131 in which there are stored the LSPs of the plural sets.
  • the LSP coefficient encoding circuit selects the second LSP, having the smallest error from the first LSP, and outputs an LP coefficient code, corresponding thereto, as a second LP coefficient code, via an output terminal 32 as the second LP coefficient code, to the code multiplexing circuit 1020, while outputting the second LSP via an output terminal 34 to the LSP-LPC converting circuit 1110.
  • an LSP codebook of the system B is used, in accordance with the method for quantizing and encoding the LSPs for the system B.
  • quantization and encoding for the LSPs reference may be had to the description of the paragraph 5.2.5 of the 'Publication 3'.
  • the LSP-LPC converting circuit 1110 is supplied with the first LSP and the second LSP, output from the LP coefficient code converting circuit 1100, and converts the first LSP and the second LSP into a first LP coefficient a1,j and into a second LP coefficient a2,j to output the first LP coefficient a1,j to the target signal calculating circuit 1700, speech decoding circuit 1500 and to the impulse response calculating circuit 1120, as well as to output the second LP coefficient a2,j to the target signal calculating circuit 1700 and to the impulse response calculating circuit 1120.
  • conversion from the LP to the LP coefficient reference may be made to the description of the paragraph 5.2.4 of the 'Publication 3'.
  • the ACB code converting circuit 1200 re-reads the first ACB code, entered from the code demultiplexing circuit 1010, using the relationship of correspondence between the code of the system A and that of the system B, to obtain the second ACB code.
  • the ACB code converting circuit 1200 outputs the second ACB code to the code multiplexing circuit 1020 as a code decodable by the ACB decoding method in the system B.
  • the ACB code converting circuit 1200 also outputs the ACB delay, corresponding to the second ACB code, as the second ACB delay to the target signal calculating circuit 1700.
  • the speech decoding circuit 1500 is supplied with the first ACB code, first FCB code and the first gain code, output from the code demultiplexing circuit 1010, while being supplied with the first LP coefficient from the LSP-LPC converting circuit 1110.
  • the speech decoding circuit 1500 decodes the ACB delay, FCB signal and the gain from the first ACB signal, first FCB signal and the first gain code, respectively, using the ACB decoding method, FCB signal decoding method and the gain decoding method for the system A, respectively, with the so decoded ACB delay, FCB signal and gain being the first ACB delay, first FCB delay and the first gain, respectively.
  • the speech decoding circuit 1500 generates the ACB signal, using the first ACB delay, with the so generated ACB signal being then the first ACB signal.
  • the speech decoding circuit 1500 generates a speech signal from the first ACB signal, first FCB signal, first gain and from the first LP coefficient to output the speech to the target signal calculating circuit 1700.
  • Fig.4 shows the configuration of the speech decoding circuit 1500.
  • the speech decoding circuit 1500 includes an excitation signal information decoding circuit 1600, made up by an ACB decoding circuit 1510, an FCB decoding circuit 1520 and a gain decoding circuit 1530, an excitation signal calculating circuit 1540, an excitation signal storage circuit 1570 and a synthesis filter 1580.
  • an excitation signal information decoding circuit 1600 made up by an ACB decoding circuit 1510, an FCB decoding circuit 1520 and a gain decoding circuit 1530, an excitation signal calculating circuit 1540, an excitation signal storage circuit 1570 and a synthesis filter 1580.
  • component elements of the speech decoding circuit 1500 are described.
  • the excitation signal information decoding circuit 1600 decodes the information of excitation signal from the codes corresponding to the information of the excitation signal.
  • the excitation signal information decoding circuit is supplied via an input terminals 51 to 53 with the first ACB signal, first FCD signal and with the first gain signal to decode the ACB delay, FCB signal and the gain, respectively, with the so decoded the ACB delay, FCB signal and the gain being the first ACB delay, first FCB signal and the first gain, respectively.
  • the first gain is made up by the ACB delay and the FCB delay, which are the first ACB delay and the first FCB delay, respectively.
  • the excitation signal information decoding circuit 1600 generates the ACB signal, using past excitation signals and the first ACB delay, with the so generated ACB signal being the first ACB signal.
  • the excitation signal information decoding circuit 1600 outputs the first ACB signal, first FCB signal, first ACB gain and the first FCB gain to the excitation signal calculating circuit 1540.
  • the ACB decoding circuit 1510, FCB decoding circuit 1520 gain decoding circuit 1530, making up the excitation signal information decoding circuit 1600, are now described in detail.
  • the ACB decoding circuit 1510 is supplied via an input terminal 51 with the first ACB code, output from the code demultiplexing circuit 1010, while being supplied with a past excitation signal output from the excitation signal storage circuit 1570.
  • the ACB decoding circuit 1510 acquires the first ACB delay T ( A ) , corresponding to the first ACB code, using the relationship of correspondence between the ACB code and the ACB delay for the system A, shown in Fig.3, as described for the ACB code converting circuit 1200.
  • a signal of L ( A ) / sfr samples, corresponding to the sub-frame length is extracted from a point of past T ( A ) samples, as from the beginning point of the current sub-frame, to generate the first ACB signal.
  • T ( A ) is smaller than L ( A ) / sfr , a vector of T ( A ) samples is extracted out, and a plural number of these vectors are repeatedly concatenated to yield a signal of a length of L ( A ) / sfr samples, which are output to the excitation signal calculating circuit 1540.
  • T ( A ) is smaller than L ( A ) / sfr .
  • a vector of T ( A ) samples is extracted out, and a plural number of these vectors are repeatedly concatenated to yield a signal of a length of L ( A ) / sfr samples, which are output to the excitation signal calculating circuit 1540.
  • the FCB decoding circuit 1520 is supplied via an input terminal 52 with the first FCB signal, output from the code demultiplexing circuit 1010, to output a first FCB signal, corresponding to the first FCB signal, to the excitation signal calculating circuit 1540.
  • the FCB signal is represented by a multi-path signal, as determined by the pulse position and by the pulse polarity
  • the first FCB code is made up by a code corresponding to the pulse position (pulse position code) and the code corresponding to the pulse polarity (pulse polarity code).
  • the gain decoding circuit 1530 is supplied with the first gain code, output from the code demultiplexing circuit 1010, via an input terminal 53.
  • the gain decoding circuit 1530 has therein a table, in which a plural number of gains are stored, and reads out the gain, corresponding to the first gain code, from the table.
  • the gain decoding circuit 1530 outputs the first ACB gain, corresponding to the ACB gain, while outputting the first FCB gain, corresponding to the FCB gain, out of the read-out gain, to the excitation signal calculating circuit 1540.
  • the first ACB gain and the first FCB gain are encoded collectively, a plural number of two-dimensional vectors, made up by the first ACB gain and the first FCB delay, are stored in the table.
  • the first ACB gain and the first FCB gain are encoded individually, there are provided two tables, one of which has stored therein a plural number of the first ACB gains and the other of which has stored therein a plural number of the first FCB gains.
  • the excitation signal calculating circuit 1540 is supplied with first ACB signals, output from the ACB decoding circuit 1510, while being supplied with the first FCB signal, output from the FCB decoding circuit 1520, and with the first ACB gain and the first FCB gain, output from the gain decoding circuit 1530.
  • the excitation signal calculating circuit 1540 sums a signal, obtained on multiplying the first ACB signal with the first ACB gain, to a signal obtained on multiplying the first FCB signal with the first FCB gain, to generate a first excitation signal.
  • the excitation signal calculating circuit 1540 outputs the first excitation signal to the synthesis filter 1580 and to the excitation signal storage circuit 1570.
  • the excitation signal storage circuit 1570 is supplied with a first excitation signal, output from the excitation signal calculating circuit 1540, to store and hold the signal.
  • the excitation signal storage circuit 1570 outputs the past first excitation signal, input in the past and stored/ held therein, to the ACB decoding circuit 1510.
  • the synthesis filter 1580 is supplied with the first excitation signal, output from the excitation signal calculating circuit 1540, while being supplied via an input terminal 61 with the first LP coefficient output from the LSP-LPC converting circuit 1110.
  • the synthesis filter 1580 actuates a linear prediction filter, having the first LP coefficient, with the first excitation signal, to generate a speech signal.
  • the speech signal, thus generated, is sent via an output terminal 63 to the target signal calculating circuit 1700.
  • the target signal calculating circuit 1700 is supplied from the LSP-LPC converting circuit 1110 with the first LSP and with the second LSP, while being supplied from the ACB code converting circuit 1200 with the second ACB delay corresponding to the second ACB code.
  • the target signal calculating circuit 1700 is also supplied with the decoded speech from the speech decoding circuit 1500, with an impulse response signal from the impulse response calculating circuit 1120 and with a past second excitation signal stored and held in the second excitation signal storage circuit 1620.
  • the target signal calculating circuit 1700 calculates the first target signal from the decoded speech, the first LP coefficient and from the second LP coefficient.
  • the target signal calculating circuit 1700 finds the second ACB signal and the optimum ACB gain from the past second excitation signal, impulse response signal, first target signal and from the second ACB delay.
  • the target signal calculating circuit 1700 outputs the first target signal and the optimum ACB gain to the gain code generating circuit 1400, while outputting the second ACB signal to the gain code generating circuit 1400 and to the second excitation signal calculating circuit 1610.
  • Fig.5 shows the configuration of the target signal calculating circuit 1700.
  • the target signal calculating circuit 1700 includes a weighting signal calculating circuit 1710, an ACB signal generating circuit 1720, and an optimum ACB gain calculating circuit 1730.
  • the component elements of the target signal calculating circuit 1700 are described.
  • the weighting signal calculating circuit 1710 is supplied with a decoded speech s(n), output from the synthesis filter 1580 of the speech decoding circuit 1500, via an input terminal 57, while also being supplied with the first LP coefficient a1,j and with the second LP coefficient a2,j , output from the LSP-LPC converting circuit 1110, via an input terminals 36 and 35, respectively.
  • the weighting signal calculating circuit 1710 first forms an auditory perceptual weighting filter W(z), using first LP coefficients.
  • the weighting signal calculating circuit 1710 actuates the auditory perceptual weighting filter, by the decoded speech, to generate an auditory perceptually weighted speech signal.
  • the weighting signal calculating circuit 1710 then forms an auditory perceptual weighting synthesis filter W(z)/A2(z), using the first LP coefficient and the second LP coefficient.
  • the weighting signal calculating circuit 1710 outputs a first target signal x(n), obtained on subtracting a zero-input response of the auditory perceptual weighting synthesis filter from the auditory perceptually weighted speech signal, to the ACB signal generating circuit 1720 and to the optimum ACB gain calculating circuit 1730, while outputting the same signal to a second target signal calculating circuit 1430 via an output terminal 78.
  • the ACB signal generating circuit 1720 is supplied with a first target signal, output from the weighting signal calculating circuit 1710, while being supplied via an input terminal 37 with a second ACB delay T(B)lag, output from the ACB code converting circuit 1200.
  • the ACB signal generating circuit 1720 is also supplied with an impulse response signal h(n), output from the impulse response calculating circuit 1120, while being supplied via an input terminal 75 with a past second excitation signal u(n), output from the second excitation signal storage circuit 1620.
  • the delay k is the second ACB delay and the signal extracted with the delay k from the past second excitation signal is the second ACB signal v(n).
  • the ACB signal generating circuit 1720 outputs the second ACB signal to the second target signal calculating circuit 1430 and to the second excitation signal calculating circuit 1610, via an output terminal 76, while outputting the filter-processed past excitation signal yk(n), with the delay k, to the optimum ACB gain calculating circuit 1730.
  • the optimum ACB gain calculating circuit 1730 is supplied with the first target signal x(n), output from the weighting signal calculating circuit 1710, and with the filter-processed past excitation signal yk(n), with the delay k, output from the ACB signal generating circuit 1720.
  • the optimum ACB gain calculating circuit 1730 then calculates, from the first target signal x(n) and the filter-processed past excitation signal yk(n), with the delay k, an optimum ACB gain gp, in accordance with the following equation: where the optimum ACB gain gp is a gain which minimizes the distance between the first target signal x(n) and the filter-processed past excitation signal yk(n), with the delay k.
  • the optimum ACB gain calculating circuit 1730 outputs the optimum ACB gain gp to an ACB gain encoding circuit 1410 via an output terminal 77.
  • the impulse response calculating circuit 1120 supplied with the first LP coefficient and the second LP coefficient, output from the LSP-LPC converting circuit 1110, constitutes an auditory perceptual weighting synthesis filter, using the first and second LP coefficients.
  • the impulse response calculating circuit 1120 outputs an impulse response signal of the auditory perceptual weighting synthesis filter to the target signal calculating circuit 1700 and to the gain code generating circuit 1400.
  • P is the degree of linear prediction, such as 10, while ⁇ 1 and ⁇ 2 are weighting controlling coefficients, such as 0.94 and 0.6.
  • An FCB code generating circuit 1800 is supplied with the first FCB signal, output from the code demultiplexing circuit 1010, to convert the first FCB signal into a code decodable by the system B.
  • the FCB code generating circuit 1800 outputs the converted FCB signal as a second FCB signal to the gain code generating circuit 1400 and to the second excitation signal calculating circuit 1610.
  • the FCB signal is made up by plural pulses and is represented by a multipath signal prescribed by the pulse position and the polarity (pulse polarity).
  • the FCB signal is composed of a code corresponding to the pulse position (pulse position code) and a code corresponding to the pulse polarity (pulse polarity code).
  • the method for expressing the FCB signal by the multi-path signal reference may be made to the description of paragraph 5.7 of the 'Publication 3'.
  • Fig.6 shows the configuration of the FCB code generating circuit 1800.
  • the FCB code generating circuit 1800 includes an FCB code converting circuit 1300 and an FCB signal generating circuit 1820. Referring to Fig.6, component elements of the FCB code generating circuit 1800 are described.
  • the FCB code converting circuit 1300 translates a first FCB code i(A)P, entered via an input terminal 85 from the code demultiplexing circuit 1010, using the relationship of correspondence between the codes of the system A and those of the system B, to obtain a second FCB code i(B)P.
  • the FCB code converting circuit 1300 outputs this second FCB code i(B)P as a code decodable by the FCB decoding method of the system B to the code multiplexing circuit 1020 via an output terminal 55, while outputting the pulse position P ( A ) / i and the pulse polarity S ( A ) / i , corresponding to the second FCB signal, to the FCB signal generating circuit 1820.
  • the FCB signal generating circuit 1820 is supplied with the pulse position and with the pulse polarity, output from the FCB code converting circuit 1300.
  • the FCB signal generating circuit 1820 outputs the FCB signal, determined by the pulse position and the pulse polarity, as the second FCB signal c(n), to an optimum FCB gain calculating circuit 1440 and to the second excitation signal calculating circuit 1610 via an output terminal 86.
  • the gain code generating circuit 1400 is supplied with the first target signal and output from the target signal calculating circuit 1700, with the second ACB signal, and with the optimum ACB gain, while being supplied with the second FCB signal output from the FCB code generating circuit 1800.
  • the gain code generating circuit is also supplied with the impulse response signal, output from the impulse response calculating circuit 1120, and with the first LSP output from the LP coefficient code converting circuit 1100.
  • the gain code generating circuit 1400 first calculates the second target signal from the first target signal, second ACB signal, optimum ACB gain and from the impulse response signal, to calculate the optimum FCB gain from the second target signal, second FCB signal and the impulse response signal, while calculating the corrected FCB gain from the optimum FCB gain, to determine the speech decision value from the first LSP.
  • the gain code generating circuit 1400 calculates a first square error from the ACB gain and the optimum ACB gain, sequentially read from the ACB gain codebook, and from the optimum ACB gain, to calculate the second square error from the ACB gain and a corrected ACB gain.
  • the gain code generating circuit 1400 selects an ACB gain which will minimize the evaluation function, calculated from the weighting coefficient, calculated in turn from the speech decision value, the first square error, and from the second square error, and a corresponding ACB gain code.
  • the gain code generating circuit 1400 also calculates a third square error from the FCB gain, sequentially read from the FCB codebook, and the optimum FCB gain, while calculating the fourth square error from the FCB gain and the corrected FCB gain.
  • the gain code generating circuit 1400 selects the FCB gain, which will minimize the evaluation function, calculated from the weighting coefficient, calculated in turn from the speech decision value, third square error and the fourth square error, and the corresponding FCB gain code.
  • the gain code generating circuit 1400 outputs the second gain code, composed of the selected ACB gain code and the FCB gain code, as the code decodable by the gain decoding method of the system B, to the code multiplexing circuit 1020 via an output terminal 56.
  • Fig.8 shows the configuration of the gain code generating circuit 1400.
  • the gain code generating circuit includes an ACB gain encoding circuit 1410, an ACB gain codebook 1411, an FCB gain encoding circuit 1420, an FCB gain codebook 1421, a second target signal calculating circuit 1430, an optimum FCB gain calculating circuit 1440, an optimum FCB gain correction circuit 1450, and a speech/ non-speech discriminating circuit 1460.
  • the constituent elements of the gain code generating circuit 1400 are described in detail.
  • the second target signal calculating circuit 1430 is supplied via an input terminal 92 with the second ACB signal v(n), output from the ACB signal generating circuit 1720, while being supplied via an input terminal 93 with the first target signal x(n), output from the weighting signal calculating circuit 1710.
  • the second target signal calculating circuit is also supplied, via an input terminal 94, with an impulse response signal h(n), output from the impulse response calculating circuit 1120, while being supplied with the second ACB gain, output from the ACB gain encoding circuit 1410.
  • the second target signal calculating circuit 1430 outputs the second target signal x2(n) to the optimum FCB gain calculating circuit 1440.
  • the optimum FCB gain calculating circuit 1440 is supplied via an input terminal 91 with the second FCB signal c(n), output from the FCB signal generating circuit 1820, while being supplied via an input terminal 94 with the impulse response signal h(n), output from the impulse response calculating circuit 1120.
  • FCB gain gc is a gain which will minimize the distance between the second target signal x2(n) and the filter-processed second FCB signal z(n).
  • the optimum FCB gain calculating circuit 1440 outputs the optimum FCB gain to the optimum FCB gain correction circuit 1450 and to the FCB gain encoding circuit 1420.
  • the speech/ non-speech discriminating circuit 1460 sends the first LSP, output from the LSP decoding circuit 110, via an input terminal 98, while calculating the LSP variation from the first LSP and its long-term average value to determine the speech decision value from the LSP variation.
  • the latter equation is used.
  • the domain with large variation dq(n) and the domain with small variation may be associated with the speech segment and with the non-speech segment, respectively.
  • the speech decision value is output to the optimum ACB gain correction circuit 1480, ACB gain encoding circuit 1410, optimum FCB gain correction circuit 1450 and to the FCB gain encoding circuit 1420.
  • the optimum FCB gain correction circuit 1480 is supplied with an optimum ACB gain, output from the ACB signal generating circuit 1720, and with the speech decision value, output from the speech/ non-speech discriminating circuit 1460.
  • the speech decision value Vs is 0 (non-speech segment or un-voiced segment)
  • the optimum FCB gain correction circuit 1480 sets the long-term average value of the optimum ACB gain as a corrected ACB gain.
  • a e.g. 0.9.
  • For the long-term average value an average value, a median value or the mode may be used.
  • the optimum FCB gain correction circuit 1480 sets the optimum ACB gain itself as the corrected ACB gain.
  • the optimum FCB gain correction circuit 1480 outputs the corrected ACB gain to the ACB gain encoding circuit 1410.
  • the ACB gain encoding circuit 1410 is supplied via an input terminal 97 with the optimum ACB gain gp, output from the ACB signal generating circuit 1720, while being also supplied with the corrected ACB gain output from the optimum FCB gain correction circuit 1480 and with the speech decision value output from the speech/ non-speech discriminating circuit 1460.
  • the ACB gain encoding circuit 1410 calculates a first square error from the ACB gain, sequentially read from the ACB gain codebook 1411, and from the optimum ACB gain from the input terminal 97, and calculates a second square error from the ACB gain and the corrected ACB gain, while calculating, from a weighting coefficient, calculated from the speech decision value, first square error and from the second square error, an evaluation function defined by the following equation: where g p is an optimum ACB gain, is a corrected ACB gain, g and p is n ACB gain sequentially read from the ACB codebook and ⁇ is a weighting coefficient. For example, with the speech decision value Vs is 1 (speech segment), the weighting coefficient ⁇ is 1.0 and, if Vs is 0 (non-speech segment), ⁇ is 0.2.
  • the ACB gain encoding circuit 1410 selects the ACB gain, which will minimize the evaluation function, and outputs the selected ACB gain as the second ACB gain to the second target signal calculating circuit 1430, while outputting the selected ACB gain via an output terminal to the second excitation signal calculating circuit 1610 via an output terminal 95, and outputting the code corresponding to the second ACB gain as the ACB gain to a gain code multiplexing circuit 1470.
  • the optimum FCB gain correction circuit 1450 is supplied with the optimum FCB gain, output from the optimum FCB gain calculating circuit 1440, and with the speech decision value Vs, output from the speech/ non-speech discriminating circuit 1460.
  • the optimum FCB gain correction circuit 1450 sets the long-term average value of the optimum ACB gain a corrected ACB gain.
  • an average value, a median value or the mode may be used.
  • the optimum FCB gain correction circuit 1450 sets the optimum ACB gain itself as the corrected ACB gain.
  • the optimum FCB gain correction circuit 1450 outputs the corrected ACB gain to the ACB gain encoding circuit 1420.
  • the FCB gain encoding circuit 1420 is supplied with the optimum FCB gain, output from the optimum FCB gain calculating circuit 1440, while being also supplied with the corrected FCB value, output from the optimum FCB gain correcting circuit 1450, and with the speech decision value output from the speech/ non-speech discriminating circuit 1460.
  • the FCB gain encoding circuit 1420 calculates a first square error from the FCB gain, sequentially read from the FCB gain codebook 1421, and from the optimum FCB gain from the input terminal 97, and calculates a second square error from the FCB gain and the corrected FCB gain, while calculating, from the weighting coefficient, calculated from the speech decision value, first square error and from the second square error, an evaluation function defined by the following equation: where g c is an optimum FCB gain, is a corrected FCB gain, g and c is an FCB gain sequentially read from the FCB codebook and ⁇ is a weighting coefficient. For example, when the speech decision value Vs is 1 (speech segment), the weighting coefficient ⁇ is 1.0 and, if Vs is 0 (non-speech segment), ⁇ is 0.2.
  • the FCB gain encoding circuit 1420 selects the FCB gain, which will minimize the evaluation function, and outputs the selected FCB gain as the second ACB gain to the second excitation signal calculating circuit 1610 via an output terminal 96, while outputting the code corresponding to the second FCB gain as the FCB gain code to the gain code multiplexing circuit 1470.
  • the gain code multiplexing circuit 1470 is supplied with the ACB gain code, output from the ACB gain encoding circuit 1410, and with the FCB gain code, output from the FCB gain encoding circuit 1420, and outputs a second gain code, obtained on multiplexing the ACB gain code and the FCB gain code, as a code decodable by the gain decoding method of the system B, to the code multiplexing circuit 1020 via an output terminal 56.
  • the second excitation signal calculating circuit 1610 is supplied with the second ACB signal, output from the target signal calculating circuit 1700 and with the second FCB signal, output from the FCB code generating circuit 1800, while also being supplied with the second ACB gain and the second FCB gain output from the gain code generating circuit 1400.
  • the second excitation signal calculating circuit 1610 sums a signal obtained on multiplying the second ACB signal with the second ACB gain to a signal obtained on multiplying the second FCB signal with the second FCB gain to generate the second excitation signal, which second excitation signal is output to the second excitation signal storage circuit 1620.
  • the second excitation signal storage circuit 1620 is supplied with the second excitation signal, output from the second excitation signal calculating circuit 1610, to store and hold the second excitation signal, while outputting the second excitation signal, input in the past and stored and held therein to the target signal calculating circuit 1700.
  • Fig.9 shows the configuration of the second embodiment of the code conversion apparatus of the present invention.
  • an LP coefficient code converting circuit 1100 and a gain code converting circuit 2400 are substituted for the coefficient converting circuit 100 and the gain code converting circuit 400 of Fig.12, respectively, and an interconnecting line is drawn across the LP coefficient code converting circuit 1100 and the gain code converting circuit 2400.
  • the elements which are the same as those shown in Fig.12 are not described, and only the points of difference are described.
  • the LP coefficient code converting circuit 1100 is similar to that of the first embodiment described with reference to Fig.1. However, the manner of interconnection thereof to other circuits is different from that of the first embodiment. Specifically, the first LSP is output to the gain code converting circuit 400.
  • the gain code converting circuit 2400 is supplied with the first gain code, output from the code demultiplexing circuit 1010, and with the first LSP output from the LP coefficient code converting circuit 1100.
  • the gain code converting circuit 2400 computes the corrected ACB gain and the corrected FCB gain, from the first gain obtained on decoding the first gain code by the gain decoding method of the system A (first ACB gain and first FCB gain), to determine the speech decision value from the first LSP.
  • the gain code converting circuit 2400 computes the first square error from the first ACB gain and the first ACB gain, sequentially read from the ACB gain codebook, to compute the second square error from the ACB gain and the corrected ACB gain.
  • the gain code converting circuit 2400 also selects the ACB gain, which will minimize the evaluation function, calculated from the weighting function, in turn calculated from the speech decision value, the first square error and the second square error, and the corresponding ACB gain code.
  • the gain code converting circuit 2400 also calculates the third square error from the FCB gain, sequentially read from the FCB gain codebook, and the first FCB gain, while calculating the fourth square error from the FCB gain and the corrected FCB gain.
  • the gain code converting circuit 2400 also selects the FCB gain, which will minimize the evaluation function, calculated from the weighting function, in turn calculated from the speech decision value, the third square error and the fourth square error, and the corresponding ACB gain code.
  • the gain code converting circuit 2400 outputs the second gain code, made up by the selected ACB gain code and the FCB gain code, to the code multiplexing circuit 1020, as a code decodable by the gain decoding method in the system B.
  • Fig.10 shows the configuration of the gain code converting circuit 2400 of Fig.9.
  • the gain code converting circuit 2400 includes a voiced/ un-voiced discrimination circuit 1460, a gain code separation circuit 2490, an ACB gain correction circuit 2470, an ACB gain codebook 2471, an ACB gain correction circuit 2440, an ACB gain encoding circuit 2410, an ACB gain codebook 1411, an FCB gain decoding circuit 2480, an FCB gain codebook 2481, an FCB gain correction circuit 2450, an FCB gain encoding circuit 2420, an FCB gain codebook 1421, and a gain code multiplexing circuit 1470.
  • the non-speech discrimination circuit 1460 and the gain code multiplexing circuit 1470 are basically the same as the corresponding component elements, shown in Fig.8, and hence the explanation thereof are omitted in the ensuing description.
  • the gain code demultiplexing circuit 2490 is supplied via an input terminal 45 with the first gain code, output from the code demultiplexing circuit 1010, and separates the codes corresponding to the ACB gain and the FCB gain, that is, the first ACB gain code and the first FCB gain code, from the first gain code, to output the first ACB gain code and the first FCB gain code to the gain correction circuit 2470 and to the FCB gain decoding circuit 2480, respectively.
  • the ACB gain correction circuit 2470 includes an ACB gain codebook 2471, having stored therein plural sets of the ACB gain, and is supplied with the first ACB gain code, output from the gain code demultiplexing circuit 2490.
  • the ACB gain correction circuit reads out the ACB gain corresponding to the first ACB code from the first ACB gain codebook 2471 to output the so read out ACB gain as the first ACB gain to the ACB gain correction circuit 2440 and to the ACB gain encoding circuit 2410.
  • the decoding of the ACB gain from the ACB gain code is carried out in accordance with the ACB gain decoding method for the system A and uses the ACB gain codebook of the system A.
  • the FCB gain decoding circuit 2480 includes an FCB gain codebook 2481, having plural sets of the FCB gain stored therein, and is supplied with the first FCB gain code, output from the gain code demultiplexing circuit 2490.
  • the FCB gain correction circuit reads out the FCB gain corresponding to the first FCB code from the first FCB gain codebook 2481 to output the so read out FCB gain as the first FCB gain to the FCB gain correction circuit 2450 and to the FCB gain encoding circuit 2420.
  • the decoding of the FCB gain from the FCB gain code is carried out in accordance with the FCB gain decoding method for the system A and uses the FCB gain codebook of the system A.
  • the ACB gain correction circuit 2440 is supplied with the first ACB gain, output from the ACB gain correction circuit 2470, and with the speech decision value, output from the speech/ non-speech discriminating circuit 1460. If the speech decision value Vs is 0 (non-speech segment), the ACB gain correction circuit sets the long-term average value of the first ACB gain as the corrected ACB gain.
  • a e.g. 0.9.
  • For the long-term average value an average value, a median value or the mode may be used.
  • the ACB gain correction circuit 2440 sets the optimum ACB gain itself as the corrected ACB gain.
  • the ACB gain correction circuit 2440 outputs the corrected ACB gain to the ACB gain encoding circuit 2410.
  • the FCB gain correction circuit 2450 is supplied with the first FCB gain, output from the FCB gain decoding circuit 2480, while being also supplied with the speech decision value output from the speech/ non-speech discriminating circuit 1460.
  • the FCB gain correction circuit 2450 sets the long-term average value of the first FCB gain as the corrected FCB gain.
  • an average value, a median value or the mode may be used.
  • the FCB gain correction circuit 2450 sets the first FCB gain itself as the corrected FCB gain.
  • the FCB gain correction circuit 2450 outputs the corrected FCB gain to the FCB gain encoding circuit 2420.
  • the ACB gain encoding circuit 2410 is supplied with the first ACB gain, output from the ACB gain decoding circuit 2470, and with the corrected ACB gain, output from the ACB gain correction circuit 2440, while being also supplied with the speech decision value output from the speech/ non-speech discriminating circuit 1460.
  • the ACB gain encoding circuit 2410 calculates a first square error from the ACB gain, sequentially read in from the ACB gain codebook 1411, and from the first ACB gain, and calculates a second square error from the ACB gain and the corrected ACB gain, while calculating, from the weighting coefficient, calculated from the speech decision value, the first square error and the second square error, the evaluation function defined by the following equation: where g qp is the first ACB gain, is the uncorrected ACB gain, g and qp is the ACB gain, sequentially read in from the ACB gain codebook 1411, and ⁇ is the weighting coefficient. For example, if the speech decision value Vs is 1 (speech segment) or 0 (non-speech segment), the weighting coefficient ⁇ is set to 1.0 or 0.2, respectively.
  • the ACB gain encoding circuit 2410 selects the ACB gain which minimizes the evaluation function and outputs the so selected ACB gain and the code corresponding to the second ACB gain to the gain code multiplexing circuit 1470, as the second ACB gain and as the second ACB gain code, respectively.
  • the FCB gain encoding circuit 2420 is supplied with the first FCB gain, output from the FCB gain decoding circuit 2480, with the corrected FCB gain, output from the FCB gain correction circuit 2450, and with the speech decision value, output from the speech/ non-speech discriminating circuit 1460.
  • the FCB gain encoding circuit 2420 calculates a third square error from the FCB gain, sequentially read from the FCB gain codebook 1421, and from the first FCB gain, and calculates a second square error from the FCB gain and the corrected FCB gain, while calculating, from a weighting coefficient, calculated from the speech decision value, third square error and from the fourth square error, an evaluation function defined by the following equation: where g qc is the first FCB gain, is an uncorrected FCB gain, g and qc is an FCB gain sequentially read from the FCB gain codebook 1421 and ⁇ is a weighting coefficient. For example, if the speech decision value Vs is 1 (speech segment), the weighting coefficient ⁇ is 1.0 and, if the speech decision value Vs is 0 (non-speech segment), ⁇ is 0.2.
  • the FCB gain encoding circuit 2420 selects the FCB gain, which will minimize the evaluation function, and outputs the selected FCB gain as the second FCB gain and the code corresponding to the second FCB gain as the second FCB gain code to the gain code multiplexing circuit 1470.
  • the code conversion apparatus of the above-described embodiments of the present invention may be implemented by computer control, such as digital signal processor.
  • Fig.11 schematically shows an apparatus configuration in case of implementing the code conversion processing of the above embodiments by a program executed by a computer (processor) as a third embodiment of the present invention.
  • a computer executing the program read out from a recording medium 6, to execute the code conversion processing of converting the first code, obtained on encoding the speech by a first encoding/ decoding device, into a second code decodable by the second encoding/ decoding device, there is recorded, on a recording medium 6, a program to cause the computer to execute
  • a program to cause the computer to execute in order for the computer 1, executing the program read out from a recording medium 6, to execute the code conversion processing of converting the first code, obtained on encoding the speech by a first encoding/ decoding device, into a second code decodable by the second encoding/ decoding device, there is recorded, on a recording medium 6, a program to cause the computer to execute
  • the above meritorious effect may be achieved, according to the present invention, by decoding the gain information from the first code sequence, correcting the decoded gain, finding the gain information in the second code sequence based on the decoded gain corrected, the decoded gain and on the gain read out from the gain codebook in the second system and by finding the second gain using an evaluation function which will reduce the temporal variation of the second gain in the non-speech segment.

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 (1500) acquires 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 (1400) 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. 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.

Description

    TECHNICAL FIELD
  • This invention relates to encoding and decoding methods for transmitting or storing a speech signal at a low bit rate. More particularly, it relates to a method and an apparatus, used in speech communication employing different encoding/ decoding systems, for converting codes obtained on encoding the speech by a given system, into codes which can be decoded by another system, with a high sound quality and reduced computation quantity.
  • BACKGROUND ART
  • As a method for encoding a speech signal at low or medium bit rates with high efficiency, there has so far been extensively used a method which separates and encodes the speech signal into linear prediction (LP) coefficients and an excitation signal for driving an LP filter. As typical of such method is code excited linear prediction (CELP). In the CELP, an LP filter, in which the LP coefficients, representing frequency response of the input speech, is driven by an excitation signal represented by the sum of an adaptive codebook (ACB) representing the pitch period of the input speech and a fixed codebook (FCB) composed of random numbers and pulses to generate a synthesized speech signal. The ACB and FCB components are multiplied by gains (ACB gain and FCB gain). As for CELP, reference may be had to M. Schroeder and B.S. Atal: "Code Excited Linear Prediction: High Quality Speech at very low Rates," Proc. of IEEE Int. Conf. on Acoustics., Speech and Signal Processing, pp.937 to 940, 1985 (Publication 1).
  • If the interconnection between a 3G mobile network and a wired packet network is supposed to be implemented, there is raised a problem that direct connection is not possible because of the difference in the standard speech encoding systems used in the respective networks. The simplest solution for this is tandem connection. However, in the tandem connection, speech signals are transiently decoded from a code sequence, obtained on encoding the speech, using one of the standard systems, by this one standard system, and the speech signals, thus decoded, are re-encoded using the other standard system. As a result, there are raised such problems as lowered speech quality, increased delay and increased computation quantity as compared to a case where encoding and decoding are carried out only once in each of the speech encoding/ decoding systems.
  • These problems may effectively be addressed by a transcoding system in which a code obtained on encoding the speech using one of the standard systems into a code decodable using the other standard system in a code domain or in an encoding parameter domain. As for the code converting method, reference may be had to Hong-Goo Kang: "Improving Transcoding Capability of Speech Coders in Clean and Frame Erased Channel Environments," Proc. of IEEE Workshop on Speech Coding 2000, pp.78 to 80, 2000 (Publication 2).
  • Fig.12 shows an illustrative configuration of a transcoder which converts a code, obtained on encoding the speech using a first speech encoding system (system A) into a code decodable by a second code (system B). Referring to Fig.12, the transcoder includes an input terminal 10, a code demultiplexing circuit 1010, an LP coefficient code converting circuit 100, an ACB code converting circuit 200, an FCB code converting circuit 300, a gain code converting circuit 400, a code multiplexing circuit 1020 and an output terminal 20. Referring to Fig.12, the component elements of the conventional transcoder are described.
  • A first code sequence, obtained on encoding the speech in accordance with the system A, is entered to the input terminal 10.
  • The code demultiplexing circuit 1010 separates codes corresponding to the LP coefficient, ACB, FCB, ACB gain and FCB gain, that is, LP coefficient code, ACB code, FCB code and the gain code, from the first code sequence, entered to the input terminal 10. The ACB gain and the FCB gain are collectively encoded/ decoded and are termed the gains, for simplicity sake. The corresponding codes are termed gain codes. The LP coefficient code, ACB code, FCB code and the gain code are termed first LP coefficient code, first ACB code, first FCB code and the first gain code, respectively. The first LP coefficient codes, first ACB codes, first FCB codes and the first gain code are output to the LP coefficient code converting circuit 100, an ACB code converting circuit 200, an FCB code converting circuit 300 and to the gain code converting circuit 400, respectively.
  • The LP coefficient code converting circuit 100 is supplied with the first LP coefficient codes, output from the code demultiplexing circuit 1010, to convert the first LP coefficient codes into codes decodable by the system B. The so converted LP coefficient codes are output as the second LP coefficient codes to the code multiplexing circuit 1020.
  • The ACB code converting circuit 200 is supplied with the first ACB code, output from the code demultiplexing circuit 1010, to convert the first ACB code into a code decodable by the system B. The so converted ACB code is supplied as the second ACB code to the code multiplexing circuit 1020.
  • The FCB code converting circuit 300 is supplied with the first FCB code, output from the code demultiplexing circuit 1010, to convert the first FCB code into a code decodable by the system B. The so converted FCB code is supplied as the second FCB code to the code multiplexing circuit 1020.
  • The gain code converting circuit 400 is supplied with the first gain codes, output from the code demultiplexing circuit 1010, to convert the first gain code into code decodable by the system B. The so converted gain code is supplied as the second gain code to the code multiplexing circuit 1020.
  • More specified operations of the code converting circuits are hereinafter explained
  • The LP coefficient code converting circuit 100 decodes the first LP coefficient code, entered from the code demultiplexing circuit 1010, by an LP coefficient decoding method in the system A to produce first LP coefficient. The LP coefficient code converting circuit 100 quantizes and encodes the first LP coefficient, in accordance with the quantization method and the encoding method for the LP coefficient by the system B, to yield second LP coefficient code. The LP coefficient code converting circuit 100 outputs the second LP coefficient code to the code multiplexing circuit 1020, as the code decodable by the LP coefficient decoding method by the system B.
  • The ACB code converting circuit 200 translates the first ACB code, entered from the code demultiplexing circuit 1010, using the relationship of correspondence between the code of the system A and that of the system B, to derive the second ACB code. The ACB code converting circuit 200 outputs the second ACB code to the code multiplexing circuit 1020 as the code decodable by the ACB decoding method in the system B.
  • The FCB code converting circuit 300 translates the first FCB code, entered from the code demultiplexing circuit 1010, using the relationship of correspondence between the code of the system A and that of the system B, to derive the second FCB code. The FCB code converting circuit 300 outputs the second FCB code to the code multiplexing circuit 1020 as the code decodable by the FCB decoding method in the system B.
  • The gain code converting circuit 400 decodes the first gain code, supplied from the code demultiplexing circuit 1010, using the gain decoding method of the system A, to produce the first gain. The gain code converting circuit 400 then quantizes and encodes the first gain in accordance with the gain quantization method and the gain encoding method of the system B to derive the second gain and its code (second gain code). The gain code converting circuit 400 then outputs the second gain code as the code decodable by the gain decoding method of the system B to the code multiplexing circuit 1020.
  • The code multiplexing circuit 1020 is supplied with the second LP coefficient code, output from the LP coefficient code converting circuit 100, the second ACB code, output from the ACB code converting circuit 200, the second FCB code, output from the FCB code converting circuit 300 and the second gain code, output from the gain code converting circuit 400, to output a code sequence, obtained on multiplexing these codes, as a second code sequence to the output terminal 20. The above is the description of Fig.12.
  • However, the conventional transcoder, explained above with reference to Fig.12, suffers from the problem that the sound quality of the background noise energy for the non-speech period is deteriorated.
  • The reason is that the temporal variation of the background noise energy during the non-speech period are large because of severe temporal changes during the non-speech period of the second gain obtained on re-quantization of the first gain.
  • Accordingly, it is an object of the present invention to provide a method and an apparatus whereby the deterioration of the sound quality of the background noise during the non-speech period may be reduced, and a recording medium having a corresponding program recorded thereon. Other objects, features and advantages of the present invention will be apparent from the following description.
  • SUMMARY OF THE DISCLOSURE
  • For accomplishing the above object, the present invention provides, in one aspect, 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 first linear prediction coefficient and the information on an excitation signal from the first code sequence and actuating a filter having the first linear prediction coefficient with the excitation signal obtained from the 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 the first speech signal, correcting the optimum gain, and finding the gain information in the second code sequence based on an optimum gain corrected (termed 'corrected optimum gain'), the optimum gain and on the gain read out from a gain codebook for the second system. In the method of the present invention, the optimum gain is preferably found as a gain which minimizes the distance between the second speech signal, generated from the second code sequence, and the aforementioned first speech signal.
  • The present invention provides, in its second aspect, 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 the first code sequence, correcting the gain decoded (decoded gain), and finding the gain information in the code sequence based on the decoding gain corrected (corrected decoded gain), the decoded gain and the gain read out from the codebook in the second system.
  • In the invention of the second aspect, preferably a first square error is calculated from the corrected optimum gain and from the gain read out from the gain codebook, a second square error is calculated from the optimum gain and from the gain read out from the gain codebook, and a gain minimizing an evaluation function which is based on the first square error and the second square error from the gain codebook is selected to find the gain information in the second code sequence.
  • In the invention of the second aspect, preferably a first square error is calculated from the corrected decoded gain and from the gain read out from the gain codebook, a second square error is calculated from the decoded gain and from the gain read out from the gain codebook, and a gain minimizing an evaluation function which is based on the first square error and the second square error from the gain codebook is selected to find the gain information in the second code sequence.
  • In the invention of the first aspect, preferably the corrected optimum gain is based on the long-term average value of the optimum gain.
  • In the invention of the second aspect, preferably corrected decoded gain is based on the long-term average value of the decoded gain.
  • The present invention also provides, in its third aspect, a transcoder for converting a first code sequence conforming to a first system to a second code sequence conforming to a second system, comprising a speech decoding circuit for acquiring first linear prediction coefficient and the information on an excitation signal from the first code sequence and actuating a filter having the first linear prediction coefficient with the excitation signal obtained from the 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 the first speech signal, an optimum gain correcting circuit for correcting the optimum gain, and
       a gain encoding circuit for finding the gain information in the second code sequence based on an optimum gain corrected (corrected optimum gain), the optimum gain and on the gain read out from a gain codebook for the second system. In the apparatus of the present invention, the optimum gain is preferably found as a gain which minimizes the distance between the second speech signal, generated from the second code sequence, and the aforementioned first speech signal.
  • The present invention also provides, in its fourth aspect, a transcoder for converting a first code sequence conforming to a first system to a second code sequence conforming to a second system, comprising a gain decoding circuit for decoding the gain information from the first code sequence, a decoded gain correcting circuit for correcting the gain decoded (decoded gain), and a gain encoding circuit for finding the gain information in the code sequence based on the decoding gain corrected (corrected decoded gain), the decoded gain and the gain read out from the codebook in the second system.
  • In the invention of the third aspect, the gain encoding circuit preferably finds the gain information in the second code sequence by calculating a first square error from the corrected optimum gain and from the gain read out from the gain codebook, calculates a second square error from the optimum gain and from the gain read out from the gain codebook, and selects a gain minimizing an evaluation function which is based on the first square error and the second square error from the gain codebook to find the gain information in the second code sequence.
  • In the invention of the fourth aspect, the gain encoding circuit preferably calculates a first square error from the corrected decoded gain and from the gain read out from the gain codebook, calculates a second square error from the decoded gain and from the gain read out from the gain codebook, and selects a gain minimizing an evaluation function which is based on the first square error and the second square error from the gain codebook to find the gain information in the second code sequence.
  • In the optimum gain correcting circuit of the invention of the third aspect, the corrected optimum gain is preferably based on the long-term average value of the optimum gain.
  • In the decoded gain correcting circuit of the invention of the fourth aspect, the corrected decoded gain is preferably based on the long-term average value of the decoded gain.
  • The present invention also provides, in its fifth aspect, a program for having a computer, forming a transcoder for converting a first code sequence, conforming to a first system, into a second code sequence conforming to a second system, execute
  • (a) the processing of acquiring first linear prediction coefficient and the information on an excitation signal from the first code sequence and actuating a filter having the first linear prediction coefficient with the excitation signal obtained from the 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 the first speech signal,
  • (c) the processing of correcting the optimum gain, and
  • (d) the processing of finding the gain information in the second code sequence based on an optimum gain corrected (corrected optimum gain), the optimum gain and on the gain read out from a gain codebook for the second system. In the present invention, the gain which minimized the distance between the second speech signal obtained from the second code sequence and the aforementioned first speech signal is found as the optimum gain. In the present invention, the gain which minimizes the distance between the second speech signal generated from the second code sequence and the aforementioned first speech signal is found as the optimum gain.
  • The present invention provides, in its sixth aspect, a program for having a computer, forming a transcoder for converting a first code sequence conforming to a first system, into a second code sequence conforming to a second system, execute
  • (a) the processing of decoding the gain information from the first code sequence;
  • (b) the processing of correcting the gain decoded (decoded gain); and
  • (c) the processing of finding the gain information in the code sequence based on the decoding gain corrected (corrected decoded gain), the decoded gain and the gain read out from the codebook in the second system.
  • In the program of the invention of the sixth aspect, preferably a first square error is calculated from the corrected optimum gain and from the gain read out from the gain codebook, a second square error is calculated from the optimum gain and from the gain read out from the gain codebook, and a gain minimizing an evaluation function which is based on the first square error and the second square error is selected from the gain codebook to find the gain information in the second code sequence.
  • In the program of the invention of the sixth aspect, preferably a first square error is calculated from the corrected decoded gain and from the gain read out from the gain codebook, a second square error is calculated from the decoded gain and from the gain read out from the gain codebook, and a gain minimizing an evaluation function which is based on the first square error and the second square error is selected from the gain codebook to find the gain information in the second code sequence.
  • In the program of the invention of the fifth aspect, the corrected optimum gain is based on a long-term average value of the optimum gain.
  • In the program of the invention of the sixth aspect, the corrected decoded gain is based on a long-term average value of the optimum gain.
  • The present invention also provides, in its seventh aspect, a recording medium having recorded thereon the program according to the fifth and sixth aspects of the present invention.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • Fig.1 is a diagram showing the configuration of a first embodiment of a transcoder according to the present invention.
  • Fig.2 is a diagram showing the configuration of an LP coefficient code converting circuit in a transcoder according to the present invention.
  • Fig.3 illustrates a method for reading an ACB code for the relationship of correspondence between the ACB code and the ACB delay.
  • Fig.4 is a diagram showing the configuration of a speech decoding circuit of the transcoder according to the present invention.
  • Fig.5 is a diagram showing the configuration of a target signal calculating circuit in the transcoder according to the present invention.
  • Fig.6 is a diagram showing the configuration of an FCB code generating circuit in the transcoder according to the present invention.
  • Fig.7 illustrates a method for reading an ACB code for the relationship of correspondence between the pulse position code and the pulse position.
  • Fig.8 is a diagram showing the configuration of a gain code generating circuit in the transcoder according to the present invention.
  • Fig.9 is a diagram showing the configuration of a second embodiment of the transcoder according to the present invention.
  • Fig.10 is a diagram showing the configuration of a gain code generating circuit in the transcoder according to the present invention.
  • Fig.11 is a diagram showing the configuration of third and fourth embodiments of the transcoder according to the present invention.
  • Fig.12 is a diagram showing the configuration of a conventional transcoder.
  • PREFERRED EMBODIMENTS OF THE INVENTION
  • In the following, preferred embodiments of the present invention are described. First, the schematics and the principle of the apparatus and the method of the present invention are described, and the embodiments are then described in detail.
  • In the transcoder according to the present invention, a speech decoding circuit (1500) obtains the information of first linear prediction coefficient and an excitation signal from the first code sequence, conforming to the first system, and actuates a filter, having the aforementioned first linear prediction coefficient, with the excitation signal obtained from the information of the excitation signal, to generate a first speech signal. A gain code generating circuit (1400) calculates a second speech signal, generated from the information obtained from the second code sequence conforming to the second system, and the gain minimizing the distance from the first speech signal (optimum gain), and corrects the optimum gain to find the gain information in the second code sequence based on the gain read out from the gain codebook in the second system.
  • The method of the present invention has the following steps:
  • step a: the first linear prediction coefficient is obtained from the first code sequence;
  • step b: the information on the excitation signal is obtained from the first code sequence;
  • step c: the excitation signal is obtained from the information on the excitation signal;
  • step d: the filter having the first linear prediction coefficient is actuated by the excitation signal to generate a first speech signal;
  • step e: the gain minimizing the distance between the second speech signal, generated by the information obtained from the first linear prediction coefficient, and the aforementioned first speech signal (optimum signal), is calculated;
  • step f: the aforementioned optimum gain is corrected; and
  • step g: the gain information in the second code sequence is found, based on the optimum gain as corrected (corrected optimum gain), the aforementioned optimum gain, and the gain read out from the gain codebook of the second system.
  • According to the present invention, the aforementioned second gain is found, in the non-speech period, using an evaluation function which will minimize the temporal variation of the second gain (gain in the second code sequence).
  • Consequently, the temporal variation of the second gain produced become small in the aforementioned non-speech period, with the time variation of the background noise energy becoming smaller.
  • The result is that the deterioration of the sound quality of the background noise in the non-speech segment may be diminished.
  • Preferred embodiments of the present invention are now described in detail with reference to the drawings.
  • FIRST EMBODIMENT
  • Fig.1 shows the configuration of a first embodiment of the transcoder according to the present invention. In Fig.1, parts or components which are the same as those of Fig.12 are depicted by the same reference numerals. Referring to Fig.1, the first embodiment of the transcoder includes an input terminal 10, a code demultiplexing circuit 1010, an LP coefficient code converting circuit 1100, an LSP to LPC converting circuit 1110, an impulse response calculating circuit 1120, an ACB code converting circuit 1200, a target signal calculating circuit 1700, an FCB code generating circuit 1800, a gain code generating circuit 1400, a speech decoding circuit 1500, a second excitation signal calculating circuit 1610, a second excitation signal storage circuit 1620, a code multiplexing circuit 1020 and an output terminal 20. The input terminal 10, output terminal 20, code demultiplexing circuit 1010 and the code multiplexing circuit 1020 are basically the same elements as the elements shown in Fig.12, except that interconnections are partially branched. In the following, these same or equivalent elements are omitted from explanation, and mainly the point of difference from the configuration shown in Fig.12 is described.
  • It is assumed that, in the system A, the LP coefficients are encoded every T (A) / fr msec (from one frame to the next), while constituent elements of the excitation signal, such as ACB, FCB and gain, are encoded every T (A) / sfr=T (A) / fr/N (A) / sfr msec (from one sub-frame to the next).
  • On the other hand, it is assumed that, in the system B, the LP coefficients are encoded every T (B) / fr msec (from one frame to the next), while constituent elements of the excitation signal are encoded every T (B) / sfr=T (B) / fr/N (B) / sfr msec (from one sub-frame to the next).
  • It is also assumed that the frame length, number of sub-frames and the sub-frame length of the system A are L (A) / fr , N (A) / sfr and L (A) / sfr = L (A) / fr / N (A) / sfr, respectively.
  • It is also assumed that the frame length, number of sub-frames and the sub-frame length of the system B are L (B) / fr, N (B) / sfr and L (B) / sfr = L (B) / fr / N (B) / sfr, respectively.
  • In the following explanation, it is assumed, for simplicity sake, that L (A) fr = L (B) fr N (A) sfr = N (B) sfr = 2
  • If it is assumed that, for example, the sampling frequency is 8000 Hz and that T (A) / fr and T (B) / fr are 10 msec, L (A) / fr and L (B) / fr are 160 samples, while L (A) / sfr and L (B) / sfr are 80 samples.
  • The LP coefficient code converting circuit 1100 is supplied from the code demultiplexing circuit 1010 with the first LP coefficient code. It is noted that, in many standard systems, including '3GPP AMR Speech Codec' (Publication 3) and ITU-T recommendations G.729, the LP coefficient is represented by a line spectral pair (LSP), which LSP is encoded and decoded, and hence it is assumed that encoding and decoding of the LP coefficient is carried out in an LSP domain. As regards the conversion from the LP coefficient to LSP and from LSP to LP coefficient, reference may be had to known methods, such as are described in 'Publication 3' paragraphs 5.2.3 and 5.2.5. The LP coefficient code converting circuit 1100 decodes the aforementioned first LP coefficient code by the LSP decoding method in the system A to yield a first LSP.
  • The LP coefficient code converting circuit 1100 quantizes and encodes the first LSP by the LSP quantizing and encoding methods of the system B to yield a second LSP and a corresponding code (second LP coefficient code). The LP coefficient code converting circuit 1100 outputs the second LP coefficient code to the code multiplexing circuit 1020, as the code decodable by the LSP decoding method of the system B, and outputs the frit LSP and the second LSP to the LSP-to-LPC converting circuit 1110.
  • Fig.2 depicts the configuration of the LP coefficient code converting circuit 1100. Referring to Fig.2, the LP coefficient code converting circuit 1100 includes an LSP decoding circuit 110, a first LSP codebook 111, an LSP coefficient encoding circuit 130 and a second LSP codebook 131. Referring to Fig.2, the constituent elements of the LP coefficient code converting circuit 1100 are described.
  • The LSP decoding circuit 110 decodes the LP coefficient code into corresponding LSP. The LSP decoding circuit 110 includes the first LSP codebook 111, in which there are stored plural sets of LSPs. More specifically, the LSP decoding circuit is supplied via the input terminal 31 with first LP coefficient code, output from the code demultiplexing circuit 1010, and reads out LSP corresponding to the first LSP coefficient code from the first LSP codebook 111 to output the so read out LSP as the first LSP to the LSP coefficient encoding circuit 130, as well as to output the read out LSP via an output terminal 33 to the LSP-LPC converting circuit 1110. For decoding the LSP from the LP coefficient codes, the LSP codebook of the system A is used, in accordance with the LSP decoding method of the system A.
  • The LSP coefficient encoding circuit 130 is supplied with the first LSP, output from the LSP decoding circuit 110, to read in the second LSP and the corresponding LP coefficient codes sequentially from the second LSP codebook 131 in which there are stored the LSPs of the plural sets. The LSP coefficient encoding circuit then selects the second LSP, having the smallest error from the first LSP, and outputs an LP coefficient code, corresponding thereto, as a second LP coefficient code, via an output terminal 32 as the second LP coefficient code, to the code multiplexing circuit 1020, while outputting the second LSP via an output terminal 34 to the LSP-LPC converting circuit 1110. In the method for selecting the second LSP, that is, in the method for quantizing and encoding the LSPs, an LSP codebook of the system B is used, in accordance with the method for quantizing and encoding the LSPs for the system B. As regards the quantization and encoding for the LSPs, reference may be had to the description of the paragraph 5.2.5 of the 'Publication 3'.
  • The above is the explanation for the LP coefficient code converting circuit 1100, and reversion is now made to the explanation with reference to Fig.1.
  • The LSP-LPC converting circuit 1110 is supplied with the first LSP and the second LSP, output from the LP coefficient code converting circuit 1100, and converts the first LSP and the second LSP into a first LP coefficient a1,j and into a second LP coefficient a2,j to output the first LP coefficient a1,j to the target signal calculating circuit 1700, speech decoding circuit 1500 and to the impulse response calculating circuit 1120, as well as to output the second LP coefficient a2,j to the target signal calculating circuit 1700 and to the impulse response calculating circuit 1120. As for conversion from the LP to the LP coefficient, reference may be made to the description of the paragraph 5.2.4 of the 'Publication 3'.
  • The ACB code converting circuit 1200 re-reads the first ACB code, entered from the code demultiplexing circuit 1010, using the relationship of correspondence between the code of the system A and that of the system B, to obtain the second ACB code. The ACB code converting circuit 1200 outputs the second ACB code to the code multiplexing circuit 1020 as a code decodable by the ACB decoding method in the system B. The ACB code converting circuit 1200 also outputs the ACB delay, corresponding to the second ACB code, as the second ACB delay to the target signal calculating circuit 1700.
  • Referring to Fig.3, code translation is described. It is assumed that, in case the ACB code of the system A i (A) / T is 56, the corresponding ACB delay i (B) / T is 76, for example. It is also assumed that, in case the ACB code of the system B i (B) / T is 53, the corresponding ACB delay T (B) is 76. Then, for converting the ACB code from the system A to the system B so that the value of the ACB delay is equal (in this case, 76), it is sufficient if the ACB code 56 of the system A is correlated with the ACB code 53 of the system B. The above is the explanation for the code re-reading, and reversion is now made to the explanation with reference to Fig.1.
  • The speech decoding circuit 1500 is supplied with the first ACB code, first FCB code and the first gain code, output from the code demultiplexing circuit 1010, while being supplied with the first LP coefficient from the LSP-LPC converting circuit 1110. The speech decoding circuit 1500 decodes the ACB delay, FCB signal and the gain from the first ACB signal, first FCB signal and the first gain code, respectively, using the ACB decoding method, FCB signal decoding method and the gain decoding method for the system A, respectively, with the so decoded ACB delay, FCB signal and gain being the first ACB delay, first FCB delay and the first gain, respectively. The speech decoding circuit 1500 generates the ACB signal, using the first ACB delay, with the so generated ACB signal being then the first ACB signal. The speech decoding circuit 1500 generates a speech signal from the first ACB signal, first FCB signal, first gain and from the first LP coefficient to output the speech to the target signal calculating circuit 1700.
  • Fig.4 shows the configuration of the speech decoding circuit 1500. Referring to Fig.4, the speech decoding circuit 1500 includes an excitation signal information decoding circuit 1600, made up by an ACB decoding circuit 1510, an FCB decoding circuit 1520 and a gain decoding circuit 1530, an excitation signal calculating circuit 1540, an excitation signal storage circuit 1570 and a synthesis filter 1580. Referring to Fig.4, component elements of the speech decoding circuit 1500 are described.
  • The excitation signal information decoding circuit 1600 decodes the information of excitation signal from the codes corresponding to the information of the excitation signal. Thus, the excitation signal information decoding circuit is supplied via an input terminals 51 to 53 with the first ACB signal, first FCD signal and with the first gain signal to decode the ACB delay, FCB signal and the gain, respectively, with the so decoded the ACB delay, FCB signal and the gain being the first ACB delay, first FCB signal and the first gain, respectively. It is noted that the first gain is made up by the ACB delay and the FCB delay, which are the first ACB delay and the first FCB delay, respectively. The excitation signal information decoding circuit 1600 generates the ACB signal, using past excitation signals and the first ACB delay, with the so generated ACB signal being the first ACB signal. The excitation signal information decoding circuit 1600 outputs the first ACB signal, first FCB signal, first ACB gain and the first FCB gain to the excitation signal calculating circuit 1540.
  • The ACB decoding circuit 1510, FCB decoding circuit 1520 gain decoding circuit 1530, making up the excitation signal information decoding circuit 1600, are now described in detail.
  • The ACB decoding circuit 1510 is supplied via an input terminal 51 with the first ACB code, output from the code demultiplexing circuit 1010, while being supplied with a past excitation signal output from the excitation signal storage circuit 1570. The ACB decoding circuit 1510 acquires the first ACB delay T (A), corresponding to the first ACB code, using the relationship of correspondence between the ACB code and the ACB delay for the system A, shown in Fig.3, as described for the ACB code converting circuit 1200. In the excitation signal, a signal of L (A) / sfr samples, corresponding to the sub-frame length, is extracted from a point of past T (A) samples, as from the beginning point of the current sub-frame, to generate the first ACB signal. If T (A) is smaller than L (A) / sfr, a vector of T (A) samples is extracted out, and a plural number of these vectors are repeatedly concatenated to yield a signal of a length of L (A) / sfr samples, which are output to the excitation signal calculating circuit 1540. As to details of the method for generating the first ACB signals, reference may be had to the description of paragraphs 6.1 and 5.6 of the 'Publication 3'.
  • The FCB decoding circuit 1520 is supplied via an input terminal 52 with the first FCB signal, output from the code demultiplexing circuit 1010, to output a first FCB signal, corresponding to the first FCB signal, to the excitation signal calculating circuit 1540. The FCB signal is represented by a multi-path signal, as determined by the pulse position and by the pulse polarity, and the first FCB code is made up by a code corresponding to the pulse position (pulse position code) and the code corresponding to the pulse polarity (pulse polarity code). As for details of the method for generating FCB signals, represented by the multipath signals, reference may be had to the description of the paragraphs 6.1 and 5.7 of the 'Publication 3'.
  • The gain decoding circuit 1530 is supplied with the first gain code, output from the code demultiplexing circuit 1010, via an input terminal 53. The gain decoding circuit 1530 has therein a table, in which a plural number of gains are stored, and reads out the gain, corresponding to the first gain code, from the table. The gain decoding circuit 1530 outputs the first ACB gain, corresponding to the ACB gain, while outputting the first FCB gain, corresponding to the FCB gain, out of the read-out gain, to the excitation signal calculating circuit 1540. In case the first ACB gain and the first FCB gain are encoded collectively, a plural number of two-dimensional vectors, made up by the first ACB gain and the first FCB delay, are stored in the table. In case the first ACB gain and the first FCB gain are encoded individually, there are provided two tables, one of which has stored therein a plural number of the first ACB gains and the other of which has stored therein a plural number of the first FCB gains.
  • The excitation signal calculating circuit 1540 is supplied with first ACB signals, output from the ACB decoding circuit 1510, while being supplied with the first FCB signal, output from the FCB decoding circuit 1520, and with the first ACB gain and the first FCB gain, output from the gain decoding circuit 1530. The excitation signal calculating circuit 1540 sums a signal, obtained on multiplying the first ACB signal with the first ACB gain, to a signal obtained on multiplying the first FCB signal with the first FCB gain, to generate a first excitation signal. The excitation signal calculating circuit 1540 outputs the first excitation signal to the synthesis filter 1580 and to the excitation signal storage circuit 1570.
  • The excitation signal storage circuit 1570 is supplied with a first excitation signal, output from the excitation signal calculating circuit 1540, to store and hold the signal. The excitation signal storage circuit 1570 outputs the past first excitation signal, input in the past and stored/ held therein, to the ACB decoding circuit 1510.
  • The synthesis filter 1580 is supplied with the first excitation signal, output from the excitation signal calculating circuit 1540, while being supplied via an input terminal 61 with the first LP coefficient output from the LSP-LPC converting circuit 1110. The synthesis filter 1580 actuates a linear prediction filter, having the first LP coefficient, with the first excitation signal, to generate a speech signal. The speech signal, thus generated, is sent via an output terminal 63 to the target signal calculating circuit 1700.
  • The above is the explanation for the speech decoding circuit 1500, and reversion is now made to the explanation with reference to Fig.1.
  • The target signal calculating circuit 1700 is supplied from the LSP-LPC converting circuit 1110 with the first LSP and with the second LSP, while being supplied from the ACB code converting circuit 1200 with the second ACB delay corresponding to the second ACB code. The target signal calculating circuit 1700 is also supplied with the decoded speech from the speech decoding circuit 1500, with an impulse response signal from the impulse response calculating circuit 1120 and with a past second excitation signal stored and held in the second excitation signal storage circuit 1620. The target signal calculating circuit 1700 calculates the first target signal from the decoded speech, the first LP coefficient and from the second LP coefficient. The target signal calculating circuit 1700 then finds the second ACB signal and the optimum ACB gain from the past second excitation signal, impulse response signal, first target signal and from the second ACB delay. The target signal calculating circuit 1700 outputs the first target signal and the optimum ACB gain to the gain code generating circuit 1400, while outputting the second ACB signal to the gain code generating circuit 1400 and to the second excitation signal calculating circuit 1610.
  • Fig.5 shows the configuration of the target signal calculating circuit 1700. Referring to Fig.5, the target signal calculating circuit 1700 includes a weighting signal calculating circuit 1710, an ACB signal generating circuit 1720, and an optimum ACB gain calculating circuit 1730. Referring to Fig.5, the component elements of the target signal calculating circuit 1700 are described.
  • The weighting signal calculating circuit 1710 is supplied with a decoded speech s(n), output from the synthesis filter 1580 of the speech decoding circuit 1500, via an input terminal 57, while also being supplied with the first LP coefficient a1,j and with the second LP coefficient a2,j , output from the LSP-LPC converting circuit 1110, via an input terminals 36 and 35, respectively. The weighting signal calculating circuit 1710 first forms an auditory perceptual weighting filter W(z), using first LP coefficients.
  • The weighting signal calculating circuit 1710 actuates the auditory perceptual weighting filter, by the decoded speech, to generate an auditory perceptually weighted speech signal. The weighting signal calculating circuit 1710 then forms an auditory perceptual weighting synthesis filter W(z)/A2(z), using the first LP coefficient and the second LP coefficient.
  • The weighting signal calculating circuit 1710 outputs a first target signal x(n), obtained on subtracting a zero-input response of the auditory perceptual weighting synthesis filter from the auditory perceptually weighted speech signal, to the ACB signal generating circuit 1720 and to the optimum ACB gain calculating circuit 1730, while outputting the same signal to a second target signal calculating circuit 1430 via an output terminal 78.
  • The ACB signal generating circuit 1720 is supplied with a first target signal, output from the weighting signal calculating circuit 1710, while being supplied via an input terminal 37 with a second ACB delay T(B)lag, output from the ACB code converting circuit 1200. The ACB signal generating circuit 1720 is also supplied with an impulse response signal h(n), output from the impulse response calculating circuit 1120, while being supplied via an input terminal 75 with a past second excitation signal u(n), output from the second excitation signal storage circuit 1620.
  • The ACB signal generating circuit 1720 calculates the filter-processed past excitation signal with a delay k: y k (n), n = 0,···,L (B) sfr -1 by convolution of the signal which is extracted from the past second excitation signal with a delay k, with the impulse response signal.
  • Meanwhile, the delay k is the second ACB delay and the signal extracted with the delay k from the past second excitation signal is the second ACB signal v(n).
  • The ACB signal generating circuit 1720 outputs the second ACB signal to the second target signal calculating circuit 1430 and to the second excitation signal calculating circuit 1610, via an output terminal 76, while outputting the filter-processed past excitation signal yk(n), with the delay k, to the optimum ACB gain calculating circuit 1730.
  • The optimum ACB gain calculating circuit 1730 is supplied with the first target signal x(n), output from the weighting signal calculating circuit 1710, and with the filter-processed past excitation signal yk(n), with the delay k, output from the ACB signal generating circuit 1720.
  • The optimum ACB gain calculating circuit 1730 then calculates, from the first target signal x(n) and the filter-processed past excitation signal yk(n), with the delay k, an optimum ACB gain gp, in accordance with the following equation:
    Figure 00300001
    where the optimum ACB gain gp is a gain which minimizes the distance between the first target signal x(n) and the filter-processed past excitation signal yk(n), with the delay k.
  • The optimum ACB gain calculating circuit 1730 outputs the optimum ACB gain gp to an ACB gain encoding circuit 1410 via an output terminal 77.
  • As regards the method for calculating the second ACB signal and the method for calculating the optimum ACB gain, reference may be made to paragraphs 6.1 and 5.6 of the 'Publication 3'. The above is the explanation for the target signal calculating circuit 1500, and reversion is now made to the explanation with reference to Fig.1.
  • The impulse response calculating circuit 1120, supplied with the first LP coefficient and the second LP coefficient, output from the LSP-LPC converting circuit 1110, constitutes an auditory perceptual weighting synthesis filter, using the first and second LP coefficients.
  • The impulse response calculating circuit 1120 outputs an impulse response signal of the auditory perceptual weighting synthesis filter to the target signal calculating circuit 1700 and to the gain code generating circuit 1400. The transfer function of the auditory perceptual weighting synthesis filter is represented by the following equation: W(z) A 2(z) = A 1(z1) A 2(z)A 1(z2) where
    Figure 00310001
    is a transfer function of a linear predictive filter having second LP coefficients a2,i i= 1,···, P, and
    Figure 00310002
    is a transfer function of an auditory perceptually weighted filter having second LP coefficient a1,i i= 1,···, P.
  • It is noted that P is the degree of linear prediction, such as 10, while γ1 and γ2 are weighting controlling coefficients, such as 0.94 and 0.6.
  • An FCB code generating circuit 1800 is supplied with the first FCB signal, output from the code demultiplexing circuit 1010, to convert the first FCB signal into a code decodable by the system B. The FCB code generating circuit 1800 outputs the converted FCB signal as a second FCB signal to the gain code generating circuit 1400 and to the second excitation signal calculating circuit 1610. The FCB signal is made up by plural pulses and is represented by a multipath signal prescribed by the pulse position and the polarity (pulse polarity). The FCB signal is composed of a code corresponding to the pulse position (pulse position code) and a code corresponding to the pulse polarity (pulse polarity code). As for the method for expressing the FCB signal by the multi-path signal, reference may be made to the description of paragraph 5.7 of the 'Publication 3'.
  • Fig.6 shows the configuration of the FCB code generating circuit 1800. Referring to Fig.6, the FCB code generating circuit 1800 includes an FCB code converting circuit 1300 and an FCB signal generating circuit 1820. Referring to Fig.6, component elements of the FCB code generating circuit 1800 are described.
  • The FCB code converting circuit 1300 translates a first FCB code i(A)P, entered via an input terminal 85 from the code demultiplexing circuit 1010, using the relationship of correspondence between the codes of the system A and those of the system B, to obtain a second FCB code i(B)P. The FCB code converting circuit 1300 outputs this second FCB code i(B)P as a code decodable by the FCB decoding method of the system B to the code multiplexing circuit 1020 via an output terminal 55, while outputting the pulse position P (A) / i and the pulse polarity S (A) / i, corresponding to the second FCB signal, to the FCB signal generating circuit 1820.
  • Referring to Fig.7, replacement of the pulse position codes is described. It is assumed that, in case the pulse position code of the system A i (A) / P is 6, the corresponding pulse position P (A) / 0 s 30, for example. It is also assumed that, in case the pulse position code of the system B i (B) / P s 1, the corresponding pulse position P (B) / 0 is 30. Then, for converting the pulse position code from the system A to the system B so that the value of the pulse position is equal (in this case, 30), it is sufficient if the pulse position code 6 of the system A is correlated with the pulse position code 1 of the system B.
  • The above is the explanation for the replacement of the pulse position code and the pulse polarity code, and reversion is now made to the explanation with reference to Fig.1.
  • The FCB signal generating circuit 1820 is supplied with the pulse position and with the pulse polarity, output from the FCB code converting circuit 1300. The FCB signal generating circuit 1820 outputs the FCB signal, determined by the pulse position and the pulse polarity, as the second FCB signal c(n), to an optimum FCB gain calculating circuit 1440 and to the second excitation signal calculating circuit 1610 via an output terminal 86.
  • The above is the explanation for the FCB code generating circuit 1800, and the pulse polarity code, and reversion is now made to the explanation with reference to Fig.1.
  • The gain code generating circuit 1400 is supplied with the first target signal and output from the target signal calculating circuit 1700, with the second ACB signal, and with the optimum ACB gain, while being supplied with the second FCB signal output from the FCB code generating circuit 1800. The gain code generating circuit is also supplied with the impulse response signal, output from the impulse response calculating circuit 1120, and with the first LSP output from the LP coefficient code converting circuit 1100.
  • The gain code generating circuit 1400 first calculates the second target signal from the first target signal, second ACB signal, optimum ACB gain and from the impulse response signal, to calculate the optimum FCB gain from the second target signal, second FCB signal and the impulse response signal, while calculating the corrected FCB gain from the optimum FCB gain, to determine the speech decision value from the first LSP.
  • The gain code generating circuit 1400 calculates a first square error from the ACB gain and the optimum ACB gain, sequentially read from the ACB gain codebook, and from the optimum ACB gain, to calculate the second square error from the ACB gain and a corrected ACB gain.
  • The gain code generating circuit 1400 selects an ACB gain which will minimize the evaluation function, calculated from the weighting coefficient, calculated in turn from the speech decision value, the first square error, and from the second square error, and a corresponding ACB gain code.
  • The gain code generating circuit 1400 also calculates a third square error from the FCB gain, sequentially read from the FCB codebook, and the optimum FCB gain, while calculating the fourth square error from the FCB gain and the corrected FCB gain.
  • The gain code generating circuit 1400 selects the FCB gain, which will minimize the evaluation function, calculated from the weighting coefficient, calculated in turn from the speech decision value, third square error and the fourth square error, and the corresponding FCB gain code.
  • Finally, the gain code generating circuit 1400 outputs the second gain code, composed of the selected ACB gain code and the FCB gain code, as the code decodable by the gain decoding method of the system B, to the code multiplexing circuit 1020 via an output terminal 56.
  • Fig.8 shows the configuration of the gain code generating circuit 1400. Referring to Fig.8, the gain code generating circuit includes an ACB gain encoding circuit 1410, an ACB gain codebook 1411, an FCB gain encoding circuit 1420, an FCB gain codebook 1421, a second target signal calculating circuit 1430, an optimum FCB gain calculating circuit 1440, an optimum FCB gain correction circuit 1450, and a speech/ non-speech discriminating circuit 1460. Referring to Fig.8, the constituent elements of the gain code generating circuit 1400 are described in detail.
  • The second target signal calculating circuit 1430 is supplied via an input terminal 92 with the second ACB signal v(n), output from the ACB signal generating circuit 1720, while being supplied via an input terminal 93 with the first target signal x(n), output from the weighting signal calculating circuit 1710. The second target signal calculating circuit is also supplied, via an input terminal 94, with an impulse response signal h(n), output from the impulse response calculating circuit 1120, while being supplied with the second ACB gain, output from the ACB gain encoding circuit 1410.
  • The second target signal calculating circuit 1430 calculates a filter-processed second ACB signal y(n), n = 0,···,I (B) sfr - 1 by convolution of the second ACB signal with the impulse response signal, and subtracts a signal corresponding to y(n) multiplied with the second ACB gain g and p from the first target signal x(n) to yield second target signal x2(n), in accordance with the following equations: x 2(n) = x(n) - g p y(n), y(n) = v(n) * h(n)
  • The second target signal calculating circuit 1430 outputs the second target signal x2(n) to the optimum FCB gain calculating circuit 1440.
  • The optimum FCB gain calculating circuit 1440 is supplied via an input terminal 91 with the second FCB signal c(n), output from the FCB signal generating circuit 1820, while being supplied via an input terminal 94 with the impulse response signal h(n), output from the impulse response calculating circuit 1120. The optimum FCB gain calculating circuit 1440 is also supplied with the second target signal x2(n), output from the second target signal calculating circuit 1430, and calculates the filter-processed second FCB signal z(n) z(n), n = 0, ···, L (B) sfr - 1 by convolution of the second FCB signal with the impulse response signal, to calculate an optimum FCB gain gc, from the second target signal x2(n) and the filter-processed second FCB signal z(n), in accordance with the following equation:
    Figure 00370001
  • It is noted that the optimum FCB gain gc is a gain which will minimize the distance between the second target signal x2(n) and the filter-processed second FCB signal z(n).
  • The optimum FCB gain calculating circuit 1440 outputs the optimum FCB gain to the optimum FCB gain correction circuit 1450 and to the FCB gain encoding circuit 1420.
  • The speech/ non-speech discriminating circuit 1460 sends the first LSP, output from the LSP decoding circuit 110, via an input terminal 98, while calculating the LSP variation from the first LSP and its long-term average value to determine the speech decision value from the LSP variation.
  • The sequence of operations for finding the LSP variation is now described. In an n'th frame, the long-term average value of the LSP q j (n)
    is calculated in accordance with the following equation: q j (n) = β · q j (n-1)+(1-β) · q (Nsfr ) j (n), j=1, ···, N p where Np is the degree of linear prediction and β is e.g. 0.9.
  • The variation dq(n) of the LSP in the n'th frame is defined by the following equation:
    Figure 00380001
    where D (m) q,j (n) may be defined e.g. by an error between q j (n) and q (m) j (n) D (m) q,j (n) = ( q j (n) - q (m) j (n))2 or D (m) q,j (n) = | q j (n) - q (m) j (n)|. Here, the latter equation is used. The domain with large variation dq(n) and the domain with small variation may be associated with the speech segment and with the non-speech segment, respectively. The speech decision value S vs is determined by the threshold value processing for the variation dq(n), that is,
    if (d q (n)≥C vs ) then V s = 1
    else V s = 0
    (Vs = 1 if dq(n) is not less than Cvs
    Vs= 0 if dq(n) is less than Cvs)
    where Cvs is a predetermined constant, such as, for example, 2.2, Vs = 1 corresponds to the speech segment and Vs = 0 corresponds to the non-speech segment. The speech decision value is output to the optimum ACB gain correction circuit 1480, ACB gain encoding circuit 1410, optimum FCB gain correction circuit 1450 and to the FCB gain encoding circuit 1420.
  • The optimum FCB gain correction circuit 1480 is supplied with an optimum ACB gain, output from the ACB signal generating circuit 1720, and with the speech decision value, output from the speech/ non-speech discriminating circuit 1460. When the speech decision value Vs is 0 (non-speech segment or un-voiced segment), the optimum FCB gain correction circuit 1480 sets the long-term average value of the optimum ACB gain as a corrected ACB gain. The optimum FCB gain correction circuit calculates the long-term average value of the optimum ACB gain in accordance with the following equation: g p (n) = α· g p (n-1)+(1-α)·g p (n) where g p (n) is an optimum gain for the n'th sub-frame, g p (n) is the long-term average value of the optimum ACB gain, and a is e.g. 0.9. For the long-term average value, an average value, a median value or the mode may be used.
  • On the other hand, when the speech decision, value Vs is 1 (speech segment, or voiced segment), the optimum FCB gain correction circuit 1480 sets the optimum ACB gain itself as the corrected ACB gain.
  • The optimum FCB gain correction circuit 1480 outputs the corrected ACB gain to the ACB gain encoding circuit 1410.
  • The ACB gain encoding circuit 1410 is supplied via an input terminal 97 with the optimum ACB gain gp, output from the ACB signal generating circuit 1720, while being also supplied with the corrected ACB gain output from the optimum FCB gain correction circuit 1480 and with the speech decision value output from the speech/ non-speech discriminating circuit 1460.
  • The ACB gain encoding circuit 1410 calculates a first square error from the ACB gain, sequentially read from the ACB gain codebook 1411, and from the optimum ACB gain from the input terminal 97, and calculates a second square error from the ACB gain and the corrected ACB gain, while calculating, from a weighting coefficient, calculated from the speech decision value, first square error and from the second square error, an evaluation function defined by the following equation:
    Figure 00400001
    where g p is an optimum ACB gain,
    Figure 00400002
    is a corrected ACB gain, g and p is n ACB gain sequentially read from the ACB codebook and µ is a weighting coefficient. For example, with the speech decision value Vs is 1 (speech segment), the weighting coefficient µ is 1.0 and, if Vs is 0 (non-speech segment), µ is 0.2.
  • The ACB gain encoding circuit 1410 selects the ACB gain, which will minimize the evaluation function, and outputs the selected ACB gain as the second ACB gain to the second target signal calculating circuit 1430, while outputting the selected ACB gain via an output terminal to the second excitation signal calculating circuit 1610 via an output terminal 95, and outputting the code corresponding to the second ACB gain as the ACB gain to a gain code multiplexing circuit 1470.
  • The optimum FCB gain correction circuit 1450 is supplied with the optimum FCB gain, output from the optimum FCB gain calculating circuit 1440, and with the speech decision value Vs, output from the speech/ non-speech discriminating circuit 1460.
  • When the speech decision value Vs is 0 (non-speech segment), the optimum FCB gain correction circuit 1450 sets the long-term average value of the optimum ACB gain a corrected ACB gain. The optimum FCB gain correction circuit calculates the long-term average value of the optimum ACB gain in accordance with the following equation: g c (n) = α · g c (n-1) + (1-α) · g c (n) where g c (n) is an optimum gain for the n'th sub-frame, g c (n) is the long-term average value of the optimum ACB gain for the n'th sub-frame, and a is e.g. 0.9. For the long-term average value, an average value, a median value or the mode may be used.
  • On the other hand, when the speech decision value Vs is 1 (speech segment), the optimum FCB gain correction circuit 1450 sets the optimum ACB gain itself as the corrected ACB gain.
  • The optimum FCB gain correction circuit 1450 outputs the corrected ACB gain to the ACB gain encoding circuit 1420.
  • The FCB gain encoding circuit 1420 is supplied with the optimum FCB gain, output from the optimum FCB gain calculating circuit 1440, while being also supplied with the corrected FCB value, output from the optimum FCB gain correcting circuit 1450, and with the speech decision value output from the speech/ non-speech discriminating circuit 1460. The FCB gain encoding circuit 1420 calculates a first square error from the FCB gain, sequentially read from the FCB gain codebook 1421, and from the optimum FCB gain from the input terminal 97, and calculates a second square error from the FCB gain and the corrected FCB gain, while calculating, from the weighting coefficient, calculated from the speech decision value, first square error and from the second square error, an evaluation function defined by the following equation:
    Figure 00420001
    where g c is an optimum FCB gain,
    Figure 00420002
    is a corrected FCB gain, g and c is an FCB gain sequentially read from the FCB codebook and µ is a weighting coefficient. For example, when the speech decision value Vs is 1 (speech segment), the weighting coefficient µ is 1.0 and, if Vs is 0 (non-speech segment), µ is 0.2.
  • The FCB gain encoding circuit 1420 selects the FCB gain, which will minimize the evaluation function, and outputs the selected FCB gain as the second ACB gain to the second excitation signal calculating circuit 1610 via an output terminal 96, while outputting the code corresponding to the second FCB gain as the FCB gain code to the gain code multiplexing circuit 1470.
  • The gain code multiplexing circuit 1470 is supplied with the ACB gain code, output from the ACB gain encoding circuit 1410, and with the FCB gain code, output from the FCB gain encoding circuit 1420, and outputs a second gain code, obtained on multiplexing the ACB gain code and the FCB gain code, as a code decodable by the gain decoding method of the system B, to the code multiplexing circuit 1020 via an output terminal 56.
  • The above is the explanation for the gain code generating circuit 1400, and the pulse polarity code, and reversion is now made to the explanation with reference to Fig.1.
  • The second excitation signal calculating circuit 1610 is supplied with the second ACB signal, output from the target signal calculating circuit 1700 and with the second FCB signal, output from the FCB code generating circuit 1800, while also being supplied with the second ACB gain and the second FCB gain output from the gain code generating circuit 1400. The second excitation signal calculating circuit 1610 sums a signal obtained on multiplying the second ACB signal with the second ACB gain to a signal obtained on multiplying the second FCB signal with the second FCB gain to generate the second excitation signal, which second excitation signal is output to the second excitation signal storage circuit 1620.
  • The second excitation signal storage circuit 1620 is supplied with the second excitation signal, output from the second excitation signal calculating circuit 1610, to store and hold the second excitation signal, while outputting the second excitation signal, input in the past and stored and held therein to the target signal calculating circuit 1700. The above is the explanation of the first embodiment of the present invention.
  • SECOND EMBODIMENT
  • The second embodiment of the present invention is hereinafter described. Fig.9 shows the configuration of the second embodiment of the code conversion apparatus of the present invention. In Fig.9, an LP coefficient code converting circuit 1100 and a gain code converting circuit 2400 are substituted for the coefficient converting circuit 100 and the gain code converting circuit 400 of Fig.12, respectively, and an interconnecting line is drawn across the LP coefficient code converting circuit 1100 and the gain code converting circuit 2400. In the following, the elements which are the same as those shown in Fig.12 are not described, and only the points of difference are described.
  • The LP coefficient code converting circuit 1100 is similar to that of the first embodiment described with reference to Fig.1. However, the manner of interconnection thereof to other circuits is different from that of the first embodiment. Specifically, the first LSP is output to the gain code converting circuit 400.
  • The gain code converting circuit 2400 is supplied with the first gain code, output from the code demultiplexing circuit 1010, and with the first LSP output from the LP coefficient code converting circuit 1100.
  • The gain code converting circuit 2400 computes the corrected ACB gain and the corrected FCB gain, from the first gain obtained on decoding the first gain code by the gain decoding method of the system A (first ACB gain and first FCB gain), to determine the speech decision value from the first LSP.
  • The gain code converting circuit 2400 computes the first square error from the first ACB gain and the first ACB gain, sequentially read from the ACB gain codebook, to compute the second square error from the ACB gain and the corrected ACB gain.
  • The gain code converting circuit 2400 also selects the ACB gain, which will minimize the evaluation function, calculated from the weighting function, in turn calculated from the speech decision value, the first square error and the second square error, and the corresponding ACB gain code.
  • The gain code converting circuit 2400 also calculates the third square error from the FCB gain, sequentially read from the FCB gain codebook, and the first FCB gain, while calculating the fourth square error from the FCB gain and the corrected FCB gain. The gain code converting circuit 2400 also selects the FCB gain, which will minimize the evaluation function, calculated from the weighting function, in turn calculated from the speech decision value, the third square error and the fourth square error, and the corresponding ACB gain code.
  • Finally, the gain code converting circuit 2400 outputs the second gain code, made up by the selected ACB gain code and the FCB gain code, to the code multiplexing circuit 1020, as a code decodable by the gain decoding method in the system B.
  • Fig.10 shows the configuration of the gain code converting circuit 2400 of Fig.9. Referring to Fig.10, the gain code converting circuit 2400 includes a voiced/ un-voiced discrimination circuit 1460, a gain code separation circuit 2490, an ACB gain correction circuit 2470, an ACB gain codebook 2471, an ACB gain correction circuit 2440, an ACB gain encoding circuit 2410, an ACB gain codebook 1411, an FCB gain decoding circuit 2480, an FCB gain codebook 2481, an FCB gain correction circuit 2450, an FCB gain encoding circuit 2420, an FCB gain codebook 1421, and a gain code multiplexing circuit 1470. Referring to Fig.10, the component elements of the gain code converting circuit 2400 of the present embodiment are described. In Fig.10, the non-speech discrimination circuit 1460 and the gain code multiplexing circuit 1470 are basically the same as the corresponding component elements, shown in Fig.8, and hence the explanation thereof are omitted in the ensuing description.
  • The gain code demultiplexing circuit 2490 is supplied via an input terminal 45 with the first gain code, output from the code demultiplexing circuit 1010, and separates the codes corresponding to the ACB gain and the FCB gain, that is, the first ACB gain code and the first FCB gain code, from the first gain code, to output the first ACB gain code and the first FCB gain code to the gain correction circuit 2470 and to the FCB gain decoding circuit 2480, respectively.
  • The ACB gain correction circuit 2470 includes an ACB gain codebook 2471, having stored therein plural sets of the ACB gain, and is supplied with the first ACB gain code, output from the gain code demultiplexing circuit 2490. The ACB gain correction circuit reads out the ACB gain corresponding to the first ACB code from the first ACB gain codebook 2471 to output the so read out ACB gain as the first ACB gain to the ACB gain correction circuit 2440 and to the ACB gain encoding circuit 2410. The decoding of the ACB gain from the ACB gain code is carried out in accordance with the ACB gain decoding method for the system A and uses the ACB gain codebook of the system A.
  • The FCB gain decoding circuit 2480 includes an FCB gain codebook 2481, having plural sets of the FCB gain stored therein, and is supplied with the first FCB gain code, output from the gain code demultiplexing circuit 2490. The FCB gain correction circuit reads out the FCB gain corresponding to the first FCB code from the first FCB gain codebook 2481 to output the so read out FCB gain as the first FCB gain to the FCB gain correction circuit 2450 and to the FCB gain encoding circuit 2420. The decoding of the FCB gain from the FCB gain code is carried out in accordance with the FCB gain decoding method for the system A and uses the FCB gain codebook of the system A.
  • The ACB gain correction circuit 2440 is supplied with the first ACB gain, output from the ACB gain correction circuit 2470, and with the speech decision value, output from the speech/ non-speech discriminating circuit 1460. If the speech decision value Vs is 0 (non-speech segment), the ACB gain correction circuit sets the long-term average value of the first ACB gain as the corrected ACB gain.
  • In the non-speech segment, the ACB gain correction circuit 2440 calculates the long-term average value of the first ACB gain, in accordance with the following equation: g qp (n) = α· g qp (n-1)+(1-α)·g qp (n) where g qp( n) is the first ACB gain in the n'th sub-frame and g qp (n) is the long-term average value of the first ACB gain for the n'th sub-frame, and a is e.g. 0.9. For the long-term average value, an average value, a median value or the mode may be used.
  • On the other hand, when the speech decision value Vs is 1 (speech segment), the ACB gain correction circuit 2440 sets the optimum ACB gain itself as the corrected ACB gain.
  • The ACB gain correction circuit 2440 outputs the corrected ACB gain to the ACB gain encoding circuit 2410.
  • The FCB gain correction circuit 2450 is supplied with the first FCB gain, output from the FCB gain decoding circuit 2480, while being also supplied with the speech decision value output from the speech/ non-speech discriminating circuit 1460.
  • If the speech decision value Vs is 0 (non-speech segment), the FCB gain correction circuit 2450 sets the long-term average value of the first FCB gain as the corrected FCB gain. In the non-speech segment, the FCB gain correction circuit calculates the long-term average value of the first FCB gain, in accordance with the following equation: g qc (n) = α· g qc (n-1)+(1-α)·g qc (n) where g qc (n) is the first FCB gain in the n'th sub-frame and g qc (n) is the long-term average value of the first FCB gain for the n'th sub-frame, and a is e.g. 0.9. For the long-term average value, an average value, a median value or the mode may be used.
  • On the other hand, when the speech decision value Vs is 1 (speech segment), the FCB gain correction circuit 2450 sets the first FCB gain itself as the corrected FCB gain.
  • The FCB gain correction circuit 2450 outputs the corrected FCB gain to the FCB gain encoding circuit 2420.
  • The ACB gain encoding circuit 2410 is supplied with the first ACB gain, output from the ACB gain decoding circuit 2470, and with the corrected ACB gain, output from the ACB gain correction circuit 2440, while being also supplied with the speech decision value output from the speech/ non-speech discriminating circuit 1460.
  • The ACB gain encoding circuit 2410 calculates a first square error from the ACB gain, sequentially read in from the ACB gain codebook 1411, and from the first ACB gain, and calculates a second square error from the ACB gain and the corrected ACB gain, while calculating, from the weighting coefficient, calculated from the speech decision value, the first square error and the second square error, the evaluation function defined by the following equation:
    Figure 00500001
    where g qp is the first ACB gain,
    Figure 00500002
    is the uncorrected ACB gain, g and qp is the ACB gain, sequentially read in from the ACB gain codebook 1411, and µ is the weighting coefficient. For example, if the speech decision value Vs is 1 (speech segment) or 0 (non-speech segment), the weighting coefficient µ is set to 1.0 or 0.2, respectively.
  • The ACB gain encoding circuit 2410 selects the ACB gain which minimizes the evaluation function and outputs the so selected ACB gain and the code corresponding to the second ACB gain to the gain code multiplexing circuit 1470, as the second ACB gain and as the second ACB gain code, respectively.
  • The FCB gain encoding circuit 2420 is supplied with the first FCB gain, output from the FCB gain decoding circuit 2480, with the corrected FCB gain, output from the FCB gain correction circuit 2450, and with the speech decision value, output from the speech/ non-speech discriminating circuit 1460.
  • The FCB gain encoding circuit 2420 calculates a third square error from the FCB gain, sequentially read from the FCB gain codebook 1421, and from the first FCB gain, and calculates a second square error from the FCB gain and the corrected FCB gain, while calculating, from a weighting coefficient, calculated from the speech decision value, third square error and from the fourth square error, an evaluation function defined by the following equation:
    Figure 00510001
    where g qc is the first FCB gain,
    Figure 00510002
    is an uncorrected FCB gain, g and qc is an FCB gain sequentially read from the FCB gain codebook 1421 and µ is a weighting coefficient. For example, if the speech decision value Vs is 1 (speech segment), the weighting coefficient µ is 1.0 and, if the speech decision value Vs is 0 (non-speech segment), µ is 0.2.
  • The FCB gain encoding circuit 2420 selects the FCB gain, which will minimize the evaluation function, and outputs the selected FCB gain as the second FCB gain and the code corresponding to the second FCB gain as the second FCB gain code to the gain code multiplexing circuit 1470.
  • THIRD EMBODIMENT
  • The code conversion apparatus of the above-described embodiments of the present invention may be implemented by computer control, such as digital signal processor. Fig.11 schematically shows an apparatus configuration in case of implementing the code conversion processing of the above embodiments by a program executed by a computer (processor) as a third embodiment of the present invention. In order for a computer 1, executing the program read out from a recording medium 6, to execute the code conversion processing of converting the first code, obtained on encoding the speech by a first encoding/ decoding device, into a second code decodable by the second encoding/ decoding device, there is recorded, on a recording medium 6, a program to cause the computer to execute
  • (a) the processing of obtaining first linear prediction coefficient from a first code sequence;
  • (b) the processing of obtaining the information on the excitation signal from the first code sequence;
  • (c) the processing of obtaining the excitation signals from the information on the excitation signals;
  • (d) the processing of generating speech signals by actuating a filter, having first linear prediction coefficient, by the excitation signal;
  • (e) the processing of calculating the gain (optimum gain) which will minimize the distance between the second speech signal generated by the information obtained from the second code sequence and the first speech signal;
  • (f) the processing of correcting the optimum gain; and
  • (g) the processing of calculating a first square error from an optimum gain corrected (corrected optimum gain) and a gain read out from a gain codebook of the second system, calculating a second square error from the optimum gain and from the gain read out from the gain codebook, and selecting, from the gain codebook, a gain minimizing the evaluation function which is based on the first and second square errors, to find the gain information in the second code sequence. This program is read out from the recording medium 6 to the memory 3 via a recording medium readout device 5 and an interface 4 for execution. The program may be stored in a non-volatile memory, such as a mask ROM or a flash memory. The recording medium includes not only a non-volatile memory but also a wired or wireless communication medium, carrying the program, used for transmitting the program from a server device by a computer, in addition to a medium, exemplified by CD-ROM, FD, Digital Versatile Disc (DVD), magnetic tape (MT) or a mobile HDD.
  • In a fourth embodiment of the present invention, in order for the computer 1, executing the program read out from a recording medium 6, to execute the code conversion processing of converting the first code, obtained on encoding the speech by a first encoding/ decoding device, into a second code decodable by the second encoding/ decoding device, there is recorded, on a recording medium 6, a program to cause the computer to execute
  • (a) the processing of decoding the gain information from a first code sequence;
  • (b) the processing of correcting the gain decoded (decoded gain); and
  • (c) the processing of calculating a first square error from a decoding gain corrected (corrected decoding gain) and a gain read out from a gain codebook of the second system, calculating a second square error from the decoded gain and from the gain read out from the gain codebook, and selecting, from the gain codebook, a gain minimizing the evaluation function which is based on the first and second square errors, to find the gain information in the second code sequence.
  • Although the preferred embodiments of the present invention have been described in the above, it is to be noted that the present invention is not limited to the configuration of the above-described embodiments and may encompass various modifications and corrections which may be feasible by those skilled in the art within the scope of the claims.
  • INDUSTRIAL UTILIZABILITY
  • According to the present invention, described above, there may be obtained a meritorious effect that it is possible to prevent the sound quality from being deteriorated due to the background noise in a non-speech segment, by deriving an optimum gain from the first speech signal, obtained from the first code sequence on actuating a synthesis filter having a first linear prediction coefficient, and from the second speech signal, generated by the information obtained from the second code sequence, correcting the optimum gain, finding the gain information in a second code sequence based on the optimum gain corrected, the optimum gain and the gain read out from the gain codebook in the second system, and by finding the second gain using an evaluation function which will reduce temporal variations of the second gain in the non-speech segment. The above meritorious effect may be achieved, according to the present invention, by decoding the gain information from the first code sequence, correcting the decoded gain, finding the gain information in the second code sequence based on the decoded gain corrected, the decoded gain and on the gain read out from the gain codebook in the second system and by finding the second gain using an evaluation function which will reduce the temporal variation of the second gain in the non-speech segment.

Claims (36)

  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, characterized in that said method comprises 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.
  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, characterized in that said method comprises 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 decoded gain corrected (termed 'corrected decoded gain'), said decoded gain and the gain read out from the codebook in said second system.
  3. The code converting method as claimed in claim 1, wherein said method further comprises the steps of:
    calculating a first square error from the corrected optimum gain and from the gain read out from said gain codebook;
    calculating a second square error from said optimum gain and from the gain read out from said gain codebook; and
    selecting a gain minimizing an evaluation function which is based on said first square error and said second square error from said gain codebook to find the gain information in said second code sequence.
  4. The code converting method as claimed in claim 2, wherein said method further comprises the steps of:
    calculating a first square error from the corrected decoded gain and from the gain read out from said gain codebook;
    calculating a second square error from said decoded gain and from the gain read out from said gain codebook; and
    selecting a gain minimizing an evaluation function which is based on said first square error and said second square error from said gain codebook to find the gain information in said second code sequence.
  5. The code converting method as claimed in claim 1 or 3, wherein said corrected optimum gain is based on the long-term average value of said optimum gain.
  6. The code converting method as claimed in claim 2 or 4, wherein said corrected decoded gain is based on the long-term average value of said decoded gain.
  7. The code converting method as claimed in claim 1, wherein the gain minimizing the distance between the second speech signal generated by the information obtained from said second code sequence and said first speech signal is found as said optimum gain.
  8. The code converting method as claimed in any one of claims 3 to 7, wherein said evaluation function is composed of said first square error, said second square error and weighting coefficients.
  9. The code converting method as claimed in claim 1 or 2, wherein said method further comprises the steps of:
    determining a speech decision value, discriminating the speech segment/ non-speech segment, based on said first linear prediction coefficient; and
    finding the gain information in said second code sequence, using an evaluation function which will decrease a temporal variation of the gain in said second code sequence, when said speech decision value indicates the non-speech segment.
  10. The code converting method as claimed in claim 3 or 4, wherein said method further comprises the steps of:
    determining a speech decision value, discriminating the speech segment/ non-speech segment, based on said first linear prediction coefficient;
    said evaluation function being found by taking a weighted average value of said first and second square errors by weighting coefficients; and
    setting said weighting coefficients to respective preset values, based on said speech decision value, depending on the speech segment and the non-speech segment, to calculate said evaluation function.
  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, characterized in that said code converting apparatus comprises:
    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.
  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, characterized in that said code converting apparatus comprises:
    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.
  13. The code converting apparatus as claimed in claim 11, wherein said gain encoding circuit includes means for finding the gain information in said second code sequence by calculating a first square error from the corrected optimum gain and from the gain read out from said gain codebook;
    calculating a second square error from said optimum gain and from the gain read out from said gain codebook; and
       selecting a gain minimizing an evaluation function which is based on said first square error and said second square error from said gain codebook to find the gain information in said second code sequence.
  14. The code converting apparatus as claimed in claim 12, wherein said gain encoding circuit includes means for calculating a first square error from the corrected decoded gain and from the gain read out from said gain codebook, calculating a second square error from said decoded gain and from the gain read out from said gain codebook, and selecting a gain minimizing an evaluation function which is based on said first square error and said second square error from said gain codebook to find the gain information in said second code sequence.
  15. The code converting apparatus as claimed in claim 11 or 13, wherein said corrected optimum gain is based on the long-term average value of said optimum gain.
  16. The code converting apparatus as claimed in claim 12 or 14, wherein said corrected decoded gain is based on the long-term average value of said decoded gain.
  17. The code converting apparatus as claimed in claim 10, wherein the gain minimizing the distance between the second speech signal generated by the information obtained from said second code sequence and said first speech signal is found as said optimum gain.
  18. The code converting apparatus as claimed in any one of claims 12 to 17, wherein said evaluation function is composed of said first square error, said second square error and weighting coefficients.
  19. The code converting apparatus as claimed in claim 11 or 12, wherein said apparatus further comprises:
    a speech/ non-speech discriminating circuit for discriminating a speech decision value, discriminating the speech segment/ non-speech segment, based on said first linear prediction coefficient;
    said gain encoding circuit finding the gain information in said second code sequence, using an evaluation function which will decrease temporal variations of the gain in said second code sequence, when said speech decision value indicates the non-speech segment.
  20. The code converting apparatus as claimed in claim 13 or 14, wherein said apparatus further comprises;
    a speech/ non-speech discriminating circuit for outputting a speech decision value, discriminating the speech segment/ non-speech segment, based on said first linear prediction coefficient;
    said gain encoding circuit finding said evaluation function by taking a weighted average value of said first and second square errors by weighting coefficients; and
    setting said weighting coefficients to respective preset values, based on said speech decision value, depending on the speech segment and the non-speech segment, to calculate said evaluation function.
  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.
  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.
  23. The computer program product as claimed in claim 21, wherein said computer program product further comprises a program to cause said computer to execute the processing of finding the gain information in said second code sequence by calculating a first square error from the corrected optimum gain and from the gain read out from said gain codebook:
    calculating a second square error from said optimum gain and from the gain read out from said gain codebook; and
    selecting a gain minimizing an evaluation function which is based on said first square error and said second square error from said gain codebook to find the gain information in said second code sequence.
  24. The computer program product as claimed in claim 22, wherein said computer program product further comprises a program to cause said computer to execute the processing of calculating a first square error from the corrected decoded gain and from the gain read out from said gain codebook, calculating a second square error from said decoded gain and from the gain read out from said gain codebook, and selecting a gain minimizing an evaluation function which is based on said first square error and said second square error from said gain codebook to find the gain information in said second code sequence.
  25. The computer program product as claimed in claim 21 or 23, wherein said corrected optimum gain is based on a long-term average value of said optimum gain.
  26. The computer program product as claimed in claim 22 or 24, wherein said corrected decoded gain is based on a long-term average value of said decoded gain.
  27. The computer program product as claimed in any one of claims 22 to 26, wherein the gain minimizing the distance between the second speech signal generated by the information obtained from said second code sequence and said first speech signal is found as said optimum gain.
  28. The computer program product as claimed in any one of claims 21 to 26, wherein said evaluation function is composed of said first square error, said second square error and weighting coefficients.
  29. The computer program product as claimed in claim 21 or 22, wherein said computer program product further comprises a program to cause the computer to execute:
    the processing of outputting a speech decision value, discriminating the speech segment/ non-speech segment, based on said first linear prediction coefficient; and
    the processing of finding the gain information in said second code sequence, using an evaluation function which will decrease temporal variations of the gain in said second code sequence, when said speech decision value indicates the non-speech segment.
  30. The computer program product as claimed in claim 23 or 24, comprising a program to cause the computer to execute:
    the processing of outputting a speech decision value, discriminating the speech segment/ non-speech segment, based on said first linear prediction coefficient; and
    the processing of finding said evaluation function by taking a weighted average value of said first and second square errors by weighting coefficients, and setting said weighting coefficients to respective preset values, based on said speech decision value, depending on the speech segment and the non-speech segment, to calculate said evaluation function.
  31. A recording medium that may be read out by a computer, said recording medium having recorded thereon said program as defined in any one of claims 21 to 30.
  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; characterized in that said code converting apparatus comprises:
    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 means 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:
    means 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 means 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;
    means for finding a corrected ACB gain from said optimum ACB gain;
    means supplied with the optimum FCB gain calculated to calculate a corrected FCB gain from said optimum FCB gain;
    means for determining a speech decision value from said first linear prediction coefficient;
    means 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;
    means 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;
    means 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;
    means 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
    means 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.
  33. The code converting apparatus as claimed in claim 32, wherein said apparatus further comprises:
    a second excitation signal calculating circuit supplied with a second ACB signal, output from said target signal calculating circuit, a second FCB signal, output from said FCB code generating circuit, and second ACB and FCB signals output from said gain code generating circuit; said second excitation signal calculating circuit summing a signal obtained on multiplying said second ACB signal with the second ACB gain to a signal obtained on multiplying said second FCB signal with the second FCB gain to generate a second excitation signal to output said second excitation signal to said second excitation signal storage circuit;
    said second excitation signal storage circuit being supplied with said second excitation signal output from said second excitation signal calculating circuit to store and hold said second excitation signal to output the second excitation signal input in the past and stored therein to said target signal calculating circuit.
  34. The code converting apparatus as claimed in claim 32 wherein said gain code generating circuit includes:
    a second target signal calculating circuit supplied with said second ACB signal, output from said ACB generating circuit, said first target signal, output from said weighting signal calculating circuit, said impulse response signal, output from said impulse response calculating circuit, and with said second ACB gain, output from said ACB gain encoding circuit, said second target signal calculating circuit calculating the filter-processed second ACB signal by convolution of said second ACB signal and said impulse response signal, and subtracting a signal obtained on multiplying the filter-processed second ACB signal with said second ACB gain from said first target signal to derive a second target signal for outputting said second target signal;
    an optimum FCB gain calculating circuit supplied with said second FCB signal output from said FCB signal generating circuit, said impulse response signal, output from said impulse response calculating circuit, and with said second target signal, output from said second target signal calculating circuit, to calculate the filter-processed second FCB signal by convolution of said second FCB signal and the impulse response signal and to calculate an optimum FCB gain minimizing the distance between the second target signal and the second FCB signal;
    a speech/ non-speech discriminating circuit for calculating the variation of the linear prediction coefficient from said first linear prediction coefficient and a long-term average thereof to determine a speech decision value;
    an optimum ACB gain correction circuit supplied with said optimum ACB gain output from said ACB gain generating circuit and with said speech decision value output from said speech/ non-speech discriminating circuit, said optimum ACB gain correction circuit calculating, in a non-speech segment, a long-term average of said optimum ACB gain in a non-speech segment, with the long-term average of said optimum ACB gain as a corrected ACB gain, when said speech decision value indicates the non-speech segment, said optimum ACB gain correction circuit outputting said optimum ACB gain itself, as a corrected ACB gain, when said speech decision value indicates the non-speech segment;
    an ACB code gain encoding circuit supplied with said optimum ACB gain output from said ACB gain generating circuit, said corrected ACB gain output from said optimum ACB gain correction circuit and with said speech decision value output from said speech/ non-speech discriminating circuit, said ACB code gain encoding circuit calculating a first square error from the ACB gain sequentially read from said ACB gain codebook and said optimum ACB gain, calculating a second square error from said ACB gain and said corrected ACB gain, finding an evaluation function from the weighting coefficient calculated from said speech decision value, said first square error and the second square error, selecting an ACB gain minimizing said evaluation function, outputting the selected ACB gain as the second ACB gain to said second target signal calculating circuit and to said second excitation signal calculating circuit, and outputting a code corresponding to said second ACB gain as ACB gain code to a gain code multiplexing circuit;
    an optimum FCB gain correction circuit supplied with said optimum FCB gain output from said FCB gain calculating circuit and with said speech decision value output from said speech/ non-speech discriminating circuit, said optimum FCB gain correction circuit calculating, in a non-speech segment, a long-term average of said optimum FCB gain as a corrected FCB gain, when said speech decision value indicates the non-speech segment, said optimum FCB gain correction circuit outputting, when said speech decision value indicates a speech segment, said optimum FCB gain itself as a corrected FCB gain to an FCB gain encoding circuit;
    an FCB gain encoding circuit supplied with said optimum FCB gain output from said optimum FCB gain calculating circuit, said corrected FCB gain output from said optimum FCB gain correction circuit and with said speech decision value output from said speech/ non-speech discriminating circuit, said FCB gain encoding circuit calculating a third square error from the FCB gain sequentially read from said FCB gain codebook and said optimum FCB gain, calculating a fourth square error from said FCB gain and said corrected FCB gain, calculating an evaluation function from the weighting coefficient calculated from said speech decision value, said third square error and the fourth square error, selecting an FCB gain minimizing said evaluation function, outputting the selected FCB gain as the second FCB gain to said second excitation signal calculating circuit, and outputting a code corresponding to said second FCB gain as FCB gain code to a gain code multiplexing circuit; and
    a gain code multiplexing circuit supplied with an ACB gain code output from said ACB gain encoding circuit and with an FCB gain code output from said FCB gain encoding circuit to output a second gain code obtained on multiplexing the ACB gain code and the FCB gain code to said code multiplexing circuit as a code decodable by a gain decoding method of the second system.
  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 means 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;
    means for determining a speech decision value from said first linear prediction coefficient;
    means 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;
    means 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
    means 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.
  36. The code converting apparatus as claimed in claim 35, wherein said gain code converting circuit includes
       a speech/ non-speech discriminating circuit for calculating the variation of the linear prediction coefficients from said first linear prediction coefficient and a long-term average thereof to determine a speech decision value;
       a gain code separation circuit supplied with a first gain code output from said code separation circuit to separate a first ACB gain code and a first FCB gain code, associated with the ACB gain and the FCB gain, respectively, from said first gain code, to output said first ACB gain code and the first FCB gain code to an ACB gain decoding circuit and to an FCB gain decoding circuit, respectively;
       an ACB gain decoding circuit including an ACB gain codebook, having plural sets of the ACB gain stored therein, said ACB gain decoding circuit being supplied with a first ACB gain code output from said gain code separation circuit to read out an ACB gain associated with said first ACB gain code from a first ACB gain codebook to output the so read out ACB gain as a first ACB gain to an ACB gain correction circuit and to an ACB gain encoding circuit, said ACB gain decoding circuit decoding the ACB gain from the ACB gain code in accordance with an ACB gain decoding method of the first system, using an ACB gain codebook of the first system;
       an FCB gain decoding circuit including an FCB gain codebook, having plural sets of the FCB gain stored therein, said FCB gain decoding circuit being supplied with a first FCB gain code output from said gain code separation circuit to read out an FCB gain associated with said first FCB gain code from a first FCB gain codebook to output the so read out FCB gain as a first FCB gain to an FCB gain correction circuit and to an FCB gain encoding circuit, said FCB gain decoding circuit decoding the FCB gain from the FCB gain code in accordance with an FCB gain decoding method of the first system, using an FCB gain codebook of the first system;
       an ACB gain correction circuit supplied with said first ACB gain, output from said ACB gain decoding circuit, and with said speech decision value output from said speech/ non-speech discriminating circuit, to set a long-term average of said first ACB gain as corrected ACB gain if said speech decision value indicates a non-speech segment, as well as to set said first ACB gain itself as a corrected ACB gain if said speech decision value indicates a speech segment, said ACB gain correction circuit outputting said corrected ACB gain to an ACB gain encoding circuit;
       an FCB gain correction circuit supplied with said first FCB gain, output from said FCB gain decoding circuit, and with said speech decision value output from said speech/ non-speech discriminating circuit, to set a long-term average of said first FCB gain as corrected FCB gain if said speech decision value indicates a non-speech segment, as well as to set said first FCB gain itself as a corrected FCB gain if said speech decision value indicates a speech segment, said FCB gain correction circuit outputting said corrected FCB gain to an FCB gain encoding circuit;
       an ACB gain encoding circuit supplied with said first ACB gain output from said ACB gain decoding circuit, said corrected ACB gain output from said ACB gain correction circuit and with said speech decision value output from said speech/ non-speech discriminating circuit, said ACB gain encoding circuit calculating a first square error from the ACB gain sequentially read from said ACB gain codebook and said first ACB gain, calculating a second square error from said ACB gain and said corrected ACB gain, calculating a first evaluation function from the weighting coefficient calculated from said speech decision value, said first square error and the second square error, selecting an ACB gain minimizing said evaluation function, outputting the code corresponding to said second ACB code as second ACB gain code to a gain code multiplication circuit and outputting a code corresponding to said second ACB gain as second ACB gain code to said gain code multiplication circuit;
       an ACB gain encoding circuit supplied with said first ACB gain output from said ACB gain decoding circuit, said corrected ACB gain output from said ACB gain correction circuit and with said speech decision value output from said speech/ non-speech discriminating circuit, said ACB gain encoding circuit calculating a first square error from the ACB gain sequentially read from said ACB gain codebook and said first ACB gain, calculating a second square error from said ACB gain and said corrected ACB gain, calculating a first evaluation function from the weighting coefficient calculated from said speech decision value, said first square error and the second square error, selecting an ACB gain minimizing said evaluation function, outputting the code corresponding to said second ACB code as second ACB gain code to a gain code multiplication circuit and outputting a code corresponding to said second ACB gain as second ACB gain code to said gain code multiplication circuit;
       an FCB gain encoding circuit supplied with said first FCB gain output from said FCB gain decoding circuit, said corrected FCB gain output from said FCB gain correction circuit and with said speech decision value output from said speech/ non-speech discriminating circuit, said FCB gain encoding circuit calculating a third square error from the FCB gain sequentially read from said FCB gain codebook and said first FCB gain, calculating a fourth square error from said FCB gain and said corrected FCB gain, calculating a second evaluation function from the weighting coefficient calculated from said speech decision value, said first square error and the second square error, selecting an FCB gain minimizing said evaluation function, outputting the code corresponding to said second FCB code as second FCB gain code to a gain code multiplication circuit and outputting a code corresponding to said second FCB gain as second FCB gain code to said gain code multiplication circuit; and
       a gain code multiplexing circuit supplied with an ACB gain code output from said ACB gain encoding circuit and with an FCB gain code output from said FCB gain encoding circuit, to output a second gain code, obtained on multiplexing the ACB gain code and the FCB gain code, to said code multiplexing circuit as a code decodable by the gain decoding method in the second system.
EP03765278A 2002-07-24 2003-07-09 Method and device for voice code conversion Expired - Fee Related EP1536413B1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2002214766 2002-07-24
JP2002214766A JP3800142B2 (en) 2002-07-24 2002-07-24 Dirt removal method for induction heating cooker
PCT/JP2003/008701 WO2004010416A1 (en) 2002-07-24 2003-07-09 Method and device for code conversion between voice encoding and decoding methods and storage medium thereof

Publications (3)

Publication Number Publication Date
EP1536413A1 true EP1536413A1 (en) 2005-06-01
EP1536413A4 EP1536413A4 (en) 2007-08-08
EP1536413B1 EP1536413B1 (en) 2009-04-15

Family

ID=31936974

Family Applications (1)

Application Number Title Priority Date Filing Date
EP03765278A Expired - Fee Related EP1536413B1 (en) 2002-07-24 2003-07-09 Method and device for voice code conversion

Country Status (3)

Country Link
EP (1) EP1536413B1 (en)
JP (1) JP3800142B2 (en)
DE (1) DE60327217D1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4846374B2 (en) * 2006-01-27 2011-12-28 株式会社東芝 Cooker
JP4939867B2 (en) * 2006-08-08 2012-05-30 株式会社東芝 Cooker

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
See also references of WO2004010416A1 *
SUNG WAN YOON ET AL: "AN EFFICIENT TRANSCODING ALGORITHM FOR G.723.1 AND G.729A SPEECH CODERS" EUROSPEECH, 3 September 2001 (2001-09-03), - 7 September 2001 (2001-09-07) pages 2499-2502, XP007004900 *

Also Published As

Publication number Publication date
EP1536413A4 (en) 2007-08-08
JP3800142B2 (en) 2006-07-26
EP1536413B1 (en) 2009-04-15
JP2004050140A (en) 2004-02-19
DE60327217D1 (en) 2009-05-28

Similar Documents

Publication Publication Date Title
US5305332A (en) Speech decoder for high quality reproduced speech through interpolation
US20090248404A1 (en) Lost frame compensating method, audio encoding apparatus and audio decoding apparatus
RU2665301C1 (en) Audio encoding device, audio encoding method, audio encoding program, audio decoding device, audio decoding method and audio decoding program
JPH0353300A (en) Sound encoding and decoding system
EP1062661A2 (en) Speech coding
JPH06202696A (en) Speech decoding device
EP1241664B1 (en) Voice encoding/decoding apparatus with packet error resistance and method thereof
JP4304360B2 (en) Code conversion method and apparatus between speech coding and decoding methods and storage medium thereof
JP2002268696A (en) Sound signal encoding method, method and device for decoding, program, and recording medium
US7630884B2 (en) Code conversion method, apparatus, program, and storage medium
JP4231987B2 (en) Code conversion method between speech coding / decoding systems, apparatus, program, and storage medium
US7319953B2 (en) Method and apparatus for transcoding between different speech encoding/decoding systems using gain calculations
WO2002071394A1 (en) Sound encoding apparatus and method, and sound decoding apparatus and method
US7505899B2 (en) Speech code sequence converting device and method in which coding is performed by two types of speech coding systems
EP1536413B1 (en) Method and device for voice code conversion
JP4238535B2 (en) Code conversion method and apparatus between speech coding and decoding systems and storage medium thereof
EP1560201B1 (en) Code conversion method and device for code conversion
RU2792658C1 (en) Audio encoding device, audio encoding method, audio encoding program, audio decoding device, audio decoding method and audio decoding program
JP3002299B2 (en) Audio coding device
WO2000003385A1 (en) Voice encoding/decoding device
JPH04301900A (en) Audio encoding device
JP2004020675A (en) Method and apparatus for encoding/decoding speech

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20050218

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): DE ES FR GB IT NL

AX Request for extension of the european patent

Extension state: AL LT LV MK

REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1072646

Country of ref document: HK

DAX Request for extension of the european patent (deleted)
RBV Designated contracting states (corrected)

Designated state(s): DE FR GB IT NL

A4 Supplementary search report drawn up and despatched

Effective date: 20070709

RIC1 Information provided on ipc code assigned before grant

Ipc: G10L 19/14 20060101AFI20070703BHEP

RTI1 Title (correction)

Free format text: METHOD AND DEVICE FOR VOICE CODE CONVERSION

GRAP Despatch of communication of intention to grant a patent

Free format text: ORIGINAL CODE: EPIDOSNIGR1

GRAS Grant fee paid

Free format text: ORIGINAL CODE: EPIDOSNIGR3

17Q First examination report despatched

Effective date: 20081126

GRAA (expected) grant

Free format text: ORIGINAL CODE: 0009210

AK Designated contracting states

Kind code of ref document: B1

Designated state(s): DE FR GB IT NL

REG Reference to a national code

Ref country code: GB

Ref legal event code: FG4D

REF Corresponds to:

Ref document number: 60327217

Country of ref document: DE

Date of ref document: 20090528

Kind code of ref document: P

REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1072646

Country of ref document: HK

NLV1 Nl: lapsed or annulled due to failure to fulfill the requirements of art. 29p and 29m of the patents act
PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: NL

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20090415

PLBE No opposition filed within time limit

Free format text: ORIGINAL CODE: 0009261

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT

26N No opposition filed

Effective date: 20100118

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: IT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20090415

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: GB

Payment date: 20120704

Year of fee payment: 10

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: FR

Payment date: 20120719

Year of fee payment: 10

Ref country code: DE

Payment date: 20120704

Year of fee payment: 10

GBPC Gb: european patent ceased through non-payment of renewal fee

Effective date: 20130709

REG Reference to a national code

Ref country code: FR

Ref legal event code: ST

Effective date: 20140331

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: GB

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20130709

Ref country code: DE

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20140201

REG Reference to a national code

Ref country code: DE

Ref legal event code: R119

Ref document number: 60327217

Country of ref document: DE

Effective date: 20140201

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: FR

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20130731