JP2002077241A - Asynchronous voice data processing system - Google Patents

Asynchronous voice data processing system

Info

Publication number
JP2002077241A
JP2002077241A JP2000266981A JP2000266981A JP2002077241A JP 2002077241 A JP2002077241 A JP 2002077241A JP 2000266981 A JP2000266981 A JP 2000266981A JP 2000266981 A JP2000266981 A JP 2000266981A JP 2002077241 A JP2002077241 A JP 2002077241A
Authority
JP
Japan
Prior art keywords
data
buffer
reproduction
audio
asynchronous
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
JP2000266981A
Other languages
Japanese (ja)
Inventor
Tomoko Fujita
倫子 藤田
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP2000266981A priority Critical patent/JP2002077241A/en
Publication of JP2002077241A publication Critical patent/JP2002077241A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve voice quality in an asynchronous voice communication system. SOLUTION: The held data of a data-holding buffer 23, held after a voice signal received from an asynchronous communication network is decoded, are transferred to a data reproducing buffer 24. When the data read from the data reproducing buffer are outputted, the received data bytes to the data-holding buffer 23 are counted, and the output data bytes from the data-reproducing buffer 24 are counted. Then, a voice data reproducing speed is compared with a voice data-receiving speed, and when the voice data-receiving speed is faster than the voice data-reproducing speed, excessive received data are discarded. When the voice data-receiving speed is slower than the voice data-reproducing speed, by having the previously received voice data added, the generation of the slip of the voice data can be prevented.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、非同期音声データ
処理方式に関し、特に非同期に起因する音質劣化を改善
する非同期音声データ処理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an asynchronous audio data processing system, and more particularly, to an asynchronous audio data processing system for improving sound quality deterioration caused by asynchronous operation.

【0002】[0002]

【従来の技術】従来、データ送出側装置と、データ受信
側装置間のデータの同期確立は、通信回線から同期クロ
ックを抽出し、抽出した同期クロックを用いて対向する
地点間の同期を確立し、標本化クロックと回線クロック
の同期をとって通信を実現している。
2. Description of the Related Art Conventionally, data synchronization between a data sending side device and a data receiving side device is established by extracting a synchronization clock from a communication line and establishing synchronization between opposing points using the extracted synchronization clock. The communication is realized by synchronizing the sampling clock and the line clock.

【0003】一方、近年、パソコン(PC)、インター
ネット等を用いた通信の要望が強くなっている。ところ
が、現在急激な普及をしているTCP/IPネットワー
クやパーソナルコンピュータを用いた音声通信システム
を構築する場合、クロック再生や音声の標本化と回線ク
ロックの同期をとることは、一般的に行うことが出来な
い。
On the other hand, in recent years, there has been a strong demand for communication using a personal computer (PC), the Internet, or the like. However, when constructing a voice communication system using a TCP / IP network or a personal computer, which is currently spreading rapidly, clock reproduction, voice sampling, and synchronization of a line clock are generally performed. Can not do.

【0004】回線速度と装置内の非同期処理について
は、例えば、特開平7−284077号公報は、ISD
N回線を使用した通信でPCベースの装置データの送受
信を行った場合、音声符号化部の符号化音声データ量が
ISDN回線の伝送速度に非同期であるために生じる音
声情報の抜けと重複を制御する同期スリップ処理技術が
開示されている。
[0004] Regarding the line speed and asynchronous processing in the apparatus, for example, Japanese Patent Laid-Open No. 7-284077 discloses an ISD.
When transmitting and receiving PC-based device data in communication using N lines, control the loss and duplication of audio information that occurs because the amount of encoded audio data in the audio encoder is asynchronous with the transmission speed of the ISDN line. A synchronous slip processing technique is disclosed.

【0005】[0005]

【発明が解決しようとする課題】特開平7−28407
7号公報では、上述の如く、符号化データのスリップに
対する制御は行なわれているが、次のようなPCMの過
不足により発生するスリップについては対処がなされて
いない。つまり、音声データ受信処理とPCでの再生処
理とが非同期である場合、音声データがつぶれたり不足
することにより、スリップが発生し、音声品質の劣化
や、正常な再生ができない、等の問題は解決されない。
SUMMARY OF THE INVENTION Japanese Patent Application Laid-Open No. 7-28407
In Patent Document 7, as described above, the control for the slip of the encoded data is performed, but the following slip caused by excess or deficiency of the PCM is not addressed. In other words, when the audio data receiving process and the playback process on the PC are asynchronous, slipping occurs due to the collapse or lack of the audio data, which causes problems such as deterioration of audio quality and normal reproduction failure. Not resolved.

【0006】そこで、本発明の目的は、非同期に起因す
る音質劣化を改善した非同期音声データ処理方式を提供
することにある。
Accordingly, an object of the present invention is to provide an asynchronous audio data processing system in which sound quality deterioration due to asynchronous is improved.

【0007】[0007]

【課題を解決するための手段】前述の課題を解決するた
め、本発明による非同期系の音声通信方式は、次のよう
な特徴的な構成を採用している。
In order to solve the above-mentioned problem, the asynchronous voice communication system according to the present invention employs the following characteristic configuration.

【0008】すなわち、本発明は、音声データ受信処理
とPCでの再生処理とが非同期である場合、復号により
得たPCM音声データを再生する際に過不足し、スリッ
プが発生するような場合、PCMデータの復号量が多い
場合は、データを捨て、再生よりPCMデータ復号量の
方が少ない場合は、直前の音声データを付け足すこと
で、音声データのスリップを発生させないようにし音声
の品質を確保する。このように、受信音声データと再生
のタイミングを監視し、音声の再生制御を行うことで、
非同期系音声通信方式における音声品質の向上を図って
いる。
That is, according to the present invention, when audio data reception processing and reproduction processing by a PC are asynchronous, when the PCM audio data obtained by decoding is excessively or deficient and a slip occurs, If the decoding amount of PCM data is large, the data is discarded, and if the decoding amount of PCM data is smaller than the reproduction, the immediately preceding audio data is added to prevent audio data from slipping and ensure audio quality. I do. In this way, by monitoring the received audio data and the timing of the reproduction and controlling the reproduction of the audio,
The voice quality in the asynchronous voice communication system is improved.

【0009】より具体的には、 (1)非同期通信回線を介して受信した音声データを再
生する非同期音声データ処理方式において、音声データ
再生速度より音声データ受信速度が速い場合は、過剰な
受信データを廃棄し、音声データ再生速度より音声デー
タ受信速度の方が遅い場合は、直前に受信した音声デー
タを付け足すことにより音声データのスリップの発生を
防止する非同期音声データ処理方式。
More specifically, (1) In an asynchronous audio data processing system for reproducing audio data received via an asynchronous communication line, if the audio data reception speed is faster than the audio data reproduction speed, excessive reception data An asynchronous audio data processing method that discards audio data and prevents the occurrence of a slip in audio data by adding the audio data received immediately before when the audio data reception speed is lower than the audio data reproduction speed.

【0010】(2)非同期通信網から受信した音声信号
が復号化されてデータ保持バッファに保持され、このデ
ータ保持バッファに保持されたデータをデータ再生バッ
ファに転送して、前記データ再生バッファから読み出し
たデータを再生出力する非同期音声データ処理方式にお
いて、前記データ保持バッファへの受信データバイトを
カウントするとともに、前記データ再生バッファからの
出力データバイトをカウントし、両カウント値に基づい
て前記データ保持バッファから前記データ再生バッファ
へのデータ転送を制御する非同期音声データ処理方式。
(2) The audio signal received from the asynchronous communication network is decoded and held in the data holding buffer, and the data held in the data holding buffer is transferred to the data playback buffer and read from the data playback buffer. In the asynchronous audio data processing method for reproducing and outputting the data, the received data bytes to the data holding buffer are counted, the output data bytes from the data playing buffer are counted, and the data holding buffer is counted based on both count values. An asynchronous audio data processing method for controlling data transfer from the data reproduction buffer to the data reproduction buffer.

【0011】(3)前記受信データバイトカウント値と
前記データ再生バッファからの出力データバイト値との
差分と、予め定めた判定基準値Nとの比較判定結果に基
づいて前記データ保持バッファから前記データ再生バッ
ファへのデータ転送を制御する上記(2)の非同期音声
データ処理方式。
(3) Based on a result of comparison between a difference between the received data byte count value and an output data byte value from the data reproduction buffer and a predetermined judgment reference value N, the data from the data holding buffer is read from the data holding buffer. The asynchronous audio data processing method according to the above (2), which controls data transfer to a reproduction buffer.

【0012】(4)前記判定基準値Nは、前記データ再
生バッファの未再生エリアへのデータ上書きやデータ不
足により古いデータの再生によって生じる再生音声の品
質の低下を基準にして設定される上記(3)の非同期音
声データ処理方式。
(4) The criterion value N is set based on a decrease in the quality of reproduced sound caused by reproduction of old data due to overwriting of data in an unreproduced area of the data reproduction buffer or lack of data. 3) Asynchronous audio data processing method.

【0013】(5)前記データ再生バッファへの書き込
み位置が再生位置を追い越す場合には、受信したデータ
を廃棄し、再生位置が書き込み位置を追い越す場合に
は、直前の音声データを再生するエリアに書き込む上記
(2)の非同期音声データ処理方式。
(5) If the write position to the data reproduction buffer exceeds the reproduction position, the received data is discarded, and if the reproduction position exceeds the write position, the data is returned to the area for reproducing the immediately preceding audio data. The asynchronous audio data processing method of (2) to be written.

【0014】(6)非同期通信網から受信した音声信号
が復号化されてデータ保持バッファに保持され、このデ
ータ保持バッファに保持されたデータをデータ再生バッ
ファに転送して、前記データ再生バッファから読み出し
たデータを出力する非同期音声データ処理方式におい
て、前記データ再生バッファの書き込み位置と再生位置
に基づいて前記データ保持バッファから前記データ再生
バッファへのデータ転送を制御する非同期音声データ処
理方式。
(6) The audio signal received from the asynchronous communication network is decoded and held in the data holding buffer, and the data held in the data holding buffer is transferred to the data playback buffer and read from the data playback buffer. An asynchronous audio data processing method for outputting data from a data holding buffer to the data reproduction buffer based on a write position and a reproduction position of the data reproduction buffer.

【0015】[0015]

【発明の実施の形態】以下、本発明による非同期音声デ
ータ処理方式の好適実施形態例について添付図面を参照
しながら詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of an asynchronous audio data processing system according to the present invention will be described below in detail with reference to the accompanying drawings.

【0016】図1は本発明の一実施の形態としての非同
期系における音声データ通信方式におけるパソコン(P
C)の構成ブロックである。
FIG. 1 shows a personal computer (P) in an asynchronous voice data communication system according to an embodiment of the present invention.
It is a structural block of C).

【0017】図1において、パソコンは、データ送信処
理部1とデータ受信処理部2から構成される。PCM音
声データのデータ送信処理部1は、例えば、マイクロホ
ンからの音声信号が入力端子Aから入力され、A/D変
換部11でデジタルデータに変換され、エンコーダ12
で符号化された後、符号化データがソケット送信部13
で非同期通信網を通して送信するためのフォームとされ
て出力端子CからTCP/IPネットワーク等の非同期
通信網に送出される。
In FIG. 1, the personal computer includes a data transmission processing unit 1 and a data reception processing unit 2. The data transmission processing unit 1 for PCM audio data receives, for example, an audio signal from a microphone from an input terminal A, converts the audio signal into digital data by an A / D conversion unit 11,
Is encoded by the socket transmitting unit 13
Is sent out from an output terminal C to an asynchronous communication network such as a TCP / IP network.

【0018】一方、データ受信処理部2では、ソケット
受信部21により非同期通信網から受信端子Dを介して
受信した音声信号を所定の信号フォーマットに変換し、
そのデータがデコーダ22で復号化された後、データ保
持バッファ23に保持(保存)される。
On the other hand, the data reception processing unit 2 converts the audio signal received from the asynchronous communication network via the reception terminal D by the socket reception unit 21 into a predetermined signal format.
After the data is decoded by the decoder 22, the data is held (saved) in the data holding buffer 23.

【0019】データ保持バッファ23に保持されたデー
タは、所定の制御下、データ再生バッファ24に転送さ
れ、データ再生バッファ24から読み出されたデータが
D/A変換部25でアナログ信号に変換されて出力端子
Dを介して、例えばスピーカに出力される。
The data held in the data holding buffer 23 is transferred to a data reproducing buffer 24 under predetermined control, and the data read from the data reproducing buffer 24 is converted into an analog signal by a D / A converter 25. The signal is output to, for example, a speaker via the output terminal D.

【0020】本実施形態においては、デコーダ22から
データ保持バッファ23へのデータ入力(データの受信
速度)と、データ再生バッファ24からD/A変換部2
5への出力(データの再生速度)とを監視して、データ
保持バッファ23からデータ再生バッファ24へのデー
タ転送を制御することによりPCMデータの再生を制御
している。そのために、本実施形態では、データ保持バ
ッファ部23への受信データバイト数のカウントを行う
受信カウンタ部26と、データ再生バッファ部24によ
る再生データバイト数のカウントを行う再生カウンタ部
27と、これらカウンタ部からのカウント情報に基づい
てデータ保持バッファに保持されている受信データのデ
ータ再生バッファへの書き込み制御を行う制御部28と
を備えている。
In the present embodiment, the data input (data receiving speed) from the decoder 22 to the data holding buffer 23 and the D / A conversion unit 2
5 (data reproduction speed), and control of data transfer from the data holding buffer 23 to the data reproduction buffer 24 to control reproduction of PCM data. For this purpose, in the present embodiment, a reception counter unit 26 that counts the number of data bytes received by the data holding buffer unit 23, a reproduction counter unit 27 that counts the number of data bytes reproduced by the data reproduction buffer unit 24, A control unit that controls writing of the reception data held in the data holding buffer to the data reproduction buffer based on the count information from the counter unit.

【0021】以上のように、データ再生バッファ24に
音声データを書き込み、D/A変換部25でデジタルデ
ータからアナログデータへの変換を行って出力端子Bか
ら音声が出力されるが、音声再生完了したと同時にデー
タ再生カウンタ部27で再生データのバイト数をカウン
トする。制御部28では、データ受信カウンタ26のカ
ウンタ情報とデータ再生カウンタ27のカウンタ情報か
ら、データ保持バッファ23に退避している音声データ
のデータ再生バッファ24への転送、書き込み制御をお
こなう。
As described above, the audio data is written into the data reproduction buffer 24, the digital data is converted into the analog data by the D / A converter 25, and the audio is output from the output terminal B. At the same time, the data reproduction counter 27 counts the number of bytes of the reproduced data. The control unit 28 controls the transfer and writing of the audio data saved in the data holding buffer 23 to the data reproduction buffer 24 based on the counter information of the data reception counter 26 and the counter information of the data reproduction counter 27.

【0022】次に、図1に示すデコーダ22における受
信データの復号化処理以降の受信音声再生処理の流れと
受信音声再生データ制御処理を図2のフローチャートと
図3のバッファメモリの構成例を参照しながら説明す
る。
Next, the flow of the received voice reproduction process and the control process of the received voice reproduction data after the decoding process of the received data in the decoder 22 shown in FIG. 1 will be described with reference to the flow chart of FIG. 2 and the configuration example of the buffer memory of FIG. I will explain while.

【0023】図2において、非同期通信網回線からデー
タを受信すると、先ず、ステップS1で音声データを復
号処理してデータ保持バッファ23に格納し、データ受
信カウンタ26によりデータ受信バイト数をカウントす
る(ステップS2)。次に、データ受信カウンタ26に
よるデータ受信カウンタ値と、再生するデータのバイト
数をカウントするデータ再生カウンタ27によるデータ
バイトカウンタ値との差分DFと判定基準値Nとの比較
判定結果に基づいて受信データの再生バッファ24への
書き込み、転送を制御する(ステップS3〜S6)。
In FIG. 2, when data is received from the asynchronous communication network line, first, in step S1, audio data is decoded and stored in the data holding buffer 23, and the number of data reception bytes is counted by the data reception counter 26 (FIG. 2). Step S2). Next, reception is performed based on a comparison result of a difference DF between the data reception counter value by the data reception counter 26 and the data byte counter value by the data reproduction counter 27 that counts the number of bytes of data to be reproduced, and the determination reference value N. The writing and transfer of data to the reproduction buffer 24 are controlled (steps S3 to S6).

【0024】すなわち、上記判定基準値Nは、データ再
生バッファ24の未再生エリアへのデータ上書きやデー
タ不足により古いデータの再生によって生じる再生音声
の品質の低下を避けるために必要な値に設定される。
That is, the determination reference value N is set to a value necessary to avoid a decrease in the quality of reproduced sound caused by reproduction of old data due to overwriting of data in an unreproduced area of the data reproduction buffer 24 or reproduction of insufficient data. You.

【0025】理解を簡単にするため、例えば、図3に示
すような簡略化したデータ再生バッファ24について説
明すると、データ再生バッファ24が3ブロックに分か
れ、判定基準値Nを2に設定した場合、まず正常動作を
示すのように、書き込みデータバイト数と再生データ
バイト数の差が2より小さく、かつ再生データバイト数
より書き込みデータバイト数の方が大きいあるいは同じ
場合、データを壊すことなく音質を保つことができる。
回線速度と再生速度が同じ場合がこの動作に相当する。
For simplicity of understanding, for example, a simplified data reproduction buffer 24 as shown in FIG. 3 will be described. When the data reproduction buffer 24 is divided into three blocks and the criterion value N is set to 2, First, as shown in the normal operation, when the difference between the number of write data bytes and the number of reproduced data bytes is smaller than 2, and the number of write data bytes is larger than or equal to the number of reproduced data bytes, the sound quality is improved without destroying the data. Can be kept.
The case where the line speed and the reproduction speed are the same corresponds to this operation.

【0026】次に、書き込み位置が再生位置を追い越す
動作を示すのように、書き込みデータバイト数と再生
データバイト数の差が2以上で、書き込みデータバイト
数が再生データバイト数より大きい場合、再生していな
いM(2)エリアに新しい音声データを上書きするので
音声が壊れる原因になる。音声の再生速度より受信する
データの回線速度の方が速いためデータ量が多く再生が
間に合わない。このような場合、本実施形態では、受信
したデータを廃棄する処理を行う。
Next, if the difference between the number of write data bytes and the number of read data bytes is 2 or more and the number of write data bytes is larger than the number of read data bytes, as shown in the operation of overwriting the write position with the read position, Since the new audio data is overwritten on the M (2) area which is not used, the audio may be broken. Since the line speed of the received data is higher than the voice reproduction speed, the data amount is large and the reproduction cannot be performed in time. In such a case, in the present embodiment, a process of discarding the received data is performed.

【0027】更に、再生位置が書き込み位置を追い越す
動作を示すのように、書き込みデータバイト数より再
生データバイト数が多い場合、これは新しい音声データ
の書き込みはM(1)までなのに対し音声データの書き
込み行っていないM(2)エリアを再生しようとする場
合である。このとき再生されるデータは以前再生したデ
ータのため音声が壊れる原因となる。音声の再生速度の
方が回線速度より速いため次のデータが来ないうちに再
生処理を行ってしまう。このような場合は、本実施形態
では、直前の音声データを再生するエリアに書き込むこ
とによって、音声の違和感を最小限にする処理を行う。
Further, when the number of reproduction data bytes is larger than the number of write data bytes as shown in the operation where the reproduction position overtakes the write position, this means that the writing of new audio data is up to M (1) whereas the writing of new audio data is up to M (1). This is a case where the M (2) area to which no writing has been performed is to be reproduced. Since the data reproduced at this time is data that has been reproduced previously, the sound may be broken. Since the audio reproduction speed is faster than the line speed, the reproduction process is performed before the next data comes. In such a case, in the present embodiment, a process of minimizing a sense of incongruity of voice is performed by writing the immediately preceding voice data in an area to be reproduced.

【0028】上述の如き判定、制御を用いた図2のステ
ップS3〜S6の処理を具体的に説明する。ステップS
3において、差分DFについての判定結果が、0≦D
F≦Nの場合には、データの受信と再生処理のバランス
がとれているためステップS4で受信データをデータ再
生バッファ24に書込む。また、判定結果がDF>0
の場合には、再生処理に比べデータの受信速度が速いた
めステップS5に移行して受信データを廃棄する。更
に、判定結果がDF<0の場合には、データの受信速
度より再生処理の方が速いためデータ量が少ないのでス
テップS6に移行して、保持していた直前の受信データ
をデータ再生バッファに書き込みを行う。ステップS4
〜S6の処理を経た後、再生準備が完了する。
The processing of steps S3 to S6 in FIG. 2 using the above-described determination and control will be specifically described. Step S
3, the determination result on the difference DF is 0 ≦ D
In the case of F ≦ N, the received data is written into the data reproduction buffer 24 in step S4 because the data reception and the reproduction process are balanced. Also, if the judgment result is DF> 0
In the case of, the data reception speed is higher than that of the reproduction process, so that the process shifts to step S5 to discard the received data. Further, when the result of the determination is DF <0, since the reproduction processing is faster than the data reception speed and the data amount is small, the flow shifts to step S6 to store the received data immediately before being held in the data reproduction buffer. Write. Step S4
After the processing of S6, the preparation for reproduction is completed.

【0029】また、音声再生処理が行われると、ステッ
プS7で再生完了情報を得て、ステップS8において、
データ再生カウンタ をカウントして音声再生処理を完
了する。
When the sound reproduction process is performed, reproduction completion information is obtained in step S7, and in step S8,
The data reproduction counter is counted and the audio reproduction process is completed.

【0030】本発明の他の実施の形態として、その基本
的構成は上記の通りとしつつ、判定方法においては、上
記の書き込みデータバイト数のカウント値や再生データ
バイト数のカウント値の比較で再生データの制御を行う
のではなく、図3に示すように、データ再生バッファの
書き込み位置と再生位置を常に監視することでデータの
制御を行う方法も用いることができる。
According to another embodiment of the present invention, while the basic configuration is as described above, in the determination method, the reproduction is performed by comparing the count value of the write data byte number and the count value of the reproduction data byte number. Instead of controlling the data, a method of controlling the data by constantly monitoring the write position and the reproduction position of the data reproduction buffer as shown in FIG. 3 can also be used.

【0031】以上、本発明による非同期音声データ処理
方式の好適実施形態を詳述した。しかし、斯かる実施形
態は、本発明の単なる例示に過ぎず、何ら本発明を限定
するものではないことに留意されたい。本発明の要旨を
逸脱することなく、特定用途に応じて種々の変形変更が
可能であること、当業者には容易に理解できよう。
The preferred embodiment of the asynchronous voice data processing system according to the present invention has been described in detail. However, it should be noted that such an embodiment is merely an example of the present invention and does not limit the present invention in any way. It will be readily apparent to those skilled in the art that various modifications can be made in accordance with the particular application without departing from the spirit of the invention.

【0032】[0032]

【発明の効果】以上説明したように、本発明によれば、
音声データ受信処理とPCでの再生処理とが非同期で、
音声データがつぶれたり足りなかったりすることでスリ
ップが発生するような場合、再生よりデータ受信速度が
速い場合、受信データ量が多いためデータを廃棄し、再
生よりデータ受信速度の方が遅い場合は、受信データ量
が少ないため直前の音声データを付け足すことで、音声
データのスリップを発生させないようにし、音声の品質
を確保する。したがって、受信音声データと再生のタイ
ミングを監視し、音声の再生制御を行うことで、音声品
質の向上を図った非同期系における音声通信方式が実現
される。
As described above, according to the present invention,
The audio data receiving process and the playback process on the PC are asynchronous,
If the audio data is slipped due to crushing or missing, if the data reception speed is faster than playback, if the received data amount is large, discard the data and if the data reception speed is slower than playback, Since the amount of received data is small, the immediately preceding audio data is added to prevent the occurrence of slips in the audio data, thereby ensuring the quality of the audio. Therefore, by monitoring the received audio data and the reproduction timing and performing audio reproduction control, an audio communication system in an asynchronous system for improving the audio quality is realized.

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

【図1】本発明による非同期音声データ処理方式のPC
(パーソナルコンピュータ)側の構成ブロック図であ
る。
FIG. 1 shows a PC of an asynchronous audio data processing system according to the present invention.
FIG. 2 is a block diagram of a configuration on a (personal computer) side.

【図2】本発明による非同期音声データ処理方式におけ
る音声制御方式の流れを示すフローチャートである。
FIG. 2 is a flowchart showing a flow of a voice control method in the asynchronous voice data processing method according to the present invention.

【図3】本発明による非同期音声データ処理方式におけ
る音声データ制御判定方法の一例を説明するための図で
ある。
FIG. 3 is a diagram for explaining an example of an audio data control determination method in the asynchronous audio data processing method according to the present invention.

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

1 データ送信処理部 2 データ受信処理部 11 A/D変換部 12 エンコーダ 13 ソケット送信部 21 ソケット受信部 22 デコーダ 23 データ保持バッファ 24 データ再生バッファ 25 D/A変換部 26 データ受信カウンタ 27 データ再生カウンタ 28 制御部 DESCRIPTION OF SYMBOLS 1 Data transmission processing part 2 Data reception processing part 11 A / D conversion part 12 Encoder 13 Socket transmission part 21 Socket reception part 22 Decoder 23 Data holding buffer 24 Data reproduction buffer 25 D / A conversion part 26 Data reception counter 27 Data reproduction counter 28 Control unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】非同期通信回線を介して受信した音声デー
タを再生する非同期音声データ処理方式において、 音声データ再生速度より音声データ受信速度が速い場合
は、過剰な受信データを廃棄し、音声データ再生速度よ
り音声データ受信速度の方が遅い場合は、直前に受信し
た音声データを付け足すことにより音声データのスリッ
プの発生を防止することを特徴とする非同期音声データ
処理方式。
In an asynchronous audio data processing method for reproducing audio data received via an asynchronous communication line, if the audio data reception speed is higher than the audio data reproduction speed, excess received data is discarded and the audio data reproduction is performed. An asynchronous audio data processing method, wherein when the audio data reception speed is lower than the speed, the occurrence of audio data slip is prevented by adding the audio data received immediately before.
【請求項2】非同期通信網から受信した音声信号が復号
化されてデータ保持バッファに保持され、このデータ保
持バッファに保持されたデータをデータ再生バッファに
転送して、前記データ再生バッファから読み出したデー
タを再生出力する非同期音声データ処理方式において、 前記データ保持バッファへの受信データバイトをカウン
トするとともに、前記データ再生バッファからの出力デ
ータバイトをカウントし、両カウント値に基づいて前記
データ保持バッファから前記データ再生バッファへのデ
ータ転送を制御することを特徴とする非同期音声データ
処理方式。
2. An audio signal received from an asynchronous communication network is decoded and held in a data holding buffer. The data held in the data holding buffer is transferred to a data reproduction buffer and read from the data reproduction buffer. In the asynchronous audio data processing system for reproducing and outputting data, while counting received data bytes to the data holding buffer, counting output data bytes from the data reproducing buffer, and from the data holding buffer based on both count values, An asynchronous audio data processing method, wherein data transfer to the data reproduction buffer is controlled.
【請求項3】前記受信データバイトカウント値と前記デ
ータ再生バッファからの出力データバイト値との差分
と、予め定めた判定基準値Nとの比較判定結果に基づい
て前記データ保持バッファから前記データ再生バッファ
へのデータ転送を制御することを特徴とする請求項2に
記載の非同期音声データ処理方式。
3. A method for reproducing data from the data holding buffer based on a result of comparison between a difference between the received data byte count value and an output data byte value from the data reproduction buffer and a predetermined judgment reference value N. 3. The asynchronous audio data processing method according to claim 2, wherein data transfer to the buffer is controlled.
【請求項4】前記判定基準値Nは、前記データ再生バッ
ファの未再生エリアへのデータ上書きやデータ不足によ
り古いデータの再生によって生じる再生音声の品質の低
下を基準にして設定されることを特徴とする請求項3に
記載の非同期音声データ処理方式。
4. The determination reference value N is set on the basis of a decrease in quality of reproduced audio caused by reproduction of old data due to overwriting of data in an unreproduced area of the data reproduction buffer or lack of data. The asynchronous audio data processing method according to claim 3, wherein
【請求項5】前記データ再生バッファへの書き込み位置
が再生位置を追い越す場合には、受信したデータを廃棄
し、再生位置が書き込み位置を追い越す場合には、直前
の音声データを再生するエリアに書き込むことを特徴と
する請求項2に記載の非同期音声データ処理方式。
5. When the write position to the data reproduction buffer exceeds the reproduction position, the received data is discarded, and when the reproduction position passes the write position, the immediately preceding audio data is written to the reproduction area. 3. The asynchronous audio data processing method according to claim 2, wherein:
【請求項6】非同期通信網から受信した音声信号が復号
化されてデータ保持バッファに保持され、このデータ保
持バッファに保持されたデータをデータ再生バッファに
転送して、前記データ再生バッファから読み出したデー
タを出力する非同期音声データ処理方式において、 前記データ再生バッファの書き込み位置と再生位置に基
づいて前記データ保持バッファから前記データ再生バッ
ファへのデータ転送を制御することを特徴とする非同期
音声データ処理方式。
6. An audio signal received from an asynchronous communication network is decoded and held in a data holding buffer, and the data held in the data holding buffer is transferred to a data reproduction buffer and read from the data reproduction buffer. An asynchronous audio data processing method for outputting data, wherein data transfer from the data holding buffer to the data reproduction buffer is controlled based on a write position and a reproduction position of the data reproduction buffer. .
JP2000266981A 2000-09-04 2000-09-04 Asynchronous voice data processing system Pending JP2002077241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000266981A JP2002077241A (en) 2000-09-04 2000-09-04 Asynchronous voice data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000266981A JP2002077241A (en) 2000-09-04 2000-09-04 Asynchronous voice data processing system

Publications (1)

Publication Number Publication Date
JP2002077241A true JP2002077241A (en) 2002-03-15

Family

ID=18753972

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000266981A Pending JP2002077241A (en) 2000-09-04 2000-09-04 Asynchronous voice data processing system

Country Status (1)

Country Link
JP (1) JP2002077241A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005050944A1 (en) * 2003-11-19 2005-06-02 National Institute Of Information And Communications Technology Analog signal input/output system using network lines
JPWO2005050944A1 (en) * 2003-11-19 2007-06-14 独立行政法人情報通信研究機構 Analog signal input / output system using network line
JP2011216997A (en) * 2010-03-31 2011-10-27 Seiko Epson Corp Projector and synchronizing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005050944A1 (en) * 2003-11-19 2005-06-02 National Institute Of Information And Communications Technology Analog signal input/output system using network lines
JPWO2005050944A1 (en) * 2003-11-19 2007-06-14 独立行政法人情報通信研究機構 Analog signal input / output system using network line
JP4696269B2 (en) * 2003-11-19 2011-06-08 独立行政法人情報通信研究機構 Analog signal input / output system using network line
US8239542B2 (en) 2003-11-19 2012-08-07 National Institute Of Information And Communications Technology Analog signal input/output system using network links
JP2011216997A (en) * 2010-03-31 2011-10-27 Seiko Epson Corp Projector and synchronizing method

Similar Documents

Publication Publication Date Title
JP3687188B2 (en) Packet transmission method
JP5026167B2 (en) Stream transmission server and stream transmission system
JPH10500547A (en) Voice communication device
JP3417392B2 (en) Synchronous control device
JP3052824B2 (en) Audio playback time adjustment circuit
JP3438223B2 (en) Multiplexing device and multiplexing method, and transmission device and transmission method
JP5641849B2 (en) Transmitter
JP2003330496A (en) Method and apparatus for controlling buffering of audio stream
JP3185863B2 (en) Data multiplexing method and apparatus
JP2002077241A (en) Asynchronous voice data processing system
WO2004052015A1 (en) Encoder and its method
JP3481087B2 (en) Voice communication fluctuation absorption method
JP2000115249A (en) Data communication terminal and data communication method
JP3604817B2 (en) Voice transmission system and receiving terminal
JP5234845B2 (en) Packet transmitting / receiving apparatus, method, and program
JP3172774B2 (en) Variable silence suppression controller for voice
US7720821B1 (en) Method of and apparatus for writing and reading time sensitive data within a storage device
JPS5840399B2 (en) Voice packet call setting method
JP2569493B2 (en) Transfer fluctuation absorption processing method in packet communication
JP2765986B2 (en) ATM network burst information transfer method
JP2746061B2 (en) Voice packet switching equipment
JP2765985B2 (en) ATM network burst information transfer method
JP2001244969A (en) Method and device for receiving data
JPS62199146A (en) Data transmission equipment
JP3492561B2 (en) Communication voice processing device and storage medium storing voice processing program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040921

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041005

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050330