The invention relates to a method of coding speech. It applies in particular to the realization of vocoders with very low bit rate, of the order of 600 bits per second.
It is used for example for the MELP coder (Mixed Excitation Linear Prediction coder), described for example in one of the references [1,2,3,4].
The method is for example implemented in communications by satellite, telephone over the Internet, static responders, voice pagers, etc.
The objective of these vocoders is to reconstruct a signal which is as close as possible, in the sense of perception by the human ear, to the original speech signal, using the lowest possible binary bit rate.
To attain this objective, most vocoders use a totally parametrized model of the speech signal. The parameters used relate to: the voicing which describes the harmonic character of the voiced sounds or the stochastic character of the unvoiced sounds, the fundamental frequency of the voiced sounds also known by the term “PITCH”, the temporal evolution of the energy as well as the spectral envelope of the signal for exciting and parametrizing the synthesis filters.
In the case of the MELP coder, the spectral parameters used are the LSF coefficients (Line Spectral Frequencies) derived from an analysis by linear prediction, LPC (Linear Predictive Coding). The analysis is done for a conventional bit rate of 2400 bit/sec every 22.5 ms.
The additional information extracted during the modeling is:
The document by ULPU SINERVO et al. discloses a procedure making it possible to quantize the spectral coefficients. In the procedure proposed, a multi-frame matrix quantizer is used to exploit the correlation between the LSF parameters of adjacent frames.
The document by STACHURSKI relates to a coding technique for bit rates of about 4 kbits/s. The coding technique uses an MELP model in which the complex coefficients are used in the speech synthesis. In this document the significance of the parameters is analyzed.
The object of the present invention is, in particular, to extend the MELP model to the bit rate of 600 bits/sec. The parameters employed are for example, the pitch, the LSF spectral coefficients, the gains and the voicing. The frames are grouped for example into a superframe of 90 ms, that is to say 4 consecutive frames of 22.5 ms of the initial scheme (scheme customarily used).
A bit rate of 600 bits/sec is obtained on the basis of an optimization of the quantization scheme for the various parameters (pitch, LSF coefficient, gain, voicing).
The invention relates to a method of coding and decoding speech for voice communications using a vocoder with very low bit rate comprising an analysis part for the coding and the transmission of the parameters of the speech signal, such as the voicing information per sub-band, the pitch, the gains, the LSF spectral parameters and a synthesis part for the reception and the decoding of the parameters transmitted and the reconstruction of the speech signal. It is characterized in that it comprises at least the following steps:
The classification is for example formulated by using the information on the chaining in terms of voicing existing over 2 consecutive elementary frames.
The method according to the invention makes it possible advantageously to offer reliable coding for low bit rates.
Other characteristics and advantages of the present invention will be more apparent on reading the description of an exemplary embodiment given by way of illustration, with appended figures which represent:
The example detailed hereafter, by way of wholly nonlimiting illustration, relates to an MELP coder suitable for the bit rate of 600 bits/sec.
The method according to the invention pertains notably to the encoding of the parameters which make it possible to best reproduce all the complexity of the speech signal, with a minimum of bit rate. The parameters employed are for example: the pitch, the LSF spectral coefficients, the gains and the voicing. The method notably calls upon a procedure of vector quantization with classification.
Step of Analysis of the Speech Signal
Step 1 analyzes the signal by means of an algorithm of the MELP type known to the person skilled in the art. In the MELP model, a voicing decision is taken for each frame of 22.5 ms and for 5 predefined frequency sub-bands.
Step of Grouping of the Parameters
For step 2, the method groups together the selected parameters: voicing, pitch, gains and LSF coefficients over N consecutive frames of 22.5 ms so as to form a superframe of 90 ms. The value N=4 is chosen for example so as to form a compromise between the possible reduction of the binary bit rate and the delay introduced by the quantization method (compatible with the current interleaving and error corrector coding techniques).
Step of Quantization of the Voicing Information—Detailed in
At the horizon of a superframe, the voicing information is therefore represented by a matrix with binary components (0: unvoiced; 1: voiced) of size (5*4), 5 MELP sub-bands, 4 frames.
The method uses a vector quantization procedure on n bits, with for example n=5. The distance used is a Euclidean distance weighted so as to favor the bands situated at low frequencies. We use for example as weighting vector [1.0; 1.0; 0.7; 0.4; 0.1].
The quantized voicing information makes it possible to identify classes of sounds for which the allocation of the bit rate and the associated dictionaries will be optimized. This voicing information is thereafter implemented for the vector quantization of the spectral parameters and of the gains with preclassification.
The method can comprise a step of applying constraints. During the training phase, the method for example calls upon the following 4 vectors [0,0,0,0,0], [1,0,0,0,0], [1,1,1,0,0], [1,1,1,1,1] indicating the voicing from the low band to the high band. Each column of the voicing matrix, associated with the voicing of one of the 4 frames constituting the superframe, is compared with each of these 4 vectors, and replaced by the closest vector for the training of the dictionary.
During the coding, the same constraint is applied (choice of the above 4 vectors) and the vector quantization QV is carried out by applying the dictionary found previously. The voicing indices are thus obtained.
In the case of the MELP model, the voicing information forming part of the parameters to be transmitted, the classification information is therefore available at the level of the decoder without cost overhead in terms of bit rate.
As a function of the quantized voicing information, dictionaries are optimized. For this purpose the method defines for example 6 voicing classes over a horizon of 2 elementary frames. The classification is for example determined by using the information on the chaining in terms of voicing existing over a sub-multiple of N consecutive elementary frames, for example over 2 consecutive elementary frames.
Each superframe is therefore represented over 2 voicing classes. The 6 voicing classes thus defined are for example:
A dictionary is optimized for each voicing level. The dictionaries obtained are estimated in this case over a horizon of 2 elementary frames.
The vectors obtained are therefore of size 20=2*10 LSF coefficients, according to the order of the analysis by linear prediction in the initial MELP model.
Step of Definition of the Quantization Modes, Detailed in
On the basis of these various quantization classes, the method defines 6 quantization modes determined according to the chaining of the voicing classes:
Table 1 groups together the various quantization modes as a function of the voicing class and table 2 the voicing information for each of the 6 quantization modes.
In order to limit the size of the dictionaries and to reduce the search complexity, the method implements a quantization procedure of multi-stage type, such as the procedure MSVQ (Multi Stage Vector Quantization) known to the person skilled in the art.
In the example given, a superframe consists of 4 vectors of 10 LSF coefficients and the vector quantization is applied for each grouping of 2 elementary frames (2 sub-vectors of 20 coefficients).
There are therefore at least 2 multi-stage vector quantizations whose dictionaries are deduced from the classification (table 1).
Step of Quantization of the Pitch,
The pitch is quantized in a different manner according to the mode.
Step of Quantization of the Spectral Parameters, of the LSF Coefficients, Detailed in
Table 3 gives the allocation of the bit rate for the spectral parameters for each of the quantization modes. The distribution of the bit rate for each stage is given between parentheses.
In each of the 6 modes, the bit rate is allocated by priority to the greater voicing class, the concept of greater voicing corresponding to a greater or equal number of voiced sub-bands.
For example, in mode 4, the two consecutive unvoiced frames will be represented on the basis of the dictionary (6, 4, 4) while the two consecutive voiced frames will be represented by the dictionary (7, 5, 4). In mode 2 the two mixed consecutive frames are represented by the dictionary (7,5,4) and the two consecutive unvoiced frames by the dictionary (6,4,4).
Table 4 groups together the memory size associated with the dictionaries.
A vector of m gains with m=8 is for example calculated for each superframe (2 gains per frame of 22.5 ms, scheme used customarily for the MELP). m can take any value, and is used to limit the complexity of the search for the best vector in the dictionary.
The method uses a vector quantization with preclassification. Table 5 groups together the bit rates and the memory size associated with the dictionaries.
The method calculates the gains, then it groups together the gains over N frames, with N=4 in this example. It thereafter uses the vector quantization and the predefined classification mode (on the basis of the voicing information) to obtain the indices associated with the gains. The indices being thereafter transmitted to the decoder part of the system.
Table 6 groups together the allocation of the bit rate for the realization of the 600 bit/sec speech coder of MELP type a superframe of 54 bits (90 ms).
Number | Date | Country | Kind |
---|---|---|---|
04/04105 | Apr 2004 | FR | national |
The present Application is based on International Application No. PCT/EP2005/051661, filed on Apr. 14, 2005, which in turn corresponds to France Application No. 04/04105 filed on Apr. 19, 2004, and priority is hereby claimed under 35 USC §119 based on these applications. Each of these applications are hereby incorporated by reference in their entirety into the present application.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP05/51661 | 4/14/2005 | WO | 10/18/2006 |