JPH0744197A - Speech decoding device - Google Patents

Speech decoding device

Info

Publication number
JPH0744197A
JPH0744197A JP5191097A JP19109793A JPH0744197A JP H0744197 A JPH0744197 A JP H0744197A JP 5191097 A JP5191097 A JP 5191097A JP 19109793 A JP19109793 A JP 19109793A JP H0744197 A JPH0744197 A JP H0744197A
Authority
JP
Japan
Prior art keywords
decoding
error
code
data
selection switch
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.)
Pending
Application number
JP5191097A
Other languages
Japanese (ja)
Inventor
Takeshi Miura
剛 三浦
Shigeru Hosoi
茂 細井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP5191097A priority Critical patent/JPH0744197A/en
Publication of JPH0744197A publication Critical patent/JPH0744197A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the aural speech quality by reducing the intermission of data due to decoding when an error is detected. CONSTITUTION:The number of limits N of a counter 12 and the number N of sent codes stored in a data buffer 13 are determined; when an error detector 11 decides that there is no error, sent codes from a transmission side are decoded by an ADPCM decoder 15 supplied with the codes through a selection switch 14 and the decoded codes are sent out as output data from a selection switch 17. If an error is detected, on the other hand, the counter 12 counts up in order of 1, 2, 3...N and data in buffers 2, 3...N in a data buffer 13 are passed through the selection switch 14 and decoded by the ADPCM decoder 15. When the counter 12 exceeds N, the decoded data whose amplitude is suppressed by a suppressing device 16 are sent out as output data from the selection switch 17.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ディジタル移動通信な
どを利用し、国際電信電話諮問委員会勧告G.721に
規定される適応差分パルス符号変調(以下、ADPCM
と記載する)方式音声符号化による伝送符号を復号する
音声復号装置に関する。
BACKGROUND OF THE INVENTION The present invention utilizes digital mobile communication and the like, and is recommended by the International Telegraph and Telephone Advisory Committee Recommendation G. Adaptive Differential Pulse Code Modulation (hereinafter referred to as ADPCM)
The audio decoding device for decoding the transmission code by the system audio encoding.

【0002】[0002]

【従来の技術】図2は従来の音声復号装置の構成を示す
ブロック図である。図2において、この音声復号装置
は、送信機側からの所定の一定間長の音声符号を多重化
した伝送符号の誤りを検出するための誤り検出器2と、
伝送符号を復号するためのADPCM復号器3とを有し
ている。さらに、この音声復号装置は、誤り検出器2で
誤りを検出した場合に、出力データにおける振幅が
「0」になるような誤り時データ4が供給されるととも
に、ADPCM復号器3からの復号又は誤り時データ4
を選択した出力データを送出する選択スイッチ5を有し
ている。
2. Description of the Related Art FIG. 2 is a block diagram showing the structure of a conventional speech decoding apparatus. In FIG. 2, this speech decoding device includes an error detector 2 for detecting an error in a transmission code obtained by multiplexing a speech code of a predetermined fixed length from the transmitter side,
It has an ADPCM decoder 3 for decoding a transmission code. Further, this speech decoding device is supplied with error-time data 4 such that the amplitude in the output data becomes “0” when the error is detected by the error detector 2, and the decoding from the ADPCM decoder 3 or Error data 4
It has a selection switch 5 for transmitting the output data selected.

【0003】次に、この従来例の構成の動作について説
明する。送信機側では、所定の一定間長の音声符号を多
重化した伝送符号を生成して送出する。受信機側の音声
復号装置では、送信側から伝送された伝送符号ごとに誤
りが検出されたどうか否かを誤り検出器2で判断して選
択スイッチ5を切り替える。この誤り検出器2で誤りを
検出しない場合には、受信した伝送符号をADPCM復
号器3で復号し、この復号を選択スイッチ5を通じて出
力データとして送出する。また、誤り検出器2が誤りを
検出した場合、この誤りが検出された伝送符号を復号せ
ずに、出力データにおける振幅が「0」になるような誤
り時データ4を選択スイッチ5を通じて出力する。
Next, the operation of this conventional configuration will be described. On the transmitter side, a transmission code in which a predetermined fixed length voice code is multiplexed is generated and transmitted. In the voice decoding device on the receiver side, the error detector 2 determines whether or not an error is detected for each transmission code transmitted from the transmission side, and switches the selection switch 5. When the error detector 2 does not detect an error, the received transmission code is decoded by the ADPCM decoder 3, and this decoding is sent as output data through the selection switch 5. When the error detector 2 detects an error, the error code 4 is output through the selection switch 5 without decoding the transmission code in which the error is detected so that the amplitude of the output data becomes “0”. .

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来の音声復号装置では、誤り検出器2で誤りを検出した
場合、出力データにおける振幅を「0」にしているた
め、以降の装置で音声出力を行う場合に、音声途切れが
感じられ、聴感上の音声品質が劣化するという欠点があ
る。
However, in the above-mentioned conventional speech decoding apparatus, when the error is detected by the error detector 2, the amplitude in the output data is set to "0". When this is done, there is a drawback in that audio interruptions are felt and the audio quality on hearing is degraded.

【0005】本発明は、このような従来の問題を解決す
るものであり、誤りが検出された場合に復号でのデータ
途切れが少なくなり、音声の連続性が保たれるととも
に、誤りが続けて検出された場合の異音の発生が阻止さ
れて、音声出力を行う際に聴感上での音声品質が向上す
る優れた音声復号装置の提供を目的とする。
The present invention solves such a conventional problem. When an error is detected, data interruption in decoding is reduced, the continuity of voice is maintained, and the error continues. An object of the present invention is to provide an excellent voice decoding device in which abnormal noise is prevented from being generated when the voice is detected, and the audible voice quality is improved when voice is output.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、本発明の音声復号装置は、誤り検出符号が付加され
るとともに音声符号を有する伝送符号を復号する際の誤
りを検出する誤り検出手段と、検出した誤りの連続回数
を計数する計数手段と、過去の伝送符号を蓄積するデー
タ蓄積手段と、伝送符号を復号する復号手段とを有し、
検出した誤りが計数限度数以内の場合に計数手段の計数
限度数と同数の蓄積した過去の伝送符号と置換し、復号
して出力する構成としている。
In order to achieve the above object, a speech decoding apparatus according to the present invention includes an error detection code for adding an error detection code and detecting an error when decoding a transmission code having a speech code. Means, counting means for counting the number of consecutive detected errors, data storage means for storing past transmission codes, and decoding means for decoding the transmission codes,
When the detected error is within the count limit number, it is replaced with the same number of accumulated past transmission codes as the count limit number of the counting means, and is decoded and output.

【0007】この構成にあって、誤り検出符号が付加さ
れた伝送符号は、適応差分パルス符号変調の波形符号化
方式による音声符号化処理で生成されるとともに、復号
手段は、適応差分パルス符号変調による伝送符号の復号
を行う構成としている。
In this structure, the transmission code to which the error detection code is added is generated by the voice coding process by the waveform coding method of the adaptive differential pulse code modulation, and the decoding means is adapted by the adaptive differential pulse code modulation. Is used to decode the transmission code.

【0008】また、前記の構成に加えて、復号の信号振
幅を抑圧するサプレス手段と、復号手段又はサプレス手
段からの復号又は信号振幅が抑圧された復号を選択して
出力する選択手段とを有し、検出した誤りが計数限度数
を越えた場合に復号の信号振幅を抑圧して出力する構成
としている。
In addition to the above configuration, there is provided suppress means for suppressing the signal amplitude of decoding, and selecting means for selecting and outputting decoding from the decoding means or the suppress means or decoding in which the signal amplitude is suppressed. However, when the detected error exceeds the count limit, the decoding signal amplitude is suppressed and output.

【0009】[0009]

【作用】このような構成により、本発明の音声復号装置
は、誤り検出符号が付加されるとともに音声符号を有す
る過去に伝送された伝送符号を蓄積する。そして、誤り
が生じた伝送符号は、蓄積した伝送符号と置換し、復号
して出力される。また、誤りが続けて検出された場合に
は、復号の信号振幅を抑圧して出力している。したがっ
て、誤りが検出された場合に復号でのデータ途切れが少
なくなる。すなわち、音声の近接区間での相関、すなわ
ち、波形が類似する特質を利用して、音声の連続性が保
たれる。さらに、誤りが続けて検出された場合の異音の
発生が阻止されて、音声出力を行う際に聴感上での音声
品質が向上する。
With this structure, the speech decoding apparatus of the present invention accumulates the transmission code transmitted in the past, which has the speech code added with the error detection code. Then, the transmission code in which an error has occurred is replaced with the accumulated transmission code, decoded, and output. If an error is continuously detected, the decoded signal amplitude is suppressed and output. Therefore, when an error is detected, data interruption in decoding is reduced. That is, the continuity of the voice is maintained by utilizing the correlation in the close interval of the voice, that is, the characteristic that the waveforms are similar. Furthermore, the generation of abnormal noises when an error is continuously detected is prevented, and the sound quality in the sense of hearing is improved when the sound is output.

【0010】[0010]

【実施例】以下、本発明の音声復号装置の実施例を図面
を参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a speech decoding apparatus of the present invention will be described below in detail with reference to the drawings.

【0011】図1は本発明の音声復号装置の実施例にお
ける構成を示すブロック図である。図1において、この
音声復号装置は、送信機側からの所定の一定間長の音声
符号を多重化した伝送符号の誤りを検出するための誤り
検出器11と、誤り検出器11で検出した誤りの連続回
数を数えるカウンタ12と、過去の伝送符号を蓄積する
ためのデータバッファ13と、カウンタ12の値によっ
てデータバッファ13からの伝送符号を選択して出力す
る選択スイッチ14とを有している。さらに、この音声
復号装置は、選択スイッチ14で選択された伝送符号を
復号するADPCM復号器15と、このADPCM復号
器15からの復号の信号振幅を抑圧するためのサプレス
装置16と、ADPCM復号器15又はサプレス装置1
6からの復号又は信号振幅が抑圧された復号を選択する
ための選択スイッチ17とを有している。
FIG. 1 is a block diagram showing the configuration of an embodiment of a speech decoding apparatus of the present invention. In FIG. 1, the speech decoding apparatus includes an error detector 11 for detecting an error in a transmission code obtained by multiplexing a speech code of a predetermined constant length from a transmitter side, and an error detected by the error detector 11. Has a counter 12 for counting the number of consecutive transmissions, a data buffer 13 for accumulating past transmission codes, and a selection switch 14 for selecting and outputting the transmission codes from the data buffer 13 according to the value of the counter 12. . Further, this speech decoding device includes an ADPCM decoder 15 for decoding the transmission code selected by the selection switch 14, a suppress device 16 for suppressing the signal amplitude of the decoding from the ADPCM decoder 15, and an ADPCM decoder. 15 or suppressor 1
6 and the selection switch 17 for selecting the decoding in which the signal amplitude is suppressed.

【0012】次に、この実施例の構成における動作につ
いて説明する。予め過去の伝送符号を幾つ使用するかを
指定しておくことにより、カウンタ12の限度数Nと、
データバッファ13で蓄積する伝送符号数Nが決定され
る。まず、誤り検出器11で誤りがないと判定した場合
は、カウンタ12が「0」であり、選択スイッチ14を
通じて送信機側からの伝送符号をADPCM復号器15
に供給して復号する。音声伝送データから誤り検出器1
1が誤りを検出した場合、カウンタ12が「1」とな
り、選択スイッチ14によりデータバッファ13中のバ
ッファ1が選択される。このバッファ1に格納した伝送
符号がADPCM復号器15で復号され、この復号が選
択スイッチ17を通じて出力データとして送出される。
誤りが続けて検出された場合にカウンタ12は2,3…
Nと増加し、データバッファ13中のバッファ2、バッ
ファ3…バッファNの伝送符号が選択スイッチ14によ
りそれぞれ選択される。この後、ADPCM復号器15
で復号される。この場合、誤りが続いて検出されてカウ
ンタ12がNを越えた場合、過去の多数の伝送符号を続
けて復号すると、本来、復号すべき波形とは異なった波
形、すなわち、過去の蓄積された伝送符号が復号されて
しまう。この際、選択スイッチ14を通じて伝送符号が
そのまま復号されるが、この復号は、サプレス装置16
で信号の振幅が抑圧される。そして、この信号の振幅が
抑圧された復号が選択スイッチ17を通じて出力データ
として送出される。この振幅が抑圧された復号は、その
信号の振幅が小さいため異音の発生が阻止されて聴感上
の音声品質の劣化を抑えることが出来る。
Next, the operation of the configuration of this embodiment will be described. By specifying in advance how many past transmission codes are used, the limit number N of the counter 12 and
The number N of transmission codes accumulated in the data buffer 13 is determined. First, when the error detector 11 determines that there is no error, the counter 12 is “0”, and the transmission code from the transmitter side is transmitted through the selection switch 14 to the ADPCM decoder 15
And then decrypt it. Error detector 1 from voice transmission data
When 1 detects an error, the counter 12 becomes "1" and the selection switch 14 selects the buffer 1 in the data buffer 13. The transmission code stored in the buffer 1 is decoded by the ADPCM decoder 15, and this decoding is sent as output data through the selection switch 17.
When an error is continuously detected, the counter 12 is 2, 3, ...
The transmission code of the buffer 2, the buffer 3 ... The buffer N in the data buffer 13 is selected by the selection switch 14, respectively. After this, the ADPCM decoder 15
Will be decrypted with. In this case, if an error is subsequently detected and the counter 12 exceeds N, if a large number of past transmission codes are successively decoded, a waveform different from the waveform to be originally decoded, that is, the past accumulated waveform is accumulated. The transmission code is decoded. At this time, the transmission code is directly decoded through the selection switch 14, but this decoding is performed by the suppress device 16
The signal amplitude is suppressed at. Then, the decoding in which the amplitude of this signal is suppressed is sent as output data through the selection switch 17. In the decoding in which the amplitude is suppressed, since the amplitude of the signal is small, it is possible to prevent the generation of abnormal noise and suppress the deterioration of the audio quality in the sense of hearing.

【0013】[0013]

【発明の効果】以上の説明から明らかなように、本発明
の音声復号装置は、過去に伝送された伝送符号を蓄積
し、誤りが生じた伝送符号は、蓄積した伝送符号と置換
し、復号して出力されるため、復号でのデータの途切れ
が少なくなる。すなわち、音声の近接区間での相関、す
なわち、波形が類似する特質を利用して、音声の連続性
が保たれ、音声出力を行う際に聴感上での音声品質が向
上するという効果を有する。また、誤りが続けて検出さ
れた場合には、復号の信号振幅を抑圧して出力している
ため、誤りが続けて検出された場合の異音の発生が阻止
されて、音声出力を行う際に聴感上での音声品質が向上
するという効果を有する。
As is apparent from the above description, the speech decoding apparatus of the present invention accumulates the transmission code transmitted in the past, replaces the transmission code in which an error has occurred with the accumulated transmission code, and decodes it. Since the data is output after being output, there is less interruption of data in decoding. That is, there is an effect that the continuity of the voice is maintained by using the correlation between the voices in the close interval, that is, the characteristic that the waveforms are similar, and the voice quality in the sense of hearing is improved when the voice is output. Further, when an error is continuously detected, the decoding signal amplitude is suppressed and output, so that the generation of abnormal noise when an error is continuously detected is prevented, and the audio output is performed. In addition, it has the effect of improving the audio quality on hearing.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の音声復号装置の実施例における構成を
示すブロック図
FIG. 1 is a block diagram showing a configuration in an embodiment of a speech decoding apparatus of the present invention.

【図2】従来の音声復号装置の構成を示すブロック図FIG. 2 is a block diagram showing the configuration of a conventional speech decoding device.

【符号の説明】[Explanation of symbols]

11 誤り検出器 12 カウンタ 13 データバッファ 14 選択スイッチ 15 ADPCM復号器 16 サプレス装置 17 選択スイッチ 11 error detector 12 counter 13 data buffer 14 selection switch 15 ADPCM decoder 16 suppressor 17 selection switch

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 誤り検出符号が付加されるとともに音声
符号を有する伝送符号を復号する際の誤りを検出する誤
り検出手段と、検出した誤りの連続回数を計数する計数
手段と、過去の伝送符号を蓄積するデータ蓄積手段と、
伝送符号を復号する復号手段とを有し、検出した誤りが
前記計数限度数以内の場合に前記計数手段の計数限度数
と同数の蓄積した過去の伝送符号と置換し、復号して出
力することを特徴とする音声復号装置。
1. An error detection means for adding an error detection code and detecting an error when decoding a transmission code having a voice code, a counting means for counting the number of consecutive detected errors, and a past transmission code. A data storage means for storing
Decoding means for decoding the transmission code, and when the detected error is within the counting limit number, it replaces with the accumulated past transmission codes of the same number as the counting limit number of the counting means, and decodes and outputs. A voice decoding device characterized by.
【請求項2】 誤り検出符号が付加された伝送符号は、
適応差分パルス符号変調の波形符号化方式による音声符
号化処理で生成されるとともに、復号手段は、適応差分
パルス符号変調による伝送符号の復号を行うことを特徴
とする請求項1記載の音声復号装置。
2. A transmission code to which an error detection code is added,
2. The speech decoding apparatus according to claim 1, wherein the speech decoding processing is performed by a speech coding process using a waveform coding method of adaptive differential pulse code modulation, and the decoding means decodes a transmission code by adaptive differential pulse code modulation. .
【請求項3】 復号の信号振幅を抑圧するサプレス手段
と、復号手段又はサプレス手段からの復号又は信号振幅
が抑圧された復号を選択して出力する選択手段とを有
し、検出した誤りが計数限度数を越えた場合に復号の信
号振幅を抑圧して出力することを特徴とする請求項1記
載の音声復号装置。
3. Detecting errors are counted by suppressing means for suppressing the signal amplitude of decoding, and selecting means for selecting and outputting decoding from the decoding means or the suppressing means or decoding in which the signal amplitude is suppressed. The speech decoding apparatus according to claim 1, wherein when the limit number is exceeded, a decoding signal amplitude is suppressed and output.
JP5191097A 1993-08-02 1993-08-02 Speech decoding device Pending JPH0744197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5191097A JPH0744197A (en) 1993-08-02 1993-08-02 Speech decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5191097A JPH0744197A (en) 1993-08-02 1993-08-02 Speech decoding device

Publications (1)

Publication Number Publication Date
JPH0744197A true JPH0744197A (en) 1995-02-14

Family

ID=16268810

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5191097A Pending JPH0744197A (en) 1993-08-02 1993-08-02 Speech decoding device

Country Status (1)

Country Link
JP (1) JPH0744197A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003516559A (en) * 1999-12-08 2003-05-13 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Digital audio data decoding method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003516559A (en) * 1999-12-08 2003-05-13 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Digital audio data decoding method
JP2012113318A (en) * 1999-12-08 2012-06-14 Robert Bosch Gmbh Method for decoding digital audio data

Similar Documents

Publication Publication Date Title
FI97182B (en) Method for replacing received bad speech frames in a digital receiver and a receiver in a digital communication system
JPH05122165A (en) Method of transmitting sound signal
US5687184A (en) Method and circuit arrangement for speech signal transmission
WO1996028809A1 (en) Arrangement and method relating to speech transmission and a telecommunications system comprising such arrangement
JPH02288520A (en) Voice encoding/decoding system with background sound reproducing function
JPH0730496A (en) Sound signal decoding device
JP2000165349A (en) Transmitter and method for transmitting digital signal to receiver
JPH0927757A (en) Method and device for reproducing sound in course of erasing
JPH04263528A (en) Voice muting system
JPH0744197A (en) Speech decoding device
JP3187953B2 (en) Wireless communication device
JP4437052B2 (en) Speech decoding apparatus and speech decoding method
JPH10256924A (en) Method for reducing click in data transmission system
JP3368443B2 (en) Voice coded transmission system and receiving device
JP2002006890A (en) Device for improving sound signal quality
JPS6319951A (en) Incorporating transmission method for sound and data signals and its transmitting and receiving devices
JPH0697846A (en) Radio communication equipment
JPH05347594A (en) Transmission code error compensating device
CN100349395C (en) Speech communication unit and method for error mitigation of speech frames
JP3113455B2 (en) Voice decoding device
JP3593183B2 (en) Voice decoding device
JP2002252644A (en) Apparatus and method for communicating voice packet
JP3412226B2 (en) Voice decoding device
JP2823407B2 (en) Voice decoding device
JP2000196568A (en) Adpcm correction system