JPS63187786A - Video conference device - Google Patents

Video conference device

Info

Publication number
JPS63187786A
JPS63187786A JP1914087A JP1914087A JPS63187786A JP S63187786 A JPS63187786 A JP S63187786A JP 1914087 A JP1914087 A JP 1914087A JP 1914087 A JP1914087 A JP 1914087A JP S63187786 A JPS63187786 A JP S63187786A
Authority
JP
Japan
Prior art keywords
video
audio
voice
delay time
video data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1914087A
Other languages
Japanese (ja)
Inventor
Hikari Kawada
川和田 光
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1914087A priority Critical patent/JPS63187786A/en
Publication of JPS63187786A publication Critical patent/JPS63187786A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To remove a deviation between a video and a voice by obtaining the delay time of a voice signal necessary for the matching of the video and the voice based on the data generation quantity of one video subjected to decoding and delaying the voice signal by the delay time. CONSTITUTION:After voice data is decoded, it is given to a speaker 9 through a voice delay control part 33. At this time, a video data generation quantity detection part 23 fetches serial data SD from a video decoding part 22 and a video quantity counter 24 always counts one video data so as to latch one video data generation quantity. Every time one video data generation quantity is latched a voice delay time generating part 34 obtains the voice delay time necessary for the matching of outputs from the voice and the video and the voice delay control part 33 delays the voice signal transmitted from a voice decoding part 32 by the voice delay time so as to trnsmit to the speaker 9. Thus, the arrival delay time of the voice signal and the video signal is automatically matched and the deviation between the video and the voice can be removed.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、テレビ会議システムのテレビ会議装置に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a video conference device for a video conference system.

[従来の技術] 第4図はこの種の従来のテレビ会議装置の構成を示すブ
ロック図であり、図中(1)はこれと同一構成の他の装
置と相互にデータを送受信するテレビ会議装置、(2)
は映像信号のコーディングおよびデコーディングを行う
映像コーデック、(3)は音声信号のコーディングおよ
びデコーディングを行う音声コーデック、(4)はコー
ディングされたデータを送受信する伝送制御部、(5)
は搬送回線、(8)はテレビカメラ、(7)はテレビモ
ニタ、(8)はマイクロホン、(8)はスピーカ、(2
1)はテレビカメラ(8)の映像信号をコーディングし
て伝送制御部(4)に伝える映像エンコーダ部、(22
)は伝送制御部(4)からの映像データをデコーディン
グしてテレビモニタ(7)に送り込む映像デコーダ部、
(31)はマイクロホン(8)の音声信号をコーディン
グして伝送制御部(4)に伝える音声エンコ−ダ部、(
32)は伝送制御部(4)からの音声データをデコーデ
ィングしてスピーカ(8)に送り込む音声デコーダ部で
ある。
[Prior Art] Fig. 4 is a block diagram showing the configuration of a conventional video conference device of this type, and (1) in the figure shows a video conference device that exchanges data with other devices having the same configuration. ,(2)
(3) is a video codec that codes and decodes video signals; (3) is an audio codec that codes and decodes audio signals; (4) is a transmission control unit that transmits and receives coded data; (5)
is the carrier line, (8) is the TV camera, (7) is the TV monitor, (8) is the microphone, (8) is the speaker, (2) is the
1) is a video encoder section (22) that encodes the video signal of the television camera (8) and transmits it to the transmission control section (4);
) is a video decoder unit that decodes video data from the transmission control unit (4) and sends it to the television monitor (7);
(31) is an audio encoder section that encodes the audio signal of the microphone (8) and transmits it to the transmission control section (4);
32) is an audio decoder unit that decodes audio data from the transmission control unit (4) and sends it to the speaker (8).

次に動作について説明する。テレビカメラ(6)の映像
信号と、マイクロホン(8)の音声信号とがほぼ同時に
テレビ会議装置(1)に入力され、このうち、映像信号
は映像エンコーダ部(21)で、音声信号は音声エンコ
ーダ部(31)でそれぞれコーディングされた後、伝送
制御部(4)に送られここで多重化された搬送回線(5
)に送り出される。一方、他の同種のテレビ会議装置(
1)から搬送回線(5)を通じて送り込まれる多重化デ
ータは、伝送制御部(4)で復調された後、映像データ
が映像デコーダ部(22)に、音声データが音声デコー
ダ部(32)にそれぞれ送られる。映像デコーダ部(2
2)では映像データをデコーディングしてテレビモニタ
(7)に、音声デコーダ部(32)は音声データをデコ
ーディングしてスピーカ(9)にそれぞれ加える。この
場合、映像信号のコーディング、デコーディングに要す
る時間は音声信号のコーディング、デコーディングに要
する時間よりも格段に長く、図示省略のもう一つのテレ
ビ会議装置に映像信号と音声信号とが同時に入力された
としても、テレビモニタ(7)とスピーカ(8)に到達
する時間に差を生じる。かかる遅延時間の整合をとるた
め、音声デコーダ部(32)とスピーカ(8)との間に
音声遅延制御部(33)が設けられており、映像信号を
適当に遅らせることによって映像の動きと音声を同期さ
せている。
Next, the operation will be explained. A video signal from a television camera (6) and an audio signal from a microphone (8) are input to the video conferencing device (1) almost simultaneously. Of these, the video signal is input to the video encoder section (21), and the audio signal is input to the audio encoder section. After each code is coded in the section (31), it is sent to the transmission control section (4) where it is multiplexed.
). On the other hand, other similar video conferencing devices (
The multiplexed data sent from 1) through the carrier line (5) is demodulated by the transmission control section (4), and then the video data is sent to the video decoder section (22) and the audio data is sent to the audio decoder section (32). Sent. Video decoder section (2
In 2), the video data is decoded and sent to the television monitor (7), and the audio decoder section (32) decodes the audio data and sent to the speaker (9). In this case, the time required for coding and decoding the video signal is much longer than the time required for coding and decoding the audio signal, and the video signal and audio signal are simultaneously input to another video conference device (not shown). Even if the signal reaches the TV monitor (7) and the speaker (8), there will be a difference in time. In order to match the delay time, an audio delay control unit (33) is provided between the audio decoder unit (32) and the speaker (8), and by appropriately delaying the video signal, the movement of the video and the audio can be adjusted. are synchronized.

かくして、搬送回線(5)にテレビ会議装置(1)を接
続することによってテレビを用いた会議が可能となる。
Thus, by connecting the television conference device (1) to the carrier line (5), a conference using the television becomes possible.

[発明が解決しようとする問題点] 従来のテレビ会議装置は以上のように構成され、音声遅
延制御部(33)で映像データとの遅延時間の整合をと
ることができる。しかしながら、この遅延時間の整合を
とる場合には、伝送制御部(4)内の切換え手段により
、データを搬送回線(5)に送出しないで映像データを
映像デコーダ部(22)に、音声データを音声デコーダ
部(32)にそれぞれ折返して、テレビモニタ(7)の
映像の動きを見ると同時にスピーカ(9)の音声を聞き
ながら手動により音声遅延制御部(33)を調整してい
た。このため1映像毎のデータ発生量の相違等により映
像と音声とがずれる度毎に音声遅延制御部(33)の調
整をしなければ両者のずれによる不自然さを取除くこと
ができないという問題点があった。
[Problems to be Solved by the Invention] The conventional video conference device is configured as described above, and the audio delay control section (33) can match the delay time with the video data. However, when matching the delay times, the switching means in the transmission control section (4) is used to send video data to the video decoder section (22) and audio data to the video decoder section (22) without sending the data to the carrier line (5). The audio delay control unit (33) was manually adjusted while watching the video movement on the television monitor (7) and simultaneously listening to the audio from the speaker (9). Therefore, the problem is that the unnaturalness caused by the deviation between the two cannot be removed unless the audio delay control unit (33) is adjusted every time there is a deviation between the image and the audio due to differences in the amount of data generated for each image, etc. There was a point.

この発明は上記の問題点を解決するためになされもので
、映像コーデックと音声コーデックの処理時間の違いに
よる映像と音声のずれを自動的に整合させると共に、映
像と音声のずれによる不自然さを取除くことのできるテ
レビ会議装置を提供することを目的とする。
This invention was made to solve the above problems, and it automatically matches the deviation between the video and audio due to the difference in processing time between the video codec and the audio codec, and also eliminates the unnaturalness caused by the deviation between the video and audio. The purpose is to provide a video conference device that can be removed.

[問題点を解決するための手段] この発明に係るテレビ会議装置は、映像デコーダ部でデ
コーディングされるl映像のデータ発生量を検出する映
像データ発生量検出部と、この1映像のデータ発生量に
基づいて、映像および音声の整合をとるのに必要な音声
信号の遅延時間を求める音声遅延時間発生部と、求めら
れた遅延時間だけ音声信号を遅延させる音声遅延制御部
とを備えたものである。
[Means for Solving the Problems] The video conference device according to the present invention includes a video data generation amount detection section that detects the amount of data generated for one video to be decoded by a video decoder section, and an audio delay time generating section that calculates the delay time of the audio signal necessary to match the video and audio based on the amount of video and audio, and an audio delay control section that delays the audio signal by the determined delay time. It is.

[作用コ この発明においては、シリアルの映像データがデコーデ
ィングされるときに映像データ発生量検出部が1映像の
データ発生量を検出する。このデータ発生量はある範囲
におさまり、しかもこのデータ発生量とコーディング、
デコーディングによる遅延時間とがほぼ直線的な関係に
あることが知られており、音声遅延時間発生部はこの関
係を用いて、テレビモニタに加わる映像信号およびスピ
ーカに加わる音声信号間の到達時間の整合をとるのに必
要な音声信号の遅延時間を求める。音声遅延制御部はこ
のようにして求められた遅延時間だけ音声信号を遅延さ
せてスピーカに送出する。これによって映像コーデック
と音声コーデックの処理時間の違いによる映像と音声の
ずれを自動的に整合することができ、映像と音声のずれ
による不自然さも解消される。
[Operation] In this invention, when serial video data is decoded, the video data generation amount detection section detects the amount of data generated for one video. The amount of data generated falls within a certain range, and the amount of data generated and the coding,
It is known that the delay time due to decoding has an almost linear relationship, and the audio delay time generator uses this relationship to determine the arrival time between the video signal applied to the TV monitor and the audio signal applied to the speakers. Find the delay time of the audio signal necessary for matching. The audio delay control section delays the audio signal by the delay time determined in this manner and sends the delayed audio signal to the speaker. As a result, it is possible to automatically match the deviation between the video and audio due to the difference in processing time between the video codec and the audio codec, and the unnaturalness caused by the deviation between the video and audio can also be eliminated.

[実施例] 第1図はこの発明の一実施例の構成を示すブロック図で
あり、従来装置と同一の符号を付したものはそれぞれ同
一の要素を示し、これら以外の(23)は映像コーデッ
ク(2)に設けられ、映像デコーダ部(22)のシリア
ル信号を入力して1画像のデータ発生量を検出する映像
データ発生量検出部、(34)は音声コーデック(3)
に設けられ、映像データ発生量検出部(23)の出力に
基づいて、映像信号との整合をとるのに必要な音声信号
の遅延時間を求めて音声遅延制御部(33)に与える音
声遅延時間発生部である。
[Embodiment] Fig. 1 is a block diagram showing the configuration of an embodiment of the present invention, in which the same reference numerals as in the conventional device indicate the same elements, and the other (23) is a video codec. (2) is a video data generation amount detection section that inputs the serial signal of the video decoder section (22) and detects the amount of data generated for one image; (34) is an audio codec (3);
Based on the output of the video data generation amount detection section (23), an audio delay time is provided to the audio delay control section (33) to determine the delay time of the audio signal necessary for matching with the video signal. This is the generating part.

第2図は映像データ発生量検出部(23)および音声遅
延時間発生部(34)の詳細な構成を示すブロック図で
あり、映像データ発生量検出部(23)は映像デコーダ
部(22)からのシリアルデータSDを入力して映像量
を計数する映像量カウンタ(24)と、映像デコーダ部
(22)の1映像受信完了信号VEが入力されるごとに
映像量カウンタ(24)の計数値を保持し続けるラッチ
(25)とを備え、音声遅延時間発生部(34)は映像
データ発生量と、遅延時間との相rArA係のテーブル
の入ったROM(35)を備えている。
FIG. 2 is a block diagram showing the detailed configuration of the video data generation amount detection section (23) and the audio delay time generation section (34). A video amount counter (24) that counts the video amount by inputting the serial data SD of The audio delay time generating section (34) is equipped with a ROM (35) containing a table relating to the amount of video data generated and the delay time.

以上のように構成された本実施例の動作について、特に
、従来装置に対して新たな要素を追加した部分を中心に
して第3図をも参照して以下に説明する。
The operation of the present embodiment configured as described above will be described below with particular reference to the portions in which new elements have been added to the conventional device, with reference also to FIG.

搬送回線(5)を介して送りこまれたデータは伝送制御
部(4)で復調されて映像データは映像デコーダ部(2
2)でデコーディングされてテレビモニタ(7)に与え
られる一方、音声データは音声デコーダ部(32)でデ
コーディングされた後、音声遅延制御部(33)を介し
てスピーカ(3)に与えられる。このとき、映像データ
発生量検出部(23)は映像デコーダ部(22)からシ
リアルデータSDを取出して映像量カウンタ(24)に
より、常時1映像データを計数し、l映像受信完了信号
VEごとにその計数値、すなわち、l映像データ発生量
をラッチ(25)に保持する。この場合、1映像データ
発生量は被写体の動きに応じて増減するが、実際には搬
送回線(5)の回線速度に合せてデータ発生部で制限さ
れるので、ある範囲におさまるようになっている。また
、音声コーデック(3)で処理されてスピーカ(9)に
加えられる音声信号に対して、映像コーデック(2)で
処理されてテレビモニタ(7)に加えられる映像信号の
遅延時間は1映像データ発生量に大きく依存する。第3
図はこの関係を示したもので、1映像データ発生量がm
lからm2に変化するとき遅延時間はtlからt2まで
直線的に変化する。この関係をそのままテーブルにする
と、記憶容量を大幅に増やさなければならないので、デ
ータ発生量の下位数でビットを切捨てることにより、第
3図中の破線で示したような階段状の特性をROM(3
5)にテーブル化しておく、ちなみに、搬送回線(5)
の伝送速度が84(kbps)である場合の上記m1〜
m2に対する遅延時間は0.3〜0.6(sec)であ
る。従って、映像データ発生量検出部(23〕が1映像
データ発生量を検出してラッチするごとに、音声遅延時
間発生部(34)は音声と映像の出力の整合をとるに必
要な音声遅延時間を求めて音声遅延制御部(33)に加
える。音声遅延制御部(33)はこの音声遅延時間だけ
音声デコーダ部(32)から送出される音声信号を遅延
させてスピーカ(9)に送り込む。かくして、音声信号
と映像信号の到達遅延時間が自動的に整合される。
The data sent via the carrier line (5) is demodulated by the transmission control unit (4), and the video data is sent to the video decoder unit (2).
2) and provided to the television monitor (7), while the audio data is decoded by the audio decoder section (32) and then provided to the speaker (3) via the audio delay control section (33). . At this time, the video data generation amount detection section (23) extracts the serial data SD from the video decoder section (22), and always counts one video data using the video amount counter (24), and every l video reception completion signal VE. The counted value, ie, the amount of l video data generated, is held in a latch (25). In this case, the amount of video data generated per image increases or decreases depending on the movement of the subject, but in reality it is limited by the data generation section according to the line speed of the transport line (5), so it stays within a certain range. There is. In addition, the delay time of the video signal processed by the video codec (2) and applied to the TV monitor (7) with respect to the audio signal processed by the audio codec (3) and applied to the speaker (9) is 1 video data. Much depends on the amount generated. Third
The figure shows this relationship, where the amount of video data generated is m
When changing from l to m2, the delay time changes linearly from tl to t2. If this relationship were to be made into a table as is, the storage capacity would have to be increased significantly, so by truncating the bits at the lower number of the data generation amount, the step-like characteristics shown by the broken line in Figure 3 can be created in the ROM. (3
Make a table in 5). By the way, the transport line (5)
The above m1~ when the transmission speed of is 84 (kbps)
The delay time for m2 is 0.3 to 0.6 (sec). Therefore, every time the video data generation amount detection section (23) detects and latches one video data generation amount, the audio delay time generation section (34) generates the audio delay time necessary to match the audio and video outputs. is determined and added to the audio delay control section (33).The audio delay control section (33) delays the audio signal sent from the audio decoder section (32) by this audio delay time and sends it to the speaker (9).Thus, , the arrival delay times of audio and video signals are automatically matched.

なお、上記実施例では、映像データ発生量検出部(23
)が1映像データ発生量を検出するごとに、音声遅延時
間発生部(34)が対応する遅延時間を求めているが、
この代わりに、音声遅延時間発生部(34)がある一定
時間の1映像データ発生量の平均を演算し、その平均値
に基づいて音声遅延時間を決定しても上述したとほぼ同
様な整合が可能である。
In the above embodiment, the video data generation amount detection unit (23
) detects one video data generation amount, the audio delay time generation section (34) obtains the corresponding delay time.
Alternatively, if the audio delay time generation unit (34) calculates the average of the amount of video data generated for a certain period of time and determines the audio delay time based on the average value, almost the same consistency as described above can be obtained. It is possible.

[発明の効果] 以上説明したように、この発明によれば、映像データ発
生量検出部が1映像のデータ発生量を検出すると、音声
遅延時間発生部はテレビモニタに加わる映像信号および
スピーカに加わる音声信号間の到達時間の整合をとるの
に必要な音声信号の遅延時間を求めて、音声遅延制御部
に対してこの遅延時間だけ音声信号を遅延せしめるので
、映像コーデックと音声コーデックの処理時間の違いに
よる映像と音声のずれを自動的に整合するこができ、映
像との音声のずれによる不自然さを解消することができ
るという効果がある。
[Effects of the Invention] As explained above, according to the present invention, when the video data generation amount detection unit detects the amount of data generation for one video, the audio delay time generation unit detects the video signal applied to the TV monitor and the audio signal applied to the speaker. The delay time of the audio signal necessary to match the arrival times between the audio signals is determined, and the audio delay control unit delays the audio signal by this delay time, thereby reducing the processing time of the video codec and audio codec. This has the effect that it is possible to automatically match the discrepancy between the video and the audio due to the difference, and it is possible to eliminate the unnaturalness caused by the discrepancy between the video and the audio.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例の構成を示すブロック図、
第2図は同実施例の主要素の詳細な構成を示すブロック
図、第3図は同実施例の動作を説明するためにデータ発
生量と遅延時間との関係を示した線図、第4図は従来の
テレビ会議装置の構成を示すブロック図である。 図において、 (2)は映像コーデック、 (3)は音声コーデック、 (21)は映像エンコーダ部、 (22)は映像デコーダ部、 (23)は1映像データ発生量検出部、(31)は音声
エンコーダ部、 (32)は音声デコーダ部、 (33)は音声遅延制御部、 (34)は音声遅延時間発生部。 なお、各図中、同一符号は同−又は相当部分を示す。 代  理  人   大  岩  #!  雄)!= !!1す+!!7≦雰
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
FIG. 2 is a block diagram showing the detailed configuration of the main elements of the embodiment, FIG. 3 is a diagram showing the relationship between data generation amount and delay time to explain the operation of the embodiment, and FIG. The figure is a block diagram showing the configuration of a conventional video conference device. In the figure, (2) is the video codec, (3) is the audio codec, (21) is the video encoder section, (22) is the video decoder section, (23) is the 1 video data generation amount detection section, and (31) is the audio An encoder section, (32) an audio decoder section, (33) an audio delay control section, and (34) an audio delay time generation section. In each figure, the same reference numerals indicate the same or corresponding parts. Agent Oiwa #! Male)! =! ! 1su+! ! 7≦atmosphere

Claims (1)

【特許請求の範囲】[Claims] テレビカメラの映像信号およびマイクロホンの音声信号
をコーディングして送信すると共に、他でコーディング
された映像データおよび音声データを受信し、これらを
デコーディングしてテレビモニタおよびスピーカに加え
るテレビ会議装置において、デコーディングされる映像
データの1映像データ発生量を検出する映像データ発生
量検出部と、検出された1映像データ発生量に基づき、
前記テレビモニタに加わる映像信号および前記スピーカ
に加わる音声信号間の到達時間の整合をとるのに必要な
音声信号の遅延時間を求める音声遅延時間発生部と、求
められた遅延時間だけデコーディングされた音声信号を
遅延させて前記スピーカに加える音声遅延制御部とを備
えたことを特徴とするテレビ会議装置。
A video conferencing device that codes and transmits video signals from a television camera and audio signals from a microphone, receives video data and audio data coded elsewhere, decodes them, and adds them to a television monitor and speakers. a video data generation amount detection unit that detects the generation amount of one video data of the video data to be coded; and based on the detected amount of one video data generation,
an audio delay time generation unit that determines the delay time of an audio signal necessary to match the arrival time between the video signal applied to the television monitor and the audio signal applied to the speaker; A television conference device comprising: an audio delay control unit that delays an audio signal and applies the delayed audio signal to the speaker.
JP1914087A 1987-01-29 1987-01-29 Video conference device Pending JPS63187786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1914087A JPS63187786A (en) 1987-01-29 1987-01-29 Video conference device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1914087A JPS63187786A (en) 1987-01-29 1987-01-29 Video conference device

Publications (1)

Publication Number Publication Date
JPS63187786A true JPS63187786A (en) 1988-08-03

Family

ID=11991147

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1914087A Pending JPS63187786A (en) 1987-01-29 1987-01-29 Video conference device

Country Status (1)

Country Link
JP (1) JPS63187786A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04100430A (en) * 1990-08-20 1992-04-02 Matsushita Electric Ind Co Ltd Voice cell/picture cell reproduction synchronizing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04100430A (en) * 1990-08-20 1992-04-02 Matsushita Electric Ind Co Ltd Voice cell/picture cell reproduction synchronizing device

Similar Documents

Publication Publication Date Title
US5570372A (en) Multimedia communications with system-dependent adaptive delays
CA2231780C (en) Telecommunications multimedia conferencing system and method
US6603501B1 (en) Videoconferencing using distributed processing
JP2003504897A (en) High-speed video transmission via telephone line
FR2687884B1 (en) VIDEC CODEC, ESPECIALLY VISIOPHONIC.
US6646674B1 (en) TV telephone system
US6738356B1 (en) Object oriented video merging system
JP3500667B2 (en) Video conference system and synchronization method
JPS63187786A (en) Video conference device
JPS62266959A (en) Television conference equipment
JP2002290940A (en) Video conference system
JP2839295B2 (en) Screen Update Method for Multipoint Video Conference System
JP3207284B2 (en) Stereo audio transmission equipment
JPH01295546A (en) Television conference communication system
JPS6314588A (en) Electronic conference system
US6385745B1 (en) Phase independent receiver and/or decoder
JPH01198144A (en) Terminal for packet communication video conference
JPH02292982A (en) Video conference system
JP3537583B2 (en) Multipoint video conference system
JPS63232589A (en) System for making band in sound-picture transmitting frame variable
JPH04342389A (en) Video telephone
JPH0222991A (en) Packet television conference terminal
JP3683210B2 (en) Video / audio transmission system
JPH10262229A (en) Communication system, multi-point controller and video display method
JPH05308688A (en) Repeating exchange for coding voice signal