Method and apparatus for the transmission of speech signals

Abstract: In a speech signal transmitting system which effect VOX control, the transmitting side transmits a postamble and the succeeding background noise coded data at regular time intervals in a silent duration subsequent to a speech-active duration. At the receiving end, upon each reception of the background noise coded data in the silent duration, power information and prediction coefficients contained in the coded data are stored in a background noise parameter memory (22). A random pattern, generated by a random pattern generator (23), is used as a residual signal, and a background noise is synthesized by a background noise synthesizer (24) on the basis of the power information and prediction coefficients read out of the background noise parameter memory for each frame. In the speech-active duration a decoded speech is output, and in the silent duration the synthesized background noise is output.

Description: BACKGROUND OF THE INVENTION The present invention relates generally to a method and apparatus for transmitting speech signals in a digital radio communication system, and is specifically concerned with a speech signal transmitting method and apparatus which utilizes what is called VOX (Voice Operated Transmitter) control to hold the transmitting or sending power ON for a speech-active duration but OFF for a silent duration to thereby cut power consumption required for the transmission of speech signals. A growing demand for more lightweight and more compact portable and cordless telephones and similar radio equipment could effectively be satisfied by cutting their power consumption to reduce the capacity of their batteries. To this end, JP-A-2 062 135 proposes a method according to the prior art portion of claim 1, which employs a VOX (Voice Operated Transmitter). This method is one that stops the transmission of radio waves while the talker is not actually speaking (i.e. for a silent duration) but transmits radio waves only while he is actually speaking (i.e. for a speech-active duration). For example, assuming that the speech activity factor (= speech-active duration/(speech-active duration + silent duration)) is 50%, the use of the VOX affords reduction of power consumption substantially by half that of ordinary radio equipment. For the operation of the VOX, it is necessary to allow the receiving side to make a distinction between the speech-active duration and the silent duration. To meet this requirement, it has been proposed to transmit speech-active duration start information (hereinafter referred to as a preamble) in place of speech coding information at the start of the speech-active duration and speech-active duration end information (hereinafter referred to as a postamble) at the end of the duration. The present invention utilizes this conventional method. The application of this method to an automobile telephone system involves some problems to be solved, and in particular, substantially no study has been given the VOX system for use with a digital mobile radio communication system. The document EP-A-0 018 256 discloses a transmitter-receiver with automatic alternation control. Speech signals are compressed in the transmitter and expanded in the receiver. Transmitted speech signals are preceded by a preamble representing the speech level of the compressed speech signal. In the receiver the original speech level is recovered based on the information in the preamble. The present invention is intended to solve three problems experienced in the prior art. In the first place, since mobile communications are inevitably accompanied by channel errors, there is the possibility of the preamble being not correctly transmitted to the receiving station. In such an instance, even if a speech-active duration subsequent to the preamble can be received normally, no decoding operation can be initiated. Another problem is as follows: With a view to making effective use of radio waves, digital mobile communications utilize various high efficiency speech coding schemes such as CELP (Code Excited Linear Predictive coding), VSELP (Vector Sum Excited Linear Predictive coding), TC-WVQ (Transform Coding with Weighted Vector Quantization), etc. In these schemes the speech is partitioned into short time frames of about 20 ms duration, for instance, and is coded for each frame, and it is conventional to use a method called "prediction" which utilizes a previous speech sequence to reproduce or regenerate the subsequent speech in order to allow high efficiency compression of the speech. In the predictive coding method the decoding of coded speech data of each frame calls for the result of decoding of the immediately preceding speech frame. Hence, it is unavoidable in the prior art that a speech starting frame corresponding to the beginning of the speech-active duration, which is transmitted directly after the preamble which is not a speech frame, cannot correctly be received at the receiving station, allowing an abnormal sound to be produced. Moreover, mobile communication terminals are often used outdoors in an environment with background noise. It is unnatural, however, that such background noise cannot be heard at the receiving station during the suspension of transmission which is one of VOX functions. No measures have been taken against these problems. SUMMARY OF THE INVENTION A first object of the present invention is to provide a speech signal transmitting method and apparatus which ensure the initiation of decoding at the receiving end. A second object of the present invention is to provide a speech signal transmitting method and apparatus which prevent the production of an abnormal sound at the beginning of a decoded speech. A third object of the present invention is to provide a speech signal transmitting method and apparatus which permit the generation of natural background noise at the receiving end for the silent duration for which the transmission is suspended. These objects are achieved with a method as claimed in claim 1, a transmitting unit and a receiving unit for performing the method as claimed in claims 10 and 16, respectively. Preferred embodiments of the invention are subject matter of the dependent claims. According to a first aspect of the present invention, the transmitting side sends a coded speech signal appended with an error detecting code and even if no preamble can be detected at the receiving end, it is judged that the receiving end failed to receive the preamble when it continuously detects speech frames of coded speech data a plurality of times, then the receiving end is allowed to carry out the decoding operation. According to a second aspect of the present invention, the power level of an input speech of the speech starting frame at the beginning of the speech-active duration is suppressed at the transmitting side. Also at the receiving end, the power level of the frame judged as the beginning of the speech-active duration may preferably be suppressed. According to a third aspect of the present invention, the transmitting side sends postambles at predetermined regular intervals in a silent duration and coded background noise in the frames following the postambles. At the receiving end, upon each reception of the coded background noise immediately succeeding each postamble, power information and prediction coefficients contained in the coded background noise update corresponding ones in a storage, and a random pattern generated as a residual signal and the prediction coefficients and power information read out of the storage for each frame period are used to produce the background noise. BRIEF DESCRIPTION OF THE DRAWING Fig. 1 is a block diagram of a transmitting unit for the practice of the present invention; Fig. 2 is a timing chart for explaining the operation of the unit depicted in Fig. 1; Fig. 3 is a timing chart for explaining a speech suppressing operation; Fig. 4 is a block diagram illustrating an example of an input speech suppressor; Fig. 5 is a block diagram illustrating another example of the input speech suppressor; Fig. 6 is a block diagram of a receiving unit for use with the transmitting unit of Fig. 1; Fig. 7 is a block diagram of another example of the transmitting unit; Fig. 8 is a timing chart for explaining the operation of the unit shown in Fig. 7; and Fig. 9 is a block diagram of a receiving unit for use with the transmitting unit of Fig. 7. DESCRIPTION OF THE PREFERRED EMBODIMENTS Fig. 1 illustrates in block form a transmitting unit according to the present invention. Reference character M denotes a microphone and reference numeral 9 indicates an A/D converter, 11 an input speech suppressor, 12 a high efficiency speech coder, 10 an error detecting code adder, 13 a speech activity detector, 14 a preamble generator, 15 a postamble generator, 16 a suppressor/switcher controller, 17 a data switcher, 18 a transmiitter, 19 a transmission controller, 20 a timer, and A an antenna. Referring now to Fig. 2, the transmitting operation of the transmitting unit of Fig. 1 will be described. A speech to be transmitted is input into the microphone M, wherein it is converted to a speech signal. The speech signal is converted by the A/D converter 9 with a sampling period of, say, 8 KHz to a digital speech signal, which is coded by the high efficiency speech coder 12 for each frame of, for example, 20 ms, thereafter being transmitted in a frame-structure form. The speech-active detector 13 calculates the mean power of the input digital speech signal every frame, for example, and when the power level is below a predetermined threshold value, the frame is decided to be a silent duration, whereas when the power level is above the threshold value, the frame is decided to be a speech-active duration. In the field of speech transmission there are known various methods of determining whether the input signal is a speech-active duration or not. Any of the known methods can be used in the present invention. The calculation of the mean power for each frame and the comparison of the calculated value with the threshold value can be done within a negligibly short time at the end of the frame. Now, let it be assumed that the input signal has such a waveform as shown in Fig. 2, Row A. The power level of only a frame which appears first after switching of the input signal from the silent to the speech-active duration (which frame will hereinafter be referred to as a speech starting frame, which is a frame #1 in the Fig. 2 example) is suppressed by the input speech suppressor 11, with a method described later, down to about the same level as the background noise level of the talker, as shown in Fig. 2, Row B. The suppressed input speech signal is provided to the high efficiency speech coder 12. In all of the other speech-active and silent durations the power level of the input signal is not suppressed and the signal is applied intact to the high efficiency speech coder 12. The high efficiency speech coder 12 codes the output of the input speech suppressor 11 for each frame. The output speech signal from the input speech suppressor 11 for each frame #k (where k is an arbitrary integer), shown in Fig. 2, Row B, is coded in the next frame #k+1 as depicted in Fig. 2, Row C. For high efficiency speech coding, the present invention utilizes the aforementioned coding techniques, such as CELP, VSELP and TC-WVQ, and implements the speech coding on the basis of prediction coefficients, power information and a residual for each frame. In order for the receiving end to decode the coded speech provided by the high efficiency speech coding method utilizing the prediction coefficients, the decoding of the received code of the current frame calls for the use of decoded results of the previous frame. When the speech starting frame is received, however, no correct decoding can be done, since the preceding frame was not transmitted because it was a silent duration, and in this instance, an abnormal sound is produced. Yet the level of such an abnormal sound at the receiving end could be lowered by suppressing the power of the speech starting frame at the transmitting side as in the case of this embodiment. The output speech coded data from the high efficiency speech coder 12 is provided to the error detecting code adder 10, wherein it is appended with an error detecting code (such as a cyclic redundancy check code) for each frame. On the other hand, the preamble generator 14 and the postamble generator 15 output a preamble Pr and a postamble Ps of predetermined bit patterns, respectively, after appending them with error detecting codes which cause their decoded versions to be decided as errors at the receiving end without fail (see Fig. 2, Row D). Such an error detecting code is well-known in the field of digital signal transmission. The data switcher 17 supplies therethrough, from the preamble generator 14 to the transmitter 18, the preamble Pr which indicates that the transmission of the speech signal will begin in a frame #2 subsequent to the speech starting frame (#1 in Fig. 2, for instance) in which the input signal changed from the silent duration to the speech-active duration and provides coded speeches of speech-active duration frames #2-#5 succeeding the speech starting frame #1 to the transmitter 18 in transmission frames #4-#7 (Row D), respectively. For instance, in the case where the input signal changed from the speech-active duration to the silent duration in the frame #6, the speech coded data of the speech frame #5 is transmitted in the transmission frame #7, after which the postamble Ps is output in the transmission frame #8. In the next transmission frame #9 the coded speech (background noise) of the silent duration frame #7 is provided to the transmitter 18. The transmission controller 19 stops the transmitting operation of the transmitter 18 from the frame #10 when the speech-active detector 13 detected the start of the silent duration in the frame #6. The transmitter 18 transmits a bit string of coded data of each frame, in a burst-like form, within a period shorter than the speech frame period. Also for the silent duration, as shown in frames #m and #m+1 in Fig. 2, the transmission controller 19 and the suppressor/switcher controller 16 are started at time intervals T preset in the timer 20, whereby the postamble Ps signal from the postamble generator 15 and the coded speech of the silent duration or background noise, provided from the high efficiency speech coder 12, are transmitted from the transmitter 18 in two consecutive transmission frames #m+1 and #m+2. The suppressor/switcher controller 16 controls the data switcher 17 and the input speech suppressor 11 on the basis of the result of detection by the speech-active detector 13 and a time signal from the timer 20. At the end of each frame #k, that is, at the start of the next frame #k+1, the speech-active detector 13 determines whether the frame #k is a speech-active duration, as described above, and if the frame #k is a speech starting frame, then the suppressor/switcher controller 16 controls, in the frame #k+1, the input speech signal suppressor 11 to suppress the level of the frame #k and the data switcher 17 to output the preamble Pr. When a change from the speech-active to the silent duration is detected at the end of the frame #k, the suppressor/switcher controller 16 controls the data switcher 17 to output the postamble Ps in the frame #k+2 and the speech code (background noise coded data) of the frame #k+1 in the frame #k+3. By suppressing and providing the input speech to the coder at the transmitting side in the frame in which the speech-active duration begins as described above, the volume of the speech starting frame in which an abnormal sound is produced decreases at the receiving end. In Fig. 3, Rows A and B show, on an enlarged scale, the relationship between the power of an input speech signal f(i) into the input speech suppressor 11 in the frame #0, #1 and #2, that is, squares, f 2 (i), of sample values of the speech signal, and the power g 2 (i) of the suppressed speech output g(i) so as to explain a first concrete example of the operation of the input speech suppressor 11 which suppresses the power level of the speech signal. This example shows the case where the input speech suppressor 11 combines sample values in the current frame and sample values in a certain previous frame at the rate corresponding to each sample position in the frames and then provides the combined output in the speech starting frame in which the input speech changes from the silent to the speech-active duration, as schematically depicted on Row C in Fig. 3. In Fig. 3, reference character k represents the frame number and i the sample number in each frame, where i = 1, 2, ..., N. As referred to previously, the input speech suppressor 11 does not suppress most input samples f 0 (i) of the silent duration of the frame #0 but outputs them as samples g 0 (i) at the original levels. In the frame #1 in which the speech-active duration begins, the suppressor 11 suppresses input speech samples f 1 (i) and outputs them as g 1 (i) and, in the frame #2 which is the second frame in the speech-active duration, the suppressor 11 outputs most input speech samples f 2 (i) almost intact as g 2 (i). It is assumed that this example uses, as the output g 1 (i) suppressed in the frame #1, the input speech samples f 0 (i) of the immediately preceding frame #0 which is a silent duration. Moreover, in order that the outputs g 0 (i), g 1 (i) and g 2 (i) of the suppressor 11 may be smoothly concatenated between adjacent frames #0 and #1 and between #1 and #2, the suppressed outputs are calculated by performing the following processing of the sample values f 1 (i), and f 2 (i) in a window W (in which the practical number of samples W may be around 10, for example, though in Fig. 3 the number W is shown to be 3) sufficiently shorter than the frame length (N = 160), at the beginnings of the frames #1 and #2. g 1 (i) = W - i W × f 1 (i) + i W × f 0 (i) for 1 ≦ i ≦ W g 1 (i) = f 0 (i) for W+1 ≦ i ≦ N g 2 (i) = W - i W × f 1 (i) + i W × f 2 (i) for 1 ≦ i ≦ W g 2 (i) = f 2 (i) for W+1 ≦ i ≦ N In this example, the input speech suppressor 11 outputs g k (i) = f k (i) in a frame #k ≦ 3. Fig. 4 illustrates in block form an example of the construction of the input speech suppressor 11 which performs the above operation. When all input speech samples f k (i) (where i = 1, 2, ..., N) in the frame #k are loaded into a buffer 11A, they are immediately read out thereof one after another and input into a data delay circuit 11B composed of N stages of shift registers, while at the same time they are provided to a sample counter 11C. Since samples f k-1 (i) (where i = 1, 2, ..., N) in the preceding frame have already been input in the delay circuit 11B, they are output therefrom as the samples f k (i) of the current frame #k are input thereinto. The sample counter 11C counts the samples from 1 to N. Based on the output i from the sample counter 11C, a coefficient calculator 11D calculates coefficients J 1 and J 2 for the speech starting frame #k (k = 1 in Fig. 3) and the next frame #k+1 by the following equations and provides the coefficients J 1 and J 2 to multipliers 11E and 11F, respectively. Speech starting frame #k: J 1 = i/W, J 2 = (W-i)/W for 1 ≦ i ≦ W J 1 = 1, J 2 = 0 for W+1 ≦ i ≦ N Frame #k+1: J 1 = (W-i)/W, J 2 = i/W for 1 ≦ i ≦ W J 1 = 0, J 2 = 0 for W+1 ≦ i ≦ N Other frames: J 1 = 0, J 2 = 1 for 1 ≦ i ≦ N In the multiplier 11E each sample f k-1 (i) of the preceding frame #k-1 from the delay circuit 11B is multiplied by the coefficient J 1 , and in the multiplier 11F each sample f k (i) of the current frame #k from the buffer 11A is multiplied by the coefficient J 2 . The multiplied outputs are added together in an adder 11G, from which the added output is provided as the suppressed output g k (i) of the input speech suppressor 11. Incidentally, it is assumed that the time from the readout of N input speech samples from the buffer 11A to the completion of the calculation of the suppressed outputs g k (i) is shorter than the sampling period. The input speech suppressor 11 may also be adapted to perform its operation as described hereinbelow. The level of the input speech in the speech starting frame (#1) in which the speech changes from the silent duration to the speech-active duration and in the next speech-active frame (#2) is suppressed using a coefficient (P 0 /P 1 ) 1/2 which is determined by the speech power P 1 available from the speech sample data f 1 (i) of the speech starting frame (#1) and the speech power P 0 available from the speech sample data f 0 (i) of the immediately preceding frame (#0). The coefficient is given which sequentially varies with the sample position i in each of the frames #1 and #2, as shown on Row D in Fig. 3. The input speech power Pk of the frame #k is expressed by the following equation: Letting the input speech powers in the frame #0 and #1 on Row A in Fig. 3 be represented by P 0 and P 1 , respectively, the outputs g 1 (i) and g 2 (i) of the input speech suppressor 11 for the speech starting frame #1 and the subsequent speech-active frame #2 are expressed as follows: g 1 (i) = J 1 (i)f 1 (i), J 1 (i) = N-i N + P 0 P 1 . i N g 2 (i) = J 2 (i)f 2 (i), J 2 (i) = P 0 P 1 . N-i N + i N where: i = 1, 2, ..., N In the other frames #k, g k (i) = f k (i). As is evident from the above, an N-th suppressed sample output in the frame #1 is g 1 (N) = (P 0 /P 1 ) 1/2 f 1 (N) and a 1st suppressed sample output g 2 (l) is as follows: As is apparent from Row E in Fig. 3, f 1 (N) ≃ f 2 (l), and hence g 1 (N) ≃ g 2 (l). Thus, it will be seen that the suppressed outputs for the frames #1 and #2 are smoothly concatenated in a gentle slope as depicted on Row E in Fig. 3. Fig. 5 shows in block form an example of the construction of the input speech suppressor 11 for the above-described operation. The input speech samples f k (i) in the frame #k are sequentially loaded into N stages of cascade-connected data latches DL N , DL N-1 , ..., DL 1 , and when the inputting of the N samples of one frame has been completed, samples f k (1), f k (2), ..., f k (N) are held in the data latches DL 1 , DL 2 , ..., DL N , respectively. A power calculator 11P calculates the power Pk of the input speech signal of the frame #k from the outputs of these data latches. The power Pk thus calculated is held in a latch 11L. In the case where the output of the suppress controller 16 (see Fig. 1) indicates that the input speech frame #k is a speech starting frame, the power P k+1 of the next frame #k+1 is not loaded into the latch 11L and the contents P k and P k-1 of the latches 11L and 11M are retained. When the speech frame #k is a speech starting frame (k = 1 in Fig. 3), a coefficient calculator 11H calculates the coefficients J k (i) in Eq. (11) with respect to i' from 1 to N and provides the calculated coefficients to multipliers ML 1 to ML N . Each multiplier ML i multiplies the output f k (i) from the corresponding data latch DL i by the coefficient J k (i) to obtain a suppressed sample g k (i). The suppressed samples g k (i) (where i = 1, 2, ..., N) thus obtained are simultaneously provided to the high efficiency speech coder 12. In the frame #k+l (#2 in Fig. 3) subsequent to the speech starting frame #k similar calculations are performed using Eq. (12) and the powers P 0 and P 1 of the frames #0 and #1, which are not updated but are retained in the latches 11L and 11M, are used for the calculations to obtain suppressed samples g k+1 (i). Fig. 6 illustrates in block form an embodiment of the receiving unit corresponding to the transmitting unit of Fig. 1. Reference character A denotes an antenna, and reference numeral 28 indicates a receiver, 26 a high efficiency speech decoder, 27 an output speech suppressor, 21 a unique word detector, 29 a speech frame detector, 30 a preamble detector, 31 a postamble detector, 32 a switch, 33 a D/A converter, 25 a suppressor/switcher controller, 22 a background noise parameter memory, 23 a random pattern generator, 24 a background noise synthesizer, and SP a speaker. A description will be given, with reference to Fig. 6, of the receiving operation of the receiving unit. The coded speech signal, transmitted as a burst signal for each frame, is applied via the antenna A to the receiver 28. The coded speech signal received by the receiver 28 is provided to the high efficiency speech decoder 26 and, at the same time, to the speech frame detector 29, the preamble detector 30 and the postamble detector 31. The high efficiency speech decoder 26 always performs a predictive decoding operation, using coded data of the received speech frame (either a speech-active frame or a background noise frame). In principle, the high efficiency speech decoder 26 has a construction which uses a received residual as an excitation source signal to drive a speech synthesis filter controlled by prediction coefficients and controls the level of the synthesized output speech by power information. When supplied with the coded data appended with the error correcting code for each frame, the speech frame detector 29 performs an error detection processing for the coded data, and if no error is detected, it is decided that the frame is a speech frame (a speech-active frame or background noise frame), neither the preamble nor the postamble. When an error is detected, it is decided that a channel error was induced or the frame is a preamble or postamble. In the case where no speech frame is detected in the speech frame detector 29, there is the possibility of the received coded data being a preamble or postamble. The preamble detector 30 compares the received coded data with a preamble pattern and, if they match, the detector 30 outputs a preamble detected signal. Similarly, the postamble detector 31 compares the received coded data with a postamble pattern and, if they match, it outputs a postamble detected signal. When a preamble is detected, the unique word detector 21 decides, on the basis of the detected signals from the speech frame detector 29, the preamble detector 30 and the postamble detector 31, that a speech-active duration begins at the next frame. When speech frames are detected one after another a predetermined number of times although no preamble has been detected, it is decided that a preamble has been lost by a channel error, and consequently the speech-active duration has already been started. In either case, the suppressor/switcher controller 25 controls the output speech suppressor 27 to suppress the power level of the frame directly after the decision and, at the same time, connects the switch 32 to the suppressor 27 side. When supplied with the postamble detected signal, the unique word detector 21 decides that the speech-active duration has finished, and connects the switch 32 to the background noise synthesizer 24. According to the present invention, even if the postamble immediately after the speech-active duration is lost due to a channel error, a postamble accompanied by a background noise frame is transmitted from the transmitting side every fixed period of time T in the silent duration, and consequently, the switch 32 can be connected to the background noise synthesizer 24 side upon detection of the postamble. In the normal decoding operation the speech signal, which is decoded by the high efficiency speech decoder 26 using, for instance, the prediction coefficients, the power information and the residual signal received, is output without being attenuated by the output speech suppressor 27, that is, without being suppressed. When the frame of the preamble is detected in the unique word detector 21, the suppressor/switcher controller 25, which has received therefrom the detected output, controls the output speech suppressor 27 so that the power of the output speech is once attenuated substantially in the next speech starting frame and is gradually increased in the next frame. This is intended to obtain the same results as those obtainable with the input speech suppressor 11 described previously in respect of Fig. 1, that is, to prevent the production of an abnormal sound which is caused by a failure to perform correct decoding at the start of a speech-active duration at the receiving end, as mentioned previously. Hence, when the suppressor 11 is provided at the transmitting side, the suppressor 27 at the receiving end may be omitted, and vice versa. Of course, the suppressors 11 and 27 may be provided at the transmitting side and the receiving end, respectively. The suppressor 27 at the receiving end may be identical in construction with the suppressor 11 at the transmitting side. When the suppressor 11 is not provided at the transmitting side, a speech starting frame of about the same power as that of an ordinary speech-active duration (which power is very large as compared with the background noise level) is decoded at the receiving end. By suppressing the decoded speech of the speech starting frame in the suppressor 27 at the receiving end, the production of an abnormal sound can be suppressed, but in the decoder 26 the result of decoding of the received speech starting frame must be used to decode the next speech-active frame, and consequently, the decoded speech is affected accordingly, and hence remains somewhat unnatural. Thus, it is most effective to suppress the speech starting frame by the suppressor 11 at the transmitting side, and by providing the suppressor 27 at the receiving end as well, it is possible to suppress the production of an abnormal sound in the first frame which was decided as a speech-active duration and in which the switch 32 was changed over to the suppressor 27 side, even if the preamble is lost owing to a channel error. Upon detection of the postamble by the unique word detector 21, the background noise parameter memory 22, when indicated accordingly, stores, in the frame subsequent to the postamble, the prediction coefficients and power information included in the coded background noise (the prediction coefficients, the power information and the residual) contained in the speech signal coded by the high efficiency speech coder 12 at the transmitting side in the silent duration. This background noise parameter is repeatedly read out of the memory 22 with the frame repetition period for input into the background noise synthesizer 24. On the other hand, a random pattern generated by the random pattern generator 23 is provided as a residual signal to the background noise generator 24. As in the case of the high efficiency speech decoder 26, the background noise synthesizer 24 is formed by a so-called speech synthesis filter, which uses the applied residual (i.e., random pattern) as an excitation signal and synthesizes the background noise under control the prediction coefficients, the output level being controlled by the power information. When notified of the detection of the postamble in the unique word detector 21, the suppressor/switcher controller 25 changes over the switch 32 at the input side of the D/A converter 33, through which the background noise generated in the background noise synthesizer 24 is output, in place of the speech output which is provided from the high efficiency speech decoder 26 via the output speech suppressor 27. Upon each reception of the postamble in the silent duration, the prediction coefficients and the power information in the background noise parameter memory 22 are updated with background noise parameters received in the frame subsequent to the postamble. Hence, the same parameters are repeatedly provided to the background noise synthesizer 24 with the frame period until the contents of the memory 22 are updated. The reason for which the received residual is not used for the synthesis of the background noise is that the repeated use of the same residual synthesizes a jarring noise having its repetition period component. Fig. 7 illustrates in block form another example of the transmitting unit according to the present invention, in which the parts corresponding to those in Fig. 1 are identified by the same reference numerals and characters. In this example the coded data of each frame is interleaved into two frames. Between the data switch 17 and the transmitter 18 in the Fig. 1 embodiment there are provided: a bit selector 34 which distributes the coded data bit string of each frame into two bit strings; a frame buffer 35 which delays one of the bit strings for one frame period; a frame buffer switch SW which selectively outputs one of the output of the frame buffer 35 and the output of a latter half preamble generator 37; and an interleaver 36 which couples the other bit string and the output of the switch SW. Moreover, there are provided a receiving condition detector 38 for detecting the receiving condition at the transmitting side and a mode control signal generator 39 for generating a transmission mode control signal on the basis of the detected receiving condition. The bit selector 34 may distribute the coded data of each frame into to bit strings, for instance, even- and odd-numbered bit strings, but in this embodiment the coded data bit strings of each frame is distributed into former and latter halves. Referring now to Fig. 8, the transmitting operation of the Fig. 7 embodiment will be described. A speech signal (Row A) from the microphone M is converted by the A/D converter 9 to a digital speech signal. As in the case of Fig. 1, the digital speech signal is provided via the input speech suppressor 11 to the high efficiency speech coder 17, wherein it is coded into frames, each having a 20 ms duration, for instance, at the timing shown on Row B. The coded digital speech signal is then appended with the error detecting code in the error detecting code adder 10. In this embodiment, the communication condition, for example, the receiving condition at the transmitting side (a receiving unit is provided at the transmitting side as well, though not shown) is monitored and the transmission mode is switched according to the communication condition. In the Fig. 7 embodiment the receiving condition detector 38 connected to the antenna A measures, for example, the receiving level or a channel error rate, and when the measured receiving level is below a predetermined value, or when the channel error rate is above a predetermined value, the mode control signal generator 39 decides that the communication condition has deteriorated more than prescribed and then yields a mode switch control signal. When the communication condition is better than prescribed, such a transmission mode as shown on Rows A, B, C and D in Fig. 8 is executed. That is, the input speech suppressor 11 provides the input speech signal to the high efficiency speech coder 12 intact without suppressing its level, and as long as the transmitting unit is in operation, the coder 12 always codes the input signal for each frame at the timing depicted on Row B and provides the coded output at the timing shown on Row C. When the start of the speech-active duration (the speech starting frame #1) is detected by the speech-active detector 13, the sending of the coded data is initiated in the immediately subsequent frame #2. In this instance, as shown on Row D, in the former half of the first sending frame, a latter half preamble Prb from the latter half preamble generator 37 is selected by the switch SW and output from the interleaver 36, and in the latter half of the frame, the former half of the coded speech of the frame #0 immediately preceding the speech starting frame #1, provided from the bit selector 34, is output from the interleaver 36. At this time, the latter half of the coded speech of the frame #0 is retained in the frame butter 35. In the period of the frame #3 the latter half of the code of the frame #0, provided from the frame buffer 35, and the former half of the code of the speech frame #1, provided from the bit selector 34, are interleaved with each other in the interleaver 36, thereafter being transmitted as shown on Rows C and D. Similarly, the former half of the coded speech of each of the subsequent speech frames is interleaved with the latter half of the coded speech of the preceding frame and the latter half is interleaved with the former half of the coded speech of the immediately succeeding frame. In this transmission mode, since the former half of the preamble is not sent as mentioned above, the preamble detecting rate at the receiving end decreases accordingly, but this does not matter when the communication condition is good. Furthermore, since the frame #0 (the background noise frame) immediately preceding the speech-active duration is coded and transmitted, the decoded result of this coded background noise can be used to decode the next speech starting frame #1 at the receiving end as shown on Row E, no abnormal sound is produced. In the case where the communication condition is poorer than prescribed, the transmission mode control signal is generated by the mode control signal generator 39 and applied to the suppressor/switcher controller 16. In this state the speech starting frame of the input speech signal, shown on row A in Fig. 8, is suppressed by the input speech suppressor 11 as shown on Row F in Fig. 8. In order to enhance the preamble detecting rate at the receiving end because the communication condition is bad, the preamble in its entirety, generated by the preamble generator 14, is split by the bit selector 34 into former and latter halves, which are separately transmitted in two transmission frames. That is, when the speech-active detector 18 detects the beginning of the speech-active duration (i.e. the speech starting frame), the suppressor/switcher controller 16 responds to the detection to control the switch 17, through which the preamble from the preamble generator 14 is provided to the bit selector 34. As a result, the former half Pra of the preamble is immediately sent out from the interleaver 36 in the latter half of the frame structure or configuration of the transmission frame #2, as shown on Row I in Fig. 8. At this time, data remaining in the frame buffer 35 is discharged therefrom and inserted as a dummy DMY in the former half of the sending frame, and at the same time, the latter half of the preamble is newly stored in the frame buffer 35. In the next transmission frame #3 the switch 17 is connected to the coder 12 side, and as shown on Rows H and I in Fig. 8, the former half of the speech coded data of the speech frame #1 is interleaved by the interleaver 36 with the latter half of the preamble provided from the frame buffer 35, thereafter being sent out. In the subsequent transmission frame #k the former half of coded data of the speech frame #k-2 from the bit selector 34 is interleaved with the former half of coded data of the speech frame #k-3 from the frame buffer 35 and then transmitted. Thus, since in this transmission mode the communication condition is not good, the preamble detecting rate is improved by splitting the preamble into former and latter halves and sending them in different transmission frames. With this method, however, the coded data of the frame #0 prior to the speech starting frame cannot be sent. (This can be done by increasing the transmission delay but is not preferable to conversational communication.) Hence, the level of the abnormal sound that is produced at the receiving end is lowered by transmitting the speech starting frame #1 after suppressing it. In either of the two transmission modes described above, when the speech-active duration ends in the frame #k, the postamble from the postamble generator 15 is provided via the switch 17 to the bit selector 34, wherein it is distributed into former and latter halves Psa and Psb as shown on Row D in Fig. 8. In transmission frames #k+2 and #k+3 the former half Psa and the latter half Psb of the postamble are concatenated with the latter half of coded data of the corresponding speech frame and the former half of the next background noise coded data, thereafter being sent. In the subsequent frame #k+4 a combination of the latter half of the background noise coded data and the dummy data DMY is sent, after which the transmission is stopped. In the silent duration, former and latter halves of the postamble, separated at every fixed time T measured by the timer 20, are interleaved by the interleaver 36 with the dummy data DMY and the former half of the background noise coded data of the next frame, respectively. Thereafter a combination of the latter half of the background noise coded data and the dummy data DMY is sent. Fig. 9 illustrates in block form another embodiment of the receiving unit according to the present invention. The parts corresponding to those in Fig. 6 are identified by the same reference numerals and characters. This embodiment of an application of the invention to the receiving unit of the transmission system which involves the two-frame interleaving described above with respect to Fig. 8. At the output side of the receiver 28 in Fig. 6 there are provided a deinterleaver 40, a frame buffer 41 and a bit merger 42 so as to deinterleave the two-frame interleaved data into bit string of the original frames. Moreover, the preamble detector 30 and the postamble detector 31 are adapted so that they can detect the preamble and the postamble, respectively, that is, former and latter halves of these unique words separately. Hence, even if either one of the former and latter halves of the unique word cannot be detected owing to a channel error, there is the possibility of the other being detected -- this enhances unique word detecting rate accordingly. The transmitted speech coded data is received by the antenna A and demodulated by the receiver 28. The demodulated burst bit string is separated by the deinterleaver 40 into a former-half burst bit string and a latter-half burst bit string. The latter-half burst bit string is provided to the bit merger 42, whereas the former-half burst bit string is also provided to the bit merger 42 but after being delayed by the frame buffer 41 for one frame period. The bit merger 42 merges the latter-half burst bit string of the previous transmission frame and the former-half burst bit string of the current transmission frame, both provided from the frame buffer 41, creating a burst bit string corresponding to the same speech frame. The burst bit string thus produced is applied to the high efficiency speech decoder 26 for decoding the speech code. The synthesis of the background noise in the silent duration is also performed in the same manner as in the case of Fig. 6. As described above, the present invention permits VOX control of high reliability even in a channel wherein channel errors are induced. Moreover, also in the silent duration the background noise can be transmitted without impairing the power consumption reducing effect by the VOX control. Further, also in the case of employing the high efficiency speech coding system, it is possible to suppress the deterioration of the speech quality which is caused by the missing of the beginning of the speech. It will be apparent that many modifications and variations may be effected without departing from the scope of the novel concepts of the present invention.

Claims: A method of transmitting and receiving a speech signal comprising: at a transmitting side: a step of detecting a speech-active duration in which a speech signal in an input signal is present; a step of transmitting a preamble as a transmission start information signal in response to the detection of said speech-active duration; a step of coding said input signal for each frame of a fixed time length covering, as a speech frame, a respective part of said speech-active duration, and outputting the resulting speech coded data for each speech frame, said speech coded data containing prediction coefficients, a residual and power information; a step of transmitting said speech coded data corresponding to said speech frames subsequently to said preamble; and a step of transmitting a postamble as a transmission stop information signal when said input signal enters a silent duration in which said speech signal is not present; and at a receiving side: a step of decoding received coded data for each frame thereby obtaining frames of decoded data; and a step of detecting said preamble in said received coded data and outputting said decoded data as a speech signal subsequent to said preamble having been detected; characterized in that said transmitting side further includes: a step of suppressing the speech level of a speech starting frame in which said speech-active duration starts, and a step of transmitting said postamble and subsequent speech coded data representing a background noise in said silent duration at regular time intervals after the start of said silent duration; and said receiving side further includes: a step of detecting speech coded data in said received coded data, a step wherein, when said preamble is not detected but instead said speech coded data corresponding to a continuous sequence of a predetermined number of speech frames is detected, said input signal is decided to be in a speech-active duration and said decoded data is output as a speech signal, a step of generating a random pattern, a step wherein upon each detection of said postamble in said silent duration said power information and prediction coefficients in said speech coded data subsequent to said postamble are stored in memory means, and a step wherein, in said silent duration, said random pattern is used as a residual signal and a background noise is synthesized and output on the basis of said prediction coefficients and power information repeatedly read out of said memory means at intervals of a frame period. The method of claim 1 wherein said step of transmitting said speech coded data is a step of transmitting the speech coded data corresponding to a respective speech frame after appending it with an error detecting code, and said step of transmitting said preamble is a step of transmitting said preamble after appending it with an error detecting code which always renders an error detection result of the preamble to indicate an error. The method of any one of claims 1 or 2 wherein said receiving side further includes a step wherein the level of said decoded data corresponding to either a speech coded data subsequent to the detection of said preamble or to speech coded data upon detection of which it is decided that said speech-active duration has started, is suppressed and output. The method of claim 1 wherein said receiving side further includes a step wherein the level of said decoded data corresponding to a speech starting frame in which said speech-active duration starts is suppressed when the state of outputting said synthesized background noise is switched to the state of outputting decoded data corresponding to said speech-active duration. The method of claim 1 or 2 wherein said transmitting steps comprise a step wherein said coded data of each frame to be transmitted including said preamble and said postamble is interleaved and transmitted as at least two burst signals; said receiving side further includes a step wherein said coded data received as said at least two burst signals is decoded, by deinterleaving, to said coded data of said each frame; and a step wherein when either one of said at least two burst signals representing said preamble or said postamble is detected, it is decided that said preamble or postamble, respectively, is detected. The method of claim 5 wherein said preamble transmitting step of said transmitting side is a step wherein the latter half of said preamble and speech coded data corresponding to a former half of a frame immediately preceding a speech starting frame in which said speech-active duration starts are combined to form a burst signal of a frame to be transmitted immediately after the detection of said speech-active duration. The method of claim 5 wherein said transmitting side further includes a step wherein the communication condition is detected, and when the detected communication condition is better than prescribed, only a latter half of said preamble is used, and said transmitting steps include a step wherein the latter half of said preamble and a sequence of speech coded data starting at a speech frame immediately preceding said speech-active duration are interleaved and then transmitted, while when said detected communication condition is poorer than prescribed, the speech level of a speech starting frame in which said speech-active duration starts is suppressed prior to coding, and said transmitting steps include a step wherein said preamble and said speech-active duration having said speech starting frame of said suppressed speech level are interleaved and then transmitted. A speech signal transmitting unit used in performing the method of claim 1 comprising: speech-active duration detecting means (13) for detecting a speech-active duration of an input signal; speech coding means (12) for coding said input signal for each frame of a fixed time length covering, as a speech frame, part of said speech-active duration, and outputting speech coded data for each speech frame; preamble generating means (14) for generating a preamble of a predetermined pattern indicating the start of said speech-active duration of said input signal; postamble generating means (15) for generating a postamble of a predetermined pattern indicating the start of a silent duration of said input signal; data switching means (17) responsive to the detected output of said speech-active duration detecting means to output therethrough said preamble in place of the output of said speech coding means in a speech starting frame in which said speech-active duration is detected, said speech coded data from said speech coding means in each of speech frames succeeding said speech starting frame of said speech-active duration, and said postamble in place of the output of said speech coding means after said speech-active duration; timer means (20) for outputting a time signal at regular time intervals in said silent duration of said input signal after the transmission of said postamble; and transmission control means (19) responsive to the detected output of said speech-active duration detecting means and said time signal to allow the transmission of said postamble and said speech coded data of a speech frame subsequent thereto at said regular time intervals in said silent duration and stop the transmission of said input signal in the other intervals of the silent duration characterized by: suppressing means (11) responsive to the detected output of said speech-active duration detecting means to suppress the level of said input signal of said speech starting frame before said input signal is applied to said speech coding means, and said transmission control means (19) being adapted to transmit said postamble and subsequent speech coded data representing a background noise in said silent duration at regular time intervals after the start of said silent duration. The transmitting unit of claim 8 wherein said suppressing means (11) includes: delay means (11B) for delaying a speech signal of a frame immediately preceding the current frame for one frame period; and means (11C-11G) whereby samples in said current frame corresponding to respective sample positions in a speech frame and samples in said immediately preceding frame from said delay means, which correspond to the same sample positions in a speech frame, respectively, are level-merged to obtain level-suppressed samples. The speech signal transmitting unit of claim 8 wherein said suppressing means includes: latch means (DL 1 -DL n ) for latching the current frame for one frame period; coefficient calculating means (11H,11L,11M,11P) whereby a level changing ratio, which is determined by the power of said speech starting frame and the power of the immediately preceding frame, is weighted in accordance with each sample position to thereby calculate a coefficient for each sample position; and means (ML 1 -ML n ) whereby each sample value of said latch means is multiplied by said coefficient corresponding thereto to obtain said level-suppressed samples. The transmitting unit of claim 8 further comprising interleave means (34,35,36,SW) provided at the output side of said data switching means (17), for interleaving the coded data output therefrom. The transmitting unit of claim 11 wherein said interleave means includes: bit select means (34) for dividing the coded data output from said data switching means into a former half bit string and a latter half bit string; frame buffer means (35) for holding said latter half bit string for one frame period; and merge means (36) for merging said former half bit string from said bit select means and said latter half bit string of the immediately preceding frame from said frame buffer means. The transmitting unit of claim 12 further comprising: communication condition detecting means (38); control signal generating means (39) for outputting a control signal when the communication condition detected by said communication condition detecting means is poorer than prescribed; and control means (16) for effecting control so that when said control signal is not generated, said suppressing means (11) does not suppress the level of said input signal of said speech starting frame, said data switching means (17) selectively outputs therethrough said speech coded data from said speech coding means (10,12), and said bit select means (34) responds to the start of said speech-active duration to select said latter half bit string of said preamble, while when said control signal is generated, said suppressing means suppresses the level of said input signal of said speech starting frame, said data switching means (17) responds to the start of said speech-active duration to select said preamble in place of said speech starting frame and said bit select means (34) selects the output of said frame buffer means at all times. A speech signal receiving unit used in performing the method of claim 1, comprising: receiving means (28) for receiving burst signals of coded data; speech decoding means (26) for decoding said coded data from said receiving means into a speech signal; preamble detecting means (30) for detecting a preamble of a predetermined pattern from said coded data; and postamble detecting means (31) for detecting a postamble of a predetermined pattern from said coded data; characterized by: speech coded data detecting means (29) for detecting speech coded data from said received coded data; memory means (22) for storing, as background noise parameters, power information and prediction coefficients contained in received coded data representing background noise; random pattern generating means (23) for generating a random pattern; synthesizing means (24) controlled by said background noise parameters read out of said memory means and supplied with said random pattern as a residual signal, to synthesize a background noise; switching means (32) for selectively outputting said decoded speech signal or said background noise; and switching control means (25) for effecting control so that said switching means selectively outputs said background noise in response to the detection of said postamble, and that when said preamble detecting means detects said preamble or when said preamble detecting means does not detect said preamble but said speech coded data detecting means continuously detects said speech coded data in a predetermined number of said burst signals, said switching means selectively outputs said decoded speech signal. The receiving unit of claim 14 further comprising suppressing means (27) provided at the output side of said speech decoding means (26), for suppressing, in response to the detection of said preamble, the speech level of the speech signal corresponding to the burst signal of coded data immediately following the preamble. The receiving unit of claim 14 or 15 which further comprises: bit select means (40) for dividing each burst signal of received coded data into former half and latter half bit strings; frame buffer means (41) for holding said latter half bit string for one burst signal period; and merge means (42) for merging said former half bit string of the current burst signal from said bit select means and said latter half bit string of the immediately preceding burst signal from said buffer means to obtain coded data corresponding to a speech frame;wherein said speech coded data detecting means (29) is supplied with said coded data from said merge means (42) to detect said speech coded data, said preamble detecting means (30) includes means for deciding that said preamble is detected when at least one of former and latter halves of said preamble is detected from said former half bit string supplied from said bit select means and said latter half bit string from said frame buffer means, and said postamble detecting means (31) includes means for deciding that said postamble is detected when at least one of former and latter halves of said postamble is detected from said former half bit string supplied from said bit select means and said latter half bit string from said frame buffer means.

Inventors: SHINJI UEBAYASHI, TOMOYUKI OHYA, TOSHIO MIKI, SHINJI, UEBAYASHI, TOMOYUKI, OHYA, TOSHIO, MIKI
Applicants: NIPPON TELEGRAPH & TELEPHONE, NIPPON TELEGRAPH AND TELEPHONE CORPORATION, NTT MOBILE COMMUNICATIONS NETWORK INC.
Application year: 1992
Main classification: H04B1
IPC codes: H04B14, H04B1, G10L13