JP3125511B2 - Code decoding device - Google Patents

Code decoding device

Info

Publication number
JP3125511B2
JP3125511B2 JP05087679A JP8767993A JP3125511B2 JP 3125511 B2 JP3125511 B2 JP 3125511B2 JP 05087679 A JP05087679 A JP 05087679A JP 8767993 A JP8767993 A JP 8767993A JP 3125511 B2 JP3125511 B2 JP 3125511B2
Authority
JP
Japan
Prior art keywords
signal
synchronization
output
unit
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP05087679A
Other languages
Japanese (ja)
Other versions
JPH06303212A (en
Inventor
満 坪井
直司 松尾
良則 副島
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP05087679A priority Critical patent/JP3125511B2/en
Publication of JPH06303212A publication Critical patent/JPH06303212A/en
Application granted granted Critical
Publication of JP3125511B2 publication Critical patent/JP3125511B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、音声信号と、FAX又
はモデム等の非音声信号、又は周波数帯域の異なる音声
信号,オーデオ信号等、種別の異なる信号が交互に入力
する場合の符号復号化装置の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to code decoding in the case where a speech signal and a non-speech signal such as a facsimile or a modem, or speech signals having different frequency bands and audio signals are inputted alternately. It relates to improvement of the device.

【0002】近年、音声信号を通していた回線にも、F
AX又はモデム等の非音声信号を通すようになり、符
号,復号化する場合、音声は音声に適した符号器,復号
器を用い、非音声は非音声に適した符号器,復号器を用
いるようになってきた。
[0002] In recent years, a line through which an audio signal has passed
When a non-speech signal such as an AX or a modem is passed, and encoding and decoding are performed, a speech uses an encoder and a decoder suitable for speech, and a non-speech uses an encoder and a decoder suitable for non-speech. It has become.

【0003】又音声でも、例えば4KHz帯域の音声
と、8KHz帯域のオーデオ信号とでは夫々に適した符
号器,復号器を用いるようになってきた。この場合、例
えば音声が非音声に切り替わった場合、符号器と復号器
が異種別のものとなる期間をなくし復号部側の出力より
雑音が出力されないことが望まれている。
[0003] For voice, for example, for a voice in a 4 KHz band and an audio signal in an 8 KHz band, an encoder and a decoder suitable for each have come to be used. In this case, for example, when speech is switched to non-speech, it is desired that the period in which the encoder and the decoder are of different types be eliminated and no noise be output from the output of the decoding unit.

【0004】[0004]

【従来の技術】図4は従来例の符号復号化装置のブロッ
ク図、図5は図4の各部のタイムチャートである。
2. Description of the Related Art FIG. 4 is a block diagram of a conventional code decoder, and FIG. 5 is a time chart of each part in FIG.

【0005】図4,図5は、図5(A)に示す如く、音
声信号,非音声信号が交互に入力する場合の符号復号化
装置を示したもので、音声信号は符号信号出力部30の
音声符号器32で符号化し、非音声信号は非音声符号器
33で符号化する。
FIGS. 4 and 5 show an encoding / decoding apparatus in which a speech signal and a non-speech signal are alternately inputted as shown in FIG. 5 (A). , And the non-speech signal is coded by the non-speech coder 33.

【0006】しかし復号部40にて、音声信号を符号化
したものは音声復号器43にて復号化せねばならず、非
音声信号を符号化したものは非音声復号器44にて復号
化せねばならない為に、音声信号か非音声信号かの種別
を復号部40側に通知せねばならないが、通知する手段
として、音声,非音声側夫々に個別の同期信号を用意
し、復号部40側にて同期が確立した側の符号を復号化
するようにしている。
However, the audio signal encoded by the decoding section 40 must be decoded by an audio decoder 43, and the encoded non-audio signal must be decoded by a non-audio decoder 44. For this reason, the type of the audio signal or the non-audio signal must be notified to the decoding unit 40. As means for notifying, a separate synchronization signal is prepared for each of the audio and non-audio side, and the decoding unit 40 Is used to decode the code on the side where synchronization has been established.

【0007】即ち、音声符号器32の出力には、第1の
同期信号を付加する同期信号付加部34を設け、非音声
符号器33の出力には、第1の同期信号とは異なる第2
の同期信号を付加する同期信号付加部35を設け、同期
信号付加部34,35の出力をセレクタ36に入力する
ようにしている。
That is, the output of the speech encoder 32 is provided with a synchronization signal adding unit 34 for adding a first synchronization signal, and the output of the non-speech encoder 33 is provided with a second synchronization signal different from the first synchronization signal.
Is provided, and the outputs of the synchronization signal adding units 34 and 35 are input to the selector 36.

【0008】一方種別検出部31では、入力する信号
が、音声信号か非音声信号かの種別を検出し、音声信号
の時はHレベルの信号を,非音声信号の時はLレベルの
信号をセレクタ36,音声符号器32,非音声符号器3
3及び同期信号付加部34,35に送り、Hレベルの時
は音声符号器32及び同期信号付加部34を動作させ、
Lレベルの時は非音声符号器33及び同期信号付加部3
5を動作させ、セレクタ36では、図5(B)に示す如
く、音声信号の場合は音声信号側の同期信号付加部34
の出力を選択させ、非音声信号の場合は非音声信号側の
同期信号付加部35の出力を選択させて出力するように
している。
On the other hand, the type detector 31 detects whether the input signal is an audio signal or a non-audio signal, and outputs an H-level signal when the input signal is an audio signal and an L-level signal when the input signal is a non-audio signal. Selector 36, speech encoder 32, non-speech encoder 3
3 and the synchronizing signal adding units 34 and 35. When the signal is at the H level, the speech encoder 32 and the synchronizing signal adding unit 34 are operated.
At the time of L level, the non-speech encoder 33 and the synchronization signal adding unit 3
5 is operated, and in the selector 36, as shown in FIG. 5B, in the case of an audio signal, the synchronization signal adding section 34 on the audio signal side is used.
Is selected, and in the case of a non-speech signal, the output of the synchronization signal adding unit 35 on the non-speech signal side is selected and output.

【0009】図5(B)に示す信号が、符号信号出力部
30より復号部40に入力すると、第1の同期信号にて
同期をとる同期検出部41では、音声符号器32側の、
第1の同期信号が入力している間は同期が確立している
が、非音声符号器33側の第2の同期信号入力に切り替
わると、図5(C)のbに示す前方同期保護期間を経て
同期外れを検出し、又音声符号器32側の第1の同期信
号入力に切り替わると、図5(C)のaに示す後方同期
保護期間を経て同期検出となる。尚図5(C)ではHレ
ベルで同期期間を示しLレベルで同期外れ期間を示して
いる。
When the signal shown in FIG. 5 (B) is input from the code signal output unit 30 to the decoding unit 40, the synchronization detection unit 41, which synchronizes with the first synchronization signal, outputs the signal from the speech encoder 32 side.
Synchronization is established while the first synchronization signal is being input, but when switching to the second synchronization signal input on the non-speech encoder 33 side, the forward synchronization protection period shown in FIG. When the synchronization is detected through the first synchronization signal input on the voice encoder 32 side, synchronization detection is performed through the backward synchronization protection period shown in FIG. 5C. In FIG. 5C, an H level indicates a synchronization period, and an L level indicates an out-of-synchronization period.

【0010】第2の同期信号にて同期をとる同期検出部
42では、音声符号器32側の、第1の同期信号が入力
している間は同期外れを検出しているが、非音声符号器
33側の第2の同期信号入力に切り替わると、図5
(D)のaに示す後方同期保護期間を経て同期確立とな
り、音声符号器32側の第1の同期信号入力に切り替わ
ると、図5(D)のbに示す前方保護期間を経て同期外
れを検出する。尚図5(D)ではHレベルで同期期間を
示しLレベルで同期外れ期間を示している。
[0010] The synchronization detecting section 42, which synchronizes with the second synchronization signal, detects out-of-synchronization while the first synchronization signal is being input on the speech encoder 32 side. When switching to the second synchronization signal input on the device 33 side, FIG.
(D) Synchronization is established after the backward synchronization protection period shown in a of FIG. 5, and when switching to the first synchronization signal input on the voice encoder 32 side occurs, the synchronization is lost through the forward protection period shown in b of FIG. To detect. In FIG. 5D, an H level indicates a synchronization period, and an L level indicates an out-of-synchronization period.

【0011】音声復号器43では、同期検出部41の出
力を入力し図5(C)のHレベルで示す同期が確立して
いる間は音声を符号化した信号を復号化してセレクタ4
5に入力し、非音声復号器44では、同期検出部42の
出力を入力し図5(D)のHレベルで示す同期が確立し
ている間は非音声を符号化した信号を復号化してセレク
タ45に入力している。
The audio decoder 43 receives the output of the synchronization detector 41 and decodes the encoded signal of the audio signal while the synchronization indicated by the H level in FIG.
5 and the non-speech decoder 44 receives the output of the synchronization detector 42 and decodes the non-speech-encoded signal while the synchronization indicated by the H level in FIG. 5D is established. It is input to the selector 45.

【0012】選択信号出力部46では同期検出部41,
42の検出信号を監視し、同期確立側の復号器の出力を
出力するようにセレクタ45に通知する。即ち、信号4
1ー1がHレベルの時は、選択信号出力部46の出力の
選択信号は図5(E)に示す如くHレベルで、セレクタ
45は音声復号器43の出力を選択して出力し、信号4
2ー1がHレベルの時は、選択信号出力部46の出力の
選択信号は図5(E)に示す如くLレベルで、セレクタ
45は非音声復号器44の出力を選択して出力する。
The selection signal output section 46 includes a synchronization detection section 41,
It monitors the detection signal at 42 and notifies the selector 45 to output the output of the decoder on the synchronization establishment side. That is, signal 4
When 1-1 is at the H level, the selection signal of the output of the selection signal output section 46 is at the H level as shown in FIG. 5E, and the selector 45 selects and outputs the output of the audio decoder 43, and outputs the signal. 4
When 2-1 is at the H level, the selection signal of the output of the selection signal output section 46 is at the L level as shown in FIG. 5E, and the selector 45 selects and outputs the output of the non-speech decoder 44.

【0013】尚信号41ー1,42ー1共にHレベルの
時は前の状態を保持する。
When the signals 41-1 and 42-1 are both at the H level, the previous state is maintained.

【0014】[0014]

【発明が解決しようとする課題】しかしながら、図5
(F)の斜線で示す部分は、符号信号出力部30の符号
器は例えば音声信号用のものであれば、復号部40の復
号器は非音声信号用のものである如く、対応したもので
ないので、この間雑音を発する問題点がある。
However, FIG.
The hatched portion in (F) indicates that the encoder of the code signal output unit 30 is for a speech signal, for example, and that the decoder of the decoding unit 40 is for a non-speech signal and is not a corresponding one. Therefore, there is a problem that noise is generated during this time.

【0015】本発明は、復号部側の出力より雑音を出力
しない符号復号化装置の提供を目的としている。
An object of the present invention is to provide a code decoding apparatus which does not output noise from the output of the decoding unit.

【0016】[0016]

【課題を解決するための手段】図1は本発明の原理ブロ
ック図である。図1に示す如く、交互に入力する第1,
第2の種別の信号の種別を検出し、第1,第2の種別の
検出信号を、遅延信号出力手段7及び第1,第2の同期
信号付加部4,5に入力する種別検出部1と、入力する
第1,第2の種別の信号を夫々符号化する第1,第2の
符号器2,3と、該第1符号器2の符号化された出力に
第1の同期信号を付加し、該種別検出部1よりの第2の
種別検出信号が入力すると同期信号付加を停止する第1
の同期信号付加部4と、該第2符号器3の符号化された
出力に第2の同期信号を付加し、該種別検出部1よりの
第1の種別検出信号が入力すると同期信号付加を停止す
る第2の同期信号付加部5と、該第1,第2の同期信号
付加部4,5の出力を入力し選択して出力する第1のセ
レクタ6と、該種別検出部1の出力の第1,第2の種別
検出信号を、前方同期保護期間遅延させ、遅延させた出
力を該第1のセレクタ6に入力して出力を選択させると
共に、該第1,第2の符号器2,3に入力し、対応した
種別検出信号入力時には符号化を開始させ、対応しない
種別検出信号入力時には符号化を停止させる該遅延信号
出力手段7とを有する符号信号出力部10と、該符号信
号出力部10の出力を入力し、入力する該第1,第2の
同期信号夫々にて、夫々同期をとり同期検出信号を出力
する第1,第2の同期検出部21,22と、該第1の同
期検出部21の出力の、同期検出信号入力により復号化
を開始し、同期外れ信号により復号化を停止し、復号化
した信号を出力する第1の復号器23と、該第2の同期
検出部22の出力の、同期検出信号入力により復号化を
開始し、同期外れ信号により復号化を停止し、復号化し
た信号を出力する第2の復号器24と、該第1,第2の
復号器23,24の出力を入力し選択して出力する第2
のセレクタ25と、該第1,第2の同期検出部21,2
2の同期検出信号を入力し、該第2のセレクタ25の出
力を選択する信号を出力する選択信号出力部26とを有
する復号部20とを備えた構成とする。
FIG. 1 is a block diagram showing the principle of the present invention. As shown in FIG.
A type detection unit 1 for detecting the type of the second type of signal and inputting the first and second types of detection signals to the delay signal output unit 7 and the first and second synchronization signal adding units 4 and 5 And first and second encoders 2 and 3 for encoding input first and second types of signals, respectively, and a first synchronization signal to an encoded output of the first encoder 2. And when the second type detection signal from the type detection unit 1 is input, the first synchronizing signal addition is stopped.
And a second synchronizing signal added to the encoded output of the second encoder 3, and when the first type detecting signal from the type detecting section 1 is input, the synchronizing signal is added. A second synchronizing signal adding unit that stops, a first selector that inputs and selects and outputs the outputs of the first and second synchronizing signal adding units, and an output of the type detecting unit; The first and second type detection signals are delayed by a forward synchronization protection period, and the delayed output is input to the first selector 6 to select an output, and the first and second encoders 2 are selected. , 3 to start coding when a corresponding type detection signal is input, and stop coding when a non-corresponding type detection signal is input; The output of the output unit 10 is input, and the input first and second synchronization signals are used. Decoding is started by the first and second synchronization detectors 21 and 22 for synchronizing and outputting the synchronization detection signal, respectively, and the synchronization detection signal input of the output of the first synchronization detector 21 to output the synchronization loss signal. , The decoding is started by the input of the synchronization detection signal of the first decoder 23 that outputs the decoded signal and the output of the second synchronization detection unit 22, and the decoding is performed by the out-of-sync signal. A second decoder 24 for stopping the decoding and outputting the decoded signal, and a second decoder 24 for inputting and selecting and outputting the outputs of the first and second decoders 23 and 24.
Selector 25 and the first and second synchronization detectors 21 and
And a decoding unit 20 having a selection signal output unit 26 that inputs a second synchronization detection signal and outputs a signal for selecting the output of the second selector 25.

【0017】[0017]

【作用】本発明によれば、例えば、入力する第1種別の
信号が、第2の種別の信号に切り替わつても、前方同期
保護期間は第1種別の符号器2にて符号化し、且つこの
前方同期保護期間は、同期信号付加部4にての第1の同
期信号を付加しないようにして送信する。
According to the present invention, for example, even if the input first type signal is switched to the second type signal, the forward synchronization protection period is encoded by the first type encoder 2, and During the forward synchronization protection period, the first synchronization signal is transmitted without being added by the synchronization signal adding unit 4.

【0018】復号部20の同期検出部21では、同期が
確立し、復号器23にて第1種別の信号の復号化が行わ
れていたものが、上記第1の同期信号の欠落により同期
外れを検出し始め、前方同期保護期間が過ぎた時点で同
期外れが確立し、復号器23の復号を停止する。
In the synchronization detecting section 21 of the decoding section 20, the synchronization has been established, and the decoding of the first type of signal has been performed by the decoder 23. However, the synchronization is lost due to the lack of the first synchronizing signal. , And out of synchronization is established when the forward synchronization protection period elapses, and the decoder 23 stops decoding.

【0019】この時符号信号出力部10のセレクタ6で
は、符号器3にて第2種別の信号を符号化したものに、
同期信号付加部5にて第2の同期信号を付加した信号側
を選択し、復号部20に入力する。
At this time, the selector 6 of the code signal output unit 10 converts the signal of the second type into a signal encoded by the encoder 3,
The synchronization signal adding unit 5 selects the signal side to which the second synchronization signal has been added, and inputs it to the decoding unit 20.

【0020】すると、同期検出部22にて同期が引き込
まれ始め、後方同期保護期間の後同期確立となり、復号
器24が復号化を開始し、この時セレクタ25は、選択
信号出力部26の出力信号により、復号器23の出力を
選択していたものを、復号器24の出力の選択に切り替
える。
Then, synchronization is started to be pulled in by the synchronization detecting section 22 and synchronization is established after the backward synchronization protection period, and the decoder 24 starts decoding. At this time, the selector 25 outputs the output of the selection signal output section 26. The signal which has selected the output of the decoder 23 is switched to the selection of the output of the decoder 24 according to the signal.

【0021】即ち、符号器の切り替えは、入力信号の種
別が変わっても、前方同期保護期間遅れて切り替わるよ
うにしているので、符号器で符号化した信号が異種別の
信号を復号化する復号器にて復号化されることがなくな
り,復号部20の出力より雑音を発することがなくな
る。
That is, since the switching of the encoder is performed with a delay of the forward synchronization protection period even if the type of the input signal is changed, the signal coded by the encoder is decoded to decode different types of signals. The output from the decoding unit 20 does not generate noise.

【0022】[0022]

【実施例】図2は本発明の実施例の符号復号化装置のブ
ロック図、図3は図2の各部のタイムチャートである。
FIG. 2 is a block diagram of an encoding / decoding apparatus according to an embodiment of the present invention, and FIG. 3 is a time chart of each section in FIG.

【0023】図2も図4の従来例と同じく、図3(A)
に示す如く音声信号,非音声信号が交互に入力する場合
の符号復号化装置を示したもので、音声信号は音声符号
器2で符号化し、非音声信号は非音声符号器3にて符号
化する。
FIG. 2 is also similar to FIG.
1 shows an encoding / decoding apparatus in which a speech signal and a non-speech signal are alternately input as shown in FIG. 1. The speech signal is encoded by the speech coder 2, and the non-speech signal is encoded by the non-speech encoder 3 I do.

【0024】又復号部20側にて、音声符号器2で符号
化したものか、非音声符号器3にて符号化したものかを
知らせる為に、音声符号器2の出力には同期信号付加部
4にて第1の同期信号を付加し、非音声符号器3の出力
には同期信号付加部5にて第1の同期信号とは異なる第
2の同期信号を付加し出力するようにしている。
A synchronization signal is added to the output of the speech coder 2 so that the decoding unit 20 informs whether the data has been coded by the speech coder 2 or the non-speech coder 3. The first synchronizing signal is added by the unit 4, and the second synchronizing signal different from the first synchronizing signal is added to the output of the non-speech encoder 3 by the synchronizing signal adding unit 5 and output. I have.

【0025】しかし音声符号器2,非音声符号器3にて
符号化するタイミングと、同期信号付加部4,5にて同
期信号を付加するタイミング及びセレクタ6にて選択す
るタイミングを下記に説明する如くして、復号部20の
出力より雑音を発することがなくなるようにしている。
However, the timing of encoding by the speech encoder 2 and the non-speech encoder 3, the timing of adding the synchronization signal by the synchronization signal adding units 4 and 5, and the timing of selecting by the selector 6 will be described below. In this way, no noise is generated from the output of the decoding unit 20.

【0026】種別検出部1では、音声信号であるか、非
音声信号であるかを検出し、音声信号検出の時は1の信
号を、非音声信号検出の時は0の信号をタイマ7及び同
期信号付加部4,5に送る。
The type detector 1 detects whether the signal is a voice signal or a non-voice signal, and outputs a 1 signal when a voice signal is detected and a 0 signal when a non-voice signal is detected. These are sent to the synchronization signal adding units 4 and 5.

【0027】タイマ7では、入力する1又は0の信号を
前方同期保護期間遅延し、音声符号器2,非音声符号器
3及びセレクタ6に入力し、音声符号器2では遅延した
0の信号入力時、即ち非音声信号入力より前方同期保護
期間遅延して図3(B)に示す如く符号化を止め、非音
声符号器3では符号化を開始し、セレクタ6では0の信
号入力時は同期信号付加部5の出力を選択し、1の信号
入力時は同期信号付加部4の出力を選択する。
The timer 7 delays the input 1 or 0 signal for the forward synchronization protection period, and inputs it to the speech encoder 2, the non-speech encoder 3 and the selector 6, and the speech encoder 2 inputs the delayed 0 signal. In other words, the encoding is stopped as shown in FIG. 3B with a delay of the forward synchronization protection period from the input of the non-speech signal, the coding is started in the non-speech encoder 3, and the selector 6 is synchronized when the signal of 0 is input. The output of the signal adding section 5 is selected, and the output of the synchronization signal adding section 4 is selected when one signal is input.

【0028】一方、同期信号付加部4では、種別検出部
1より非音声信号検出の0の信号が入力すると、第1の
同期信号を付加していたものを停め、同期信号付加部5
では、種別検出部1より音声信号検出の1の信号が入力
すると、第2の同期信号を付加していたものを停める。
即ち図3(B)の斜線で示す間は同期信号が付加されな
い期間となる。
On the other hand, when a signal of 0 for non-speech signal detection is input from the type detection unit 1 to the synchronization signal addition unit 4, the one to which the first synchronization signal is added is stopped, and the synchronization signal addition unit 5 stops.
When the signal of the audio signal detection 1 is input from the type detection unit 1, the one to which the second synchronization signal is added is stopped.
That is, the period shown by the diagonal lines in FIG. 3B is a period in which no synchronization signal is added.

【0029】即ち、セレクタ6の出力は図3(C)に示
す如く、入力する音声信号が非音声信号に切り替わって
も前方同期保護期間は音声符号器2にて符号化するも、
前方同期保護期間は第1の同期信号の欠落したものとし
て送信し、又入力する非音声信号が音声信号に切り替わ
っても前方同期保護期間は非音声符号器3にて符号化す
るも、前方同期保護期間は第2の同期信号の欠落したも
のとして送信し、復号部20に入力する。
That is, as shown in FIG. 3C, the output of the selector 6 is encoded by the audio encoder 2 during the forward synchronization protection period even if the input audio signal is switched to a non-audio signal.
The forward synchronization protection period is transmitted as a missing first synchronization signal. Even if the input non-speech signal is switched to a speech signal, the forward synchronization protection period is encoded by the non-speech encoder 3, The protection period is transmitted as a missing second synchronization signal and input to the decoding unit 20.

【0030】復号部20の、同期検出部22では、非音
声信号側の第2の同期信号入力より、図3(C)のaに
示す後方同期保護期間期間が過ぎると同期が確立し、非
音声復号器24にて、非音声符号化信号の復号化が行わ
れ、又選択信号出力部26より選択信号が出力しセレク
タ25では非音声復号器24の出力を選択しているが、
図3(B)の斜線で示す第2の同期信号の欠落のところ
になると同期外れを検出し始め、図3(C)のbで示す
前方同期保護期間が過ぎた時点で同期外れを確定し、非
音声復号器24の復号を停止する。
In the synchronization detecting section 22 of the decoding section 20, the synchronization is established when the backward synchronization protection period period shown in a of FIG. Although the non-speech coded signal is decoded by the speech decoder 24, the selection signal is output from the selection signal output unit 26, and the selector 25 selects the output of the non-speech decoder 24.
Loss-of-synchronization starts to be detected when the second synchronization signal is lost as shown by the hatched portion in FIG. 3B, and the loss of synchronization is determined when the forward synchronization protection period shown by b in FIG. 3C has passed. , The decoding of the non-speech decoder 24 is stopped.

【0031】又同期検出部21では、音声信号側の第1
の同期信号が入力し図3(C)のaに示す後方同期保護
期間過ぎると同期が確立し、音声復号器23にて、音声
符号化信号の復号化が行われ、又選択信号出力部26よ
り選択信号が出力しセレクタ25では音声復号器23の
出力を選択しているが、図3(B)の斜線で示す第1の
同期信号の欠落のところになると同期外れを検出し始
め、図3(C)のbで示す前方保護期間が過ぎた時点で
同期外れを確定し、音声復号器23の復号を停止する。
In the synchronization detecting section 21, the first signal on the audio signal side is output.
3C, the synchronization is established after the backward synchronization protection period shown in FIG. 3C, the audio decoder 23 decodes the audio coded signal, and the selection signal output unit 26 The selector 25 outputs a selection signal, and the selector 25 selects the output of the audio decoder 23. However, when the first synchronization signal is lost as shown by the hatched portion in FIG. When the forward protection period indicated by b in FIG. 3C has passed, the loss of synchronization is determined, and the decoding of the audio decoder 23 is stopped.

【0032】即ち、符号器の切り替えは、入力信号の種
別が変わっても、前方同期保護期間遅れて切り替わるよ
うにしているので、例えば音声符号器2で符号化した信
号が非音声信号を復号化する非音声復号器24にて復号
化されることがなくなり,復号部20の出力より雑音を
発することがなくなる。
That is, since the switching of the encoder is performed with a delay of the forward synchronization protection period even if the type of the input signal is changed, for example, the signal coded by the voice coder 2 decodes the non-voice signal. Is not decoded by the non-speech decoder 24, and no noise is emitted from the output of the decoding unit 20.

【0033】尚後方同期保護期間は復号器の出力は無音
となる。以上は、音声信号,非音声信号入力で説明した
が、これは4KHz帯域の音声信号,8KHz帯域のオ
ーデオ信号が交互に入力するような場合にも勿論適用出
来又、各機能ブロックをファームウエアに取り込んで実
現することも可能である。
During the backward synchronization protection period, the output of the decoder is silent. The above description has been made with reference to the input of the audio signal and the non-audio signal. However, this can be applied to the case where the audio signal of the 4 kHz band and the audio signal of the 8 kHz band are alternately input. It is also possible to realize by taking in.

【0034】[0034]

【発明の効果】以上詳細に説明せる如く本発明によれ
ば、符号信号出力部及び復号部に於ける、符号器,復号
器を、入力する信号の種別が変わった時、同一種別の信
号を符号化,復号化するものとすることが出来、雑音発
生をなくすることが出来る効果がある。
As described above in detail, according to the present invention, when the type of the input signal changes, the encoder and the decoder in the code signal output section and the decoding section change the signal of the same type. Encoding and decoding can be performed, and there is an effect that noise generation can be eliminated.

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

【図1】は本発明の原理ブロック図、FIG. 1 is a block diagram showing the principle of the present invention;

【図2】は本発明の実施例の符号復号化装置のブロック
図、
FIG. 2 is a block diagram of a code decoding apparatus according to an embodiment of the present invention;

【図3】は図2の各部のタイムチャート、3 is a time chart of each part in FIG. 2,

【図4】は従来例の符号復号化装置のブロック図、FIG. 4 is a block diagram of a conventional code decoding apparatus;

【図5】は図4の各部のタイムチャートである。FIG. 5 is a time chart of each part in FIG. 4;

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

1,31は種別検出部、 2は符号器,音声符号器、 3は符号器,非音声符号器、 4,5,34,35は同期信号付加部、 6,25,36,45はセレクタ、 7は遅延信号出力手段,タイマ、 10,30は符号信号出力部、 20,40は復号部、 21,22,41,42は同期検出部、 23は復号器,音声復号器、 24は復号器,非音声復号器、 26,46は選択信号出力部、 32は音声符号器、 33は非音声符号器、 43は音声復号器、 44は非音声復号器を示す。 1, 31 is a type detection unit, 2 is an encoder and a speech encoder, 3 is an encoder and a non-speech encoder, 4, 5, 34, and 35 are synchronization signal addition units, 6, 25, 36, and 45 are selectors, 7, a delay signal output means, a timer, 10, 30 a code signal output unit, 20, 40 a decoding unit, 21, 22, 41, 42 a synchronization detection unit, 23 a decoder, a speech decoder, 24 a decoder , A non-speech decoder, 26 and 46 are selection signal output units, 32 is a speech coder, 33 is a non-speech encoder, 43 is a speech decoder, and 44 is a non-speech decoder.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−33454(JP,A) 特開 昭59−167138(JP,A) 特開 昭64−72637(JP,A) 特開 平2−211728(JP,A) 特開 平3−172035(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04J 3/17 H04J 3/06 H04L 7/08 H04M 11/00 303 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-4-33454 (JP, A) JP-A-59-167138 (JP, A) JP-A-64-72637 (JP, A) JP-A-2- 211728 (JP, A) JP-A-3-172035 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04J 3/17 H04J 3/06 H04L 7/08 H04M 11/00 303

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 交互に入力する第1,第2の種別の信号
の種別を検出し、第1,第2の種別の検出信号を、遅延
信号出力手段(7)及び第1,第2の同期信号付加部
(4,5)に入力する種別検出部(1)と、 入力する第1,第2の種別の信号を夫々符号化する第
1,第2の符号器(2,3)と、 該第1符号器(2)の符号化された出力に第1の同期信
号を付加し、該種別検出部(1)よりの第2の種別検出
信号が入力すると同期信号付加を停止する第1の同期信
号付加部(4)と、 該第2符号器(3)の符号化された出力に第2の同期信
号を付加し、該種別検出部(1)よりの第1の種別検出
信号が入力すると同期信号付加を停止する第2の同期信
号付加部(5)と、 該第1,第2の同期信号付加部(4,5)の出力を入力
し選択して出力する第1のセレクタ(6)と、 該種別検出部(1)の出力の第1,第2の種別検出信号
を、前方同期保護期間遅延させ、遅延させた出力を該第
1のセレクタ(6)に入力して出力を選択させると共
に、該第1,第2の符号器(2,3)に入力し、対応し
た種別検出信号入力側は符号化を開始させ、対応しない
種別検出信号入力側は符号化を停止させる該遅延信号出
力手段(7)とを有する符号信号出力部(10)と、 該符号信号出力部(10)の出力を入力し、入力する該
第1,第2の同期信号夫々にて、夫々同期をとり同期検
出信号を出力する第1,第2の同期検出部(21,2
2)と、 該第1の同期検出部(21)の出力の、同期検出信号入
力により復号化を開始し、同期外れ信号により復号化を
停止し、復号化した信号を出力する第1の復号器(2
3)と、 該第2の同期検出部(22)の出力の、同期検出信号入
力により復号化を開始し、同期外れ信号により復号化を
停止し、復号化した信号を出力する第2の復号器(2
4)と、 該第1,第2の復号器(23,24)の出力を入力し選
択して出力する第2のセレクタ(25)と、 該第1,第2の同期検出部(21,22)の同期検出信
号を入力し、該第2のセレクタ(25)の出力を選択す
る信号を出力する選択信号出力部(26)とを有する復
号部(20)とを備えたことを特徴とする符号復号化装
置。
A detecting means for detecting a type of the first and second types of signals which are alternately inputted, and outputting a detection signal of the first and second types to the delay signal output means (7) and the first and second signals; A type detecting unit (1) input to the synchronization signal adding unit (4, 5); a first and a second encoder (2, 3) for encoding the input first and second type signals, respectively; A first synchronization signal is added to the encoded output of the first encoder (2), and the addition of the synchronization signal is stopped when the second type detection signal from the type detection unit (1) is input. 1 synchronization signal adding section (4), and a second synchronization signal added to the encoded output of the second encoder (3), and a first type detection signal from the type detection section (1). , A second synchronizing signal adding unit (5) that stops adding a synchronizing signal, and inputs and selects and outputs the outputs of the first and second synchronizing signal adding units (4, 5). A first selector (6) that performs a forward synchronization protection period on the first and second type detection signals output from the type detection unit (1), and outputs the delayed output to the first selector (6). ) To select an output and to input to the first and second encoders (2, 3), the corresponding type detection signal input side starts coding, and the corresponding type detection signal input side Is a code signal output unit (10) having the delay signal output means (7) for stopping encoding, and the first and second synchronizations which input and output the output of the code signal output unit (10) First and second synchronization detectors (21, 2) that synchronize with each signal and output a synchronization detection signal, respectively.
2) and a first decoding that starts decoding by inputting a synchronization detection signal of the output of the first synchronization detection unit (21), stops decoding by an out-of-sync signal, and outputs a decoded signal. Container (2
3) and a second decoding that starts decoding by inputting a synchronization detection signal of the output of the second synchronization detection unit (22), stops decoding by an out-of-sync signal, and outputs a decoded signal. Container (2
4), a second selector (25) for inputting and selecting and outputting the outputs of the first and second decoders (23, 24); and the first and second synchronization detectors (21, And a selection signal output unit (26) for receiving the synchronization detection signal of (22) and outputting a signal for selecting the output of the second selector (25). Encoding / decoding device.
JP05087679A 1993-04-15 1993-04-15 Code decoding device Expired - Fee Related JP3125511B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05087679A JP3125511B2 (en) 1993-04-15 1993-04-15 Code decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05087679A JP3125511B2 (en) 1993-04-15 1993-04-15 Code decoding device

Publications (2)

Publication Number Publication Date
JPH06303212A JPH06303212A (en) 1994-10-28
JP3125511B2 true JP3125511B2 (en) 2001-01-22

Family

ID=13921629

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05087679A Expired - Fee Related JP3125511B2 (en) 1993-04-15 1993-04-15 Code decoding device

Country Status (1)

Country Link
JP (1) JP3125511B2 (en)

Also Published As

Publication number Publication date
JPH06303212A (en) 1994-10-28

Similar Documents

Publication Publication Date Title
JP3167385B2 (en) Audio signal transmission method
EP0771110A3 (en) Digital video playback apparatus for special reproduction mode
JP3125511B2 (en) Code decoding device
JPH04357735A (en) Voice packet communication equipment
JPH07297941A (en) Received signal switching control circuit
JP3208629B2 (en) Relay switching control method
JP2878018B2 (en) Transit exchange for coded voice signals
JPS60107933A (en) Adpcm encoding device
JP2731514B2 (en) Audio compression transmission equipment
JP2713163B2 (en) Video encoding device and video storage device
JPH02246431A (en) Video audio multiplex system
JPH10336602A (en) Image and sound encoded data multiplexing method and device therefor
JP3550227B2 (en) Voice decoding device
JP2588529B2 (en) Audio compression transmission equipment
JPH05347594A (en) Transmission code error compensating device
JP2006191463A (en) Coder, decoder, and coding transmission system
JPH0344229A (en) Method for preventing pseudo synchronization
JP3207927B2 (en) Silence processing device
JPH0294832A (en) Voice coding and decoding system
JPH077934B2 (en) Audio information transmission method
JPH04364686A (en) Video audio multiplex transmission system
JPH03210845A (en) Voice transmission system
JPS62269435A (en) Transmission method for frame synchronizing signal in vocoder system
JPH09163333A (en) Voice delay controller
JPH0563660A (en) Synchronization system in voice coding communication

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20001003

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081102

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees