JPH07115403A - Circuit for encoding and decoding silent section information - Google Patents

Circuit for encoding and decoding silent section information

Info

Publication number
JPH07115403A
JPH07115403A JP6184807A JP18480794A JPH07115403A JP H07115403 A JPH07115403 A JP H07115403A JP 6184807 A JP6184807 A JP 6184807A JP 18480794 A JP18480794 A JP 18480794A JP H07115403 A JPH07115403 A JP H07115403A
Authority
JP
Japan
Prior art keywords
pattern
circuit
output
voice
decoding circuit
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.)
Withdrawn
Application number
JP6184807A
Other languages
Japanese (ja)
Inventor
Masako Watanabe
雅子 渡辺
Hideaki Kurihara
秀明 栗原
Hiroshi Katayama
浩 片山
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 JP6184807A priority Critical patent/JPH07115403A/en
Publication of JPH07115403A publication Critical patent/JPH07115403A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • Y02B60/50

Landscapes

  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
  • Reduction Or Emphasis Of Bandwidth Of Signals (AREA)

Abstract

PURPOSE:To prevent the degradation in quality of a reproduced signal and to eliminate and unnecessary processing by selecting a minimum error pattern corresponding to the background noise at the time of silence and adding it to the last of a post pattern to send it. CONSTITUTION:At the time of silence, a frequency characteristic extractor 13 extracts the background noise pattern is accordance with a prescribed system and sends it to a minimum error pattern selecting circuit 14. This circuit 14 selects the minimum error pattern, whose error from the background noise pattern is minimum, from a preliminarily stored noise pattern group. A switch 17 adds the minimum error pattern to the last of the post pattern and sends it as encoded data for background noise generation. A noise characteristic convolutional operation circuit 24 performs the convolutional operation between the minimum error pattern sent following the post pattern and the output of a white noise generator 23 and outputs the result.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、移動通信機器の省電力
技術であるVOX(Voice Operated Transmission )方
式における無音区間信号の符号化及び復号化回路に係
り、特に、話者に違和感を感じさせず、又、低消費電力
化が可能な無音区間情報の符号化及び復号化回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a silent section signal encoding and decoding circuit in a VOX (Voice Operated Transmission) system, which is a power saving technology for mobile communication devices, and particularly makes a speaker feel uncomfortable. In addition, the present invention relates to an encoding / decoding circuit for silent section information capable of reducing power consumption.

【0002】移動通信機器には他の機器にも増して小型
化、軽量化、低消費電力化の要請が強く、それらを実現
するための技術開発が進められている。このうち、音声
通信において消費電力を低減する方式として、有音と判
定される時だけ音声符号器を動作させ、無音と判定され
る時には音声符号器の動作を停止するVOX方式が実用
化されている。
There is a strong demand for smaller size, lighter weight, and lower power consumption in mobile communication devices than in other devices, and technical development for realizing them is being advanced. Among them, as a method for reducing power consumption in voice communication, a VOX method has been put into practical use, in which the voice encoder is operated only when it is determined that there is sound, and the operation of the voice encoder is stopped when it is determined that there is no sound. There is.

【0003】VOX方式において符号化回路は、音声が
有音から無音に変化する時に符号化動作を停止すると共
に無音になる旨を知らせるポスト・パターンと、それに
付随する、背景雑音生成用の信号である符号化データを
送出し、無音から有音に変化する時に有音になる旨を知
らせるプレ・パターンを送出した後に音声符号器の出力
を送出する。復号化回路は、有音の際には受信した符号
化データによって再生音声を生成し、無音時にはポスト
・パターンに付随する符号化データによって背景雑音を
生成する。これでは、復号化回路は常に動作しているこ
とになり、低消費電力化を実現しにくい。
In the VOX system, the coding circuit uses a post pattern that informs that the coding operation is stopped and becomes silent when the voice changes from voiced to silence, and a background noise generation signal accompanying it. A certain encoded data is transmitted, and a pre-pattern for notifying that the voice becomes voiced when the voice changes from the voiceless to the voiced is transmitted, and then the output of the voice encoder is transmitted. The decoding circuit generates a reproduced voice based on the received coded data when there is a voice, and generates background noise based on the coded data that accompanies the post pattern when there is no sound. This means that the decoding circuit is always operating, and it is difficult to realize low power consumption.

【0004】[0004]

【従来の技術】図19は、従来の符号化回路の構成であ
る。図19において、10はアナログ−デジタル変換
器、11は音声符号器、12音声検出器、15はプレ・
パターン発生器、16はポスト・パターン発生器、17
は切替器、18は回線符号器である。
2. Description of the Related Art FIG. 19 shows the configuration of a conventional encoding circuit. In FIG. 19, 10 is an analog-digital converter, 11 is a voice encoder, 12 is a voice detector, and 15 is a pre-
Pattern generator, 16 is a post pattern generator, 17
Is a switch, and 18 is a line encoder.

【0005】入力音声はアナログ−デジタル変換器でデ
ジタル化され、音声符号器によって帯域圧縮符号化され
る。又、デジタル化された音声は音声検出器にも供給さ
れ、該音声検出器によって有音、無音の判定が行なわれ
る。有音と判定された場合には、音声検出器の出力信号
によって切替器が音声符号器の出力を選択して送出し、
無音と判定された場合には、音声符号器の動作は停止さ
れる。そして、有音から無音に変化する時には、切替器
がポスト・パターン発生器の出力を選択して送出して、
復号化回路に無音に変化することを知らせると共に、復
号化回路における背景雑音生成のための符号化データを
送出する。尚、無音継続中には一定周期毎に.ポスト・
パターンと背景雑音生成のための符号化データを送出す
る。一方、無音から有音に変化する時には、プレ・パタ
ーン発生器が発生するプレ・パターンを切替器が選択し
て送出して、有音に変化することを知らせる。又、無音
時でポスト・パターンと符号化データを出力している以
外の時間には、切替器の中に設けられたダミー・パター
ン発生器から復号化には使用されないダミー・バターン
を出力している。そして、有音時と無音時を問わず、送
出される信号は回線符号器においてCRC符号化などを
施され、伝送に適した符号に変換される。
The input voice is digitized by an analog-to-digital converter and band compression encoded by a voice encoder. The digitized voice is also supplied to a voice detector, and the voice detector determines whether the voice is present or not. If it is determined that there is sound, the switch selects the output of the audio encoder according to the output signal of the audio detector and sends it.
If it is determined to be silent, the operation of the speech coder is stopped. Then, when the sound changes from sound to silence, the switch selects and outputs the output of the post pattern generator,
The decoding circuit is notified of the change to silence, and the encoded data for generating the background noise in the decoding circuit is transmitted. It should be noted that, during silence continuation, at regular intervals. post·
Sends coded data for pattern and background noise generation. On the other hand, when there is a change from silence to voice, the switch selects and sends the pre-pattern generated by the pre-pattern generator to notify the change to voice. Also, during times other than when the post pattern and encoded data are being output when there is no sound, the dummy pattern generator provided in the switch outputs a dummy pattern that is not used for decoding. There is. Then, regardless of whether there is sound or not, the signal to be transmitted is subjected to CRC coding or the like in the line encoder and converted into a code suitable for transmission.

【0006】図20は、従来の復号化回路(その1)の
構成である。図20において、20は回線復号器、21
は音声復号器、22はプレ/ポスト・パターン検出器、
26はデジタル・アナログ変換器である。
FIG. 20 shows the configuration of a conventional decoding circuit (No. 1). In FIG. 20, 20 is a line decoder, 21
Is a voice decoder, 22 is a pre / post pattern detector,
26 is a digital / analog converter.

【0007】図20の復号化回路においては、回線復号
器において受信した回線符号から帯域圧縮された音声符
号に変換してプレ/ポスト・パターン検出器に供給す
る。プレ/ポスト・パターン検出器がプレ・パターンを
検出すると、音声復号器は有音の符号化データからデジ
タル化された音声信号を生成し、ポスト・パターンを検
出するとポスト・パターンに付随する符号化データから
背景雑音を生成する。そして、音声復号器の出力はデジ
タル・アナログ変換器に供給されて元の音声信号を再生
する。
In the decoding circuit of FIG. 20, the line code received by the line decoder is converted into a band-compressed voice code and supplied to the pre / post pattern detector. When the pre / post pattern detector detects the pre pattern, the voice decoder generates a digitized voice signal from the voiced encoded data, and when the pre pattern is detected, the encoding accompanying the post pattern is performed. Generate background noise from the data. Then, the output of the audio decoder is supplied to the digital-analog converter to reproduce the original audio signal.

【0008】図21は、従来の復号化回路(その2)の
構成である。図21において、20は回線復号器、21
は音声復号器、22はプレ/ポスト・パターン検出器、
24は白色雑音発生器、25は切替器、26はデジタル
・アナログ変換器である。
FIG. 21 shows the configuration of a conventional decoding circuit (No. 2). In FIG. 21, 20 is a line decoder, 21
Is a voice decoder, 22 is a pre / post pattern detector,
24 is a white noise generator, 25 is a switch, and 26 is a digital-analog converter.

【0009】図21の復号化回路においては、回線復号
器において受信した回線符号から帯域圧縮された音声符
号に変換して音声復号器とプレ/ポスト・パターン検出
器に供給する。プレ/ポスト・パターン検出器がプレ・
パターンを検出すると音声復号器が動作し、切替器が音
声復号器の出力を選択してデジタル−アナログ変換器に
供給する。プレ/ポスト・パターン検出器がポスト・パ
ターンを検出すると音声復号器を停止し、切替器が白色
雑音発生器の出力を選択して白色雑音を出力してデジタ
ル−アナログ変換器に供給する。
In the decoding circuit of FIG. 21, the line code received by the line decoder is converted into a band-compressed voice code and supplied to the voice decoder and the pre / post pattern detector. Pre / post pattern detector
When the pattern is detected, the voice decoder operates, and the switcher selects the output of the voice decoder and supplies it to the digital-analog converter. When the pre / post pattern detector detects the post pattern, the voice decoder is stopped, and the switch selects the output of the white noise generator and outputs the white noise to the digital-analog converter.

【0010】こうして有音の時には音声復号器の出力を
アナログ化し、無音の時には白色雑音発生器の出力をア
ナログ化して再生音声を生成する。
In this way, when there is sound, the output of the voice decoder is converted into analog, and when there is no sound, the output of the white noise generator is converted into analog to generate reproduced sound.

【0011】[0011]

【発明が解決しようとする課題】しかし、従来の符号化
回路と復号化回路には下記の問題がある。その第一は、
図20の復号化回路を適用する場合には、符号化回路側
で連続して無音を検出した時にその都度ポスト・パター
ンと符号化データを送出する必要があるために、符号化
回路、復号化回路とも消費電力が大きくなる点である。
However, the conventional encoding circuit and decoding circuit have the following problems. The first is
When the decoding circuit of FIG. 20 is applied, it is necessary to send out the post pattern and the coded data each time when the coding circuit side continuously detects silence. The point is that the power consumption of both circuits increases.

【0012】その第二は、図21の復号化回路を適用す
る場合には、符号化回路では無音を検出した時には音声
符号器を停止してポスト・パターンを送出し、受信側で
ポスト・パターンを検出すると音声復号器を停止して白
色雑音発生器の出力を選択するので低消費電力化が図れ
るものの、白色雑音発生器の出力と送信側の話者周囲の
背景雑音とは周波数特性が一致しないために、有音と無
音の切替時に、有音信号に含まれる背景雑音と無音時に
選択される白色雑音の差を聴き手が認識して違和感を感
ずることである。
Second, in the case of applying the decoding circuit of FIG. 21, when the coding circuit detects silence, the speech coder is stopped and the post pattern is transmitted, and the receiving side receives the post pattern. When the signal is detected, the speech decoder is stopped and the output of the white noise generator is selected, so power consumption can be reduced, but the frequency characteristics of the output of the white noise generator and the background noise around the speaker on the transmitting side match. Therefore, when switching between sound and silence, the listener recognizes the difference between the background noise included in the sound signal and the white noise selected when there is no sound, and feels uncomfortable.

【0013】第三は、当然のことながら移動通信におい
ては無線通信が適用されるが、無線通信では他の電波、
自動車雑音などの干渉による符号誤りや、ビルの陰やト
ンネルに入った時のレベル低下による符号誤りが発生し
やすい。こうした符号誤りがプレ・パターンとポスト・
パターンに含まれると、有音、無音の判定に誤りを生
じ、再生音声の品質を著しく劣化させる点である。
Thirdly, as a matter of course, wireless communication is applied in mobile communication, but other radio waves are used in wireless communication.
Code errors due to interference such as automobile noise, and code errors due to the level drop when entering a tunnel or a building are likely to occur. These code errors are pre-pattern and post-code.
If it is included in the pattern, there is an error in determining whether there is sound or no sound, and the quality of the reproduced sound is significantly deteriorated.

【0014】本発明は、かかる問題に対処して、再生信
号の品質劣化の防止と消費電力の一層の低減が可能な無
音区間情報の符号化及び復号化回路を提供することを目
的とする。
It is an object of the present invention to provide a coding / decoding circuit for silent section information capable of preventing the deterioration of the quality of a reproduced signal and further reducing the power consumption by coping with such a problem.

【0015】[0015]

【課題を解決するための手段】第一の問題に対しては、
図19の符号化回路と図21の復号化回路を組み合わせ
て適用することで解決がもたらされるので、第二の問題
以下について解決手段を検討する。
[Means for Solving the Problems] For the first problem,
Since the solution is brought about by applying the encoding circuit of FIG. 19 and the decoding circuit of FIG. 21 in combination, the means for solving the second and following problems will be examined.

【0016】第二の問題については、解決するための手
段が二つある。その1番目は、符号化回路において、フ
レームごとに背景雑音の周波数特性を抽出し、これに最
も近い雑音パターンを選択して送出し、復号化回路にお
いて受信した雑音パターンと白色雑音発生器の出力との
畳み込み演算をフレームごとに行ない、その結果をアナ
ログ変換して再生音声を得る方法である。又、その2番
目は、背景雑音生成用の符号化データを複数フレームに
一回送出し、その符号化データから白色雑音へと、徐々
に変化する再生背景雑音を生成する方法である。
There are two means to solve the second problem. The first is that in the encoding circuit, the frequency characteristics of the background noise are extracted for each frame, the noise pattern closest to this is selected and transmitted, and the noise pattern received by the decoding circuit and the output of the white noise generator are output. This is a method of performing a convolution operation with and for each frame, and converting the result into an analog signal to obtain a reproduced voice. The second is a method of transmitting coded data for background noise generation once in a plurality of frames and generating reproduced background noise that gradually changes from the coded data to white noise.

【0017】又、上記1番目の手段に対して次の手段を
組み合わせることも可能である。即ち、符号化回路にお
いて背景雑音の電力量子化値(パワー・コード)を検出
し、時刻tのパワー・コードと時刻(t−1)のパワー
・コードを比較して、両者の間に有意な変化がある場合
にはポスト・パターンと背景雑音生成のための符号化デ
ータを送出し、パワー・コードに有意な差がない場合に
はいずれも送出しない。そして、復号化回路においては
受信した背景雑音生成のための信号を記憶し、同信号に
変化がある時には記憶している同信号と置換し、記憶し
ている最新の同信号のパターンによって白色雑音パター
ンとの畳み込み演算をして、その結果をアナログ変換し
て再生音声を得るのである。
It is also possible to combine the following means with the first means. That is, in the encoding circuit, the power quantized value (power code) of the background noise is detected, the power code at time t and the power code at time (t-1) are compared, and there is a significant difference between the two. When there is a change, the post pattern and the coded data for generating the background noise are transmitted, and when there is no significant difference in the power code, neither is transmitted. Then, in the decoding circuit, the received signal for background noise generation is stored, and when there is a change in the same signal, it is replaced with the stored same signal and white noise is generated by the latest stored pattern of the same signal. The convolution operation with the pattern is performed, and the result is converted into an analog to obtain the reproduced voice.

【0018】第三の問題に対しては、無音区間中でポス
ト・パターン及び背景雑音生成のための符号化データを
送出する時以外に送出しているダミー・データを、全て
CRCエラーが生ずるデータにしておく。
For the third problem, all dummy data that is transmitted except when the encoded data for generating the post pattern and background noise is transmitted in the silent section is the data in which the CRC error occurs. Leave.

【0019】[0019]

【作用】第二の問題に対する1番目の手段では、符号化
回路側で抽出した周波数特性に最も近い雑音パターンを
選択してそのパターンを送出し、復号化回路で白色雑音
にその雑音パターンを畳み込むので、その出力の周波数
特性は背景雑音の周波数特性に近似しており、従って、
再生音声において有音と無音の切替時に背景雑音の切り
替わりを感じにくくなる。又、2番目の手段では、受信
したポスト・パターンに付随する背景雑音生成用符号化
データを再生した信号をCとし、復号化回路側に予め準
備してある白色雑音パターンから再生した信号をWと
し、再生された背景雑音をRと表し、最初のポスト・パ
ターン送出時である時刻0に値が0で、次のポスト・パ
ターンの送出時である時刻Tにおいて値が1になる正数
をmとする時、次の式を満足する再生背景雑音Rを生成
する。
In the first means for the second problem, the noise pattern closest to the frequency characteristic extracted on the encoding circuit side is selected and the pattern is transmitted, and the decoding circuit convolves the noise pattern with the white noise. Therefore, the frequency characteristic of its output is close to the frequency characteristic of background noise, and therefore,
In the reproduced voice, it becomes difficult to feel the background noise when switching between voiced and silent. In the second means, the signal reproduced from the coded data for background noise generation accompanying the received post pattern is set as C, and the signal reproduced from the white noise pattern prepared in advance on the decoding circuit side is set to W. The reproduced background noise is represented as R, and a positive number whose value is 0 at time 0 when the first post pattern is transmitted and whose value is 1 at time T when the next post pattern is transmitted is When m, a reproduction background noise R that satisfies the following equation is generated.

【0020】[0020]

【数1】 [Equation 1]

【0021】従って、再生背景雑音は、無音に変化して
初めてポスト・パターンが送出された時には背景雑音生
成用符号化データを再生したものに等しく、時間的に徐
々に変化して、時刻Tにおいては白色雑音に等しくなる
ので、符号化データから白色雑音へ連続的に変化する。
従って、有音と無音の切替時に背景雑音の変化を感じに
くくなる。そして、時刻T以降も無音が継続する時には
mを1に固定して、一定パワーの白色雑音を再生背景雑
音として継続して生成する。
Therefore, the reproduced background noise is equal to that of the reproduced background noise coded data when the post pattern is transmitted for the first time after changing to silence, and gradually changes with time, and at time T. Becomes equal to white noise, so that the encoded data continuously changes to white noise.
Therefore, it becomes difficult to feel a change in background noise when switching between voiced and silent. Then, when silence continues after time T, m is fixed to 1 and white noise of constant power is continuously generated as reproduction background noise.

【0022】又、第二の問題に対する1番目の手段に、
符号化回路においてパワー・コードに有意な変化がなけ
ればポスト・パターンも背景雑音生成のための信号も送
出しないという手段を組み合わせれば、符号化回路の消
費電力を更に低減できる。
The first means for the second problem is
The power consumption of the encoding circuit can be further reduced by combining the means that neither the post pattern nor the signal for generating the background noise is transmitted unless there is a significant change in the power code in the encoding circuit.

【0023】第三の問題に対しては、有音区間の音声符
号化データは誤りがなければ全てCRCチェック結果が
「0」になり、ダミー・データは誤りがなければ全てC
RCチェック結果が「1」になる。従って、プレ/ポス
ト・パターンが符号誤りのために正しく検出できない時
にも、受信信号をCRCチェックすれば、正しいプレ/
ポスト・パターンの時間位置を検出することができる。
As for the third problem, if there is no error in the voice coded data in the voiced section, the CRC check result will be "0", and if there is no error in the dummy data, all will be C.
The RC check result becomes "1". Therefore, even if the pre / post pattern cannot be detected correctly due to a code error, if the received signal is CRC checked, the correct pre / post pattern can be obtained.
The time position of the post pattern can be detected.

【0024】[0024]

【実施例】図1は、本発明の実施例である。図1におい
て、10はアナログ−デジタル変換器、11は音声符号
器、12は音声検出器、13は周波数特性抽出器、14
は最小誤差パターン選択回路、15はプレ・パターン発
生器、16はポスト・パターン発生器、17は切替器、
18は回線符号器で、符号化回路を構成する。又、20
は回線復号器、21は音声復号器、22はプレ/ポスト
・パターン検出器、23は白色雑音発生器、24は雑音
特性畳み込み演算回路、25は切替器、26はデジタル
−アナログ変換器で、復号化回路を構成する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an embodiment of the present invention. In FIG. 1, 10 is an analog-digital converter, 11 is a voice encoder, 12 is a voice detector, 13 is a frequency characteristic extractor, and 14
Is a minimum error pattern selection circuit, 15 is a pre pattern generator, 16 is a post pattern generator, 17 is a switch,
A line encoder 18 constitutes an encoding circuit. Also, 20
Is a line decoder, 21 is a voice decoder, 22 is a pre / post pattern detector, 23 is a white noise generator, 24 is a noise characteristic convolution operation circuit, 25 is a switcher, 26 is a digital-analog converter, It constitutes a decoding circuit.

【0025】符号化回路においては、入力音声はアナロ
グ−デジタル変換された後、音声符号器によって帯域圧
縮が行なわれる。同時にデジタル変換された音声帯域信
号は音声検出器に入力され、該音声検出器において有音
と判定された時には音声符号器の出力を、音声検出器の
出力によって切替器が選択して送出し、無音と判定され
た時には音声符号器の動作を停止する。そして、無音か
ら有音に変化する時にはプレ・パターンを切替器が選択
して送出し、有音から無音に変化する時にはポスト・パ
ターンと背景雑音生成のための信号を切替器が選択して
送出するが、本発明の符号化回路においては下記のよう
に背景雑音生成のための信号を決定する。
In the encoding circuit, the input voice is subjected to analog-to-digital conversion and then band-compressed by the voice encoder. At the same time, the digitally converted voice band signal is input to the voice detector, and when the voice detector determines that the voice is present, the output of the voice encoder is selected and transmitted by the switching device according to the output of the voice detector. When it is determined that there is no sound, the operation of the voice encoder is stopped. The switch selects and sends the pre-pattern when the sound changes from silence to sound, and the switch selects and sends the post pattern and the signal for background noise generation when the sound changes from sound to silence. However, in the encoding circuit of the present invention, the signal for background noise generation is determined as follows.

【0026】即ち、無音と判定された時のデジタル変換
された音声帯域信号(これは背景雑音である)の周波数
特性を抽出し、既定の規則によってパターン化する。こ
のパターンを最小誤差パターン選択化路に入力し、該最
小誤差パターン選択回路が備える雑音パターン群(通常
これをコードブックと呼ぶ)の中から、抽出した背景雑
音の周波数特性パターンとの誤差が最小になるような雑
音パターン(最小誤差パターン)を選択して、これをポ
スト・パターン後に背景雑音生成のための符号化データ
として送出する。
That is, the frequency characteristic of the digitally converted voice band signal (this is background noise) when it is determined to be silent is extracted and patterned according to a predetermined rule. This pattern is input to the minimum error pattern selection path, and the error with the frequency characteristic pattern of the extracted background noise is minimized from the noise pattern group (normally called a codebook) included in the minimum error pattern selection circuit. Then, a noise pattern (minimum error pattern) that satisfies the following is selected, and this is sent as encoded data for background noise generation after the post pattern.

【0027】尚、有音時のデータも無音時のデータも回
線符号器において、CRC符号化などを施され、伝送路
に適した符号に変換されて送出される。復号化回路にお
いては、回線復号化器において受信した信号から帯域圧
縮された音声信号を復元し、それを音声復号器に入力し
て帯域を伸長する。同時に帯域圧縮された音声信号をプ
レ/ポスト・パターン検出器に入力する。有音の時には
プレ/ポスト・パターンが検出されず、この時には復号
器の出力が切替器で選択され、デジタル−アナログ変換
されて再生音声となる。一方、無音の時にはポスト・パ
ターンが検出されて、この出力によって音声復号器は停
止され、切替器が雑音特性畳み込み演算回路の出力を選
択してデジタル・アナログ変換器に供給する。雑音特性
畳み込み演算回路においては、ポスト・パターンに付随
して送られてきた最小誤差パターンと、白色雑音発生器
が発生する白色雑音とを畳み込み演算を行なうので、該
雑音特性畳み込み演算回路の出力は背景雑音を近似する
ものである。つまり、ポスト・パターンを検出した時に
は、背景雑音が選択されてデジタル−アナログ変換器で
再生される。この再生背景雑音は、符号化回路で選択し
た最小誤差パターンを使って背景雑音を再生されるの
で、再生された無音区間の背景雑音は有音区間の背景雑
音と周波数特性が連続であり、聴き手は有音、無音の切
替えが行なわれたことに気付きにくくなる。
It should be noted that both the data with voice and the data with voice are subjected to CRC encoding, etc. in a line encoder, converted into a code suitable for a transmission line, and transmitted. In the decoding circuit, the band-compressed voice signal is restored from the signal received by the line decoder, and this is input to the voice decoder to extend the band. At the same time, the band-compressed voice signal is input to the pre / post pattern detector. No pre / post pattern is detected when there is sound, and at this time the output of the decoder is selected by the switch and digital-analog converted to be reproduced voice. On the other hand, when there is no sound, a post pattern is detected, the voice decoder is stopped by this output, and the switch selects the output of the noise characteristic convolution operation circuit and supplies it to the digital-analog converter. In the noise characteristic convolution operation circuit, the convolution operation is performed on the minimum error pattern sent together with the post pattern and the white noise generated by the white noise generator. Therefore, the output of the noise characteristic convolution operation circuit is It approximates background noise. That is, when the post pattern is detected, the background noise is selected and reproduced by the digital-analog converter. Since the background noise of this reproduced background noise is reproduced by using the minimum error pattern selected by the encoding circuit, the background noise of the reproduced silent section has continuous frequency characteristics with the background noise of the voiced section. It becomes difficult for the hand to notice that the sound is switched to the sound.

【0028】図2は、本発明の復号化回路の第二の実施
例の構成である。図2において、20は回線復号器、2
1は音声復号器、22はプレ/ポスト・パターン検出
器、23は白色雑音発生器、24は雑音特性畳み込み演
算回路、25は切替器、26はデジタル−アナログ変換
器、27は周波数特性抽出器、28は最小誤差パターン
選択回路である。この構成の復号化回路が対向する符号
化回路は図1に示した符号化回路と同一の構成である。
FIG. 2 shows the configuration of the second embodiment of the decoding circuit of the present invention. In FIG. 2, 20 is a line decoder, 2
1 is a speech decoder, 22 is a pre / post pattern detector, 23 is a white noise generator, 24 is a noise characteristic convolution operation circuit, 25 is a switcher, 26 is a digital-analog converter, and 27 is a frequency characteristic extractor. 28 are minimum error pattern selection circuits. The encoding circuit facing the decoding circuit of this configuration has the same configuration as the encoding circuit shown in FIG.

【0029】図2の構成が図1の復号化回路の構成と異
なるのは、雑音特性畳み込み演算に用いる雑音パターン
を生成する回路である。図2の場合には、音声復号器の
出力信号から周波数特性パターンを抽出し、抽出された
パターンとの誤差が最小になる雑音パターンを最小誤差
パターン選択回路が有するコードブックの中から選択
し、選択された雑音パターンと白色雑音パターンの畳み
込み演算をする。これを、図1における背景雑音生成の
ための信号の生成と比較すれば直ちに理解できるよう
に、図2の復号化回路で選択する雑音パターンは、図1
の符号化回路で選択する最小誤差パターンに一致するの
で、図2の復号化回路の動作は図1に示した復号化回路
の動作と全く同じである。
The configuration of FIG. 2 differs from the configuration of the decoding circuit of FIG. 1 in the circuit for generating the noise pattern used in the noise characteristic convolution operation. In the case of FIG. 2, a frequency characteristic pattern is extracted from the output signal of the speech decoder, and a noise pattern having a minimum error with the extracted pattern is selected from the codebook included in the minimum error pattern selection circuit, The convolution operation of the selected noise pattern and the white noise pattern is performed. As can be readily understood by comparing this with the generation of the signal for background noise generation in FIG. 1, the noise pattern selected by the decoding circuit in FIG.
The operation of the decoding circuit shown in FIG. 2 is exactly the same as the operation of the decoding circuit shown in FIG.

【0030】図3は、本発明の復号化回路の第三の実施
例の構成である。図3において、20は回線復号器、2
1は音声復号器、22はプレ/ポスト・パターン検出
器、23は白色雑音発生器、24は雑音特性畳み込み演
算回路、25は切替器、26はデジタル−アナログ変換
器、27は周波数特性抽出器、28は最小誤差パターン
選択回路、29は聴覚重みづけ回路である。この構成の
復号化回路が対向する符号化回路は図1に示した符号化
回路である。
FIG. 3 shows the configuration of a third embodiment of the decoding circuit of the present invention. In FIG. 3, 20 is a line decoder, 2
1 is a speech decoder, 22 is a pre / post pattern detector, 23 is a white noise generator, 24 is a noise characteristic convolution operation circuit, 25 is a switcher, 26 is a digital-analog converter, and 27 is a frequency characteristic extractor. , 28 is a minimum error pattern selection circuit, and 29 is a perceptual weighting circuit. The encoding circuit facing the decoding circuit of this configuration is the encoding circuit shown in FIG.

【0031】図3の構成が図2の構成と異なるのは、周
波数特性抽出器の出力側に聴覚重み付け回路が新たに接
続され、該聴覚重み付け回路の出力に近似する最小誤差
パターンを最小誤差パターン選択回路で選択する点であ
る。聴覚重み付け回路は、周波数特性抽出器の出力に人
間の聴覚の周波数特性を加味するもので、背景雑音がよ
り自然に聞こえる利点がある。
The configuration of FIG. 3 differs from the configuration of FIG. 2 in that a perceptual weighting circuit is newly connected to the output side of the frequency characteristic extractor, and the minimum error pattern approximating the output of the perceptual weighting circuit is the minimum error pattern. This is a point to be selected by the selection circuit. The perceptual weighting circuit adds the frequency characteristic of human hearing to the output of the frequency characteristic extractor, and has an advantage that background noise sounds more natural.

【0032】図4は、本発明の復号化回路の第四の実施
例である。図4において、20は回線復号器、21は音
声復号器、22はプレ/ポスト・パターン検出器、23
は白色雑音発生器、30は第一の利得制御回路、30a
は第二の利得制御回路、31は加算回路、26はデジタ
ル・アナログ変換器である。
FIG. 4 is a fourth embodiment of the decoding circuit of the present invention. In FIG. 4, 20 is a line decoder, 21 is a voice decoder, 22 is a pre / post pattern detector, and 23.
Is a white noise generator, 30 is a first gain control circuit, 30a
Is a second gain control circuit, 31 is an adding circuit, and 26 is a digital-analog converter.

【0033】図4の構成は、無音がフレーム周期よりか
なり長く継続することを前提としている。図4の構成の
復号化回路が対向する符号化回路は図9に示した符号化
回路と類似の符号化回路で、無音が続く間はポスト・パ
ターンと符号化データはフレーム周期よりかなり長い周
期Tに一回送出する。
The configuration of FIG. 4 is premised on that silence lasts much longer than the frame period. The encoding circuit to which the decoding circuit having the configuration of FIG. 4 faces is an encoding circuit similar to the encoding circuit shown in FIG. 9, and the post pattern and the encoded data have a period considerably longer than the frame period while silence is continued. Send to T once.

【0034】図4の構成の特徴は、最初にポスト・パタ
ーンを検出した時には直ちに白色雑音で再生背景雑音を
形成せず、符号化回路が無音と判定した時のポスト・パ
ターンに付随する送信側の背景雑音である符号化データ
を再生背景雑音とする。その後、符号化データと白色雑
音とによって(1)式で得られる再生背景雑音を生成
し、徐々に送信側の背景雑音から白色雑音へと切り替え
る。
The feature of the configuration of FIG. 4 is that when the post pattern is first detected, the reproduction background noise is not immediately formed by white noise, and the transmitter side associated with the post pattern when the encoding circuit determines that there is no sound. The coded data that is the background noise of is the reproduction background noise. Thereafter, the reproduced background noise obtained by the equation (1) is generated by the encoded data and the white noise, and the background noise on the transmitting side is gradually switched to the white noise.

【0035】この切替えを行なうのが図4の第一の利得
制御回路と第二の利得制御回路で、第一の利得制御回路
の利得係数は(1−m)、第二の利得制御回路の利得係
数はmである。このmは、最初にポスト・パターンを検
出した時刻0では値0をとり、次のポスト・パターンを
検出する時刻Tでは値1をとり、時刻T以降も無音が継
続する場合にはmは1に固定される。従って、再生背景
雑音は、送信側の背景雑音から受信側に設けられている
白色雑音発生器が出力する白色雑音に連続的に切り替え
ることができ、聴き手は有音から無音に切り替わったこ
とを感じにくく、時刻T以降も無音中は再生背景雑音は
連続になる。
This switching is performed by the first gain control circuit and the second gain control circuit of FIG. 4, the gain coefficient of the first gain control circuit is (1-m), and the gain control circuit of the second gain control circuit is The gain coefficient is m. This m takes a value 0 at the time 0 when the first post pattern is detected, takes a value 1 at the time T when the next post pattern is detected, and m is 1 when silence continues after the time T. Fixed to. Therefore, the playback background noise can be continuously switched from the background noise on the transmitting side to the white noise output by the white noise generator provided on the receiving side, and the listener can confirm that the voice has switched from voiced to silence. It is difficult to feel, and the playback background noise is continuous even after the time T during silence.

【0036】この利得を制御するmは時刻0で値が0
で、時刻Tで値が1であり、時間Tの間でほぼ一様に変
化すれば変化の仕方には制約はないが、時間Tの間で直
線的に変化するのが最も実現しやすい。この様に変化す
るmは、フレーム周期をTF 、ポスト・パターンの周期
をT、ポスト・パターンの周期とフレーム周期の比を
k、時間をtとすれば、0≦t≦Tにおいてmは次の式
で与えられる。
The value m for controlling this gain is 0 at time 0.
Then, if the value is 1 at time T and changes substantially uniformly during time T, there is no restriction on the way of change, but it is easiest to change linearly during time T. The m changing in this way is such that m is 0 ≦ t ≦ T, where T F is the frame period, T is the period of the post pattern, k is the ratio of the period of the post pattern to the frame period, and t is time. It is given by the following formula.

【0037】[0037]

【数2】 [Equation 2]

【0038】実際には完全に連続なmを生成するには無
理があるので、フレーム周期TF ごとに上記mを計算す
れば、0から1/kステップで1までの値を得ることが
できる。そして、時刻Tを過ぎたらmを1に固定する。
In reality, it is impossible to generate completely continuous m. Therefore, if m is calculated for each frame period T F , values from 0 to 1 can be obtained in 1 / k steps. . Then, after the time T, m is fixed to 1.

【0039】図5は、本発明の復号化回路の第四の実施
例の背景雑音生成のフローチャートである。以下図5の
符号に従ってmの演算について説明する。 A.mを0に設定する。 B.ポスト・パターンを検出し、ポスト・パターンが検
出されない時にはAに戻る。 C.ポスト・パターンが検出された時には(2)式の演
算を行ない、再生背景雑音を求める。 D.プレ・パターンを検出し、プレ・パターンが検出さ
れた時にはAに戻る。 E.プレ・パターンが検出されない時には、フレーム周
期TF を計測する。 F.フレーム周期の計測回数がkを超えたか判定し、k
を超えていない時にはCに戻る。 F.kを超えた時にはmを1に固定してCに戻る。
FIG. 5 is a flow chart of background noise generation of the fourth embodiment of the decoding circuit of the present invention. The calculation of m will be described below with reference to the reference numerals in FIG. A. Set m to 0. B. A post pattern is detected, and when no post pattern is detected, the process returns to A. C. When the post pattern is detected, the equation (2) is calculated to obtain the reproduced background noise. D. The pre-pattern is detected, and when the pre-pattern is detected, the process returns to A. E. When the pre-pattern is not detected, the frame period T F is measured. F. It is determined whether the number of frame period measurements exceeds k, and k
When not exceeding, return to C. F. When it exceeds k, m is fixed at 1 and the process returns to C.

【0040】図6は、このように生成された背景雑音レ
ベルの推移を示す図である。図6においてt=0は最初
にポスト・パターンが検出された時刻で、この時にはポ
スト・パターンに付随して送られてきた背景雑音を再生
する。以降はTF ごとに(1)式で再生背景雑音を求め
てt=Tまで(1)式によって再生を続ける(この時点
でTF の計測回数がk)。t=Tでm=1となり、再生
背景雑音は復号化回路の白色雑音発生器が発生する白色
雑音のみで生成される。そして、t>Tではm=1に固
定するので、再生背景雑音はt=Tのままに固定され
る。
FIG. 6 is a diagram showing the transition of the background noise level thus generated. In FIG. 6, t = 0 is the time when the post pattern is first detected, and at this time, the background noise sent along with the post pattern is reproduced. After that, the reproduction background noise is calculated for each T F by the expression (1), and the reproduction is continued by the expression (1) until t = T (the number of times T F is measured is k). At t = T, m = 1, and the reproduced background noise is generated only by the white noise generated by the white noise generator of the decoding circuit. Then, at t> T, m = 1 is fixed, so that the reproduced background noise is fixed at t = T.

【0041】尚、図5のフローチャートにおいては、t
>Tにおいてmを1に固定して(1)式の再生背景雑音
の演算をフレームごとに継続するようにしているが、t
=Tにおける再生背景雑音を加算回路に記憶するように
しておけば、t>Tにおいては(1)式による演算が不
要になる。
In the flowchart of FIG. 5, t
At m> T, m is fixed to 1 and the calculation of the reproduction background noise of the formula (1) is continued for each frame.
If the reproduced background noise at = T is stored in the adding circuit, the calculation by the equation (1) is not necessary at t> T.

【0042】図7は、本発明の復号化回路の第五の実施
例である。図7において、20は回線復号器、21は音
声復号器、22はプレ/ポスト・パターン検出器、23
は白色雑音発生器、30は第一の利得制御回路、30a
は第二の利得制御回路、30bは第三の利得制御回路、
30cは第四の利得制御回路、31は第一の加算回路、
31aは第二の加算回路、32はパワー演算回路、33
は乗算回路、26はデジタル・アナログ変換器である本
発明の第四の実施例においては、t>Tにおいてmを1
に固定して復号化回路の白色雑音発生器が発生する白色
雑音で背景雑音を再生するが、本発明の第五の実施例に
おいては、t>Tにおいても無音が継続する場合には、
白色雑音のレベルをポスト・パターンに付随して送られ
てきた符号化データのレベルに漸近させる。即ちt>T
において、前記第二の利得制御回路の出力と、パワー演
算回路において符号化データのパワーPC と白色雑音の
パワーPW を演算し、両者の比PC /PW の平方根を求
めて白色雑音発生器の出力に乗算したものとによって、
次の式で与えられる再生背景雑音R’を生成する。
FIG. 7 is a fifth embodiment of the decoding circuit of the present invention. In FIG. 7, 20 is a line decoder, 21 is a voice decoder, 22 is a pre / post pattern detector, and 23.
Is a white noise generator, 30 is a first gain control circuit, 30a
Is a second gain control circuit, 30b is a third gain control circuit,
30c is a fourth gain control circuit, 31 is a first adding circuit,
31a is a second addition circuit, 32 is a power calculation circuit, 33
Is a multiplication circuit, and 26 is a digital-analog converter. In the fourth embodiment of the present invention, m is 1 when t> T.
The background noise is reproduced by the white noise generated by the white noise generator of the decoding circuit fixed to, but in the fifth embodiment of the present invention, when the silence continues even at t> T,
The level of white noise is made asymptotic to the level of coded data sent along with the post pattern. That is, t> T
In the above, the output of the second gain control circuit, the power P C of the encoded data and the power P W of the white noise are calculated in the power calculation circuit, and the square root of the ratio P C / P W of the two is calculated to obtain the white noise. By the output of the generator multiplied by
A reproduction background noise R ′ given by the following equation is generated.

【0043】[0043]

【数3】 [Equation 3]

【0044】ここで、nはt≦Tでは0で、T<t<2
Tで0から1に徐々に変化し、t≧2Tにおいて値1を
とる数である。又、RT はt=Tにおける(1)式によ
る再生背景雑音Rで、Wに等しい。
Here, n is 0 when t ≦ T, and T <t <2.
It is a number that gradually changes from 0 to 1 at T and takes a value of 1 when t ≧ 2T. Further, R T is the reproduction background noise R according to the equation (1) at t = T and is equal to W.

【0045】図8は、本発明の復号化回路の第五の実施
例における背景雑音生成のフローチャートである。以下
図8の符号に従って本発明の復号化回路の第五の実施例
における背景雑音の生成方法について説明する。 A.m、nを0に設定する。 B.ポスト・パターンを検出し、ポスト・パターンが検
出されない時にはAに戻る。 C.ポスト・パターンが検出された時には(2)式の演
算を行ない、再生背景雑音を求める。 D.プレ・パターンを検出し、プレ・パターンが検出さ
れた時にはAに戻る。 E.プレ・パターンが検出されない時には、フレーム周
期TF を計測する。 F.フレーム周期の計測回数がkを超えたか判定し、k
を超えない時にはCに戻る。 G.kを超える時にはmを1に固定して、(3)式によ
って再生背景雑音R’を生成する。 H.プレ・パターンを検出し、プレ・パターンが検出さ
れた時にはAに戻る。 I.プレ・パターンが検出されない時には、t=Tを起
点にフレーム周期TF を計測する。 J.フレーム周期の計測回数がkを超えたか判定し、k
を超えない時にはGに戻。 K.フレーム周期の計測回数がkを超えた時にはnを1
に固定してGに戻る。
FIG. 8 is a flow chart of background noise generation in the fifth embodiment of the decoding circuit of the present invention. A method of generating background noise in the fifth embodiment of the decoding circuit of the present invention will be described below with reference to the reference numerals of FIG. A. Set m and n to 0. B. A post pattern is detected, and when no post pattern is detected, the process returns to A. C. When the post pattern is detected, the equation (2) is calculated to obtain the reproduced background noise. D. The pre-pattern is detected, and when the pre-pattern is detected, the process returns to A. E. When the pre-pattern is not detected, the frame period T F is measured. F. It is determined whether the number of frame period measurements exceeds k, and k
If it does not exceed, return to C. G. When k is exceeded, m is fixed to 1 and the reproduction background noise R ′ is generated by the equation (3). H. The pre-pattern is detected, and when the pre-pattern is detected, the process returns to A. I. When the pre-pattern is not detected, the frame period T F is measured starting from t = T. J. It is determined whether the number of frame period measurements exceeds k, and k
If it does not exceed, return to G. K. When the number of frame cycle measurements exceeds k, n is set to 1
Fix to and return to G.

【0046】図9は、このように生成された背景雑音レ
ベルの推移を示す図である。図9においてt=0は最初
にポスト・パターンが検出された時刻で、この時にはポ
スト・パターンに付随して送られてきた背景雑音を再生
する。以降はTF ごとに(1)式で再生背景雑音を求め
てt=Tまで(1)式によって再生を続ける(この時点
でTF の計測回数がk)。t=Tでm=1に固定し、以
降は(3)式で再生背景雑音を生成する。従って(1)
式と(3)式による背景雑音はt=Tで連続となり、以
降は(3)式によって生成される白色雑音のレベルはポ
スト・パターンに付随して送られてきた送信側の背景雑
音のレベルに漸近してゆき、t=2Tにおいてほぼポス
ト・パターンに付随して送られてきた送信側の背景雑音
のレベルに等しくなる。それ以降は、nが1に固定され
ているので、再生背景雑音のレベルは一定に保たれる。
FIG. 9 is a diagram showing the transition of the background noise level thus generated. In FIG. 9, t = 0 is the time when the post pattern is first detected, and at this time, the background noise sent along with the post pattern is reproduced. After that, the reproduction background noise is calculated for each T F by the expression (1), and the reproduction is continued by the expression (1) until t = T (the number of times T F is measured is k). At t = T, m = 1 is fixed, and thereafter, reproduction background noise is generated by the expression (3). Therefore (1)
The background noise according to the formula and the formula (3) becomes continuous at t = T, and thereafter, the level of the white noise generated by the formula (3) is the level of the background noise on the transmitting side transmitted along with the post pattern. , And becomes equal to the level of the background noise on the transmitting side which is transmitted along with the post pattern at t = 2T. After that, since n is fixed at 1, the reproduction background noise level is kept constant.

【0047】本発明の復号化回路の第五の実施例の特徴
は、背景雑音は大幅には変化しないので、無音が2T以
上継続して有音に変化する場合、無音から有音への変化
に伴う背景雑音のレベル差を小さくでき、聴き手に切り
替わりを感じさせないことである。
The feature of the fifth embodiment of the decoding circuit of the present invention is that the background noise does not change significantly, so that when silence changes continuously to 2T or more, it changes from silence to speech. The difference in the level of background noise due to is reduced, and the listener does not feel the change.

【0048】尚、図8のフローチャートにおいては、t
>2Tにおいてnを1に固定して(3)式で再生背景雑
音の演算をフレームごとに継続するようにしているが、
t=2Tにおける再生背景雑音を第二の加算回路に記憶
するようにしておけば、t>2Tにおいては(3)式に
よる演算が不要になる。
In the flowchart of FIG. 8, t
At> 2T, n is fixed to 1 and the calculation of the reproduced background noise is continued for each frame by the formula (3).
If the reproduced background noise at t = 2T is stored in the second addition circuit, the calculation by the equation (3) is not necessary at t> 2T.

【0049】又、図7の構成では、第一の加算回路の出
力側に第三の利得制御回路を設けて、第四の利得制御回
路の出力と加算する構成としているが、第三の利得制御
回路を第二の利得制御回路の出力側に設けて、第一の利
得制御回路と第三の利得制御回路と第四の利得制御回路
の出力を加算するようにすれば、(3)式で得られる再
生背景雑音に近似した背景雑音を得られる上に、加算回
路を一つ省略することができる。
Further, in the configuration of FIG. 7, the third gain control circuit is provided on the output side of the first addition circuit to add with the output of the fourth gain control circuit. If the control circuit is provided on the output side of the second gain control circuit and the outputs of the first gain control circuit, the third gain control circuit, and the fourth gain control circuit are added, the formula (3) is obtained. In addition to obtaining background noise close to the reproduced background noise obtained in step 1, one adder circuit can be omitted.

【0050】図10は、本発明の復号化回路の第六の実
施例である。図10において、20は回線復号器、21
は音声復号器、22はプレ/ポスト・パターン検出器、
23は白色雑音発生器、30は第一の利得制御回路、3
0aは第二の利得制御回路、30bは第三の利得制御回
路、30cは第四の利得制御回路、31は第一の加算回
路、31aは第二の加算回路、26はデジタル・アナロ
グ変換器である本発明の第五の実施例においては、t>
Tにおいても無音が継続する場合には、白色雑音のレベ
ルをポスト・パターンに付随して送られてきた符号化デ
ータのレベルに漸近させるが、本発明の第六の実施例に
おいては、t>Tにおいて白色雑音からポスト・パター
ンに付随して送られてきた符号化データに漸近させる。
即ち、次の式で与えられる再生背景雑音R”を生成す
る。
FIG. 10 shows a sixth embodiment of the decoding circuit according to the present invention. In FIG. 10, 20 is a line decoder, 21
Is a voice decoder, 22 is a pre / post pattern detector,
23 is a white noise generator, 30 is a first gain control circuit, 3
0a is a second gain control circuit, 30b is a third gain control circuit, 30c is a fourth gain control circuit, 31 is a first addition circuit, 31a is a second addition circuit, and 26 is a digital-analog converter. In a fifth embodiment of the invention, where t>
When silence continues even at T, the level of white noise is made asymptotic to the level of encoded data sent in association with the post pattern. In the sixth embodiment of the present invention, t> At T, the white noise is asymptotic to the coded data sent along with the post pattern.
That is, the reproduction background noise R ″ given by the following equation is generated.

【0051】[0051]

【数4】 [Equation 4]

【0052】ここで、nはt≦Tでは0で、T<t<2
Tで0から1へ徐々に変化し、t≧2Tにおいて値1を
とる数である。又、RT はt=Tにおける(2)式によ
る再生背景雑音Rで、Wに等しい。
Here, n is 0 when t ≦ T, and T <t <2.
It is a number that gradually changes from 0 to 1 at T and takes a value of 1 when t ≧ 2T. Further, R T is the reproduction background noise R according to the equation (2) at t = T and is equal to W.

【0053】図11は、本発明の復号化回路の第六の実
施例における背景雑音生成のフローチャートである。以
下図11の符号に従って本発明の復号化回路の第五の実
施例における背景雑音の生成方法について説明する。 A.m、nを0に設定する。 B.ポスト・パターンを検出し、ポスト・パターンが検
出されない時にはAに戻る。 C.ポスト・パターンが検出された時には(2)式の演
算を行ない、再生背景雑音を求める。 D.プレ・パターンを検出し、プレ・パターンが検出さ
れた時にはAに戻る。 E.プレ・パターンが検出されない時には、フレーム周
期TF を計測する。 F.フレーム周期の計測回数がkを超えたか判定し、k
を超えない時にはCに戻る。 G.kを超えた時にはmを1固定して、(4)式によっ
て再生背景雑音R”を生成する。 H.プレ・パターンを検出し、プレ・パターンが検出さ
れた時(Yes)にはAに戻る。 I.プレ・パターンが検出されない時(No)には、t
=Tを起点にフレーム周期TF を計測する。 J.フレーム周期の計測回数がkを超えたか判定し、k
を超えない時(No)にはGに戻る。 K.フレーム周期の計測回数がkを超えた時(Yes)
にはnを1に固定してGに戻る。
FIG. 11 is a flowchart of background noise generation in the sixth embodiment of the decoding circuit of the present invention. A background noise generating method in the fifth embodiment of the decoding circuit of the present invention will be described below with reference to the reference numerals of FIG. A. Set m and n to 0. B. A post pattern is detected, and when no post pattern is detected, the process returns to A. C. When the post pattern is detected, the equation (2) is calculated to obtain the reproduced background noise. D. The pre-pattern is detected, and when the pre-pattern is detected, the process returns to A. E. When the pre-pattern is not detected, the frame period T F is measured. F. It is determined whether the number of frame period measurements exceeds k, and k
If it does not exceed, return to C. G. When it exceeds k, m is fixed to 1 and the reproduction background noise R ″ is generated by the equation (4). H. When the pre-pattern is detected and the pre-pattern is detected (Yes), it is set to A. Return I. When no pre-pattern is detected (No), t
The frame period T F is measured starting from = T. J. It is determined whether the number of frame period measurements exceeds k, and k
When it does not exceed (No), the process returns to G. K. When the number of frame cycle measurements exceeds k (Yes)
, Fix n at 1 and return to G.

【0054】図12は、このように生成された背景雑音
レベルの推移を示す図である。図12においてt=0は
最初にポスト・パターンが検出された時刻で、この時に
はポスト・パターンに付随して送られてきた背景雑音を
再生する。以降はTF ごとに(2)式で再生背景雑音を
求めてt=Tまで(2)式によって再生を続ける(この
時点でTF の計測回数がk)。t=Tでm=1に固定
し、以降は(4)式で再生背景雑音を生成する。従って
(1)式と(4)式による背景雑音はt=Tで連続とな
り、以降は(4)式によって生成される再生背景雑音は
ポスト・パターンに付随して送られてきた送信側の背景
雑音に漸近してゆき、t=2Tにおいてほぼポスト・パ
ターンに付随して送られてきた送信側の背景雑音に等し
くなる。それ以降は、nが1に固定されているので、再
生背景雑音のレベルは一定に保たれる。
FIG. 12 is a diagram showing the transition of the background noise level thus generated. In FIG. 12, t = 0 is the time when the post pattern is first detected, and at this time, the background noise sent along with the post pattern is reproduced. After that, the reproduction background noise is obtained by the equation (2) for each T F , and the reproduction is continued by the equation (2) until t = T (the number of times T F is measured is k). At t = T, m = 1 is fixed, and thereafter, reproduction background noise is generated by the equation (4). Therefore, the background noise according to the equations (1) and (4) is continuous at t = T, and thereafter, the reproduced background noise generated according to the equation (4) is the background of the transmitting side transmitted along with the post pattern. It asymptotically approaches the noise, and becomes equal to the background noise on the transmitting side that is sent along with the post pattern at t = 2T. After that, since n is fixed at 1, the reproduction background noise level is kept constant.

【0055】本発明の復号化回路の第六の実施例の特徴
は、背景雑音は大幅には変化しないので、無音が2T以
上継続して有音に変化する場合、無音から有音への変化
に伴う背景雑音のレベル差を小さくできる上に、周波数
特性もポスト・パターンに付随して送ってきた背景雑音
に近似しているので、一層聴き手に切り替わりを感じさ
せないことである。
The feature of the sixth embodiment of the decoding circuit of the present invention is that the background noise does not change significantly, so when silence changes continuously to 2T or more, it changes from silence to speech. In addition to being able to reduce the level difference of the background noise associated with, the frequency characteristics are also similar to the background noise sent along with the post pattern, so that the listener does not feel the switching.

【0056】尚、図11のフローチャートにおいては、
t>2Tにおいてnを1に固定して(4)式で再生背景
雑音の演算をフレームごとに継続するようにしている
が、t=2Tにおける再生背景雑音を第二の加算回路に
記憶するようにしておけば、t>2Tにおいては(4)
式による演算が不要になる。
In the flow chart of FIG. 11,
When t> 2T, n is fixed to 1 and the calculation of the reproduction background noise is continued for each frame by the formula (4). However, the reproduction background noise at t = 2T is stored in the second addition circuit. If t> 2T, then (4)
Eliminates the need for formula calculations.

【0057】図10は、本発明の復号化回路の第七の実
施例をも示す。又、図13は、本発明の復号化回路の第
七の実施例の背景雑音生成のフローチャート、図14は
本発明の復号化回路の第七の実施例の背景雑音レベルの
推移である。
FIG. 10 also shows a seventh embodiment of the decoding circuit of the present invention. 13 is a flowchart of background noise generation of the seventh embodiment of the decoding circuit of the present invention, and FIG. 14 is a transition of background noise level of the seventh embodiment of the decoding circuit of the present invention.

【0058】図13、図14を見れば判るように、本発
明の第七の実施例の動作が本発明の第六の実施例の動作
と異なるのは、t>2Tにおいてはt=0(最初のポス
ト・パターン受信時点)でポスト・パターンに付随して
受けた符号化データを使用して背景雑音を生成するので
はなく、t=pT(pは2以上の正の整数)において受
信した符号化データを使用して背景雑音を生成する点で
ある。
As can be seen from FIGS. 13 and 14, the operation of the seventh embodiment of the present invention differs from the operation of the sixth embodiment of the present invention in that t = 0 (T = 0 ( Received at t = pT (p is a positive integer greater than or equal to 2) instead of using the encoded data received accompanying the post pattern at the time of the first post pattern reception) to generate background noise. The point is that background noise is generated using encoded data.

【0059】送信側では背景雑音に大幅な変化はないも
のの、若干の変化は生じているので、再生背景雑音をポ
スト・パターンを受信する度に更新する方が、無音時の
再生背景雑音と有音に復帰した時の背景雑音との差を一
層感じにくくなる利点がある。
Although the background noise does not change significantly on the transmitting side, a slight change occurs. Therefore, updating the playback background noise every time the post pattern is received causes the playback background noise to be the same as the playback background noise when there is no sound. There is an advantage that the difference from the background noise when returning to the sound is less likely to be felt.

【0060】尚、本発明の第七の実施例においても、t
>2Tにおいてポスト・パターンに付随して受信した符
号化データを代入して得た再生背景雑音を記憶して、再
生背景雑音をフレーム周期で演算しないようにすること
も可能である。
In the seventh embodiment of the present invention as well, t
It is also possible to store the reproduced background noise obtained by substituting the coded data received accompanying the post pattern at> 2T so that the reproduced background noise is not calculated in the frame period.

【0061】図15は、本発明の符号化回路の第二の実
施例の構成である。図15において、10はアナログ−
デジタル変換器、11は音声符号器、12は音声検出
器、15はプレ・パターン発生器、16はポスト・パタ
ーン発生器、17は切替器、18は回線符号器、19は
パワー・コード検出器である。図5の構成が図1の構成
と異なるのは、パワー・コード検出器が新たに設けら
れ、このパワー・コード検出器の出力によってポスト・
パターンと背景雑音生成のための信号の送出を制御する
点である。
FIG. 15 shows the configuration of the second embodiment of the encoding circuit of the present invention. In FIG. 15, 10 is an analog-
Digital converter, 11 is a voice encoder, 12 is a voice detector, 15 is a pre-pattern generator, 16 is a post-pattern generator, 17 is a switcher, 18 is a line encoder, 19 is a power code detector Is. The configuration of FIG. 5 differs from the configuration of FIG. 1 in that a power code detector is newly provided and the output of this power code detector causes
The point is to control the transmission of signals for pattern and background noise generation.

【0062】パワー・コード検出器は、ポスト・パター
ン出力直後の音声符号器の出力のパワーを検出し、コー
ド化して記憶する。その後、無音を検出している間に一
定間隔でポスト・パターンが発生するが、ポスト・パタ
ーンを発生する度に音声符号器の出力からパワー・コー
ドを検出し、検出したパワー・コードと記憶しているパ
ワー・コードを比較して、有意な差がない時にはポスト
・パターン及び背景雑音生成のための信号の送出を停止
する。これによって、音声符号器が動作する機会が縮減
されるので、送信電力の節減が可能になる。
The power code detector detects the power of the output of the speech coder immediately after the output of the post pattern, encodes it, and stores it. After that, post patterns are generated at regular intervals while detecting silence, but each time a post pattern is generated, the power code is detected from the output of the speech encoder and stored as the detected power code. The output power codes are compared, and when there is no significant difference, the signal transmission for post pattern and background noise generation is stopped. This reduces the opportunity for the speech coder to operate, thus saving transmission power.

【0063】図15の符号化回路に対して、既に説明し
た何れの復号化回路も対向できる。但し、この場合には
符号化回路でパワー・コードの変化を検出しない場合に
はポスト・パターンと背景雑音生成のための信号の送出
が停止されるので、音声復号器には最新の背景雑音生成
のための符号化データを記憶する機能を付加する必要が
ある。
Any of the decoding circuits already described can be opposed to the encoding circuit of FIG. However, in this case, if the encoding circuit does not detect a change in the power code, the transmission of the post pattern and the signal for generating the background noise is stopped. It is necessary to add the function of storing encoded data for.

【0064】図16は、本発明の符号化回路の第三の実
施例の構成である。図16において、10はアナログ−
デジタル変換器、11は音声符号器、12は音声検出
器、13は周波数特性抽出器、14は最小誤差パターン
選択器、15はプレ・パターン発生器、16はポスト・
パターン発生器、17は切替器、18は回線符号器、1
9はパワー・コード検出器である。図6の構成が図5の
構成と違うのは、無音時におけるデジタル変換された音
声帯域信号の周波数特性を抽出し、抽出された周波数特
性のパターンとの誤差が最小となる雑音パターンを、最
小誤差パターン選択器が有するコードブックの中から選
択し、選択されたパターンを背景雑音を生成するための
符号化データとして送出する点である。そして、音声符
号器の出力から検出されるパワー・コードが変化しない
場合にはコードブックから選択されたパターンの送出を
停止する。図16の符号化回路と対向で使用する復号化
回路の構成は、既に説明した図1、図2、図3の何れで
もよい。又、この場合には符号化回路でパワー・コード
の変化を検出しない場合にはポスト・パターンと背景雑
音生成のための信号の送出が停止されるので、音声復号
器には最新の背景雑音を生成するための符号化データを
記憶する機能を付加する必要がある。
FIG. 16 shows the configuration of the third embodiment of the encoding circuit of the present invention. In FIG. 16, 10 is an analog-
A digital converter, 11 is a voice encoder, 12 is a voice detector, 13 is a frequency characteristic extractor, 14 is a minimum error pattern selector, 15 is a pre-pattern generator, and 16 is a post-pattern generator.
Pattern generator, 17 is a switch, 18 is a line encoder, 1
9 is a power code detector. The configuration of FIG. 6 is different from that of FIG. 5 in that the frequency characteristic of a digitally converted voice band signal in the absence of sound is extracted, and the noise pattern having the smallest error from the extracted frequency characteristic pattern is minimized. This is the point of selecting from the codebook of the error pattern selector and transmitting the selected pattern as encoded data for generating background noise. Then, when the power code detected from the output of the speech coder does not change, the transmission of the pattern selected from the codebook is stopped. The configuration of the decoding circuit used in opposition to the encoding circuit of FIG. 16 may be any of FIG. 1, FIG. 2 and FIG. 3 already described. Also, in this case, if the encoding circuit does not detect the change in the power code, the transmission of the signal for generating the post pattern and the background noise is stopped, so that the latest background noise is supplied to the speech decoder. It is necessary to add the function of storing encoded data for generation.

【0065】さて、符号化回路は、音声の無音区間にお
いてはポスト・パターン及び背景雑音生成のための信号
を送出する時以外は、復号化回路では使用しないダミー
・データを切替器から送出している。音声符号化データ
は誤りなく伝送されればCRCエラーが生じない(CR
C=0)ように形成されているので、ダミー・データは
伝送中に誤りがなければ必ずCRCエラーが生ずる(C
RC=1)ように形成ししておけば、プレ/ポスト・パ
ターンが符号誤りのために認識できなかった時にも、復
号化回路において受信信号をCRCチェックすることに
よって、有音・無音の切替えの時間的位置を検出でき
る。
Now, the coding circuit sends dummy data, which is not used in the decoding circuit, from the switcher except when the signal for generating the post pattern and the background noise is sent in the silent section of the voice. There is. CRC error does not occur if voice coded data is transmitted without error (CR
Since C = 0), a CRC error always occurs in the dummy data if there is no error during transmission (C
If it is formed such that RC = 1), even if the pre / post pattern cannot be recognized due to a code error, the decoding circuit performs a CRC check on the received signal to switch between sound and silence. The time position of can be detected.

【0066】図17は、上記の原理に基づく本発明の復
号化回路の第八の実施例の構成である。図17におい
て、20は回線復号器、21は音声復号器、22はプレ
/ポスト・パターン検出器、23は白色雑音検出器、2
4は雑音特性畳み込み演算回路、25は切替え器、26
はデジタル・アナログ変換器、30はプレ/ポスト・パ
ターン時間位置判定器である。図17の構成の特徴は、
伝送路で符号誤りが生じてもプレ/ポスト・パターンの
時間位置を判定できる、プレ/ポスト・パターン時間位
置判定器を設けたことである。なお、図17においては
図1の構成の復号化回路に設けているが、図2、図3の
構成においても同様にプレ/ポスト・パターン時間位置
判定回路を設けることができる。
FIG. 17 shows the configuration of an eighth embodiment of the decoding circuit of the present invention based on the above principle. In FIG. 17, 20 is a line decoder, 21 is a voice decoder, 22 is a pre / post pattern detector, 23 is a white noise detector, and 2
4 is a noise characteristic convolution operation circuit, 25 is a switcher, 26
Is a digital / analog converter, and 30 is a pre / post pattern time position determiner. The feature of the configuration of FIG. 17 is that
This is to provide a pre / post pattern time position determiner capable of determining the time position of the pre / post pattern even if a code error occurs in the transmission line. 17 is provided in the decoding circuit having the configuration shown in FIG. 1, the pre / post pattern time position determination circuit can be provided similarly in the configurations shown in FIGS.

【0067】図18は、プレ/ポスト・パターン時間位
置判定器のフローチャートである。プレ/ポスト・パタ
ーン時間位置判定器は、通信が継続できる範囲の誤りで
あれば、所定のビット長の中に誤りがあっても、それが
長くは連続しないことを利用して、且つ、正しく受信さ
れればダミー・データのみにおいて必ずCRCエラーが
発生し、それ以外ではCRCエラーが発生しないように
して送信される符号のCRCチェックを行なってダミー
・データか否かを判定する。以下にステップを追ってそ
の動作を説明する。 A.有音、無音の状態を記憶しているレジスタの内容を
確認する。 B.有音の場合には、CRCチェックの誤り回数を計数
するエラーカウンタをリセットする。 C.CRCチェックをして、チェック結果が誤りか否か
を判定する。誤りでない場合、即ちCRC=0の場合
(No)にはBに戻る。 D.CRCチェック結果が誤りの場合、即ちCRC=1
の場合(Yes)には、誤り回数をエラーカウンタで計
数をする。 E.エラーカウンタの計数結果が所定数Nに達したか否
か判定する。Nに達していない場合(No)にはCへ戻
る。 F.エラーカウンタの計数結果がNに達した場合(Ye
s)には、ポスト・パターンを見失っていたと判定し、
無音区間であるとする。 G.有音、無音の状態を記憶しているレジスタの内容を
書き換えてAに戻る。 H.一方、無音の状態を記憶しているレジスタの内容か
ら無音区間であると確認された場合には、ノーエラーカ
ウンタをリセットする。 I.CRCチェックをして、チェック結果が正しいか否
かを判定する。正しくない場合、即ちCRC=1の場合
(No)にはHに戻る。 J.CRCチェック結果が正しい場合、即ちCRC=0
の場合(Yes)には、正しい回数をノーエラーカウン
タで計数する。 K.ノーエラーカウンタの計数結果が所定数Mに達した
か否かを判定する。Mに達していない場合(No)には
Iに戻る。 L.ノーエラーカウンタの計数結果が所定数Mに達した
場合(Yes)には、プレ・パターンを見失っていたと
判定して、有音区間であるとする。 G.有音、無音の状態を記憶しているレジスタの内容を
書き換えてAに戻る。
FIG. 18 is a flow chart of the pre / post pattern time position determiner. The pre / post pattern time position determiner uses the fact that even if there is an error in the predetermined bit length, it does not continue for a long time if the error is within the range in which communication can be continued, and If it is received, a CRC error will always occur only in the dummy data, and in other cases, the CRC error will not occur and the CRC check of the code to be transmitted is performed to determine whether or not it is the dummy data. The operation will be described below step by step. A. Check the contents of the register that stores the voiced and silent states. B. If there is sound, an error counter that counts the number of CRC check errors is reset. C. A CRC check is performed to determine whether the check result is incorrect. When there is no error, that is, when CRC = 0 (No), the procedure returns to B. D. When the CRC check result is incorrect, that is, CRC = 1
In the case of (Yes), the number of errors is counted by the error counter. E. It is determined whether or not the counting result of the error counter has reached a predetermined number N. If it has not reached N (No), the procedure returns to C. F. When the count result of the error counter reaches N (Ye
In s), it was determined that the post pattern was lost,
It is assumed that it is a silent section. G. The contents of the register storing the voiced and silent states are rewritten and the process returns to A. H. On the other hand, if it is confirmed from the contents of the register storing the silent state that there is a silent period, the no error counter is reset. I. A CRC check is performed to determine whether the check result is correct. When it is not correct, that is, when CRC = 1 (No), the process returns to H. J. When the CRC check result is correct, that is, CRC = 0
In the case of (Yes), the correct number is counted by the no-error counter. K. It is determined whether or not the count result of the no-error counter has reached a predetermined number M. If it has not reached M (No), the process returns to I. L. When the count result of the no-error counter reaches the predetermined number M (Yes), it is determined that the pre-pattern has been lost, and it is determined that it is a voiced section. G. The contents of the register storing the voiced and silent states are rewritten and the process returns to A.

【0068】尚、符号化回路の構成において、従来の構
成から本発明の構成にいたるまで全て、回線復号器を符
号化回路の出力に設置する構成で説明してきたが、回線
符号器を切替器と音声符号器との間に設置することも可
能である。この場合には、無音の時には回線符号器も停
止することが可能なので、一層の低消費電力化が果たさ
れる。ただ、この場合には、ポスト・パターンとプレ・
パターンは、CRC演算したパターンに予め変換してお
く必要がある。
In the configuration of the encoding circuit, from the conventional configuration to the configuration of the present invention, the line decoder is installed at the output of the encoding circuit, but the line encoder is the switch. It is also possible to install it between the audio encoder and the audio encoder. In this case, since the line encoder can be stopped when there is no sound, the power consumption can be further reduced. However, in this case, the post pattern and the pre pattern
It is necessary to convert the pattern into a pattern that has been subjected to CRC calculation in advance.

【0069】又、上記においては、符号化回路及び復号
化回路における切替器について説明をしていない。簡単
であるので図面を用いないで、図1の符号化回路におけ
る切替器を例に説明しておく。
Further, in the above, the switch in the encoding circuit and the decoding circuit is not described. Since it is simple, the switching device in the encoding circuit of FIG. 1 will be described as an example without using the drawing.

【0070】音声検出器は、有音、無音を検出して信号
を出力する。例えば、有音の時に1とし、無音の時に0
とする。これを受けて、切替器は有音が継続する時には
音声符号器の出力を、有音から無音に変化する時と無音
が継続する時にはポスト・パターンを、無音から有音に
変化する時にはプレ・パターンを選択して送出する。従
って、音声検出器の出力と1周期前の音声検出器の出力
を監視することで、上記のどの状態であるかを判断でき
る。即ち、11なら有音の継続、10なら無音への変
化、00なら無音の継続、01なら有音への変化である
ことが判る。従って、音声検出器の出力と1周期前の音
声検出器の出力とを、入力を論理反転しない論理積回路
(aとする)と、第二の入力を論理反転する論理積回路
(bとする)と、第一、第二の入力を論理反転する論理
積回路(cとする)と、第一の入力を論理反転する論理
積回路(dとする)に導き、aの出力が1の時に音声符
号器の出力を選択し、b及びcの出力が1の時にポスト
・パターンを選択し、dの出力が1の時にプレ・パター
ンを選択すればよい。音声符号器、プレ・パターン発生
器、ポスト・パターン発生器の出力は単ビットではない
ので、例えば、音声検出器の出力は1周期の間ラッチさ
れたものである。尚、最小誤差パターン選択回路の出力
は、ポスト・パターンを選択する信号をポスト・パター
ンの継続時間だけ遅延させた信号で選択すればよい。
The voice detector detects sound and silence and outputs a signal. For example, it is 1 when there is sound and 0 when there is no sound.
And In response to this, the switching device outputs the output of the voice encoder when the voice continues, the post pattern when the voice changes from the voice to the silence and the post pattern when the voice changes from the voice to the voice. Select and send the pattern. Therefore, by monitoring the output of the voice detector and the output of the voice detector one cycle before, it is possible to determine which of the above states is present. That is, it can be seen that 11 indicates the continuation of the sound, 10 indicates the change to the silence, 00 indicates the continuation of the sound, and 01 indicates the change to the sound. Therefore, the output of the voice detector and the output of the voice detector one cycle before are the logical product circuit (a) which does not logically invert the input and the logical product circuit (b) which logically invert the second input. ), And a logical product circuit (designated as c) that logically inverts the first and second inputs, and a logical product circuit (designated as d) that logically reverses the first input, and when the output of a is 1. The output of the speech encoder is selected, the post pattern is selected when the outputs of b and c are 1, and the pre pattern is selected when the output of d is 1. The outputs of the speech encoder, pre-pattern generator, and post-pattern generator are not single bit, so for example the output of the speech detector is latched for one period. The output of the minimum error pattern selection circuit may be selected by a signal obtained by delaying the signal for selecting the post pattern by the duration of the post pattern.

【0071】[0071]

【発明の効果】以上説明したように、本発明により再生
信号の品質劣化の防止と不必要な処理の削除が可能な無
音区間情報の符号化及び復号化回路を実現することがで
き、移動通信機器の通話性能向上と低消費電力化に寄与
することができる。
As described above, according to the present invention, it is possible to realize a coding / decoding circuit for silent section information capable of preventing deterioration of quality of a reproduced signal and deleting unnecessary processing, and mobile communication. It is possible to contribute to improving the call performance of the device and reducing the power consumption.

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

【図1】 本発明の実施例。FIG. 1 is an embodiment of the present invention.

【図2】 本発明の復号化回路の第二の実施例。FIG. 2 is a second embodiment of the decoding circuit of the present invention.

【図3】 本発明の復号化回路の第三の実施例。FIG. 3 shows a third embodiment of the decoding circuit of the present invention.

【図4】 本発明の復号化回路の第四の実施例。FIG. 4 is a fourth embodiment of the decoding circuit of the present invention.

【図5】 本発明の復号化回路の第四の実施例の背景雑
音生成のフローチャート。
FIG. 5 is a flowchart of background noise generation of the fourth embodiment of the decoding circuit of the present invention.

【図6】 本発明の復号化回路の第四の実施例の背景雑
音レベルの推移。
FIG. 6 is a background noise level transition of a fourth embodiment of the decoding circuit of the present invention.

【図7】 本発明の復号化回路の第五の実施例。FIG. 7 is a fifth embodiment of the decoding circuit of the present invention.

【図8】 本発明の復号化回路の第五の実施例の背景雑
音生成のフローチャート。
FIG. 8 is a flowchart of background noise generation of the fifth embodiment of the decoding circuit of the present invention.

【図9】 本発明の復号化回路の第五の実施例の背景雑
音レベルの推移。
FIG. 9 is a transition of the background noise level of the fifth embodiment of the decoding circuit of the present invention.

【図10】 本発明の復号化回路の第六の実施例。FIG. 10 is a sixth embodiment of the decoding circuit of the present invention.

【図11】 本発明の復号化回路の第六の実施例の背景
雑音生成のフローチャート。
FIG. 11 is a flowchart of background noise generation of the sixth embodiment of the decoding circuit of the present invention.

【図12】 本発明の復号化回路の第六の実施例の背景
雑音レベルの推移。
FIG. 12 is a transition of the background noise level of the sixth embodiment of the decoding circuit of the present invention.

【図13】 本発明の復号化回路の第七の実施例の背景
雑音生成のフローチャート。
FIG. 13 is a flowchart of background noise generation of the seventh embodiment of the decoding circuit of the present invention.

【図14】 本発明の復号化回路の第七の実施例の背景
雑音レベルの推移。
FIG. 14 is a background noise level transition of the seventh embodiment of the decoding circuit of the present invention.

【図15】 本発明の符号化回路の第二の実施例。FIG. 15 is a second embodiment of the encoding circuit of the present invention.

【図16】 本発明の符号化回路の第三の実施例。FIG. 16 shows a third embodiment of the encoding circuit of the present invention.

【図17】 本発明の復号化回路の第八の実施例。FIG. 17 is an eighth embodiment of the decoding circuit of the present invention.

【図18】 プレ/ポスト・パターン時間位置判定器の
フローチャート。
FIG. 18 is a flowchart of a pre / post pattern time position determiner.

【図19】 従来の符号化回路。FIG. 19 is a conventional encoding circuit.

【図20】 従来の復号化回路(その1)。FIG. 20 shows a conventional decoding circuit (No. 1).

【図21】 従来の復号化回路(その2)。FIG. 21 shows a conventional decoding circuit (2).

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

10 アナログ−デジタル変換器 11 音声符号器 12 音声検出器 13 周波数特性抽出器 14 最小誤差パターン選択回路。 15 プレ・パターン発生器 16 ポスト・パターン発生器 17 切替器 18 回線符号器 20 回線復号器 21 音声復号器 22 プレ/ポスト・パターン検出器 23 白色雑音発生器 24 雑音特性畳み込み演算回路 25 切替器 26 デジタル・アナログ変換器 10 analog-digital converter 11 speech encoder 12 speech detector 13 frequency characteristic extractor 14 minimum error pattern selection circuit. 15 pre-pattern generator 16 post-pattern generator 17 switcher 18 line encoder 20 line decoder 21 voice decoder 22 pre / post pattern detector 23 white noise generator 24 noise characteristic convolution operation circuit 25 switcher 26 Digital / Analog converter

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 音声の有音と無音を検出し、有音時には
音声符号器の出力を送出し、無音時には音声符号器を停
止してポスト・パターン及び背景雑音再生のための符号
化データを送出し、受信側でポスト・パターンを検出し
た時には背景雑音を再生し、有音時には音声復号器の出
力を再生するVOX方式における無音区間情報の符号化
及び復号化回路であって、 符号化回路は、 アナログ−デジタル変換された音声帯域信号の周波数特
性を抽出してパターン化する周波数特性抽出器(13)
と、 雑音パターン群を有し、該周波数特性抽出器の出力パタ
ーンに最も近似する雑音パターンを選択して出力する最
小誤差パターン選択回路(14)とを備え、 無音時には符号化データとして該最小誤差パターン選択
回路の出力を送出する符号化回路であり、 復号化回路は、 受信した最小誤差パターンと白色雑音発生器の出力パタ
ーンとの畳み込み演算を行なう雑音特性畳み込み演算回
路(24)を備え、 ポスト・パターンを受信した時には該雑音特性畳み込み
演算回路の出力を再生する復号化回路であることを特徴
とする無音区間情報の符号化及び復号化回路。
1. A method for detecting voiced and non-voiced speech, outputting the output of the voice encoder when the voice is present, and stopping the voice encoder when there is no voice to generate post pattern and encoded data for background noise reproduction. A coding circuit and a decoding circuit for silent section information in the VOX system that reproduces background noise when a post pattern is detected on the receiving side and reproduces the output of a voice decoder when there is sound. Is a frequency characteristic extractor (13) for extracting and patterning the frequency characteristic of the analog-digital converted voice band signal.
And a minimum error pattern selection circuit (14) that has a noise pattern group and selects and outputs a noise pattern that is closest to the output pattern of the frequency characteristic extractor, and outputs the minimum error as encoded data when there is no sound. The decoding circuit is an encoding circuit that outputs the output of the pattern selection circuit, and the decoding circuit includes a noise characteristic convolution operation circuit (24) that performs a convolution operation of the received minimum error pattern and the output pattern of the white noise generator. A coding and decoding circuit for silent section information, which is a decoding circuit for reproducing the output of the noise characteristic convolution operation circuit when receiving a pattern.
【請求項2】 請求項1記載の無音区間情報の符号化及
び復号化回路であって、 復号化回路は、 音声復号器の出力の周波数特性を抽出してパターン化す
る周波数特性抽出器と、 雑音パターン群を有し、該周波数特性抽出器の出力パタ
ーンに最も近似する雑音パターンを選択して出力する最
小誤差パターン選択回路とを備え、 該最小誤差パターン選択回路の出力と白色雑音発生器の
出力とを前記雑音特性畳み込み演算回路において畳み込
み演算する復号化回路であることを特徴とする無音区間
情報の符号化及び復号化回路。
2. The encoding / decoding circuit for silent section information according to claim 1, wherein the decoding circuit extracts a frequency characteristic of an output of the speech decoder, and patterns the frequency characteristic. A minimum error pattern selection circuit that has a noise pattern group and that selects and outputs a noise pattern that is closest to the output pattern of the frequency characteristic extractor, and the output of the minimum error pattern selection circuit and the white noise generator A coding and decoding circuit for silent period information, which is a decoding circuit for performing a convolution operation on the output and the noise characteristic convolution operation circuit.
【請求項3】 請求項1記載の無音区間情報の符号化及
び復号化回路であって、 復号化回路は、 音声復号器出力信号の周波数特性を抽出してパターン化
する周波数特性抽出器と、 人間の聴覚の平均的周波数特性のパターンを前記周波数
特性抽出器の出力パターンに畳み込み演算する聴覚重み
付け回路と、 雑音パターン群を有し、前記聴覚重み付け回路の出力パ
ターンに最も近似する雑音パターンを選択して出力する
最小誤差パターン選択回路とを備え該最小誤差パターン
選択回路の出力と白色雑音発生器の出力とを前記雑音特
性畳み込み演算回路において畳み込み演算する復号化回
路であることを特徴とする無音区間情報の符号化及び復
号化回路。
3. The encoding / decoding circuit for silent period information according to claim 1, wherein the decoding circuit extracts a frequency characteristic of a speech decoder output signal and patterns it, A hearing weighting circuit for convoluting the average frequency characteristic pattern of the human auditory sense into the output pattern of the frequency characteristic extractor, and a noise pattern group having a noise pattern group, and selecting a noise pattern closest to the output pattern of the hearing weighting circuit And a minimum error pattern selection circuit for outputting the output of the minimum error pattern selection circuit and the output of the white noise generator is a decoding circuit for performing a convolution operation in the noise characteristic convolution operation circuit. Encoding and decoding circuit for section information.
【請求項4】 音声の有音と無音を検出し、有音時には
音声符号器の出力を送出し、無音時には音声符号器を停
止してポスト・パターン及び背景雑音再生のための符号
化データを送出し、受信側でポスト・パターンを検出し
た時には背景雑音を再生し、有音時には音声復号器の出
力を再生するVOX方式における無音区間情報の符号化
及び復号化回路であって、 符号化回路は、 ポスト・パターンと符号化データをフレーム周期の複数
倍の周期で送信する符号化回路であり、 復号化回路は、 mを、最初のポスト・パターンを受信する時以前に値が
0で、二番目のポスト・パターンを受信した時以降に値
が1になる0と1との間の数とする時に、 前記音声復号器の出力に対して利得制御する、利得係数
が(1−m)である第一の利得制御回路と、 前記白色雑音発生器の出力に対して利得制御する、利得
係数がmである第二の利得制御回路と、 双方の利得制御回路の出力を加算する第一の加算回路と
を備え、 該第一の加算回路の出力を再生する復号化回路であるこ
とを特徴とする無音区間情報の符号化及び復号化回路。
4. A method for detecting voiced and non-voiced voice, outputting the output of the voice encoder when the voice is present, and stopping the voice encoder when there is no voice to generate post pattern and encoded data for background noise reproduction. A coding circuit and a decoding circuit for silent section information in the VOX system that reproduces background noise when a post pattern is detected on the receiving side and reproduces the output of a voice decoder when there is sound. Is a coding circuit that transmits the post pattern and the coded data in a cycle that is a multiple of the frame cycle, and the decoding circuit sets m to be 0 before the first post pattern is received, When the number is between 0 and 1 which becomes 1 after the second post pattern is received, the gain coefficient for controlling the output of the speech decoder is (1-m). And the first gain control circuit A second gain control circuit having a gain coefficient of m for controlling gain with respect to the output of the white noise generator; and a first addition circuit for adding outputs of both gain control circuits, Is a decoding circuit for reproducing the output of the adding circuit of 1., and a coding and decoding circuit for silent period information.
【請求項5】 請求項4記載の無音区間情報の符号化及
び復号化回路であって、 復号化回路は、 nを、二番目のポスト・パターンを受信する時以前に値
が0で、三番目のポスト・パターンを受信した時以降に
値が1になる0と1との間の数とする時に、 前記第一の加算回路の出力に対して利得制御する、利得
係数が(1−n)である第三の利得制御回路と、 符号化データのパワーPC と白色雑音のパワーPW を求
め、PC /PW の平方根を出力するパワー演算回路と、 該パワー演算回路の出力と白色雑音の積を出力する乗算
回路と、 該乗算回路の出力に対して利得制御する、利得係数がn
である第四の利得制御回路と、 該第四の利得制御回路と前記第三の利得制御回路の出力
とを加算する第二の加算回路とを備え、 該第二の加算回路の出力を再生する復号化回路であるこ
とを特徴とする無音区間情報の符号化及び復号化回路。
5. The encoding and decoding circuit for silent interval information according to claim 4, wherein the decoding circuit has a value of 0 before receiving the second post pattern, The gain coefficient for the output of the first adder circuit is (1-n) when the number is between 0 and 1 which becomes 1 after the reception of the th post pattern. ) Is a third gain control circuit, a power operation circuit that obtains the power P C of encoded data and the power P W of white noise, and outputs the square root of P C / P W , and the output of the power operation circuit. A multiplication circuit that outputs the product of white noise, and a gain coefficient n that controls the gain of the output of the multiplication circuit.
And a second adder circuit for adding the output of the fourth gain control circuit and the output of the third gain control circuit, and reproducing the output of the second adder circuit. And a decoding circuit for silent period information.
【請求項6】 請求項4記載の無音区間情報の符号化及
び復号化回路であって、 復号化回路は、 nを、二番目のポスト・パターンを受信する時以前に値
が0で、三番目のポスト・パターンを受信した時以降に
値が1になる0と1との間の数とする時に、 前記第一の加算回路の出力に対して利得制御する、利得
係数が(1−n)である第三の利得制御回路と、 前記音声復号化回路の出力に対して利得制御する、利得
係数がnである第五の利得制御回路と、 該第五の利得制御回路の出力と前記第三の利得制御回路
の出力とを加算する第三の加算回路とを備え、 該第三の加算回路の出力を再生する復号化回路であるこ
とを特徴とする無音区間情報の符号化及び復号化回路。
6. The encoding and decoding circuit for silent interval information according to claim 4, wherein the decoding circuit has a value of 0 before receiving the second post pattern, The gain coefficient for the output of the first adder circuit is (1-n) when the number is between 0 and 1 which becomes 1 after the reception of the th post pattern. ) Is a third gain control circuit, a fifth gain control circuit having a gain coefficient of n for performing gain control on the output of the speech decoding circuit, an output of the fifth gain control circuit and the A third adder circuit for adding the output of the third gain control circuit, and a decoding circuit for reproducing the output of the third adder circuit. Circuit.
【請求項7】 音声の有音と無音を検出し、有音時には
音声符号器の出力を送出し、無音時には音声符号器を停
止してポスト・パターン及び背景雑音再生のための符号
化データを送出し、受信側でポスト・パターンを検出し
た時には背景雑音を再生し、有音時には音声復号器の出
力を再生するVOX方式における無音区間情報の符号化
及び復号化回路であって、 符号化回路に、 音声符号器の出力信号からパワー・コードを検出して記
憶し、該パワー・コードに変化があった時には、最新の
パワー・コードを記憶するパワー・コード検出器を備
え、 該パワー・コードに変化があった時にポスト・パターン
と符号化データとを送出することを特徴とする無音区間
情報の符号化及び復号化回路。
7. Detecting voiced and non-voiced voices, sending the output of the voice encoder when there is voice, and stopping the voice encoder when there is no voice to generate post pattern and encoded data for background noise reproduction. A coding circuit and a decoding circuit for silent section information in the VOX system that reproduces background noise when a post pattern is detected on the receiving side and reproduces the output of a voice decoder when there is sound. In addition, a power code detector for detecting and storing a power code from the output signal of the voice encoder, and storing the latest power code when the power code changes, the power code An encoding and decoding circuit for silent period information, which outputs a post pattern and encoded data when there is a change in.
【請求項8】 請求項7記載の無音区間情報の符号化及
び復号化回路であって、 符号化回路に、 アナログ−デジタル変換された信号から周波数得性を抽
出してパターン化する周波数特性抽出器と、 雑音パターン群を備え、前記周波数特性抽出器の出力パ
ターンに最も近似する雑音パターンを選択して出力する
最小誤差パターン選択回路とを備え、 前記パワー・コードに変化があった時にポスト・パター
ンと符号化データとを送出することを特徴とする無音区
間情報の符号化及び復号化回路。
8. The encoding / decoding circuit for silent section information according to claim 7, wherein the encoding circuit extracts a frequency characteristic from an analog-digital converted signal to form a frequency characteristic extraction pattern. And a noise pattern group, and a minimum error pattern selection circuit that selects and outputs a noise pattern that most closely approximates the output pattern of the frequency characteristic extractor. A coding and decoding circuit for silent period information, which is characterized by transmitting a pattern and coded data.
【請求項9】 音声の有音と無音を検出し、有音時には
音声符号器の出力を送出し、無音時には音声符号器を停
止してポスト・パターン及び背景雑音再生のための符号
化データを送出し、受信側でポスト・パターンを検出し
た時には背景雑音を再生し、有音時には音声復号器の出
力を再生するVOX方式における無音区間情報の符号化
及び復号化回路であって、 符号化回路における切替器が備えるダミー・パターン発
生器が発生するダミー・パターンのみに対して、受信側
とは異なるCRC演算則で演算したCRCチェックビッ
トを付加して送出し、 復号化回路に備えるプレ/ポスト・パターン時間位置判
定回路において、受信信号のCRCチェック結果の1と
0を計数し、該計数結果によってダミー・パターンかダ
ミー・パターン以外かを判定することを特徴とする無音
区間情報の符号化及び復号化回路。
9. Detecting voiced and silent voices, outputs the output of the voice encoder when there is voice, stops the voice encoder when there is no voice, and outputs post pattern and encoded data for background noise reproduction. A coding circuit and a decoding circuit for silent section information in the VOX system which reproduces background noise when a post pattern is detected on the receiving side and reproduces the output of a voice decoder when there is sound. Pre- and post-preparation for the decoding circuit, adding the CRC check bit calculated by the CRC calculation rule different from that of the receiving side to only the dummy pattern generated by the dummy pattern generator included in In the pattern time position determination circuit, 1 and 0 of the CRC check result of the received signal are counted, and whether the dummy pattern or the non-dummy pattern is detected is determined by the counted result. Encoding and decoding circuit of the silent segment information, characterized by a constant.
JP6184807A 1993-08-27 1994-08-05 Circuit for encoding and decoding silent section information Withdrawn JPH07115403A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6184807A JPH07115403A (en) 1993-08-27 1994-08-05 Circuit for encoding and decoding silent section information

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP21239793 1993-08-27
JP5-212397 1993-08-27
JP6184807A JPH07115403A (en) 1993-08-27 1994-08-05 Circuit for encoding and decoding silent section information

Publications (1)

Publication Number Publication Date
JPH07115403A true JPH07115403A (en) 1995-05-02

Family

ID=26502729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6184807A Withdrawn JPH07115403A (en) 1993-08-27 1994-08-05 Circuit for encoding and decoding silent section information

Country Status (1)

Country Link
JP (1) JPH07115403A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6240383B1 (en) 1997-07-25 2001-05-29 Nec Corporation Celp speech coding and decoding system for creating comfort noise dependent on the spectral envelope of the speech signal
WO2001065542A1 (en) * 2000-02-29 2001-09-07 Matsushita Electric Industrial Co.,Ltd. Voice encoding/decoding device and method therefor
KR20020069718A (en) * 2001-02-27 2002-09-05 엘지전자 주식회사 Reduction method for voice cut caused by rate renegotiation sequence

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6240383B1 (en) 1997-07-25 2001-05-29 Nec Corporation Celp speech coding and decoding system for creating comfort noise dependent on the spectral envelope of the speech signal
WO2001065542A1 (en) * 2000-02-29 2001-09-07 Matsushita Electric Industrial Co.,Ltd. Voice encoding/decoding device and method therefor
KR20020069718A (en) * 2001-02-27 2002-09-05 엘지전자 주식회사 Reduction method for voice cut caused by rate renegotiation sequence

Similar Documents

Publication Publication Date Title
US6606593B1 (en) Methods for generating comfort noise during discontinuous transmission
KR100713677B1 (en) Speech decoder, speech decoding method, and transmission system including the speech decoder
US6389391B1 (en) Voice coding and decoding in mobile communication equipment
JP2005189886A (en) Method for improving coding efficiency of audio signal
JP2897551B2 (en) Audio decoding device
Gardner et al. QCELP: A variable rate speech coder for CDMA digital cellular
JPH02288520A (en) Voice encoding/decoding system with background sound reproducing function
US7813922B2 (en) Audio quantization
JPH01177227A (en) Sound coder and decoder
CA2293165A1 (en) Method for transmitting data in wireless speech channels
CA2340160C (en) Speech coding with improved background noise reproduction
JPH09506187A (en) Adaptive error control for ADPCM speech coder
JPH07115403A (en) Circuit for encoding and decoding silent section information
JP3649854B2 (en) Speech encoding device
JPH09152899A (en) Voice coding changeover system
JP3496618B2 (en) Apparatus and method for speech encoding / decoding including speechless encoding operating at multiple rates
JP3508850B2 (en) Pseudo background noise generation method
JPH09149104A (en) Method for generating pseudo background noise
JP3315708B2 (en) Voice codec with comparison attenuator
JP3055608B2 (en) Voice coding method and apparatus
JP3149562B2 (en) Digital audio transmission equipment
JPH1022936A (en) Interpolation device
JP2001148632A (en) Encoding device, encoding method and recording medium
JP3519764B2 (en) Speech coding communication system and its device
JPH0661950A (en) Voice coding/decoding device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20011106