Speech recording apparatus with compression of soundless sections

Abstract: The present invention relates to a speech recording apparatus in which soundless portions of a speech signal are compressed when the speech signal is analyzed and coded, to be recorded. In order to provide an improved speech recording apparatus in which the soundless section in the speech signal is adapted to be further compressed by real time, and at the same time even the head or the ending of a word or a short-time weak section is not recorded as a soundless section. In the speech recording apparatus of the invention a second address counter (119) or register cooperating with a first address counter (113) is provided so that, when said speech signal is a candidate for a soundless signal, the content of the first counter (113) is stored in the second counter (119), and when the speech signal is confirmed as being a soundless signal, the content of the second counter (119) is turned back to the first counter (113) and taken as the address of a speech code memory (114).

Description: The present invention relates to a speech recording apparatus in which soundless portions of a speech signal are compressed when the speech signal is analyzed and coded, to be recorded. Generally, a large volume of information content is necessary for expressing speech signals. However, since the speech signals have a considerable redundancy, they can be transmitted with high efficiency and recorded in small capacity if they are compressed. Speech signals include soundless pause sections in which no sound is generated during speech. Therefore, if the information in the soundless sections are compressed, the speech signals can be transmitted with high efficiency, and the recording capacity of the memory can be made smaller. Particularly, in the normal speaking speed, the sounded section in which the speech is actually generated covers approximately 68 % of all the speaking time, and therefore the compression of the soundless sections can compress a considerable volume of speech information. In the conventional speech recording and reproducing apparatus, it is decided per one frame by a sound judging means whether the speech signal is a sounded signal or a soundless signal and then the soundless section is compressed. Therefore, when the speech signal which has the soundless section compressed is reproduced, it is disadvantageously brought about that the head or the ending of a word in the speech is omitted. Moreover, in the conventional apparatus, it takes place that a weak short-time section in the inputted speech signal (for example, a double-consonant in Japanese "Gakko", etc. or an assimilated sound) is erroneously judged to be soundless and accordingly erroneously compressed. Therefore, in reproducing the inputted speech signal, the double-consonant portion is treated as a perfect soundless section (for example, "Ga-ko" in Japanese), bringing about strange and odd feelings in hearing. In the attempt to compress soundless pause sections without bringing about strange and odd feelings in hearing DE-A-34 25 026 proposes a method and an apparatus, wherein the apparatus comprises an encoder for analyzing and coding speech signal, a sound judging means for judging whether the speech signal is a sound signal or a soundless signal and a speech code memory for recording a speech signal. The DE-A-34 25 026 apparatus comprises a delay circuit so that the head of a word will not be omitted. Further, according to the DE-A-34 25 026 apparatus, there is a maintenance circuit which continues the storing of a speech signal as a sounded signal for a certain time after the last sounded signal so that also the ending of a word will not be omitted. A further method and a further apparatus for compacting and recording speech signals is described in US-A-4 376 874. US-A-4 376 874 discloses a system for judging a signal as non-sound in succession for more than a certain period of time in order to decide the end of each word. Both methods and apparatus have still the disadvantage that their coded signals require a lot of space. It is the object of the present invention to provide an improved speech recording apparatus in which the soundless section in the speech signal is adapted to be further compressed by real time, and at the same time even the head or the ending of a word or a short-time weak section is not recorded as a soundless section, so that the speech signal can be reproduced with no strange feeling given to a listener. This object is solved according to the invention with the features of claim 1. According to the present invention, the speech recording apparatus with compression of soundless section includes an encoder for analyzing and coding a speech signal, a sound judging means for judging whether the speech signal is a sounded signal or a soundless signal, a speech code memory for recording speech codes, two kinds of address counters which are controlled by the sound judging means, so that the address of the speech code memory is advanced when the speech signal is sounded, while, the address of the speech code memory is turned back when the speech signal is soundless. The speech recording apparatus with compression of soundless section according to the present invention further includes a delay means by which the coded signal in the speech code memory the address of which is designated by the address counter is delayed with respect to the speech signal inputted to the sound judging means, the delay means being able to be realized by using a part of the speech code memory as a circulating memory, so that storing of the preceding speech signal into the speech code memory is controlled by the sound judging means. Accordingly, when the speech signal is inputted, the sound judging means detects whether the inputted speech signal is a sounded signal or a soundless signal. As a result of the judgment, when the speech signal is judged to be soundless, the address of the speech code memory is turned back and not advanced, and therefore the coded speech signal of the soundless section is not recorded in the speech code memory. Thus, the soundless section in the sound code memory can be compressed in real time, thereby to reduce the recording capacity of the memory. Moreover, when the speech signal inputted next to the soundless signal is detected by the sound judging means to be a sounded signal, the speech signal delayed by the delay means than the time point of the judgment by the sound judging means is coded by the encoder, that is, the speech signal is returned to the time point before the time point when the speech signal inputted next to the soundless signal is judged to be a sounded signal, to be coded to be recorded in the speech code memory the address of which is advanced by the address counter. Accordingly, in the speech recording apparatus with compression of soundless signals of the present invention, the speech signal can be recorded without omission of the head of a word, resulting in absence of strange sense of hearing in reproduction of the speech signal. These and other objects and features of the present invention will become apparent from the following description taken in conjunction with preferred embodiments thereof with reference to the accompanying drawings, in which: Fig. 1 is a block diagram of a speech recording apparatus arranged to compress soundless signals and Fig. 2 is a diagram explanatory of the operation of the apparatus of Fig. 1. Before the description of the present invention proceeds, it is to be noticed here that like parts are designated by like reference numerals throughout the accompanying drawings. With reference to Figs. 1 and 2, a speech recording apparatus with compression of soundless signals according to the present invention will be described hereinbelow. In Fig. 1, the speech recording apparatus with compression of soundless signals is schematically constructed by a delay means 111, an encoder 112, a first address counter 113, a speech code memory 114, a sound judgment means 115, a time counter 116, a state memory circuit 117, and a second address counter 119. The first address counter 113 is provided so as to designate the address of the speech code memory 114. Every time the speech code is inputted in the speech code memory 114, the address of the speech code memory 114 is advanced by the bit length of the speech code. The second address counter 119 is a register only for storing the value of the address. Further, the sound judgment means 115 judges not per frame, but per every sampling on the basis of, for example, comparison between the amplitude value of the inputted speech waveform and the threshold value as a detection reference. The speech recording apparatus having the above-described construction operates in the following manner. Before recording, both the first and the second address counters 113 and 119 are initialized at the start position of the speech code memory 114. Then, the time counter 116 is initialized to set the state memory circuit 117 at the soundless position. When the state memory circuit 117 is in the soundless position, the encoder 112 is remained stopped. a) Detection of the head of a word When the speech waveform is inputted to the input terminal, the data about the inputted speech waveforms is inputted to the delay means 111, and at the same time, also to the sound judgment means 115. The time counter 116 counts up the soundless time until the sound judgment means 115 detects that the inputted speech signal is a sounded signal. When it is detected by the sound judgment means 115 that the amplitude of the waveform in the sounded portion is higher than the threshold value, and accordingly the inputted speech signal is sounded, the state memory circuit 117 is set at the sounded position. Simultaneously, a signal (for instance, soundless marker) indicating that the waveform until it is detected to be sounded is soundless, and the content, i.e., the length of the soundless time are coded to be recorded in a predetermined address of the speech code memory 114 in accordance with instruction by the first address counter 113. Thereafter, the time counter 116 is initialized, and concurrently, a start signal is outputted to the encoder 112. Consequently, the encoder 112 codes a speech signal which has passed the delay means 111 to be delayed, for example, by a delay time τ . Accordingly, a speech signal which is preceding for the delay time τ is coded. In the manner as described above, the coding is started from the waveform the delay time τ before the time point when the waveform is detected to be sounded, and accordingly, the head of a word is prevented from being omitted (that is, it is prevented that the head of a word is erroneously judged to be soundless in coding). More concrete operation to find out the head of the word will be described with reference to Fig. 2. The inputted speech waveform has its amplitude value exceeding the threshold value at the point A, and the sound judgment means 115 decides that the inputted speech signal is a sounded signal, starting the encoder 112. Although the encoder 112 starts coding from the time point A, since the speech signal inputted to the encoder 112 is delayed by the time τ, the inputted speech signal is started to be coded from a time point A' the time τ back from the point A. Therefore, the speech signals below the threshold value between the points A and A' are coded as sounded signals, without being omitted. While the encoder 112 is carrying out coding once the sound judgment means 115 detects the inputted speech signal to be a sounded signal, the sound judgment means 115 detects whether the present inputted speech which is not delayed (namely, which is advanced by the time τ than the signal being coded) is sounded or soundless. If the present inputted speech is judged by the sound judgment means 115 to be soundless, the time counter 116 starts counting up, which is one of the informations to detect that the speech signal is soundless. On the other hand, if the present inputted speech signal is detected to be sounded, the content of the time counter 116 is initialized. Accordingly, even when the amplitude value is temporarily lower than the threshold value as at a point E by the oscillation of the speech wave in the effective sounded interval such as between the points A and B of Fig. 2, the amplitude value becomes higher than the threshold value immediately at a next point F, and therefore the time counter 116 stops counting up at once, thereby to prevent an erroneous judgment of the sounded interval as soundless. b) Detection of the ending of a word At the point B, since the amplitude value is lower than the threshold value, the inputted speech is judged to be soundless, and accordingly the time counter 116 starts counting up of the soundless time. If the amplitude value of the inputted waveform continues to be lower than the threshold value for a time period ta, the sound judgment means 115 decides that the present speech signal is a candidate for the ending of the word, thus outputting a signal to the state memory circuit 117 to connect a switch 118 to a terminal a. As a result, the present content of the first address counter 113 takes shelter in the second address counter 119. Thereafter, if the speech signal is judged to be soundless further for a time tb, the sound judgment means 115 decides that the time point after the time ta is the ending of the word. Therefore, the time counter 116 is initialized, and at the same time, the state memory circuit 117 is set to be in the soundless position, thereby to stop the encoder 112. Moreover, the switch 118 is connected to a terminal b to return the address value corresponding to the time point when the inputted speech signal is judged as a candidate for the ending of the word (which has taken shelter in the second address counter 119) to the first address counter 113. More concrete operation of the detection of the ending of a word will be described with reference to Fig. 2. The sound detection means 115 makes the judgment that the inputted speech signal is soundless from the speech waveform thereof, at the time point B. The content in the first address counter 113 is sheltered at the time point C which is the time ta later from the time point B for the candidate of the ending of the word. At this time point C, the speech which is actually coded is delayed the time τ, and accordingly the content of the first address counter 113 is an address corresponding to a time point C' which is delayed the time τ from the time point C after the lapse of the time ta from the time point B. If the judgment that the inputted speech signal is soundless further continues for the time tb, the content of the first address counter 113 is advanced to an address corresponding to a time point D' which is delayed by the time τ from the time point D the time tb later than the time point C. At this time point D, the above candidate for the ending of the word is decided as the ending of the word, with the content of the second address counter 119 being transmitted to the first address counter 113 so that the content of the first address counter 113 gaining access to the speech code memory 114 is returned to the address corresponding to the time point C'. Accordingly, the address in the speech code memory 114 in which is written the speech code is turned back from the address at the time point D' delayed by the time τ from the time point D after the time (ta+tb) has passed to the address at the time point C'. Thereafter, the operation is moved to the detection of the head of the word. Thus, the soundless section between the time points C' and D' can be compressed by real time, and the memory capacity can be reduced or the memory can be effectively utilized to a large extent. Moreover, even the speech signal below the threshold value between the time points B and C' is not omitted and is coded as a sounded signal. In such case as described above, it is necessary to code the speech signal in the section between the time points B and C' without omission that the times τ and ta should establish the relationship ta>τ, and the difference there-between ta-τ (namely, the length between time points B and C') should be set with consideration into the length of the ending of the word. Further, because of the setting of the time ta, even such short-time and weak section as the double-consonant present in the sounded section is not judged to be a soundless section. In reproducing the speech code recorded in the speech code memory 114, the speech code is read out from the speech code memory 114 to be judged as to whether it is a soundless marker. If the read-out code is a soundless marker, a next data to be stored is read out as a code indicating the length of the soundless time. Zero is outputted as a reproduction signal for the soundless time length. If the read-out code is not a soundless marker, the read-out code is inputted to the decoder to output synthesized waveform. As described above, according to the present invention, the soundless section in the speech code memory 114 can be compressed by real time, thereby to reduce the memory capacity. Moreover, even the weak head of the word is not abandoned, but coded, resulting in no odd feeling in hearing when the speech code is reproduced. In the foregoing embodiment, since it is so arranged that the sound judgment means 115 judges as the ending of the word when the soundless condition lasts for a given time longer than the delay time of the delay means, even the ending of the word or the double-consonant portion is not judged to be soundless, and not abandoned, but coded as a sounded portion. Moreover, the delay means can be realized by the common use of a part of the speech code memory, thereby simplifying the hardware of the apparatus. As is clear from the foregoing description, according to the speech recording apparatus with compression of soundless signals, there are provided a sound judging means, a speech code memory, and address counters which are controlled by the sound judging means, so that the address of the speech code memory is advanced when the speech signal is a sounded signal, while the address of the speech code memory is turned back when the speech signal is a soundless signal. Therefore, the soundless section can be compressed in real time. In addition, there is further provided a delay means which delays the coded signal in the speech code memory the address of which is designated by the address counter than the speech signal inputted to the sound judgment means, and accordingly the sound judgment means can control storing of the preceding speech signal into the speech code memory. Thus, even a weak head of the word can be coded as a sounded portion. Therefore, it is advantageous that the speech signal is able to be reproduced without any strange feeling in hearing.

Claims: A speech recording apparatus which is adapted to compress soundless signals, comprising: an encoder (112) for analyzing and coding a speech signal, a sound judgment means (115) for judging whether the speech signal is a sounded signal or a soundless signal, a speech code memory (114) for recording said coded speech signal, a first address counter (113) for designating the address of the speech code memory (114), being controlled by said sound judgment means (115) so that when said speech signal is a sounded signal, the address of said speech code memory (114) is advanced, while, when said speech signal is a soundless signal, the address of said speech code memory (114) is not advanced, and a delay means (111) for delaying said coded signal to be stored in the speech code memory (114), whose address is designated by said first address counter (113), with respect to a present speech signal inputted to said judgment means (115), the speech code memory (114) being thus arranged to store the speech signal which was input at a time point preceding said present speech signal by a time corresponding to the delay introduced by the delay means, characterized by a second address counter (119), being a register cooperating with the first address counter (113), for storing the content of the first address counter (113) in accordance with an indication from the sound judgment means (115) that the speech signal is a candidate for a soundless signal, the second address counter (119) being arranged to turn its content back to the first address counter (113) in accordance with another indication from the sound judgment means (115) that the speech signal is confirmed as being a soundless signal, the sound judgment means (115) being arranged to provide said indication that the speech signal is a candidate for a soundless signal when the speech signal has been judged as soundless during a first time period (ta) and to provide said another indication that the speech signal is confirmed as being a soundless signal when said candidate signal continues to be detected as soundless during a second time period (tb) after said first time period (ta) has elapsed. A speech recording apparatus as claimed in claim 1, wherein said delay means (111) is realized by the use of a part of said speech code memory (114) as a circulating memory.

Inventors: FUJIMOTO YOSHIJI, KITOH ATSUNORI, MORIO TOMOKAZU, FUJIMOTO, YOSHIJI, KITOH, ATSUNORI, MORIO, TOMOKAZU
Applicants: SHARP KK, SHARP KABUSHIKI KAISHA
Application year: 1988
Main classification: H04B1
IPC codes: H04B1, G10L11