CA2210765E - Algebraic codebook with signal-selected pulse amplitudes for fast coding of speech - Google Patents
Algebraic codebook with signal-selected pulse amplitudes for fast coding of speechInfo
- Publication number
- CA2210765E CA2210765E CA2210765 CA2210765E CA 2210765 E CA2210765 E CA 2210765E CA 2210765 CA2210765 CA 2210765 CA 2210765 E CA2210765 E CA 2210765E
- Authority
- CA
- Canada
- Prior art keywords
- amplitude
- pulse
- speech signal
- positions
- zero
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 230000005236 sound signal Effects 0.000 claims abstract description 33
- 230000001413 cellular Effects 0.000 claims description 36
- 238000004891 communication Methods 0.000 claims description 29
- 230000001702 transmitter Effects 0.000 claims description 16
- 230000002457 bidirectional Effects 0.000 claims description 12
- 230000000452 restraining Effects 0.000 claims description 10
- 230000001276 controlling effect Effects 0.000 claims description 4
- 230000001419 dependent Effects 0.000 claims description 3
- 239000000203 mixture Substances 0.000 description 23
- 238000000034 method Methods 0.000 description 15
- 238000011045 prefiltration Methods 0.000 description 11
- 239000011159 matrix material Substances 0.000 description 7
- 238000005070 sampling Methods 0.000 description 7
- 230000005284 excitation Effects 0.000 description 6
- 230000002194 synthesizing Effects 0.000 description 6
- 230000015572 biosynthetic process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000001914 filtration Methods 0.000 description 5
- 238000003786 synthesis reaction Methods 0.000 description 5
- 230000003044 adaptive Effects 0.000 description 4
- 230000000875 corresponding Effects 0.000 description 4
- 230000011664 signaling Effects 0.000 description 4
- 241001442055 Vipera berus Species 0.000 description 3
- 230000002708 enhancing Effects 0.000 description 3
- 238000010420 art technique Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 229920005549 butyl rubber Polymers 0.000 description 2
- 230000003595 spectral Effects 0.000 description 2
- 238000001228 spectrum Methods 0.000 description 2
- 230000002087 whitening Effects 0.000 description 2
- 101700036838 PRIO1 Proteins 0.000 description 1
- 101700029741 PRIO2 Proteins 0.000 description 1
- 102100015597 SSPN Human genes 0.000 description 1
- 108060007893 SSPN Proteins 0.000 description 1
- 101700042726 T112 Proteins 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000010192 crystallographic characterization Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 230000000717 retained Effects 0.000 description 1
- 238000007493 shaping process Methods 0.000 description 1
Abstract
The present invention relates to a method and device for conducting a search in a codebook. This codebook consists of a set of pulse amplitude/position combinations each defining a number L of positions p and comprising both zero-amplitude pulses and non-zero-amplitude pulses assigned to respective positions p = 1, 2, ...L of the combination. Also, each non-zero-amplitude pulse assumes one of q possible amplitudes. According to the method, the positions p of the non-zero-amplitude pulses of the combinations of the codebook are restrained in accordance with a set of tracks of pulse positions, the pulse positions of each track being interleaved with the pulse positions of the other tracks. A subset of pulse amplitude/position combinations is pre-selected from the codebook in relation to the sound signal, and only this subset of pulse amplitude/position combinations is searched to thereby reduce the complexity of the search. Pre-selecting a subset of pulse amplitude/position combinations comprises pre-establishing, in relation to the sound signal, an amplitude/position function S P
pre-assigning to the positions p = 1, 2, ...L valid amplitudes out of the q possible amplitudes. And the searching comprises searching only the pulse amplitude/position combinations of the codebook having non-zero-amplitude pulses which satisfy the pre-established function S p.
pre-assigning to the positions p = 1, 2, ...L valid amplitudes out of the q possible amplitudes. And the searching comprises searching only the pulse amplitude/position combinations of the codebook having non-zero-amplitude pulses which satisfy the pre-established function S p.
Description
ALGEBRAIC CODEBOOK WITH SIGNAL-SELECTED
PULSE AMPLITUDES FOR FAST CODING OF SPEECH
BACKGROUND OF THE INVENTION
1. Field of the invention:
The present invention relates to an improved technique for digitally encoding a sound signal, in particular but not exclusively a speech signal, in view of transmitting and synthesizing this sound signal.
PULSE AMPLITUDES FOR FAST CODING OF SPEECH
BACKGROUND OF THE INVENTION
1. Field of the invention:
The present invention relates to an improved technique for digitally encoding a sound signal, in particular but not exclusively a speech signal, in view of transmitting and synthesizing this sound signal.
2. Brief description of the prior art:
The demand for efficient digital speech encoding techniques with a good subjective quality/bit rate trade-off is increasing for numerous applications such as voice transmission over satellites, land mobile, digital radio or packed network, voice storage, voice response and wireless telephony.
One of the best prior art techniques capable of achieving a good quality/bit rate trade-off is the so-called Code Excited Linear Prediction (CELP) technique. According to this technique, the speech signal is sampled and processed in blocks of L samples (i.e. vectors), where L is some predetermined number. The CELP technique makes use of a codebook.
A codebook, in the CELP context, is an indexed set of L-sample-long sequences which will be referred to as L-dimensional codevectors (pulse combinations defining L different positions and comprising both zero-amplitude pulses and non-zero-amplitude pulses assigned to respective positions p=1, 2, ...L of the combination). The codebook comprises an index k ranging from 1 to M, where M represents the size of the codebook sometimes expressed as a number of bits b:
M=2b A codebook can be stored in a physical memory (e.g. a look-up table), or can refer to a mechanism for relating the index to a corresponding codevector (e.g. a formula).
To synthesize speech according to the CELP technique, each block of speech samples is synthesized by filtering the appropriate codevector from the codebook through time varying filters modelling the spectral characteristics of the speech signal. At the encoder end, the synthetic output is computed for all or a subset of the candidate codevectors from the codebook (codebook search). The retained codevector is the one producing the synthetic output that is the closest to the original speech signal according to a perceptually weighted distortion measure.
A first type of codebooks is the so-called "stochastic"
codebooks. A drawback of these codebooks is that they often involve substantial physical storage. They are stochastic, i.e. random in the sense that the path from the index to the associated codevector involves look-up tables that are the result of randomly generated numbers or statistical CA 02210765 2003-01i16 techniques applied to large speech training sets. The size of stochastic codebooks tends to be limited by storage and/or search complexity.
A second type of codebooks are the algebraic codebooks.
By contrast with the stochastic codebooks, algebraic codebooks are not random and require no storage. An algebraic codebook is a set of indexed codevectors in which the amplitudes and positions of the pulses of the ktn codevector can be derived from its index k through a rule requiring no, or minimal, physical storage. Therefore, the size of an algebraic codebook is not limited by storage requirements. Algebraic codebooks can also be designed for efficient search.
OBJECTS OF THE INVENTION
An object of the present invention is therefore to provide a method and device for drastically reducing the complexity of the codebook search upon encoding a sound signal, these method and device being applicable to a large class of codebooks.
SUMMARY OF THE INVENTION
More specifically, in accordance with the present invention, there is provided a method of conducting a search in a codebook in view of encoding a sound signal, wherein the codebook consists of a set of pulse amplitude/position combinations, each pulse amplitude/position combination defines L different positions and comprises both zero-amplitude pulses and non-zero-amplitude pulses assigned to respective positions p = 1, 2, ...L of the combination, and each non-zero-amplitude pulse assumes one of q possible amplitudes. The method comprises:
restraining the positions p of the non-zero-amplitude pulses of the combinations of the codebook in accordance with a set of tracks of pulse positions, wherein the pulse positions of each track are interleaved with the pulse positions of the other tracks;
pre-selecting from the codebook a subset of pulse amplitude/position combinations in relation to the sound signal; and searching only the subset of pulse amplitude/position combinations in view of encoding the sound signal whereby complexity of the search is reduced as only a subset of the pulse amplitude/position combinations of the codebook is searched.
Pre-selecting the subset of pulse amplitude/position combinations comprises pre-establishing, in relation to the sound signal, an amplitude/position function SP pre-assigning to the positions p = 1, 2, ...L
valid amplitudes out of the q possible amplitudes. The searching comprises searching only the pulse amplitude/position combinations of the codebook having non-zero-amplitude pulses which satisfy the pre-established function SP.
The present invention also relates to a device for conducting a search in a codebook in view of encoding a sound signal, wherein the codebook consists of a set of pulse amplitude/position combinations, each pulse amplitude/position combination defines L different positions and comprises both zero-amplitude pulses and non-zero-amplitude pulses assigned to respective positions p=1, 2, ...L of the combination, and each non-zero-amplitude pulse assumes one of q possible amplitudes. The device comprises:
means for restraining the positions p of the non-zero-amplitude pulses of the combinations of the codebook in accordance with a 5 set of tracks of pulse positions, wherein the pulse positions of each track are interleaved with the pulse positions of the other tracks;
means for pre-selecting from the codebook a subset of pulse amplitude/position combinations in relation to the sound signal; and means for searching only the subset of pulse amplitude/position combinations in view of encoding the sound signal whereby complexity of the search is reduced as only a subset of the pulse amplitude/position combinations of the codebook is searched.
The pre-selecting means comprises means for pre-establishing, in relation to the sound signal, an amplitude/position function SP
pre-assigning to the positions p = 1, 2, ...L valid amplitudes out of the q possible amplitudes. The searching means comprises means for limiting the search to the pulse amplitude/position combinations of the codebook having non-zero-amplitude pulses which satisfy the pre-established function SP.
The present invention further relates to a cellular communication system for servicing a large geographical area divided into a plurality of cells, comprising:
mobile transmitter/receiver units;
cellular base stations respectively situated in the cells;
means for controlling communication between the cellular base stations; and a bidirectional wireless communication sub-system between each mobile unit situated in one cell and the cellular base station of this cell, the bidirectional wireless communication sub-system comprising in both the CA 02210765 2003-01i16 mobile unit and the cellular base station (a) a transmitter including means for encoding a speech signal and means for transmitting the encoded speech signal, and (b) a receiver including means for receiving a transmitted encoded speech signal and means for decoding the received encoded speech signal.
The speech signal encoding means comprises means responsive to the speech signal for producing speech signal encoding parameters, and the speech signal encoding parameter producing means comprises the above described device for conducting a search in a codebook in view of producing at least one of the speech signal encoding parameters, wherein the speech signal constitutes the sound signal.
Also in accordance with the present invention, there is provided a cellular network element comprising (a) a transmitter including means for encoding a speech signal and means for transmitting the encoded speech signal, and (b) a receiver including means for receiving a transmitted encoded speech signal and means for decoding the received encoded speech signal. The speech signal encoding means comprises means responsive to the speech signal for producing speech signal encoding parameters, the speech signal encoding parameter producing means comprises the above described device for conducting a search in a codebook in view of producing at least one of the speech signal encoding parameters, wherein the speech signal constitutes the sound signal.
The present invention still further relates to a cellular mobile transmitter/receiver unit comprising (a) a transmitter including means for encoding a speech signal and means for transmitting the encoded speech signal, and (b) a receiver including means for receiving a transmitted encoded speech signal and means for decoding the received encoded speech signal.
The speech signal encoding means comprises means responsive to the speech signal for producing speech signal encoding parameters, and the speech signal encoding parameter producing means comprises the above described device for conducting a search in a codebook in view of producing at least one of the speech signal encoding parameters, wherein the speech signal constitutes the sound signal.
Further in accordance with the present invention, there is provided, in a cellular communication system for servicing a large geographical area divided into a plurality of cells, and comprising: mobile transmitter/receiver units; cellular base stations respectively situated in the cells; and means for controlling communication between the cellular base stations, a bidirectional wireless communication sub-system between each mobile unit situated in one cell and the cellular base station of this cell.
This bidirectional wireless communication sub-system comprises in both the mobile unit and the cellular base station (a) a transmitter including means for encoding a speech signal and means for transmitting the encoded speech signal, and (b) a receiver including means for receiving a transmitted encoded speech signal and means for decoding the received encoded speech signal.
The speech signal encoding means comprises means responsive to the speech signal for producing speech signal encoding parameters, and the speech signal encoding parameter producing means comprises the above described device for conducting a search in a codebook in view of producing at least one of the speech signal encoding parameters, wherein the speech signal constitutes the sound signal.
The foregoing and other objects, advantages and features of the present invention will become more apparent upon reading of the following non-restrictive description of an illustrative embodiment thereof, given by way of example only with reference to the accompanying drawings.
The demand for efficient digital speech encoding techniques with a good subjective quality/bit rate trade-off is increasing for numerous applications such as voice transmission over satellites, land mobile, digital radio or packed network, voice storage, voice response and wireless telephony.
One of the best prior art techniques capable of achieving a good quality/bit rate trade-off is the so-called Code Excited Linear Prediction (CELP) technique. According to this technique, the speech signal is sampled and processed in blocks of L samples (i.e. vectors), where L is some predetermined number. The CELP technique makes use of a codebook.
A codebook, in the CELP context, is an indexed set of L-sample-long sequences which will be referred to as L-dimensional codevectors (pulse combinations defining L different positions and comprising both zero-amplitude pulses and non-zero-amplitude pulses assigned to respective positions p=1, 2, ...L of the combination). The codebook comprises an index k ranging from 1 to M, where M represents the size of the codebook sometimes expressed as a number of bits b:
M=2b A codebook can be stored in a physical memory (e.g. a look-up table), or can refer to a mechanism for relating the index to a corresponding codevector (e.g. a formula).
To synthesize speech according to the CELP technique, each block of speech samples is synthesized by filtering the appropriate codevector from the codebook through time varying filters modelling the spectral characteristics of the speech signal. At the encoder end, the synthetic output is computed for all or a subset of the candidate codevectors from the codebook (codebook search). The retained codevector is the one producing the synthetic output that is the closest to the original speech signal according to a perceptually weighted distortion measure.
A first type of codebooks is the so-called "stochastic"
codebooks. A drawback of these codebooks is that they often involve substantial physical storage. They are stochastic, i.e. random in the sense that the path from the index to the associated codevector involves look-up tables that are the result of randomly generated numbers or statistical CA 02210765 2003-01i16 techniques applied to large speech training sets. The size of stochastic codebooks tends to be limited by storage and/or search complexity.
A second type of codebooks are the algebraic codebooks.
By contrast with the stochastic codebooks, algebraic codebooks are not random and require no storage. An algebraic codebook is a set of indexed codevectors in which the amplitudes and positions of the pulses of the ktn codevector can be derived from its index k through a rule requiring no, or minimal, physical storage. Therefore, the size of an algebraic codebook is not limited by storage requirements. Algebraic codebooks can also be designed for efficient search.
OBJECTS OF THE INVENTION
An object of the present invention is therefore to provide a method and device for drastically reducing the complexity of the codebook search upon encoding a sound signal, these method and device being applicable to a large class of codebooks.
SUMMARY OF THE INVENTION
More specifically, in accordance with the present invention, there is provided a method of conducting a search in a codebook in view of encoding a sound signal, wherein the codebook consists of a set of pulse amplitude/position combinations, each pulse amplitude/position combination defines L different positions and comprises both zero-amplitude pulses and non-zero-amplitude pulses assigned to respective positions p = 1, 2, ...L of the combination, and each non-zero-amplitude pulse assumes one of q possible amplitudes. The method comprises:
restraining the positions p of the non-zero-amplitude pulses of the combinations of the codebook in accordance with a set of tracks of pulse positions, wherein the pulse positions of each track are interleaved with the pulse positions of the other tracks;
pre-selecting from the codebook a subset of pulse amplitude/position combinations in relation to the sound signal; and searching only the subset of pulse amplitude/position combinations in view of encoding the sound signal whereby complexity of the search is reduced as only a subset of the pulse amplitude/position combinations of the codebook is searched.
Pre-selecting the subset of pulse amplitude/position combinations comprises pre-establishing, in relation to the sound signal, an amplitude/position function SP pre-assigning to the positions p = 1, 2, ...L
valid amplitudes out of the q possible amplitudes. The searching comprises searching only the pulse amplitude/position combinations of the codebook having non-zero-amplitude pulses which satisfy the pre-established function SP.
The present invention also relates to a device for conducting a search in a codebook in view of encoding a sound signal, wherein the codebook consists of a set of pulse amplitude/position combinations, each pulse amplitude/position combination defines L different positions and comprises both zero-amplitude pulses and non-zero-amplitude pulses assigned to respective positions p=1, 2, ...L of the combination, and each non-zero-amplitude pulse assumes one of q possible amplitudes. The device comprises:
means for restraining the positions p of the non-zero-amplitude pulses of the combinations of the codebook in accordance with a 5 set of tracks of pulse positions, wherein the pulse positions of each track are interleaved with the pulse positions of the other tracks;
means for pre-selecting from the codebook a subset of pulse amplitude/position combinations in relation to the sound signal; and means for searching only the subset of pulse amplitude/position combinations in view of encoding the sound signal whereby complexity of the search is reduced as only a subset of the pulse amplitude/position combinations of the codebook is searched.
The pre-selecting means comprises means for pre-establishing, in relation to the sound signal, an amplitude/position function SP
pre-assigning to the positions p = 1, 2, ...L valid amplitudes out of the q possible amplitudes. The searching means comprises means for limiting the search to the pulse amplitude/position combinations of the codebook having non-zero-amplitude pulses which satisfy the pre-established function SP.
The present invention further relates to a cellular communication system for servicing a large geographical area divided into a plurality of cells, comprising:
mobile transmitter/receiver units;
cellular base stations respectively situated in the cells;
means for controlling communication between the cellular base stations; and a bidirectional wireless communication sub-system between each mobile unit situated in one cell and the cellular base station of this cell, the bidirectional wireless communication sub-system comprising in both the CA 02210765 2003-01i16 mobile unit and the cellular base station (a) a transmitter including means for encoding a speech signal and means for transmitting the encoded speech signal, and (b) a receiver including means for receiving a transmitted encoded speech signal and means for decoding the received encoded speech signal.
The speech signal encoding means comprises means responsive to the speech signal for producing speech signal encoding parameters, and the speech signal encoding parameter producing means comprises the above described device for conducting a search in a codebook in view of producing at least one of the speech signal encoding parameters, wherein the speech signal constitutes the sound signal.
Also in accordance with the present invention, there is provided a cellular network element comprising (a) a transmitter including means for encoding a speech signal and means for transmitting the encoded speech signal, and (b) a receiver including means for receiving a transmitted encoded speech signal and means for decoding the received encoded speech signal. The speech signal encoding means comprises means responsive to the speech signal for producing speech signal encoding parameters, the speech signal encoding parameter producing means comprises the above described device for conducting a search in a codebook in view of producing at least one of the speech signal encoding parameters, wherein the speech signal constitutes the sound signal.
The present invention still further relates to a cellular mobile transmitter/receiver unit comprising (a) a transmitter including means for encoding a speech signal and means for transmitting the encoded speech signal, and (b) a receiver including means for receiving a transmitted encoded speech signal and means for decoding the received encoded speech signal.
The speech signal encoding means comprises means responsive to the speech signal for producing speech signal encoding parameters, and the speech signal encoding parameter producing means comprises the above described device for conducting a search in a codebook in view of producing at least one of the speech signal encoding parameters, wherein the speech signal constitutes the sound signal.
Further in accordance with the present invention, there is provided, in a cellular communication system for servicing a large geographical area divided into a plurality of cells, and comprising: mobile transmitter/receiver units; cellular base stations respectively situated in the cells; and means for controlling communication between the cellular base stations, a bidirectional wireless communication sub-system between each mobile unit situated in one cell and the cellular base station of this cell.
This bidirectional wireless communication sub-system comprises in both the mobile unit and the cellular base station (a) a transmitter including means for encoding a speech signal and means for transmitting the encoded speech signal, and (b) a receiver including means for receiving a transmitted encoded speech signal and means for decoding the received encoded speech signal.
The speech signal encoding means comprises means responsive to the speech signal for producing speech signal encoding parameters, and the speech signal encoding parameter producing means comprises the above described device for conducting a search in a codebook in view of producing at least one of the speech signal encoding parameters, wherein the speech signal constitutes the sound signal.
The foregoing and other objects, advantages and features of the present invention will become more apparent upon reading of the following non-restrictive description of an illustrative embodiment thereof, given by way of example only with reference to the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
In the appended drawings:
Figure 1 is a schematic block diagram of a sound signal-encoding device comprising an amplitude selector and an optimizing controller in accordance with the present invention;
Figure 2 is a schematic block diagram of a decoding device associated with the encoding device of Figure 1;
Figure 3a is a sequence of basic operations for the fast codebook search in accordance with the present invention, based on signal-selected pulse amplitudes;
Figure 3b is a sequence of operations for pre-assigning one of the q amplitudes to each position p of the pulse amplitude/position combinations;
Figure 3c is a sequence of operations involved in the N-embedded loop search in which the innermost loop is skipped whenever the contribution of the first N-1 pulses to the numerator DAkT is deemed insufficient;
In the appended drawings:
Figure 1 is a schematic block diagram of a sound signal-encoding device comprising an amplitude selector and an optimizing controller in accordance with the present invention;
Figure 2 is a schematic block diagram of a decoding device associated with the encoding device of Figure 1;
Figure 3a is a sequence of basic operations for the fast codebook search in accordance with the present invention, based on signal-selected pulse amplitudes;
Figure 3b is a sequence of operations for pre-assigning one of the q amplitudes to each position p of the pulse amplitude/position combinations;
Figure 3c is a sequence of operations involved in the N-embedded loop search in which the innermost loop is skipped whenever the contribution of the first N-1 pulses to the numerator DAkT is deemed insufficient;
Figure 4 is a schematic representation of the N-nested loops used in the codebook search; and Figure 5 is a schematic block diagram illustrating the infrastructure of a typical cellular communication system.
DETAILED DESCRIPTION OF THE ILLUSTRATIVE EMBODIMENT
Figure 5 illustrates the infrastructure of a typical cellular communication system 1.
Although application of the search conducting method and device according to the invention to a cellular communication system is disclosed as a non limitative example in the present specification, it should be kept in mind that these method and device can be used with the same advantages in many other types of communication systems in which sound signal encoding is required.
In a cellular communication system such as 1, a telecommunications service is provided over a large geographic area by dividing that large area into a number of smaller cells. Each cell has a cellular base station 2 (Figure 5) for providing radio signalling channels, and audio and data channels.
The radio signalling channels are utilized to page mobile radio telephones (mobile transmitter/receiver units) such as 3 within the limits of the cellular base station's coverage area (cell), and to place calls to other radio telephones either inside or outside the base station's cell, or onto another network such as the Public Switched Telephone Network (PSTN) 4.
Once a radio telephone 3 has successfully placed or 5 received a call, an audio or data channel is set up with the cellular base station 2 corresponding to the cell in which the radio telephone 3 is situated, and communication between the base station 2 and radio telephone 3 occurs over that audio or data channel. The radio telephone 3 may also receive control or timing information over the signalling channel whilst a call is in 10 progress.
If a radio telephone 3 leaves a cell during a call and enters another cell, the radio telephone hands over the call to an available audio or data channel in the new cell. Similarly, if no call is in progress a control message is sent over the signalling channel such that the radio telephone logs onto the base station 2 associated with the new cell. In this manner mobile communication over a wide geographical area is possible.
The cellular communication system 1 further comprises a terminal 5 to control communication between the cellular base stations 2 and the Public Switched Telephone Network 4, for example during a communication between a radio telephone 3 and the PSTN 4, or between a radio telephone 3 in a first cell and a radio telephone 3 in a second cell.
Of course, a bidirectional wireless radio communication sub-system is required to establish communication between each radio telephone 3 situated in one cell and the cellular base station 2 of that cell. Such a bidirectional wireless radio communication system typically comprises in both the radio telephone 3 and the cellular base station 2 (a) a transmitter for encoding the speech signal and for transmitting the encoded speech signal through an antenna such as 6 or 7, and (b) a receiver for receiving a transmitted encoded speech signal through the same antenna 6 or 7 and for decoding the received encoded speech signal. As well known to those of ordinary skill in the art, voice encoding is required in order to reduce the bandwidth necessary to transmit speech across the bidirectional wireless radio communication system, i.e. between a radio telephone 3 and a base station 2.
The aim of the present invention is to provide an efficient digital speech encoding technique with a good subjective quality/bit rate trade-off for example for bidirectional transmission of speech signals between a cellular base station 2 and a radio telephone 3 through an audio or data channel. Figure 1 is a schematic block diagram of a digital speech-encoding device suitable for carrying out this efficient technique.
The speech encoding device of Figure 1 is the same encoding device as illustrated in Figure 1 of U.S. parent patent application No.
07/927,528 to which an amplitude selector 112 in accordance with the present invention has been added. U.S. parent patent application No. 07/927,528 was filed on September 10, 1992 for an invention entitled "DYNAMIC
CODEBOOK FOR EFFICIENT SPEECH CODING BASED ON ALGEBRAIC
CODES".
The analog speech signal is sampled and block processed.
It should be understood that the present invention is not limited to an application to speech signal. Encoding of other types of sound signal can also be contemplated.
DETAILED DESCRIPTION OF THE ILLUSTRATIVE EMBODIMENT
Figure 5 illustrates the infrastructure of a typical cellular communication system 1.
Although application of the search conducting method and device according to the invention to a cellular communication system is disclosed as a non limitative example in the present specification, it should be kept in mind that these method and device can be used with the same advantages in many other types of communication systems in which sound signal encoding is required.
In a cellular communication system such as 1, a telecommunications service is provided over a large geographic area by dividing that large area into a number of smaller cells. Each cell has a cellular base station 2 (Figure 5) for providing radio signalling channels, and audio and data channels.
The radio signalling channels are utilized to page mobile radio telephones (mobile transmitter/receiver units) such as 3 within the limits of the cellular base station's coverage area (cell), and to place calls to other radio telephones either inside or outside the base station's cell, or onto another network such as the Public Switched Telephone Network (PSTN) 4.
Once a radio telephone 3 has successfully placed or 5 received a call, an audio or data channel is set up with the cellular base station 2 corresponding to the cell in which the radio telephone 3 is situated, and communication between the base station 2 and radio telephone 3 occurs over that audio or data channel. The radio telephone 3 may also receive control or timing information over the signalling channel whilst a call is in 10 progress.
If a radio telephone 3 leaves a cell during a call and enters another cell, the radio telephone hands over the call to an available audio or data channel in the new cell. Similarly, if no call is in progress a control message is sent over the signalling channel such that the radio telephone logs onto the base station 2 associated with the new cell. In this manner mobile communication over a wide geographical area is possible.
The cellular communication system 1 further comprises a terminal 5 to control communication between the cellular base stations 2 and the Public Switched Telephone Network 4, for example during a communication between a radio telephone 3 and the PSTN 4, or between a radio telephone 3 in a first cell and a radio telephone 3 in a second cell.
Of course, a bidirectional wireless radio communication sub-system is required to establish communication between each radio telephone 3 situated in one cell and the cellular base station 2 of that cell. Such a bidirectional wireless radio communication system typically comprises in both the radio telephone 3 and the cellular base station 2 (a) a transmitter for encoding the speech signal and for transmitting the encoded speech signal through an antenna such as 6 or 7, and (b) a receiver for receiving a transmitted encoded speech signal through the same antenna 6 or 7 and for decoding the received encoded speech signal. As well known to those of ordinary skill in the art, voice encoding is required in order to reduce the bandwidth necessary to transmit speech across the bidirectional wireless radio communication system, i.e. between a radio telephone 3 and a base station 2.
The aim of the present invention is to provide an efficient digital speech encoding technique with a good subjective quality/bit rate trade-off for example for bidirectional transmission of speech signals between a cellular base station 2 and a radio telephone 3 through an audio or data channel. Figure 1 is a schematic block diagram of a digital speech-encoding device suitable for carrying out this efficient technique.
The speech encoding device of Figure 1 is the same encoding device as illustrated in Figure 1 of U.S. parent patent application No.
07/927,528 to which an amplitude selector 112 in accordance with the present invention has been added. U.S. parent patent application No. 07/927,528 was filed on September 10, 1992 for an invention entitled "DYNAMIC
CODEBOOK FOR EFFICIENT SPEECH CODING BASED ON ALGEBRAIC
CODES".
The analog speech signal is sampled and block processed.
It should be understood that the present invention is not limited to an application to speech signal. Encoding of other types of sound signal can also be contemplated.
In the illustrated example, the block of input sampled speech S (Figure 1) comprises L consecutive samples. In the CELP literature, L is designated as the "subframe" length and is typically situated between 20 and 80. Also, the blocks of L samples are referred to as L-dimensional vectors.
Various L-dimensional vectors are produced in the course of the encoding procedure. A list of these vectors, which appear in Figures 1, and 2, as well as a list of transmitted parameters is given hereinbelow:
List of the main L-dimensional vectors:
S Input speech vector;
R' Pitch-removed residual vector;
X Target vector;
D Backward-filtered target vector;
Ak Codevector of index k from the algebraic codebook; and Ck Innovation vector (filtered codevector).
List of transmitted parameters:
k Codevector index (input of the algebraic codebook);
g Gain;
STP Short term prediction parameters (defining A(z)); and LTP Long term prediction parameters (defining a pitch gain b and a pitch delay T).
DECODING PRINCIPLE:
Various L-dimensional vectors are produced in the course of the encoding procedure. A list of these vectors, which appear in Figures 1, and 2, as well as a list of transmitted parameters is given hereinbelow:
List of the main L-dimensional vectors:
S Input speech vector;
R' Pitch-removed residual vector;
X Target vector;
D Backward-filtered target vector;
Ak Codevector of index k from the algebraic codebook; and Ck Innovation vector (filtered codevector).
List of transmitted parameters:
k Codevector index (input of the algebraic codebook);
g Gain;
STP Short term prediction parameters (defining A(z)); and LTP Long term prediction parameters (defining a pitch gain b and a pitch delay T).
DECODING PRINCIPLE:
It is believed preferable to describe first the speech decoding device of Figure 2 illustrating the various steps carried out between the digital input (input of demultiplexer 205) and the output sampled speech (output of synthesis filter 204).
The demultiplexer 205 extracts four different parameters from the binary information received from a digital input channel, namely the index k, the gain g, the short term prediction parameters STP, and the long term prediction parameters LTP. The current L-dimensional vector S of speech signal is synthesized on the basis of these four parameters as will be explained in the following description.
The speech decoding device of Figure 2 comprises a dynamic codebook 208 composed of an algebraic code generator 201 and an adaptive prefilter 202, an amplifier 206, an adder 207, a long term predictor 203, and a synthesis filter 204.
In a first step, the algebraic code generator 201 produces a codevector Ak in response to the index k.
In a second step, the codevector Ak is processed by an adaptive prefilter 202 supplied with the long term prediction parameters LTP
to produce an output innovation vector Ck. The purpose of the adaptive prefilter 202 is to dynamically control the frequency content of the output innovation vector Ck so as to enhance speech quality, i.e. to reduce the audible distortion caused by frequencies annoying the human ear. Typical transfer functions F(z) for the adaptive prefilter 202 are given below:
The demultiplexer 205 extracts four different parameters from the binary information received from a digital input channel, namely the index k, the gain g, the short term prediction parameters STP, and the long term prediction parameters LTP. The current L-dimensional vector S of speech signal is synthesized on the basis of these four parameters as will be explained in the following description.
The speech decoding device of Figure 2 comprises a dynamic codebook 208 composed of an algebraic code generator 201 and an adaptive prefilter 202, an amplifier 206, an adder 207, a long term predictor 203, and a synthesis filter 204.
In a first step, the algebraic code generator 201 produces a codevector Ak in response to the index k.
In a second step, the codevector Ak is processed by an adaptive prefilter 202 supplied with the long term prediction parameters LTP
to produce an output innovation vector Ck. The purpose of the adaptive prefilter 202 is to dynamically control the frequency content of the output innovation vector Ck so as to enhance speech quality, i.e. to reduce the audible distortion caused by frequencies annoying the human ear. Typical transfer functions F(z) for the adaptive prefilter 202 are given below:
F. (z) = A(z/ Y' ) A(z/ y2) Fb (z) _ 1- bo zT
Fa(z) is a formant prefilter in which 0 < y, < y2 < 1 are constants. This prefilter enhances the formant regions and works very effectively specially at coding rate below 5 kbit/s.
Fb(z) is a pitch prefilter where T is the time varying pitch delay and bo is either constant or equal to the quantized long-term pitch prediction parameter from the current or previous subframes. Fb(Z) is very effective to enhance pitch harmonic frequencies at all rates. Therefore, F(z) typically includes a pitch prefilter sometimes combined with a formant prefilter, namely:
F(z) = Fa(z) Fb(Z) In accordance with the CELP technique, the output sampled speech signal S is obtained by first scaling the innovation vector Ck from the codebook 208 by the gain g through the amplifier 206. The adder 207 then adds the scaled waveform gCk to the output E (the long term prediction component of the signal excitation of the synthesis filter 204) of a long term predictor 203 supplied with the LTP parameters, placed in a feedback loop and having a transfer function B(z) defined as follows:
B(z) = bz T
where b and T are the above defined pitch gain and delay, respectively.
The predictor 203 is a filter having a transfer function being in accordance with the last received LTP parameters b and T to model the 5 pitch periodicity of speech. It introduces the appropriate pitch gain b and delay T of samples. The composite signal E+ gCk constitutes the signal excitation of the synthesis filter 204 which has a transfer function 1/A(z) (A(z) being defined in the following description). The filter 204 provides the correct spectrum shaping in accordance with the last received STP parameters.
10 More specifically, the filter 204 models the resonant frequencies (formants) of speech. The output block S is the synthesized sampled speech signal, which can be converted into an analog signal with proper anti-aliasing filtering in accordance with a technique well known in the art.
Fa(z) is a formant prefilter in which 0 < y, < y2 < 1 are constants. This prefilter enhances the formant regions and works very effectively specially at coding rate below 5 kbit/s.
Fb(z) is a pitch prefilter where T is the time varying pitch delay and bo is either constant or equal to the quantized long-term pitch prediction parameter from the current or previous subframes. Fb(Z) is very effective to enhance pitch harmonic frequencies at all rates. Therefore, F(z) typically includes a pitch prefilter sometimes combined with a formant prefilter, namely:
F(z) = Fa(z) Fb(Z) In accordance with the CELP technique, the output sampled speech signal S is obtained by first scaling the innovation vector Ck from the codebook 208 by the gain g through the amplifier 206. The adder 207 then adds the scaled waveform gCk to the output E (the long term prediction component of the signal excitation of the synthesis filter 204) of a long term predictor 203 supplied with the LTP parameters, placed in a feedback loop and having a transfer function B(z) defined as follows:
B(z) = bz T
where b and T are the above defined pitch gain and delay, respectively.
The predictor 203 is a filter having a transfer function being in accordance with the last received LTP parameters b and T to model the 5 pitch periodicity of speech. It introduces the appropriate pitch gain b and delay T of samples. The composite signal E+ gCk constitutes the signal excitation of the synthesis filter 204 which has a transfer function 1/A(z) (A(z) being defined in the following description). The filter 204 provides the correct spectrum shaping in accordance with the last received STP parameters.
10 More specifically, the filter 204 models the resonant frequencies (formants) of speech. The output block S is the synthesized sampled speech signal, which can be converted into an analog signal with proper anti-aliasing filtering in accordance with a technique well known in the art.
15 There are many ways to design an algebraic code generator 201. An advantageous method, disclosed in the above-mentioned U.S.
patent application No. 07/927,528, consists of using at least one N-interleaved single-pulse permutation code.
This concept will be illustrated by way of a simple algebraic code generator 201. In this example, L = 40 and the set of 40-dimensional codevectors contains only N = 5 non-zero-amplitude pulses that will be called Sp,, SPZ, SP,, Sp,, SP5 S. In this more thorough notation, p; stands for the location of the ith pulse within the subframe (i.e., p; ranges from 0 to L-1). Suppose that pulse Sp, is constrained to eight possible positions p, as follows:
p, = 0,5,10,15,20,25,30,35 = 0+8m, ;m, = 0,1...7 Within these eight positions, which can be called "track" #1, SP, and seven zero-amplitude pulses can freely permute. This is a "single-pulse permutation code". Let us now interleave five such "single pulse permutation codes" by also constraining the positions of the remaining pulses in a similar fashion (i.e. track #2, track #3, track #4, and track #5).
p, = 0,5,10,15,20,25,30,35 = 0+8m, P2 = 1,6,11,16,21,26,31,36 = 1+8m2 p3 = 2,7,12,17,22,27,32,37 = 2+8m3 p, = 3,8,13,18,23,28,33,38 = 3+8m4 p5 = 4,9,14,19,24,29,34,39 = 4+8m5 Note that the integers m; = 0, 1, ..., 7 fully define the position p, of each pulse Sp,. Thus, a simple position index kP can be derived through straightforward multiplexing of the m; s using the following relation:
kP=4096m,+512m2+64m,+8m4+m5 It should be pointed out that other codebooks can be derived using the above pulse tracks. For instance, only 4 pulses can be used, where the first three pulses occupy the positions in the first three tracks, respectively, while the fourth pulse occupies either the fourth or the fifth track with one bit to specify which track. This design gives rise to a 13 bit position codebook.
In the prior art, the non-zero-amplitude pulses were assumed to have a fixed amplitude for all practical purposes for reasons of codevector search complexity. Indeed, if pulse Sp, may assume one of q possible amplitudes, as many as qN pulse-amplitude combinations will have to be considered in the search. For instance, if the five pulses of the first example are allowed to take one of q = 4 possible amplitudes, for example gp; _+ 1, -1, + 2, - 2 instead of a fixed amplitude, the algebraic codebook size jumps from 15 to 15+(5x2) bits = 25 bits; that is, a search a thousand time more complex.
The present specification discloses the surprising fact that very good performance can be achieved with q-amplitude pulses without paying a heavy price. The solution consists of limiting the search to a restrained subset of codevectors. The method of selecting the codevectors is related to the input speech signal as will be described in the following description.
A practical benefit is to enable an increase of the size of the dynamic algebraic codebook 208 by allowing individual pulses to assume different possible amplitudes without increasing the codevector search complexity.
ENCODING PRINCIPLE:
The sampled speech signal S is encoded on a block by block basis by the encoding system of Figure 1 that is broken down into 11 modules numbered from 102 to 112. The function and operation of most of these modules are unchanged with respect to the description of U.S. parent patent application No. 07/927,528. Therefore, although the following description will at least briefly explain the function and operation of each module, it will concentrate on the matter that is new with respect to the disclosure of U.S. parent patent application No. 07/927,528.
patent application No. 07/927,528, consists of using at least one N-interleaved single-pulse permutation code.
This concept will be illustrated by way of a simple algebraic code generator 201. In this example, L = 40 and the set of 40-dimensional codevectors contains only N = 5 non-zero-amplitude pulses that will be called Sp,, SPZ, SP,, Sp,, SP5 S. In this more thorough notation, p; stands for the location of the ith pulse within the subframe (i.e., p; ranges from 0 to L-1). Suppose that pulse Sp, is constrained to eight possible positions p, as follows:
p, = 0,5,10,15,20,25,30,35 = 0+8m, ;m, = 0,1...7 Within these eight positions, which can be called "track" #1, SP, and seven zero-amplitude pulses can freely permute. This is a "single-pulse permutation code". Let us now interleave five such "single pulse permutation codes" by also constraining the positions of the remaining pulses in a similar fashion (i.e. track #2, track #3, track #4, and track #5).
p, = 0,5,10,15,20,25,30,35 = 0+8m, P2 = 1,6,11,16,21,26,31,36 = 1+8m2 p3 = 2,7,12,17,22,27,32,37 = 2+8m3 p, = 3,8,13,18,23,28,33,38 = 3+8m4 p5 = 4,9,14,19,24,29,34,39 = 4+8m5 Note that the integers m; = 0, 1, ..., 7 fully define the position p, of each pulse Sp,. Thus, a simple position index kP can be derived through straightforward multiplexing of the m; s using the following relation:
kP=4096m,+512m2+64m,+8m4+m5 It should be pointed out that other codebooks can be derived using the above pulse tracks. For instance, only 4 pulses can be used, where the first three pulses occupy the positions in the first three tracks, respectively, while the fourth pulse occupies either the fourth or the fifth track with one bit to specify which track. This design gives rise to a 13 bit position codebook.
In the prior art, the non-zero-amplitude pulses were assumed to have a fixed amplitude for all practical purposes for reasons of codevector search complexity. Indeed, if pulse Sp, may assume one of q possible amplitudes, as many as qN pulse-amplitude combinations will have to be considered in the search. For instance, if the five pulses of the first example are allowed to take one of q = 4 possible amplitudes, for example gp; _+ 1, -1, + 2, - 2 instead of a fixed amplitude, the algebraic codebook size jumps from 15 to 15+(5x2) bits = 25 bits; that is, a search a thousand time more complex.
The present specification discloses the surprising fact that very good performance can be achieved with q-amplitude pulses without paying a heavy price. The solution consists of limiting the search to a restrained subset of codevectors. The method of selecting the codevectors is related to the input speech signal as will be described in the following description.
A practical benefit is to enable an increase of the size of the dynamic algebraic codebook 208 by allowing individual pulses to assume different possible amplitudes without increasing the codevector search complexity.
ENCODING PRINCIPLE:
The sampled speech signal S is encoded on a block by block basis by the encoding system of Figure 1 that is broken down into 11 modules numbered from 102 to 112. The function and operation of most of these modules are unchanged with respect to the description of U.S. parent patent application No. 07/927,528. Therefore, although the following description will at least briefly explain the function and operation of each module, it will concentrate on the matter that is new with respect to the disclosure of U.S. parent patent application No. 07/927,528.
For each block of L samples of speech signal, a set of Linear Predictive Coding (LPC) parameters, called short term prediction (STP) parameters, is produced in accordance with a prior art technique through an LPC spectrum analyser 102. More specifically, the analyser 102 models the spectral characteristics of each block S of L samples.
The input block S of L-sample is whitened by a whitening filter 103 having the following transfer function based on the current values of the STP parameters:
A(z) ~Mai z' Wo where ao = 1, and z is the usual variable of the so-called z-transform. As illustrated in Figure 1, the whitening filter 103 produces a residual vector R.
A pitch extractor 104 is used to compute and quantize the LTP parameters, namely the pitch delay T and the pitch gain g. The initial state of the extractor 104 is also set to a value FS from an initial state extractor 110. A detailed procedure for computing and quantizing the LTP
parameters is described in U.S. parent patent application No. 07/927,528 and is believed to be well known to those of ordinary skill in the art.
Accordingly, it will not be further described in the present disclosure.
A filter responses characterizer 105 (Figure 1) is supplied with the STP and LTP parameters to compute a filter responses characterization FRC for use in the later steps. The FRC information consists of the following three components where n = 1, 2, ... L.
The input block S of L-sample is whitened by a whitening filter 103 having the following transfer function based on the current values of the STP parameters:
A(z) ~Mai z' Wo where ao = 1, and z is the usual variable of the so-called z-transform. As illustrated in Figure 1, the whitening filter 103 produces a residual vector R.
A pitch extractor 104 is used to compute and quantize the LTP parameters, namely the pitch delay T and the pitch gain g. The initial state of the extractor 104 is also set to a value FS from an initial state extractor 110. A detailed procedure for computing and quantizing the LTP
parameters is described in U.S. parent patent application No. 07/927,528 and is believed to be well known to those of ordinary skill in the art.
Accordingly, it will not be further described in the present disclosure.
A filter responses characterizer 105 (Figure 1) is supplied with the STP and LTP parameters to compute a filter responses characterization FRC for use in the later steps. The FRC information consists of the following three components where n = 1, 2, ... L.
- f(n): response of F(z) Note that F(z) typically includes the pitch prefilter.
- h(n): response of /1~l to f(n) AI zy I
where y is a perceptual factor. More generally, h(n) is the impulse response of F(z)W(z)/A(z) which is the cascade of prefilter F(z), perceptual weighting filter W(z) and synthesis filter 1/A(z). Note that F(z) and 1/A(z) are the same filters as used in the decoder of Figure 2.
- U(i,j): autocorrelation of h(n) according to the following expression:
u( l,j)= E h(k-i+1)h(k- j+1) k=1 for 1 s i s L and i s j s L; h(n)=O for n<1 The long term predictor 106 is supplied with the past excitation signal (i.e. E+ gCk of the previous subframe) for form the new E
component using proper pitch delay T and gain b.
The initial state of the perceptual filter 107 is set to the value FS supplied from the initial state extractor 110. The pitch removed residual vector R'= R-E calculated by a subtractor 121 (Figure 1) is then supplied to the perceptual filter 107 to obtain at the output of the latter filter a target vector X. As illustrated in Figure 1, the STP parameters are applied to the filter to vary its transfer function in relation to these parameters. Basically, X =
R' -P where P represents the contribution of the long term prediction (LTP) including "ringing" from the past excitations. The MSE criterion which applies to 0 can now be stated in the following matrix notations:
minjIA112 = minIISI-S,1I2 = minllS'-[P-gAkHT1I2 = minllX-g' `kHTII2 where H is an L x L lower-triangular Toeplitz matrix formed from the h(n) response as follows. The term h(0) occupies the matrix diagonal and h(1), h(2), ...h(L-1) occupy the respective lower diagonals.
10 A backward filtering step is performed by the filter 108 of Figure 1. Setting to zero the derivative of the above equation with respect to the gain g yields to the optimum gain as follows:
M= 0 a9 g _ X(AkHT)T
IIAk T112 With this value for g, the minimization becomes:
T
minIJoII2 - min {IIXII2- X AkHT }
IIAkH 112 The objective is to find the particular index k for which the minimization is achieved. Note that because lIXlIZ is a fixed quantity, the same index can be found by maximizing the following quantity:
max(X(AkHT)T)2 =max((XH)AkT)Z =max(DAkT)2 k T k aCk k pCk IIAkH Iz 2 2 where D = (XH) and qk2 = I,AkHTll2 In the backward filter 108, a backward filtered target vector D
_(XH) is computed. The term "backward filtering" for this operation comes from the interpretation of (XH) as the filtering of time-reversed X.
Only an amplitude selector 112 has been added to Figure 1 of the above mentioned U.S. parent patent application No. 07/927,528. The function of the amplitude selector 112 is to restrain the codevectors Ak being searched by the optimizing controller 109 to the most promising codevectors Ak to thereby reduce the codevector search complexity. As described in the foregoing description, each codevector Ak is a pulse amplitude/position combination waveform defining L different positions p and comprising both zero-amplitude pulses and non-zero-amplitude pulses assigned to respective positions p = 1, 2, ...L of the combination, wherein each non-zero-amplitude pulse assumes at least one of q different possible amplitudes.
Referring now to Figure 3a, 3b and 3c, the purpose of the amplitude selector 112 is to pre-establish a function SP between the positions p of the codevector waveform and the q possible values of the pulse I I
amplitudes. The pre-established function SP is derived in relation to the speech signal prior to the codebook search. More specifically, pre-establishing this function consists of pre-assigning, in relation to the speech signal, at least one of the q possible amplitudes to each position p of the waveform (step 301 of Figure 3a).
To pre-assign one of the q amplitudes to each position p of the waveform, an amplitude estimate vector B is calculated in response to the backward-filtered target vector D and to the pitch-removed residual vector R'.
More specifically, the amplitude estimate vector B is calculated by summing (substep 301-1 of Figure 3b) the backward-filtered target vector D in normalized form:
(1- R) ~~D~~
and the pitch-removed residual vector R' in normalized form:
R' IIR'll to thereby obtain an amplitude estimate vector B of the form:
, B=(1- R) JIDII ~ R IIR'll where R is a fixed constant having a typical value of 1/2 (the value of R is chosen between 0 and 1 depending on the percentage of non-zero-amplitude pulses used in the algebraic code).
For each position p of the waveform, the amplitude Sp to be pre-assigned to that position p is obtained by quantizing a corresponding amplitude estimate Bp of vector B. More specifically, for each position p of the waveform, a peak-normalized amplitude estimate Bp of the vector B is quantized (substep 301-2 of Figure 3b) using the following expression:
Sp=Q(BP/maxlBnl) n wherein Q (.) is the quantization function and maxIBnl n is a normalisation factor representing a peak amplitude of the non-zero-amplitude pulses.
In the important special case in which:
- q = 2, that is the pulse amplitudes can assume only two values (i.e. Sp;1); and - the non-zero-amplitude pulse density N/L is lower than or equal to 15%;
- the value of R can be equal to zero; then the amplitude estimate vector B reduces simply to the backward-filtered target vector D and consequently Sp = sign(Dp) .
The purpose of the optimizing controller 109 is to select the best codevector Ak from the algebraic codebook. The selection criterion is given in the form of a ration to be calculated for each codevector Ak and to be maximized over all codevectors (step 303):
(D AkT )2 max k ak where D = (XH) and ak = lAkHT IZ =
Since Ak is an algebraic codevector having N non-zero-amplitude pulses of respective amplitudes Sp;, the numerator is the square of N
D Ak = EDpSp, and the denominator is an energy term which can be expressed as:
2_ N 2 N-1 N
pk - ySpi U (pi,p;)+2E E Sp,Sp;U (p,,p;) i=1 i=1 i=i+1 where U(p;,p;) is the correlation associated with two unit-amplitude pulses, one at position p; and the other at position p,. This matrix is computed in accordance with the above equation in the filter response characterizer 105 and included in the set of parameters referred to as FRC in the block diagram of Figure 1.
A fast method for computing this denominator (step 304) involves the N-nested loops illustrated in Figure 4 in which the trim lined notation S(i) and SS(i,j) is used in the place of the respective quantities "Sp;" and "Sp,Sp,"=
Computation of the denominator ak2 is the most time consuming process. The 5 computations contributing to ak2 which are performed in each loop of Figure can be written on separate lines from the outermost loop to the innermost loop as follows:
ak = SP,2U(p1,p) + SPz2 U(p2 t p2) + 2SP,SPzU(p1 I p2) } SPa2 U (p3 I p3 ) + 2[SpISP3U (p1 P3 ) +SpZSp3U (p2 lp3 )J
+ SPN2 U(PN I PN) + 2[Sp,SpNU(p1 I PN) +SP2SPNU(p2 I PN) + ... +SpN,SPNU(PN-1 I pN)l where p; is the position of the i'h non-zero-amplitude pulse. Note that the N-nested loops of Figure 4 enables constraining the non-zero-amplitude pulses of codevectors Ak in accordance with N interleaved single-pulse permutation codes.
In the present invention search complexity is drastically reduced by restraining the subset of codevectors Ak being searched to codevectors of which the N non-zero-amplitude pulses respect the function pre-established in step 301 of Figure 3a. The pre-established function is respected when the N
non-zero-amplitude pulses of a codevector Ak each have an amplitude equal to the amplitude pre-assigned to the position p of the non-zero-amplitude pulse.
Said restraining the subset of codevectors is preformed by first combining the pre-established function Sp with the entries of matrix U(i,j) (step 302 of Figure 3a) then, by using the N-nested loops of Figure 4 with all pulses S(i) assumed to be fixed, positive and of unit amplitude (step 303). Thus, even though the amplitude of non-zero pulses can take any of q possible values in the algebraic codebook, the search complexity is reduced to the case of fixed pulse amplitudes. More precisely, the matrix U(i,j) which is supplied by the filter response characterizer 105 is combined with the pre-established function in accordance with the following relation (step 302):
U'(i,j) = Si S; U (i,j) where S; results from the selecting method of amplitude selector 112, namely S; is the amplitude selected for an individual position i following quantization of the corresponding amplitude estimate.
With this new matrix, the computation for each loop of the fast algorithm can be written on a separate line, from the outermost to the innermost loop, as follows:
ak = U'(P,'P) + U'(P2I P2) + 2U'(P1 I P2) + U'(Ps'Ps)+ 2U'(P1IPa)+ 2U'(PrPs) + U'(PNIPN)+ 2U'(P,'PN)+ 2U'(P2'PN)+...+ 2U'(PN-1'PN) where p, is the position of the xth non-zero-amplitude pulse of the waveform, and where U'(px,py) is a function dependent on the amplitude Sp. pre-assigned to a position px amongst the positions p and the amplitude Spy pre-assigned to a position py amongst the positions p.
To still further reduce the search complexity, one may skip (cf Figure 3c) in particular, but not exclusively, the innermost loop whenever the following inequality is true:
E Sp~ Dp~ < TD
n=1 where Sp. is the amplitude pre-assigned to position pn, Dpn is the pntn component of the target vector D, and TD is a threshold related to the backward-filtered target vector D.
The global signal excitation signal E + gCk is computed by an adder 120 (Figure 1) from the signal gCk from the controller 109 and the output E from the predictor 106. The initial state extractor module 110, constituted by a perceptual filter with a transfer function 1/A(zy-') varying in relation to the STP parameters, subtracts from the residual signal R the signal excitation signal E + gCk for the sole purpose of obtaining the final filter state FS for use as initial state in filter 107 and pitch extractor 104.
The set of four parameters k, g, LTP and STP are converted into the proper digital channel format by a multiplexer 111 completing the procedure for encoding a block S of samples of speech signal.
Although the present invention has been described hereinabove with reference to an illustrative embodiment thereof, this embodiment can be modified at will, within the scope of the appended claims, without departing from the spirit and nature of the subject invention.
- h(n): response of /1~l to f(n) AI zy I
where y is a perceptual factor. More generally, h(n) is the impulse response of F(z)W(z)/A(z) which is the cascade of prefilter F(z), perceptual weighting filter W(z) and synthesis filter 1/A(z). Note that F(z) and 1/A(z) are the same filters as used in the decoder of Figure 2.
- U(i,j): autocorrelation of h(n) according to the following expression:
u( l,j)= E h(k-i+1)h(k- j+1) k=1 for 1 s i s L and i s j s L; h(n)=O for n<1 The long term predictor 106 is supplied with the past excitation signal (i.e. E+ gCk of the previous subframe) for form the new E
component using proper pitch delay T and gain b.
The initial state of the perceptual filter 107 is set to the value FS supplied from the initial state extractor 110. The pitch removed residual vector R'= R-E calculated by a subtractor 121 (Figure 1) is then supplied to the perceptual filter 107 to obtain at the output of the latter filter a target vector X. As illustrated in Figure 1, the STP parameters are applied to the filter to vary its transfer function in relation to these parameters. Basically, X =
R' -P where P represents the contribution of the long term prediction (LTP) including "ringing" from the past excitations. The MSE criterion which applies to 0 can now be stated in the following matrix notations:
minjIA112 = minIISI-S,1I2 = minllS'-[P-gAkHT1I2 = minllX-g' `kHTII2 where H is an L x L lower-triangular Toeplitz matrix formed from the h(n) response as follows. The term h(0) occupies the matrix diagonal and h(1), h(2), ...h(L-1) occupy the respective lower diagonals.
10 A backward filtering step is performed by the filter 108 of Figure 1. Setting to zero the derivative of the above equation with respect to the gain g yields to the optimum gain as follows:
M= 0 a9 g _ X(AkHT)T
IIAk T112 With this value for g, the minimization becomes:
T
minIJoII2 - min {IIXII2- X AkHT }
IIAkH 112 The objective is to find the particular index k for which the minimization is achieved. Note that because lIXlIZ is a fixed quantity, the same index can be found by maximizing the following quantity:
max(X(AkHT)T)2 =max((XH)AkT)Z =max(DAkT)2 k T k aCk k pCk IIAkH Iz 2 2 where D = (XH) and qk2 = I,AkHTll2 In the backward filter 108, a backward filtered target vector D
_(XH) is computed. The term "backward filtering" for this operation comes from the interpretation of (XH) as the filtering of time-reversed X.
Only an amplitude selector 112 has been added to Figure 1 of the above mentioned U.S. parent patent application No. 07/927,528. The function of the amplitude selector 112 is to restrain the codevectors Ak being searched by the optimizing controller 109 to the most promising codevectors Ak to thereby reduce the codevector search complexity. As described in the foregoing description, each codevector Ak is a pulse amplitude/position combination waveform defining L different positions p and comprising both zero-amplitude pulses and non-zero-amplitude pulses assigned to respective positions p = 1, 2, ...L of the combination, wherein each non-zero-amplitude pulse assumes at least one of q different possible amplitudes.
Referring now to Figure 3a, 3b and 3c, the purpose of the amplitude selector 112 is to pre-establish a function SP between the positions p of the codevector waveform and the q possible values of the pulse I I
amplitudes. The pre-established function SP is derived in relation to the speech signal prior to the codebook search. More specifically, pre-establishing this function consists of pre-assigning, in relation to the speech signal, at least one of the q possible amplitudes to each position p of the waveform (step 301 of Figure 3a).
To pre-assign one of the q amplitudes to each position p of the waveform, an amplitude estimate vector B is calculated in response to the backward-filtered target vector D and to the pitch-removed residual vector R'.
More specifically, the amplitude estimate vector B is calculated by summing (substep 301-1 of Figure 3b) the backward-filtered target vector D in normalized form:
(1- R) ~~D~~
and the pitch-removed residual vector R' in normalized form:
R' IIR'll to thereby obtain an amplitude estimate vector B of the form:
, B=(1- R) JIDII ~ R IIR'll where R is a fixed constant having a typical value of 1/2 (the value of R is chosen between 0 and 1 depending on the percentage of non-zero-amplitude pulses used in the algebraic code).
For each position p of the waveform, the amplitude Sp to be pre-assigned to that position p is obtained by quantizing a corresponding amplitude estimate Bp of vector B. More specifically, for each position p of the waveform, a peak-normalized amplitude estimate Bp of the vector B is quantized (substep 301-2 of Figure 3b) using the following expression:
Sp=Q(BP/maxlBnl) n wherein Q (.) is the quantization function and maxIBnl n is a normalisation factor representing a peak amplitude of the non-zero-amplitude pulses.
In the important special case in which:
- q = 2, that is the pulse amplitudes can assume only two values (i.e. Sp;1); and - the non-zero-amplitude pulse density N/L is lower than or equal to 15%;
- the value of R can be equal to zero; then the amplitude estimate vector B reduces simply to the backward-filtered target vector D and consequently Sp = sign(Dp) .
The purpose of the optimizing controller 109 is to select the best codevector Ak from the algebraic codebook. The selection criterion is given in the form of a ration to be calculated for each codevector Ak and to be maximized over all codevectors (step 303):
(D AkT )2 max k ak where D = (XH) and ak = lAkHT IZ =
Since Ak is an algebraic codevector having N non-zero-amplitude pulses of respective amplitudes Sp;, the numerator is the square of N
D Ak = EDpSp, and the denominator is an energy term which can be expressed as:
2_ N 2 N-1 N
pk - ySpi U (pi,p;)+2E E Sp,Sp;U (p,,p;) i=1 i=1 i=i+1 where U(p;,p;) is the correlation associated with two unit-amplitude pulses, one at position p; and the other at position p,. This matrix is computed in accordance with the above equation in the filter response characterizer 105 and included in the set of parameters referred to as FRC in the block diagram of Figure 1.
A fast method for computing this denominator (step 304) involves the N-nested loops illustrated in Figure 4 in which the trim lined notation S(i) and SS(i,j) is used in the place of the respective quantities "Sp;" and "Sp,Sp,"=
Computation of the denominator ak2 is the most time consuming process. The 5 computations contributing to ak2 which are performed in each loop of Figure can be written on separate lines from the outermost loop to the innermost loop as follows:
ak = SP,2U(p1,p) + SPz2 U(p2 t p2) + 2SP,SPzU(p1 I p2) } SPa2 U (p3 I p3 ) + 2[SpISP3U (p1 P3 ) +SpZSp3U (p2 lp3 )J
+ SPN2 U(PN I PN) + 2[Sp,SpNU(p1 I PN) +SP2SPNU(p2 I PN) + ... +SpN,SPNU(PN-1 I pN)l where p; is the position of the i'h non-zero-amplitude pulse. Note that the N-nested loops of Figure 4 enables constraining the non-zero-amplitude pulses of codevectors Ak in accordance with N interleaved single-pulse permutation codes.
In the present invention search complexity is drastically reduced by restraining the subset of codevectors Ak being searched to codevectors of which the N non-zero-amplitude pulses respect the function pre-established in step 301 of Figure 3a. The pre-established function is respected when the N
non-zero-amplitude pulses of a codevector Ak each have an amplitude equal to the amplitude pre-assigned to the position p of the non-zero-amplitude pulse.
Said restraining the subset of codevectors is preformed by first combining the pre-established function Sp with the entries of matrix U(i,j) (step 302 of Figure 3a) then, by using the N-nested loops of Figure 4 with all pulses S(i) assumed to be fixed, positive and of unit amplitude (step 303). Thus, even though the amplitude of non-zero pulses can take any of q possible values in the algebraic codebook, the search complexity is reduced to the case of fixed pulse amplitudes. More precisely, the matrix U(i,j) which is supplied by the filter response characterizer 105 is combined with the pre-established function in accordance with the following relation (step 302):
U'(i,j) = Si S; U (i,j) where S; results from the selecting method of amplitude selector 112, namely S; is the amplitude selected for an individual position i following quantization of the corresponding amplitude estimate.
With this new matrix, the computation for each loop of the fast algorithm can be written on a separate line, from the outermost to the innermost loop, as follows:
ak = U'(P,'P) + U'(P2I P2) + 2U'(P1 I P2) + U'(Ps'Ps)+ 2U'(P1IPa)+ 2U'(PrPs) + U'(PNIPN)+ 2U'(P,'PN)+ 2U'(P2'PN)+...+ 2U'(PN-1'PN) where p, is the position of the xth non-zero-amplitude pulse of the waveform, and where U'(px,py) is a function dependent on the amplitude Sp. pre-assigned to a position px amongst the positions p and the amplitude Spy pre-assigned to a position py amongst the positions p.
To still further reduce the search complexity, one may skip (cf Figure 3c) in particular, but not exclusively, the innermost loop whenever the following inequality is true:
E Sp~ Dp~ < TD
n=1 where Sp. is the amplitude pre-assigned to position pn, Dpn is the pntn component of the target vector D, and TD is a threshold related to the backward-filtered target vector D.
The global signal excitation signal E + gCk is computed by an adder 120 (Figure 1) from the signal gCk from the controller 109 and the output E from the predictor 106. The initial state extractor module 110, constituted by a perceptual filter with a transfer function 1/A(zy-') varying in relation to the STP parameters, subtracts from the residual signal R the signal excitation signal E + gCk for the sole purpose of obtaining the final filter state FS for use as initial state in filter 107 and pitch extractor 104.
The set of four parameters k, g, LTP and STP are converted into the proper digital channel format by a multiplexer 111 completing the procedure for encoding a block S of samples of speech signal.
Although the present invention has been described hereinabove with reference to an illustrative embodiment thereof, this embodiment can be modified at will, within the scope of the appended claims, without departing from the spirit and nature of the subject invention.
Claims (22)
1. A method of conducting a search in a codebook in view of encoding a sound signal, said codebook consisting of a set of pulse amplitude/position combinations, each pulse amplitude/position combination defining L different positions and comprising both zero-amplitude pulses and non-zero-amplitude pulses assigned to respective positions p = 1, 2, ...L of the combination, and each non-zero-amplitude pulse assuming one of q possible amplitudes, said method comprising:
restraining the positions p of the non-zero-amplitude pulses of the combinations of the codebook in accordance with a set of tracks of pulse positions, wherein the pulse positions of each track are interleaved with the pulse positions of the other tracks;
pre-selecting from said codebook a subset of pulse amplitude/position combinations in relation to the sound signal; and searching only said subset of pulse amplitude/position combinations in view of encoding the sound signal whereby complexity of the search is reduced as only a subset of the pulse amplitude/position combinations of the codebook is searched;
wherein pre-selecting a subset of pulse amplitude/position combinations comprises pre-establishing, in relation to the sound signal, an amplitude/position function S p pre-assigning to the positions p = 1, 2, ...L
valid amplitudes out of said q possible amplitudes, and wherein searching said subset comprises searching only the pulse amplitude/position combinations of said codebook having non-zero-amplitude pulses which satisfy the pre-established function S p.
restraining the positions p of the non-zero-amplitude pulses of the combinations of the codebook in accordance with a set of tracks of pulse positions, wherein the pulse positions of each track are interleaved with the pulse positions of the other tracks;
pre-selecting from said codebook a subset of pulse amplitude/position combinations in relation to the sound signal; and searching only said subset of pulse amplitude/position combinations in view of encoding the sound signal whereby complexity of the search is reduced as only a subset of the pulse amplitude/position combinations of the codebook is searched;
wherein pre-selecting a subset of pulse amplitude/position combinations comprises pre-establishing, in relation to the sound signal, an amplitude/position function S p pre-assigning to the positions p = 1, 2, ...L
valid amplitudes out of said q possible amplitudes, and wherein searching said subset comprises searching only the pulse amplitude/position combinations of said codebook having non-zero-amplitude pulses which satisfy the pre-established function S p.
2. The method of claim 1, wherein pre-establishing an amplitude/position function comprises pre-assigning, by means of the pre-established function S p, one of the q possible amplitudes as valid amplitude to each position p, and wherein the pre-established function S p is satisfied when the non-zero-amplitude pulses of a pulse amplitude/position combination each have an amplitude equal to the amplitude pre-assigned by the pre-established function S p to the position p of said non-zero-amplitude pulse.
3. The method of claim 2, wherein pre-assigning one of the q possible amplitudes to each position p comprises:
processing the sound signal to produce a backward-filtered target signal D and a pitch-removed residual signal R';
calculating an amplitude estimate vector B in response to the backward-filtered target signal D and to the pitch-removed residual signal R';
and for each of said positions p, quantizing an amplitude estimate B p of said vector B to obtain the amplitude to be selected for said position p.
processing the sound signal to produce a backward-filtered target signal D and a pitch-removed residual signal R';
calculating an amplitude estimate vector B in response to the backward-filtered target signal D and to the pitch-removed residual signal R';
and for each of said positions p, quantizing an amplitude estimate B p of said vector B to obtain the amplitude to be selected for said position p.
4. The method of claim 3, in which calculating an amplitude estimate vector B comprises summing the backward-filtered target signal D in normalized form:
to the pitch-removed residual signal R' in normalized form:
to thereby obtain an amplitude estimate vector B of the form:
where P is a fixed constant.
to the pitch-removed residual signal R' in normalized form:
to thereby obtain an amplitude estimate vector B of the form:
where P is a fixed constant.
5. The method of claim 4, wherein .beta. is a fixed constant having a value situated between 0 and 1.
6. The method of one of claims 3 to 5, in which, for each of said positions p, quantizing an amplitude estimate comprises quantizing a peak-normalized amplitude estimate B p of said vector B using the following expression:
wherein the denominator is a normalizing factor representing a peak amplitude of the non-zero-amplitude pulses.
wherein the denominator is a normalizing factor representing a peak amplitude of the non-zero-amplitude pulses.
7. The method of one of claims 1 to 6, wherein:
- said pulse combinations each comprise a number N of non-zero-amplitude pulses;
- the set of tracks comprises N tracks of pulse positions respectively associated to the N non-zero-amplitude pulses;
- the pulse positions of each track are interleaved with the pulse positions of the N-1 other tracks; and - restraining the positions p of the non-zero-amplitude pulses comprises restraining the pulse positions of each non-zero-amplitude pulse to the positions of the associated track.
- said pulse combinations each comprise a number N of non-zero-amplitude pulses;
- the set of tracks comprises N tracks of pulse positions respectively associated to the N non-zero-amplitude pulses;
- the pulse positions of each track are interleaved with the pulse positions of the N-1 other tracks; and - restraining the positions p of the non-zero-amplitude pulses comprises restraining the pulse positions of each non-zero-amplitude pulse to the positions of the associated track.
8. The method of one of claims 1 to 6, wherein said pulse amplitude/position combinations each comprise a number N of non-zero-amplitude pulses, and wherein said searching comprises maximizing a given ratio having a denominator .alpha.k2 computed by means of N nested loops in accordance with the following relation:
where computation for each loop is written in a separate line from an outermost loop to an innermost loop of the N nested loops, where p n is the position of the n th non-zero-amplitude pulse of the combination, and where U'(p x,p y) is a function dependent on the amplitude S p, pre-assigned to a position p x amongst the positions p and the amplitude S p, pre-assigned to a position p y amongst the positions p.
where computation for each loop is written in a separate line from an outermost loop to an innermost loop of the N nested loops, where p n is the position of the n th non-zero-amplitude pulse of the combination, and where U'(p x,p y) is a function dependent on the amplitude S p, pre-assigned to a position p x amongst the positions p and the amplitude S p, pre-assigned to a position p y amongst the positions p.
9. The method of claim 8, wherein maximizing said given ratio comprises skipping at least the innermost loop of the N nested loops whenever the following inequality is true where S p, is the amplitude pre-assigned to position p n, D p, is the p n th component of the target vector D, and T D is a threshold related to the backward-filtered target vector D.
10. A device for conducting a search in a codebook in view of encoding a sound signal, said codebook consisting of a set of pulse amplitude/position combinations, each pulse amplitude/position combination defining L different positions and comprises both zero-amplitude pulses and non-zero-amplitude pulses assigned to respective positions p = 1, 2, ...L of the combination, and each non-zero-amplitude pulse assuming one of q possible amplitudes, said device comprising:
means for restraining the positions p of the non-zero-amplitude pulses of the combinations of the codebook in accordance with a set of tracks of pulse positions, wherein the pulse positions of each track are interleaved with the pulse positions of the other tracks;
means for pre-selecting from said codebook a subset of pulse amplitude/position combinations in relation to the sound signal; and means for searching only said subset of pulse amplitude/position combinations in view of encoding the sound signal whereby complexity of the search is reduced as only a subset of the pulse amplitude/position combinations of the codebook is searched;
wherein the pre-selecting means comprises means for pre-establishing, in relation to said sound signal, an amplitude/position function S p pre-assigning to the positions p = 1, 2, ...L valid amplitudes out of said q possible amplitudes, and wherein the searching means comprises means for limiting the search to the pulse amplitude/position combinations of said codebook having non-zero-amplitude pulses which satisfy the pre-established function S p.
means for restraining the positions p of the non-zero-amplitude pulses of the combinations of the codebook in accordance with a set of tracks of pulse positions, wherein the pulse positions of each track are interleaved with the pulse positions of the other tracks;
means for pre-selecting from said codebook a subset of pulse amplitude/position combinations in relation to the sound signal; and means for searching only said subset of pulse amplitude/position combinations in view of encoding the sound signal whereby complexity of the search is reduced as only a subset of the pulse amplitude/position combinations of the codebook is searched;
wherein the pre-selecting means comprises means for pre-establishing, in relation to said sound signal, an amplitude/position function S p pre-assigning to the positions p = 1, 2, ...L valid amplitudes out of said q possible amplitudes, and wherein the searching means comprises means for limiting the search to the pulse amplitude/position combinations of said codebook having non-zero-amplitude pulses which satisfy the pre-established function S p.
11. The device of claim 10, wherein the function pre-establishing means comprises means for pre-assigning, by means of the pre-established function S p, one of the q possible amplitudes as valid amplitude to each position p, and wherein the pre-established function S p is satisfied when the non-zero-amplitude pulses of a pulse amplitude/position combination each have an amplitude equal to the amplitude pre-assigned by the pre-established function S p to the position p of said non-zero-amplitude pulse.
12. The device of claim 11, wherein the means for pre-assigning one of the q possible amplitudes to each position p comprises:
means for processing the sound signal to produce a backward-filtered target signal D and a pitch-removed residual signal R';
means for calculating an amplitude estimate vector B in response to the backward-filtered target signal D and to the pitch-removed residual signal R'; and means for quantizing, for each of said positions p, an amplitude estimate B p of said vector B to obtain the amplitude to be selected for said position p.
means for processing the sound signal to produce a backward-filtered target signal D and a pitch-removed residual signal R';
means for calculating an amplitude estimate vector B in response to the backward-filtered target signal D and to the pitch-removed residual signal R'; and means for quantizing, for each of said positions p, an amplitude estimate B p of said vector B to obtain the amplitude to be selected for said position p.
13. The device of claim 12, in which said means for calculating an amplitude estimate vector B comprises means for summing the backward-filtered target signal D in normalized form:
to the pitch-removed residual signal R' in normalized form:
to thereby obtain an amplitude estimate vector B of the form:
where P is a fixed constant.
to the pitch-removed residual signal R' in normalized form:
to thereby obtain an amplitude estimate vector B of the form:
where P is a fixed constant.
14. The device of claim 13, wherein .beta. is a fixed constant having a value situated between 0 and 1.
15. The device of one of claims 12 to 14, in which said quantizing means comprises means for quantizing, for each of said positions p, a peak-normalized amplitude estimate B p of said vector B using the following expression:
wherein the denominator is a normalizing factor representing a peak amplitude of the non-zero-amplitude pulses.
wherein the denominator is a normalizing factor representing a peak amplitude of the non-zero-amplitude pulses.
16. The device of one of claims 10 to 15, wherein:
- said pulse combinations each comprise a number N of non-zero-amplitude pulses;
- the set of tracks comprises N tracks of pulse positions respectively associated to the N non-zero-amplitude pulses;
- the pulse positions of each track are interleaved with the pulse positions of the N-1 other tracks; and - the restraining means comprises a structure for restraining the pulse positions of each non-zero-amplitude pulse to the positions of the associated track.
- said pulse combinations each comprise a number N of non-zero-amplitude pulses;
- the set of tracks comprises N tracks of pulse positions respectively associated to the N non-zero-amplitude pulses;
- the pulse positions of each track are interleaved with the pulse positions of the N-1 other tracks; and - the restraining means comprises a structure for restraining the pulse positions of each non-zero-amplitude pulse to the positions of the associated track.
17. The device of one of claims 10 to 15, wherein said pulse amplitude/position combinations each comprise a number N of non-zero-amplitude pulses, and wherein the searching means comprises means for maximizing a given ratio having a denominator .alpha.k2 and means for computing said denominator .alpha.k2 by means of N nested loops in accordance with the following relation:
a~ = U'(p1,p1) + U'(p2,p2) + 2U'(p1,p2) + U'(p3,p3) + 2U'(p1,p3) + 2U'(p2, p3) ... ... ... ...
+U'(p N,p N)+ 2U'(p1,p N) + 2U'(p2, p N) +...+ 2U'(p N-1,p N) where computation for each loop is written in a separate line from an outermost loop to an innermost loop of the N nested loops, where p n is the position of the n th non-zero-amplitude pulse of the combination, and where U'(p x,p y) is a function dependent on the amplitude S p x pre-assigned to a position p x amongst the positions p and the amplitude S p y pre-assigned to a position p y amongst the positions p.
a~ = U'(p1,p1) + U'(p2,p2) + 2U'(p1,p2) + U'(p3,p3) + 2U'(p1,p3) + 2U'(p2, p3) ... ... ... ...
+U'(p N,p N)+ 2U'(p1,p N) + 2U'(p2, p N) +...+ 2U'(p N-1,p N) where computation for each loop is written in a separate line from an outermost loop to an innermost loop of the N nested loops, where p n is the position of the n th non-zero-amplitude pulse of the combination, and where U'(p x,p y) is a function dependent on the amplitude S p x pre-assigned to a position p x amongst the positions p and the amplitude S p y pre-assigned to a position p y amongst the positions p.
18. The device of claim 17, wherein said means for calculating the denominator .alpha.k2 comprises means for skipping at least the innermost loop of the N nested loops whenever the following inequality is true where S p n is the amplitude pre-assigned to position p n, D p n is the p n th component of the target vector D, and T~ is a threshold related to the backward-filtered target vector D.
19. A cellular communication system for servicing a large geographical area divided into a plurality of cells, comprising:
mobile transmitter/receiver units;
cellular base stations respectively situated in said cells;
means for controlling communication between the cellular base stations; and a bidirectional wireless communication sub-system between each mobile unit situated in one cell and the cellular base station of said one cell, said bidirectional wireless communication sub-system comprising in both the mobile unit and the cellular base station (a) a transmitter including means for encoding a speech signal and means for transmitting the encoded speech signal, and (b) a receiver including means for receiving a transmitted encoded speech signal and means for decoding the received encoded speech signal;
-wherein said speech signal encoding means comprises means responsive to the speech signal for producing speech signal encoding parameters, and wherein said speech signal encoding parameter producing means comprises a device as recited in any of claims 10 to 18, for conducting a search in a codebook in view of producing at least one of said speech signal encoding parameters, wherein the speech signal constitutes said sound signal.
mobile transmitter/receiver units;
cellular base stations respectively situated in said cells;
means for controlling communication between the cellular base stations; and a bidirectional wireless communication sub-system between each mobile unit situated in one cell and the cellular base station of said one cell, said bidirectional wireless communication sub-system comprising in both the mobile unit and the cellular base station (a) a transmitter including means for encoding a speech signal and means for transmitting the encoded speech signal, and (b) a receiver including means for receiving a transmitted encoded speech signal and means for decoding the received encoded speech signal;
-wherein said speech signal encoding means comprises means responsive to the speech signal for producing speech signal encoding parameters, and wherein said speech signal encoding parameter producing means comprises a device as recited in any of claims 10 to 18, for conducting a search in a codebook in view of producing at least one of said speech signal encoding parameters, wherein the speech signal constitutes said sound signal.
20. A cellular network element comprising (a) a transmitter including means for encoding a speech signal and means for transmitting the encoded speech signal, and (b) a receiver including means for receiving a transmitted encoded speech signal and means for decoding the received encoded speech signal;
-wherein said speech signal encoding means comprises means responsive to the speech signal for producing speech signal encoding parameters, and wherein said speech signal encoding parameter producing means comprises a device as recited in any of claims 10 to 18, for conducting a search in a codebook in view of producing at least one of said speech signal encoding parameters, wherein the speech signal constitutes said sound signal.
-wherein said speech signal encoding means comprises means responsive to the speech signal for producing speech signal encoding parameters, and wherein said speech signal encoding parameter producing means comprises a device as recited in any of claims 10 to 18, for conducting a search in a codebook in view of producing at least one of said speech signal encoding parameters, wherein the speech signal constitutes said sound signal.
21. A cellular mobile transmitter/receiver unit comprising (a) a transmitter including means for encoding a speech signal and means for transmitting the encoded speech signal, and (b) a receiver including means for receiving a transmitted encoded speech signal and means for decoding the received encoded speech signal;
-wherein said speech signal encoding means comprises means responsive to the speech signal for producing speech signal encoding parameters, and wherein said speech signal encoding parameter producing means comprises a device as recited in any of claims 10 to 18, for conducting a search in a codebook in view of producing at least one of said speech signal encoding parameters, wherein the speech signal constitutes said sound signal.
-wherein said speech signal encoding means comprises means responsive to the speech signal for producing speech signal encoding parameters, and wherein said speech signal encoding parameter producing means comprises a device as recited in any of claims 10 to 18, for conducting a search in a codebook in view of producing at least one of said speech signal encoding parameters, wherein the speech signal constitutes said sound signal.
22. In a cellular communication system for servicing a large geographical area divided into a plurality of cells, and comprising: mobile transmitter/receiver units; cellular base stations respectively situated in said cells; and means for controlling communication between the cellular base stations;
- a bidirectional wireless communication sub-system between each mobile unit situated in one cell and the cellular base station of said one cell, said bidirectional wireless communication sub-system comprising in both the mobile unit and the cellular base station (a) a transmitter including means for encoding a speech signal and means for transmitting the encoded speech signal, and (b) a receiver including means for receiving a transmitted encoded speech signal and means for decoding the received encoded speech signal;
-wherein said speech signal encoding means comprises means responsive to the speech signal for producing speech signal encoding parameters, and wherein said speech signal encoding parameter producing means comprises a device as recited in any of claims 10 to 18, for conducting a search in a codebook in view of producing at least one of said speech signal encoding parameters, wherein the speech signal constitutes said sound signal.
- a bidirectional wireless communication sub-system between each mobile unit situated in one cell and the cellular base station of said one cell, said bidirectional wireless communication sub-system comprising in both the mobile unit and the cellular base station (a) a transmitter including means for encoding a speech signal and means for transmitting the encoded speech signal, and (b) a receiver including means for receiving a transmitted encoded speech signal and means for decoding the received encoded speech signal;
-wherein said speech signal encoding means comprises means responsive to the speech signal for producing speech signal encoding parameters, and wherein said speech signal encoding parameter producing means comprises a device as recited in any of claims 10 to 18, for conducting a search in a codebook in view of producing at least one of said speech signal encoding parameters, wherein the speech signal constitutes said sound signal.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US08/383,968 | 1995-02-06 | ||
US08/508,801 | 1995-07-28 |
Publications (1)
Publication Number | Publication Date |
---|---|
CA2210765E true CA2210765E (en) | 2001-08-21 |
Family
ID=
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1225568B1 (en) | Algebraic codebook with signal-selected pulse amplitudes for fast coding of speech | |
KR100299408B1 (en) | Depth-first algebraic codebook search for fast coding of speech | |
US7774200B2 (en) | Method and apparatus for transmitting an encoded speech signal | |
US5729655A (en) | Method and apparatus for speech compression using multi-mode code excited linear predictive coding | |
KR19980080463A (en) | Vector quantization method in code-excited linear predictive speech coder | |
US5727122A (en) | Code excitation linear predictive (CELP) encoder and decoder and code excitation linear predictive coding method | |
CA2210765E (en) | Algebraic codebook with signal-selected pulse amplitudes for fast coding of speech | |
CA2618002C (en) | Algebraic codebook with signal-selected pulse amplitudes for fast coding of speech | |
US5943644A (en) | Speech compression coding with discrete cosine transformation of stochastic elements | |
SE524905C2 (en) | Pulse combination codebook searching method for sound signal encoding - preselecting sound related pulse combination subset and searching within that subset | |
NO322594B1 (en) | Algebraic codebook with signal-selected pulse amplitudes for fast speech encoding |