JP2002268691A - Method and device for voice data reception - Google Patents

Method and device for voice data reception

Info

Publication number
JP2002268691A
JP2002268691A JP2001068659A JP2001068659A JP2002268691A JP 2002268691 A JP2002268691 A JP 2002268691A JP 2001068659 A JP2001068659 A JP 2001068659A JP 2001068659 A JP2001068659 A JP 2001068659A JP 2002268691 A JP2002268691 A JP 2002268691A
Authority
JP
Japan
Prior art keywords
audio data
data
compression
transmission
voice 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
JP2001068659A
Other languages
Japanese (ja)
Inventor
Tadashi Fukami
正 深見
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2001068659A priority Critical patent/JP2002268691A/en
Publication of JP2002268691A publication Critical patent/JP2002268691A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To solve problems of excessive or insufficient data when digital voice data are asynchronously transmitted, through simple processing and constitution. SOLUTION: A transmission device is equipped with a compressing means which compresses and encodes voice data sampled at a specific sampling frequency, a storage means which stores the voice data temporarily compressed by the compressing means, a transmitting means which sends the voice data stored in the storage means to a specific transmission line, and a control means which varies and sets the compressibility of compressive encoding by the compressing means according to the storage amount of the voice data in the storage means. A reception device, on the other hand, is equipped with a receiving means which receives the compressed and encoded voice data, an expanding means which expands the received voice data from the compressive encoding state to the original rate, and a control means which judges the compressibility of the voice data from auxiliary data added to the voice data received by the receiving means and makes the expanding means perform the expansion processing corresponding to the judged compressibility.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、送信側と受信側と
が非同期状態でデジタル音声データを伝送する場合の送
信側及び受信側に適用される音声データ送信装置及び音
声データ受信装置に関する。
The present invention relates to an audio data transmitting apparatus and an audio data receiving apparatus applied to a transmitting side and a receiving side when digital audio data is transmitted in an asynchronous state between a transmitting side and a receiving side.

【0002】[0002]

【従来の技術】近年、数十m程度までの伝送距離の近距
離無線伝送システムが各種開発されており、このような
無線伝送システムを使用して、家庭内などでデジタル音
声データを無線伝送させることが提案され、実用化され
つつある。
2. Description of the Related Art In recent years, various short-distance wireless transmission systems having a transmission distance of up to several tens of meters have been developed, and digital audio data is wirelessly transmitted in a home or the like using such a wireless transmission system. Have been proposed and are being put to practical use.

【0003】図7は、従来のデジタル音声データを無線
伝送させる送信側と受信側の構成例を示した図である。
この例では、送信装置80内に、音声信号が出力される
オーディオ信号源81が用意されている。オーディオ信
号源81としては、例えばCD(コンパクトディスク)
などのデジタル音声データ記録媒体の再生装置や、デジ
タル放送を受信するチューナなどが考えられる。オーデ
ィオ信号源81から出力されたデジタル音声信号は、圧
縮回路82に供給して、無線伝送用に圧縮符号化された
音声データとする。圧縮符号化された音声データは、送
信回路83に供給して、送信用の変調処理や、送信周波
数への周波数変換などを行い、アンテナ84から無線送
信させる。
FIG. 7 is a diagram showing a configuration example of a conventional transmitting side and a receiving side for wirelessly transmitting digital audio data.
In this example, an audio signal source 81 for outputting an audio signal is provided in the transmitting device 80. As the audio signal source 81, for example, a CD (compact disk)
For example, a reproduction apparatus for a digital audio data recording medium such as a digital broadcast, a tuner for receiving digital broadcasting, and the like can be considered. The digital audio signal output from the audio signal source 81 is supplied to a compression circuit 82 and is converted into audio data that has been compression-encoded for wireless transmission. The compression-encoded audio data is supplied to a transmission circuit 83, which performs modulation processing for transmission, frequency conversion to a transmission frequency, and the like, and wirelessly transmits the data from an antenna 84.

【0004】送信装置80からの無線信号を受信する受
信装置90では、アンテナ91が接続された受信回路9
2で、所定の周波数の信号を中間周波信号(又はベース
バンド信号)に周波数変換し、その周波数変換された受
信信号を復調処理する。復調された受信信号は、伸長回
路93に供給して、送信時に圧縮符号化されたデータ
を、元のデータに伸長させる復号化を行う。伸長回路9
3での復号化により、元の一定のサンプリング周波数の
デジタル音声データが得られる。伸長回路93で復号化
されたデジタル音声データは、エラー検出・訂正回路9
4に供給して、音声データに付加された誤り検出(訂
正)用の符号などを使用して、データのエラー検出及び
訂正を行う。
In a receiving device 90 for receiving a radio signal from a transmitting device 80, a receiving circuit 9 to which an antenna 91 is connected is connected.
In 2, the signal of a predetermined frequency is frequency-converted into an intermediate frequency signal (or baseband signal), and the frequency-converted received signal is demodulated. The demodulated received signal is supplied to a decompression circuit 93, which performs decoding for decompressing the data compressed and encoded at the time of transmission to the original data. Expansion circuit 9
By the decoding in step 3, digital audio data having the original constant sampling frequency is obtained. The digital audio data decoded by the decompression circuit 93 is output to an error detection / correction circuit 9.
4 to perform error detection and correction of the data using an error detection (correction) code or the like added to the audio data.

【0005】そして、エラー訂正されたデジタル音声デ
ータを、デジタル/アナログ変換器95に供給して、ア
ナログ音声信号に変換する。変換されたアナログ音声信
号は、増幅などのアナログ処理を行うオーディオ出力回
路96に供給して、オーディオ出力回路96に接続され
た左右2チャンネルのスピーカ97L,97Rから音声
を出力させる。
[0005] The digital audio data with the error corrected is supplied to a digital / analog converter 95 to be converted into an analog audio signal. The converted analog audio signal is supplied to an audio output circuit 96 that performs analog processing such as amplification, and outputs audio from left and right two-channel speakers 97L and 97R connected to the audio output circuit 96.

【0006】[0006]

【発明が解決しようとする課題】このような従来の伝送
処理では、伝送エラーの対処としては、送信側では伝送
データに誤り訂正符号を付加し、受信側でその誤り訂正
符号を使用したチェックで誤りの検出及び訂正を行う程
度であった。ところで、伝送するデジタル音声データの
サンプリングレートと、無線伝送システムの伝送レート
とが、非同期で設定されているいわゆる非同期伝送の場
合には、送信側で扱う音声データのクロック周波数と、
受信側で扱う音声データのクロック周波数とを完全に等
しくすることは困難であり、若干のずれが生じる。この
若干のクロック周波数のずれは、再生音質などの点から
は基本的に問題ないが、データ処理上からは、送信側と
受信側でのサンプリング周波数のずれが、受信側でのデ
ータの過不足を来してしまう。又エラーフレームの再送
などで実質の伝送可能なデータレートが変化する場合も
ある。
In such conventional transmission processing, as a measure against transmission errors, an error correction code is added to transmission data on the transmission side, and a check using the error correction code on the reception side is performed. Error detection and correction were performed. By the way, in the case of so-called asynchronous transmission in which the sampling rate of the digital audio data to be transmitted and the transmission rate of the wireless transmission system are set asynchronously, the clock frequency of the audio data handled on the transmission side,
It is difficult to completely equalize the clock frequency of audio data handled on the receiving side, and a slight shift occurs. This slight difference in clock frequency is basically no problem in terms of reproduction sound quality, etc., but from the viewpoint of data processing, the difference in sampling frequency between the transmission side and the reception side indicates that the data on the reception side is excessive or insufficient. Will come. Also, the actual transmittable data rate may change due to retransmission of an error frame or the like.

【0007】即ち、送信側のサンプリング周波数より
も、わずかでも受信側でアナログ変換するサンプリング
周波数が低いと、受信側ではアナログ変換される前の段
階で、バッファメモリなどに蓄積されるデータ量が少し
ずつ増えていく。短時間の伝送ではこのようなことは問
題にならないが、例えば数十分も連続して伝送すると、
受信側が備えるバッファメモリがオーバーフローして、
受信して出力される音声が一時的に途切れてしまう。
That is, if the sampling frequency at which analog conversion is performed at the receiving side is slightly lower than the sampling frequency at the transmitting side, the amount of data stored in the buffer memory or the like at the stage before analog conversion is reduced at the receiving side. It increases by one. Such a problem is not a problem in a short transmission, but for example, if it is continuously transmitted for tens of minutes,
The buffer memory of the receiving side overflows,
The sound received and output is interrupted temporarily.

【0008】また、逆に送信側のサンプリング周波数よ
りも、わずかでも受信側でアナログ変換するサンプリン
グ周波数が高いと、受信側ではアナログ変換される前の
段階で、バッファメモリなどに蓄積されるデータ量が少
しずつ減っていき、連続した伝送で、受信側が備えるバ
ッファメモリに蓄積されるデータが無くなってアンダー
フローとなり、やはり受信して出力される音声が一時的
に途切れてしまう。
On the other hand, if the sampling frequency for performing analog conversion on the receiving side is slightly higher than the sampling frequency on the transmitting side, the amount of data stored in a buffer memory or the like at the receiving side before the analog conversion is performed. Gradually decreases, and in continuous transmission, the data stored in the buffer memory provided on the receiving side is lost, resulting in an underflow, and the sound received and output is also temporarily interrupted.

【0009】このようにデジタル音声データを非同期伝
送する場合には、音声データのサンプリングレートと伝
送レートとが非同期であるために、受信側での音声デー
タの過不足の問題があった。
As described above, when digital audio data is transmitted asynchronously, the sampling rate of the audio data and the transmission rate are asynchronous, so that there is a problem of excessive or insufficient audio data on the receiving side.

【0010】本発明はかかる点に鑑み、デジタル音声デ
ータを非同期伝送させる際のデータの過不足の問題を、
簡単な処理及び構成で解決することを目的とする。
[0010] In view of the above, the present invention solves the problem of excessive or insufficient data when asynchronously transmitting digital audio data.
The purpose is to solve the problem with a simple process and configuration.

【0011】[0011]

【課題を解決するための手段】本発明の音声データ送信
装置は、所定のサンプリング周波数でサンプリングされ
た音声データを圧縮符号化する圧縮手段と、圧縮手段で
圧縮された音声データを一時蓄積する蓄積手段と、蓄積
手段に蓄積された音声データを所定の伝送路に送出する
送信手段と、蓄積手段での音声データの蓄積量に基づい
て圧縮手段での圧縮符号化の圧縮率を可変設定させる制
御手段とを備えたものである。
An audio data transmitting apparatus according to the present invention comprises a compression means for compressing and encoding audio data sampled at a predetermined sampling frequency, and a storage for temporarily storing the audio data compressed by the compression means. Means, transmission means for transmitting the audio data stored in the storage means to a predetermined transmission path, and control for variably setting the compression ratio of the compression encoding in the compression means based on the amount of audio data stored in the storage means. Means.

【0012】本発明の音声データ送信装置によると、そ
のときの伝送状態に応じて、音声の圧縮率が可変設定さ
れ、送信装置が備える蓄積手段での一時蓄積量を所定の
範囲内とすることができる。
According to the audio data transmitting apparatus of the present invention, the audio compression ratio is variably set according to the transmission state at that time, and the temporary storage amount in the storage means provided in the transmitting apparatus is set within a predetermined range. Can be.

【0013】また本発明の音声データ受信装置は、圧縮
符号化された音声データを受信する受信手段と、受信手
段が受信した音声データを圧縮符号化から元のレートに
伸長する伸長手段と、受信手段が受信した音声データに
付加された補助データから、音声データの圧縮率を判断
して、その判断した圧縮率に対応した伸長処理を伸長手
段で実行させる制御手段とを備えたものである。
The audio data receiving apparatus according to the present invention comprises: a receiving means for receiving compression-encoded audio data; an expansion means for expanding the audio data received by the receiving means from the compression encoding to the original rate; And control means for judging the compression rate of the audio data from the auxiliary data added to the audio data received by the means, and causing the decompression means to execute decompression processing corresponding to the judged compression rate.

【0014】本発明の音声データ受信装置によると、伝
送される音声データの圧縮符号化率が可変設定されてい
ても、受信した音声データに付加された補助データの指
示に基づいて、正しい伸長処理で元のレートに伸長させ
ることができる。
According to the audio data receiving apparatus of the present invention, even if the compression coding rate of the transmitted audio data is variably set, correct decompression processing is performed based on the instruction of the auxiliary data added to the received audio data. Can be extended to the original rate.

【0015】[0015]

【発明の実施の形態】以下、本発明の一実施の形態を、
図1〜図6を参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of the present invention will be described.
This will be described with reference to FIGS.

【0016】本例においては、非同期伝送でデジタル音
声データを無線伝送するシステムに適用したものであ
る。この非同期伝送を行う無線伝送システムとして、こ
こではブルートゥース(Bluetooth )と称される規格の
無線伝送方式を適用してある。この規格は、複数台の機
器間で、音声データ,画像データ,コンピュータ用デー
タなどの伝送を、2.4GHzの周波数帯域を使用して
無線伝送するものである。機器間の無線伝送距離は、数
mから最大でも100m程度までの比較的近距離のネッ
トワークを想定している。伝送を行うデータの種別毎
に、そのデータ伝送をどのように行うかを規定したプロ
ファイルが定められている。高音質のオーディオ再生用
のデジタル音声データを伝送するためのプロファイルに
ついても、規格化が進められている。
In this embodiment, the present invention is applied to a system for wirelessly transmitting digital audio data by asynchronous transmission. As a wireless transmission system for performing the asynchronous transmission, a wireless transmission system of a standard called Bluetooth is applied here. This standard is for wireless transmission of audio data, image data, computer data, and the like between a plurality of devices using a 2.4 GHz frequency band. The wireless transmission distance between the devices is assumed to be a relatively short distance network from several meters to at most about 100 m. For each type of data to be transmitted, a profile is defined which defines how the data is transmitted. Standardization of profiles for transmitting digital audio data for high-quality audio reproduction is also underway.

【0017】ブルートゥース規格の無線伝送方式につい
て説明すると、かかる無線伝送は、2.4GHz帯に1
MHz間隔で設定したチャンネルで伝送するようにして
ある。但し、各チャンネルの信号は、後述するスロット
間隔で伝送周波数を変化させる周波数ホッピングと称さ
れる処理を行うようにしてある。1スロット毎に周波数
ホッピングを行うものとすると、1スロットは625μ
秒であるので、1秒間に1600回周波数が切換えられ
ることになり、他の無線通信との干渉が防止される。無
線伝送信号の変調方式としては、GFSK(Gaussian f
ilterd FSK)と称される変調方式が適用される。この変
調方式は、周波数伝達特性がガウス分布の低域通過フィ
ルタで帯域制限した周波数偏移変調方式である。
The wireless transmission system of the Bluetooth standard will be described. Such wireless transmission is one in the 2.4 GHz band.
Transmission is performed on channels set at MHz intervals. However, the signal of each channel is subjected to a process called frequency hopping in which a transmission frequency is changed at a slot interval described later. If frequency hopping is performed for each slot, one slot is 625 μm.
Since it is seconds, the frequency is switched 1600 times per second, and interference with other wireless communication is prevented. As a modulation method of the wireless transmission signal, GFSK (Gaussian f
A modulation scheme called “ilterd FSK” is applied. This modulation method is a frequency shift keying method in which the frequency transfer characteristic is band-limited by a low-pass filter having a Gaussian distribution.

【0018】また、ブルートゥース規格では、基本的に
送信と受信を交互に行うTDD(Time Division Duple
x)方式を適用してあり、交互に送信スロットの処理と
受信スロットを配置させる。即ち、例えば図2に示すよ
うに、無線伝送を行う一方の機器をマスタとし、他方の
機器をスレーブとしたとき、マスタからスレーブに、1
スロット(625μ秒)の期間にスロット構成のデータ
を伝送し(図2のA)、次の1スロットの期間に、スレ
ーブからマスタに、スロット構成のデータを伝送する
(図2のB)。以下その交互伝送を、伝送が続く限り繰
り返す。但し、無線伝送する周波数は、上述したように
1スロット毎に周波数f(k),f(k+1),f(k+2)…と変化さ
せる。なお、そのときの伝送レートにより複数のスロッ
トを連続使用する場合もある。また、このスロットが伝
送される周期は、後述する音声データのサンプリング周
期とは無関係に設定された周期である。
[0018] In the Bluetooth standard, TDD (Time Division Duple) that basically performs transmission and reception alternately.
x) The system is applied, and processing of transmission slots and reception slots are alternately arranged. That is, as shown in FIG. 2, for example, when one device performing wireless transmission is set as a master and the other device is set as a slave, 1
The data of the slot configuration is transmitted during the slot (625 μsec) (A in FIG. 2), and the data of the slot configuration is transmitted from the slave to the master during the next one slot (B in FIG. 2). Hereinafter, the alternate transmission is repeated as long as the transmission continues. However, the frequency for wireless transmission is changed to frequency f (k), f (k + 1), f (k + 2)... For each slot as described above. Note that a plurality of slots may be continuously used depending on the transmission rate at that time. The cycle at which this slot is transmitted is a cycle set independently of the sampling cycle of audio data described later.

【0019】図3は、ブルートゥース規格で無線伝送さ
れるデータの1スロットのパケット構造を示した図であ
る。図3のAに示すように、1パケットの先頭部分に
は、72ビットのアクセスコードが付加され、続いて5
4ビットのヘッダが付加され、残りの区間が実際の伝送
データであるペイロードとなっている。本例の場合には
このペイロードの区間に音声データが配置される。ペイ
ロードの区間は、伝送するデータ量に応じて可変長に設
定される。
FIG. 3 is a diagram showing a packet structure of one slot of data wirelessly transmitted according to the Bluetooth standard. As shown in FIG. 3A, a 72-bit access code is added to the head of one packet, followed by 5 bits.
A 4-bit header is added, and the remaining section is a payload that is actual transmission data. In the case of this example, audio data is arranged in the section of the payload. The section of the payload is set to a variable length according to the amount of data to be transmitted.

【0020】アクセスコードは、図3のBに示すよう
に、4ビットのプリアンブルと、64ビットのシンクワ
ードで構成され、残りの区間には何もデータを配置しな
い。ヘッダは、図3のCに示すように、機器毎のアドレ
ス(AM ADR)と、ペイロードの種別を表すタイプ
と、再送制御,フロー制御のためのビット(FLOW,
ARQN,SEQN)と、エラーチェック用のビット
(HEC)とで構成されている。
As shown in FIG. 3B, the access code is composed of a 4-bit preamble and a 64-bit sync word, and no data is arranged in the remaining sections. As shown in FIG. 3C, the header includes an address (AM ADR) for each device, a type representing the type of payload, and bits (FLOW, FLOW,
ARQN, SEQN) and an error check bit (HEC).

【0021】図4は、各パケットのペイロードの区間に
配置される本例の音声データの1フレームの構成例を示
した図である。本例の場合には、1フレームの音声デー
タの先頭部分にはヘッダが配置され、ヘッダに続いて音
声データであるオーディオ圧縮データが配置される。そ
して、最後の区間に補助データが配置される。この補助
データには、音声データに付随する各種データが配置さ
れるが、本例の場合には、そのフレームに配置された音
声データの圧縮率に関するデータについても、この補助
データを使用して伝送するようにしてある。
FIG. 4 is a diagram showing an example of the configuration of one frame of the audio data of the present example arranged in the payload section of each packet. In the case of this example, a header is arranged at the beginning of the audio data of one frame, and audio compressed data as audio data is arranged after the header. Then, auxiliary data is arranged in the last section. Various data accompanying the audio data is arranged in the auxiliary data. In this example, data relating to the compression ratio of the audio data arranged in the frame is also transmitted using the auxiliary data. I have to do it.

【0022】なお、ブルートゥースの通信方式の詳細に
ついては、規格を定めた標準化団体であるBluetooth SI
G が公開している。
For details of the Bluetooth communication system, see Bluetooth SI, a standardization body that has established standards.
G has published.

【0023】次に、このような無線伝送方式にて音声デ
ータを無線伝送する、本例の送信装置及び受信装置の構
成を、図1を参照して説明する。本例においては、送信
装置10に内蔵されたオーディオ信号源11から出力さ
れる音声信号を、受信装置30に無線伝送して、受信装
置30の音声信号出力端子36から出力させるシステム
構成としてある。
Next, the configuration of the transmitting apparatus and the receiving apparatus of the present embodiment for transmitting voice data wirelessly by such a wireless transmission method will be described with reference to FIG. In the present example, the audio signal output from the audio signal source 11 built in the transmission device 10 is wirelessly transmitted to the reception device 30 and output from the audio signal output terminal 36 of the reception device 30.

【0024】まず送信装置10の構成について説明する
と、本例の送信装置10内には、音声信号が出力される
オーディオ信号源11が用意されている。なお、オーデ
ィオ信号源11は、送信装置10とは別体で構成され
て、その別体のオーディオ信号源を送信装置10に接続
する構成でも良い。
First, the configuration of the transmitting device 10 will be described. In the transmitting device 10 of this embodiment, an audio signal source 11 for outputting an audio signal is prepared. Note that the audio signal source 11 may be configured separately from the transmission device 10, and the separate audio signal source may be connected to the transmission device 10.

【0025】オーディオ信号源11から出力された音声
信号は、アナログ/デジタル変換器12に供給して、一
定のサンプリング周波数のデジタル音声データに変換す
る。このアナログ/デジタル変換器12で変換する際の
クロックは、クロック発生回路22から供給されるクロ
ックを使用する。なお、オーディオ信号源11がデジタ
ル音声データを出力するものである場合には、アナログ
/デジタル変換器12は必要ない。
The audio signal output from the audio signal source 11 is supplied to an analog / digital converter 12 and converted into digital audio data having a fixed sampling frequency. A clock supplied from the clock generation circuit 22 is used as a clock for conversion by the analog / digital converter 12. When the audio signal source 11 outputs digital audio data, the analog / digital converter 12 is not required.

【0026】アナログ/デジタル変換器12が出力する
デジタル音声データは、圧縮回路13に供給して、上述
したブルートゥース規格のパケットのペイロードの区間
に配置できるようにするために、圧縮符号化された音声
データとする。例えば、サンプリング周波数44.1k
Hzの2チャンネルのデジタル音声データを、上述した
ブルートゥース規格のパケットで伝送するためには、4
00kbps前後の伝送レートのデータに圧縮する必要
がある。但し本例の場合には、圧縮回路13で圧縮符号
化する際の圧縮率については、ある程度の範囲内で可変
設定できるようにしてあり、圧縮率設定回路21からの
指示で圧縮率が決められるようにしてある。可変設定さ
れる圧縮率としては、例えば100kbpsから700
kbpsの範囲で可変できるようにする。圧縮率が可変
の圧縮符号化方式としては、既に知られた各種方式が適
用可能である。例えば、ATRAC(Adaptive Transfo
rmAcoustic Coding)3方式と称される圧縮方式や、M
P3方式と称される圧縮方式などが適用可能である。
The digital audio data output from the analog / digital converter 12 is supplied to a compression circuit 13 and compressed and encoded so that the audio data can be arranged in the above-mentioned payload section of the packet of the Bluetooth standard. Data. For example, the sampling frequency 44.1k
In order to transmit the digital audio data of two channels of 1 Hz in the packet of the Bluetooth standard described above,
It is necessary to compress the data at a transmission rate of about 00 kbps. However, in the case of the present example, the compression ratio at the time of compression encoding by the compression circuit 13 can be variably set within a certain range, and the compression ratio is determined by an instruction from the compression ratio setting circuit 21. It is like that. The compression ratio variably set is, for example, from 100 kbps to 700
It can be changed in the range of kbps. As a compression encoding method with a variable compression ratio, various known methods can be applied. For example, ATRAC (Adaptive Transfo
rmAcoustic Coding) compression method called 3 method, M
A compression method called a P3 method is applicable.

【0027】圧縮符号化された音声データは、ヘッダ付
加回路14に供給して、その音声データに図4に示すヘ
ッダや補助データを付加して、フレーム構造化されたデ
ータとする。このとき、補助データには後述する制御部
20から供給される圧縮率のデータを付加する。
The compression-encoded audio data is supplied to a header adding circuit 14, where the header data and auxiliary data shown in FIG. 4 are added to the audio data to form frame-structured data. At this time, data of the compression ratio supplied from the control unit 20 described later is added to the auxiliary data.

【0028】ヘッダ付加回路14でフレーム構造化され
た音声データは、バッファメモリ15に供給する。この
バッファメモリ15は、送信させる音声データを一時蓄
積させるファーストイン・ファーストアウト(いわゆる
FIFO)のメモリとして構成されたものであり、この
メモリ15への書込みは、前段の回路14のデータ出力
に連動して行われ、メモリ15からの読出しは、この送
信装置10からのデータ送信に連動して行われる。バッ
ファメモリ15へのデータの書込み及び読出しは、この
送信装置10の送信動作を制御する制御部20の制御で
実行される。制御部20は、バッファメモリ15が一時
蓄積するデータ量が所定範囲内でほぼ一定となるような
制御を行うようにしてある。具体的な制御処理例につい
ては、後述する伝送状態の説明で詳細に述べる。
The audio data frame-structured by the header adding circuit 14 is supplied to a buffer memory 15. The buffer memory 15 is configured as a first-in first-out (so-called FIFO) memory for temporarily storing audio data to be transmitted, and writing to this memory 15 is linked with the data output of the circuit 14 in the preceding stage. The reading from the memory 15 is performed in conjunction with the data transmission from the transmitting device 10. Writing and reading of data to and from the buffer memory 15 are executed under the control of the control unit 20 that controls the transmission operation of the transmission device 10. The control unit 20 performs control such that the amount of data temporarily stored in the buffer memory 15 is substantially constant within a predetermined range. A specific control processing example will be described in detail in the description of the transmission state described later.

【0029】バッファメモリ15から読出されたフレー
ム単位の音声データは、切換スイッチ16の第1の固定
接点16aを介して送信処理回路17に供給する。切換
スイッチ16は、制御部20の制御で可動接点16mの
切換えが制御されるスイッチで、可動接点16mが第1
の固定接点16aに接続されているとき、バッファメモ
リ15の出力が送信処理回路17に供給される。通常の
動作状態では、可動接点16mは第1の固定接点16a
に接続された状態となっている。
The audio data in frame units read from the buffer memory 15 is supplied to the transmission processing circuit 17 via the first fixed contact 16a of the changeover switch 16. The changeover switch 16 is a switch for controlling the switching of the movable contact 16m under the control of the control unit 20.
Is connected to the fixed contact 16a, the output of the buffer memory 15 is supplied to the transmission processing circuit 17. In a normal operation state, the movable contact 16m is connected to the first fixed contact 16a.
Connected.

【0030】そして、切換スイッチ16の第2の固定接
点16bには、空きパケットデータ記憶部19の出力が
供給され、可動接点16mが第2の固定接点16bに接
続されているとき、空きパケットデータ記憶部19に記
憶された空きパケットデータが送信処理回路17に供給
される。ここでの空きパケットとは、音声データが何も
配置されていない状態のパケットデータである。
The output of the empty packet data storage unit 19 is supplied to the second fixed contact 16b of the changeover switch 16, and when the movable contact 16m is connected to the second fixed contact 16b, the empty packet data The free packet data stored in the storage unit 19 is supplied to the transmission processing circuit 17. The empty packet here is packet data in which no audio data is arranged.

【0031】送信処理回路17では、切換スイッチ16
を介して供給されるフレーム単位のデータを、図3に示
したブルートゥース規格のパケット構成の送信データと
し、その送信データを所定の送信チャンネルから送信さ
せる信号に変調し、変調出力をアンテナ18から無線送
信させる。送信処理回路17での送信処理には、クロッ
ク発生回路23が生成させたクロックを使用する。この
送信処理用のクロックは、アナログ/デジタル変換器1
2での変調用のクロックとは非同期であり、周波数につ
いても本例の場合には両クロックの周波数に直接的な関
係はない。
In the transmission processing circuit 17, the changeover switch 16
Is transmitted as a transmission data having a packet structure of the Bluetooth standard shown in FIG. 3, and the transmission data is modulated into a signal to be transmitted from a predetermined transmission channel. Send. For the transmission processing in the transmission processing circuit 17, a clock generated by the clock generation circuit 23 is used. The clock for this transmission processing is the analog / digital converter 1
2 is asynchronous with the clock for modulation, and in the case of this example, there is no direct relationship between the frequencies of the two clocks.

【0032】次に、受信装置30の構成について説明す
ると、アンテナ31を介して受信処理回路32に供給さ
れる所定のチャンネルの伝送信号を、受信処理回路32
で受信処理し、その受信された信号から、各パケットの
ペイロード区間に配置された伝送データを抽出して、伸
長回路33に供給する。伸長回路33では、送信時に圧
縮符号化された音声データを、元のデータに伸長させる
復号化を行う。このとき、受信処理回路32で受信した
パケットに含まれる補助データを、圧縮率検出回路37
に供給する。圧縮率検出回路37では、補助データに配
置されたデータ圧縮率のデータから、受信した音声デー
タの圧縮率を検出し、その圧縮率に対応した伸長率を伸
長回路33に設定させる。
Next, the configuration of the receiving apparatus 30 will be described. The transmission signal of a predetermined channel supplied to the receiving processing circuit 32 via the antenna 31 is transmitted to the receiving processing circuit 32.
, And extracts transmission data arranged in the payload section of each packet from the received signal and supplies it to the decompression circuit 33. The decompression circuit 33 performs decoding for decompressing the audio data compressed and encoded at the time of transmission to the original data. At this time, the auxiliary data included in the packet received by the reception
To supply. The compression ratio detection circuit 37 detects the compression ratio of the received audio data from the data of the data compression ratio arranged in the auxiliary data, and causes the expansion circuit 33 to set the expansion ratio corresponding to the compression ratio.

【0033】このように伸長回路33での伸長処理が制
御されることで、受信信号に含まれる音声データの圧縮
率が可変であっても、伸長回路33で正しく伸長処理で
き、元の一定のサンプリング周波数のデジタル音声デー
タが伸長回路33の出力として得られる。
By controlling the decompression processing in the decompression circuit 33 in this way, even if the compression ratio of the audio data included in the received signal is variable, the decompression circuit 33 can correctly perform the decompression processing, and Digital audio data of the sampling frequency is obtained as an output of the decompression circuit 33.

【0034】なお、受信処理回路32は、受信データに
含まれるクロックにロックするPLL回路32aを備え
て、このPLL回路32aが生成させたクロックを使用
して、復調回路32内での処理や、伸長回路33での処
理が実行される。
The reception processing circuit 32 includes a PLL circuit 32a for locking to a clock included in the received data, and uses the clock generated by the PLL circuit 32a to perform processing in the demodulation circuit 32, The processing in the decompression circuit 33 is executed.

【0035】伸長回路33が出力するデジタル音声デー
タは、切換スイッチ34の第1の固定接点34aに供給
する。この切換スイッチ34は、制御部40の制御で切
換えが制御されるスイッチであり、切換スイッチ34の
可動接点34mに得られるデータを、デジタル/アナロ
グ変換器35に供給するようにしてある。
The digital audio data output from the expansion circuit 33 is supplied to a first fixed contact 34a of a changeover switch 34. The changeover switch 34 is a switch whose switching is controlled by the control of the control unit 40, and supplies data obtained at the movable contact 34m of the changeover switch 34 to the digital / analog converter 35.

【0036】また、伸長回路33の出力は、メモリ38
にも供給するようにしてある。メモリ38は、供給され
るデジタル音声データを、所定期間(ここでは1サンプ
リング期間)記憶して、遅延手段として使用されるメモ
リであり、遅延出力としてのメモリ38の出力を、切換
スイッチ34の第2の固定接点34bに供給する。従っ
て、切換スイッチ34の制御で、デジタル/アナログ変
換器35に供給されるデジタル音声データを、現在受信
中のサンプリング期間のデータと、1サンプリング期間
前のデータとに切換えることができる。
The output of the decompression circuit 33 is supplied to a memory 38
Is also supplied. The memory 38 is a memory that stores the supplied digital audio data for a predetermined period (here, one sampling period) and is used as a delay unit. To the second fixed contact 34b. Therefore, under the control of the changeover switch 34, the digital audio data supplied to the digital / analog converter 35 can be switched between the data currently being received in the sampling period and the data one sampling period before.

【0037】制御部40は、空パケット検出回路39の
検出状況などを判断して、切換スイッチ34の切換えを
制御するようにしてあり、通常の状態では切換スイッチ
34の可動接点34mは第1の固定接点34a側に接続
させてある。空パケット検出回路39は、伸長回路33
の出力を検出する回路であり、伸長回路33が出力する
デジタル音声データが、空パケット(即ち音声データが
存在しないパケット)を処理したデータであるとき、そ
のことを検出する。空パケット検出回路39の検出に基
づいた制御部40での制御処理については、後述する伝
送状態の説明で詳細に述べる。
The control unit 40 controls the switching of the changeover switch 34 by judging the detection state of the empty packet detection circuit 39 and the like. In a normal state, the movable contact 34m of the changeover switch 34 is in the first position. It is connected to the fixed contact 34a. The empty packet detection circuit 39 includes a decompression circuit 33.
When the digital audio data output from the decompression circuit 33 is data obtained by processing an empty packet (that is, a packet in which no audio data exists), this is detected. The control processing in the control unit 40 based on the detection of the empty packet detection circuit 39 will be described in detail in the description of the transmission state described later.

【0038】デジタル/アナログ変換器35では、供給
されるデジタル音声データをアナログ音声信号に変換
し、変換された音声信号を音声信号出力端子36から出
力させる。このデジタル/アナログ変換器35では、制
御部40からの指令によりミュート処理させて、出力さ
れるアナログ音声信号を無音状態の音声信号とすること
ができるようにしてある。このミュート処理が実行され
る状態については後述する。デジタル/アナログ変換器
35でのアナログ変換には、クロック発生回路41から
供給されるクロックを使用する。受信装置30の出力端
子36から出力される音声信号は、例えばスピーカが接
続されたオーディオアンプ装置に供給することで、接続
されたスピーカから音声が出力される。また、出力端子
36に音声記録装置を接続することで、その記録装置で
記録媒体に音声信号を記録することもできる。なお、受
信装置30に接続されるオーディオ機器が、デジタル音
声データを直接入力できる機器である場合には、デジタ
ル/アナログ変換器35でアナログ変換されてないデジ
タル音声データを、接続されたオーディオ機器に供給す
るようにしても良い。
The digital / analog converter 35 converts the supplied digital audio data into an analog audio signal, and outputs the converted audio signal from an audio signal output terminal 36. In the digital / analog converter 35, the analog audio signal to be output can be converted to a silent audio signal by performing a mute process in accordance with a command from the control unit 40. The state in which the mute process is executed will be described later. The clock supplied from the clock generation circuit 41 is used for the analog conversion in the digital / analog converter 35. The audio signal output from the output terminal 36 of the receiving device 30 is supplied to, for example, an audio amplifier device to which a speaker is connected, so that the audio is output from the connected speaker. In addition, by connecting an audio recording device to the output terminal 36, the recording device can record an audio signal on a recording medium. If the audio device connected to the receiving device 30 is a device that can directly input digital audio data, the digital audio data that has not been subjected to analog conversion by the digital / analog converter 35 is transmitted to the connected audio device. You may make it supply.

【0039】次に、このように構成される送信装置10
と受信装置30との間で音声データを無線伝送するとき
の、それぞれの装置内の制御部での制御による送信状態
及び受信状態を説明する。まず、送信装置10での送信
時の動作状態を、図5のフローチャートを参照して説明
する。
Next, the transmitting apparatus 10 thus configured
A transmission state and a reception state under the control of the control unit in each device when audio data is wirelessly transmitted between the device and the reception device 30 will be described. First, an operation state of the transmission device 10 at the time of transmission will be described with reference to a flowchart of FIG.

【0040】送信装置10の制御部20は、バッファメ
モリ15のデータ蓄積量を判断して、送信状態の制御を
行うようにしてある。即ち、制御部20は、バッファメ
モリ15のデータ蓄積量として、適正なデータ蓄積範囲
を設定してあり、その適正範囲の上限をオーバーフロー
用しきい値としてあり、適正範囲の下限をアンダーフロ
ー用しきい値としてある。そして、制御部20は現在の
バッファメモリ15のデータ蓄積量が、オーバーフロー
用しきい値を越えたか否か判断する(ステップ10
1)。
The control unit 20 of the transmission device 10 determines the amount of data stored in the buffer memory 15 and controls the transmission state. That is, the control unit 20 sets an appropriate data accumulation range as the data accumulation amount of the buffer memory 15, sets the upper limit of the appropriate range as an overflow threshold, and sets the lower limit of the appropriate range for underflow. There is a threshold. Then, the control unit 20 determines whether the current data storage amount of the buffer memory 15 has exceeded the overflow threshold (step 10).
1).

【0041】ステップ101の判断で、オーバーフロー
用しきい値を越えたと判断したとき、現在の圧縮回路1
3での音声データの圧縮符号化率よりも高い圧縮符号化
率とすることができるか否か判断する(ステップ10
2)。この判断で、圧縮率を高くすることができると判
断したとき、圧縮回路13での圧縮率を、設定率設定回
路21に高く変化させる指令を送る(ステップ10
3)。このときには、例えば圧縮率を段階的に変化させ
ることが可能である場合には、現在設定中の圧縮率より
も1段階高い圧縮率に変化させる。
When it is determined in step 101 that the overflow threshold has been exceeded, the current compression circuit 1
It is determined whether the compression coding rate can be made higher than the compression coding rate of the audio data in step 3 (step 10).
2). If it is determined that the compression ratio can be increased, a command to change the compression ratio in the compression circuit 13 to the set ratio setting circuit 21 is sent (step 10).
3). At this time, for example, if the compression ratio can be changed stepwise, the compression ratio is changed to a compression ratio one step higher than the currently set compression ratio.

【0042】またステップ102の判断で、現在設定さ
れている圧縮率が最も高い圧縮率で、これ以上圧縮率を
上げることができないと判断したときには、切換スイッ
チ16を第1の固定接点16aから第2の固定接点16
bに切換えさせ、一時的に空きパケットデータ記憶部1
9に記憶された空きパケットデータを送信処理回路17
に供給させ、バッファメモリ15の記憶データを一旦消
去させる(ステップ104)。
If it is determined in step 102 that the currently set compression ratio is the highest and the compression ratio cannot be further increased, the changeover switch 16 is moved from the first fixed contact 16a to the first fixed contact 16a. 2 fixed contacts 16
b, and temporarily stores the empty packet data storage unit 1
9 to transmit the empty packet data stored in the transmission processing circuit 17
To temporarily erase the data stored in the buffer memory 15 (step 104).

【0043】そしてステップ101の判断で、バッファ
メモリ15のデータ蓄積量が、オーバーフロー用しきい
値を越えてないと判断したとき、アンダーフロー用しき
い値を下回ったか否か判断する(ステップ105)。こ
の判断でも、アンダーフロー用のしきい値を下回ってな
いと判断したとき、ステップ101の判断に戻り、メモ
リ15のデータ蓄積量を監視する。
If it is determined in step 101 that the amount of data stored in the buffer memory 15 does not exceed the overflow threshold, it is determined whether the amount of data has fallen below the underflow threshold (step 105). . If it is determined that the value is not below the threshold value for underflow, the process returns to step 101 and the amount of data stored in the memory 15 is monitored.

【0044】ステップ105の判断で、アンダーフロー
用のしきい値を下回ったと判断したときには、現在の圧
縮回路13での音声データの圧縮符号化率よりも低い圧
縮符号化率とすることができるか否か判断する(ステッ
プ106)。この判断で、圧縮率を低くすることができ
ると判断したとき、圧縮回路13での圧縮率を、設定率
設定回路21に低く変化させる指令を送る(ステップ1
07)。このときには、例えば圧縮率を段階的に変化さ
せることが可能である場合には、現在設定中の圧縮率よ
りも1段階低い圧縮率に変化させる。
If it is determined in step 105 that the value is below the threshold value for underflow, is it possible to set the compression coding rate lower than the current compression coding rate of the audio data in the compression circuit 13? It is determined whether or not it is (step 106). When it is determined that the compression ratio can be reduced, a command to lower the compression ratio in the compression circuit 13 to the set ratio setting circuit 21 is sent (step 1).
07). At this time, for example, if the compression ratio can be changed in a stepwise manner, the compression ratio is changed to a compression ratio one step lower than the currently set compression ratio.

【0045】またステップ106の判断で、現在設定さ
れている圧縮率が最も低い圧縮率で、これ以上圧縮率を
下げることができないと判断したときには、切換スイッ
チ16を第1の固定接点16aから第2の固定接点16
bに切換えさせ、一時的に空きパケットデータ記憶部1
9に記憶された空きパケットデータを送信処理回路17
に供給させ、バッファメモリ15の記憶データを一旦消
去させる(ステップ108)。
If it is determined in step 106 that the currently set compression ratio is the lowest compression ratio and the compression ratio cannot be further reduced, the changeover switch 16 is moved from the first fixed contact 16a to the first fixed contact 16a. 2 fixed contacts 16
b, and temporarily stores the empty packet data storage unit 1
9 to transmit the empty packet data stored in the transmission processing circuit 17
To temporarily erase the data stored in the buffer memory 15 (step 108).

【0046】そして、ステップ103,104,10
7,108での処理が実行されると、ステップ101の
判断に戻り、メモリ15のオーバーフローやアンダーフ
ローの判断を繰り返し行う。
Then, steps 103, 104 and 10
When the processes in steps 7 and 108 are executed, the process returns to the determination in step 101, and the determination of the overflow or the underflow of the memory 15 is repeatedly performed.

【0047】次に、受信装置30での受信時の動作状態
を、図6のフローチャートを参照して説明する。
Next, the operation state of the receiving device 30 at the time of reception will be described with reference to the flowchart of FIG.

【0048】受信装置30の制御部40は、伸長回路3
3の出力状況などから、受信した音声データが、正しい
フレーム番号順に連続して供給されているか否か判断す
る(ステップ201)。ここでのフレーム番号順に供給
されているかの判断は、例えば空きパケットが伝送され
ない状況のとき、フレーム番号順に正しく伝送されてい
ると判断し、空パケット検出回路39が空きパケットを
検出したとき、フレーム番号順でないと判断する。この
ステップ201での判断で、連続したフレーム番号でな
く、フレームの欠落がある場合には、その欠落が1サン
プルの音声データだけの欠落であるか否か判断する(ス
テップ202)。
The control unit 40 of the receiving device 30
It is determined whether or not the received audio data is continuously supplied in the correct frame number order from the output status of step 3 (step 201). Here, it is determined whether or not the packets are supplied in the order of frame numbers. For example, when no empty packets are transmitted, it is determined that the packets are transmitted correctly in the order of the frame numbers. Judge as not in numerical order. If it is determined in step 201 that there is not a continuous frame number but a frame loss, it is determined whether the loss is a loss of only one sample of audio data (step 202).

【0049】この判断で、1サンプルだけの欠落である
と判断したときには、制御部40は切換スイッチ34の
可動接点34mを第2の固定接点34b側に切換えさせ
て、デジタル/アナログ変換器35に供給するデータ
を、メモリ38での記憶で遅延された1サンプル前のデ
ータに置き替える(ステップ203)。なお、このとき
の置き替えは1サンプルだけであり、次のサンプル期間
は、切換スイッチ34の可動接点34mを第1の固定接
点34aに戻す処理が行われる。
When it is determined that only one sample is missing, the control unit 40 switches the movable contact 34m of the changeover switch 34 to the second fixed contact 34b, and the digital / analog converter 35 The data to be supplied is replaced with the data one sample before, which has been delayed by the storage in the memory 38 (step 203). At this time, only one sample is replaced, and during the next sample period, a process of returning the movable contact 34m of the changeover switch 34 to the first fixed contact 34a is performed.

【0050】またステップ202の判断で、1サンプル
だけの欠落でないと判断したときには、欠落が続く限
り、デジタル/アナログ変換器35でミュート処理させ
て、出力音声信号を無音信号とする(ステップ20
4)。
If it is determined in step 202 that the loss is not a loss of only one sample, as long as the loss continues, the digital / analog converter 35 mutes the output audio signal to a silent signal (step 20).
4).

【0051】そしてステップ201の判断で、受信した
音声データが、正しいフレーム番号順に連続して供給さ
れていると判断したとき、受信データの誤り検出処理な
どで、受信した音声データにエラーがあるか否か判断す
る(ステップ205)。この判断で、受信した音声デー
タにエラーがないと判断したときには、ステップ201
の判断に戻る。
When it is determined in step 201 that the received audio data is continuously supplied in the correct frame number order, if there is an error in the received audio data in error detection processing of the received data or the like. It is determined whether or not it is (step 205). If it is determined that there is no error in the received voice data in this determination, step 201
Return to the judgment.

【0052】そして、受信した音声データにエラーがあ
ると判断したときには、そのエラーがバースト的なエラ
ーであるか、或いは一時的なエラーであるか判断する
(ステップ206)。この判断で、一時的なエラーであ
ると判断したときには、ステップ203に移って、制御
部40は切換スイッチ34の可動接点34mを第2の固
定接点34b側に切換えさせて、1サンプル期間だけ、
デジタル/アナログ変換器35に供給するデータを、メ
モリ38での記憶で遅延された1サンプル前のデータに
置き替えさせる。
When it is determined that there is an error in the received voice data, it is determined whether the error is a burst error or a temporary error (step 206). If it is determined in this determination that the error is a temporary error, the process proceeds to step 203, where the control unit 40 switches the movable contact 34m of the changeover switch 34 to the second fixed contact 34b side for one sample period.
The data supplied to the digital / analog converter 35 is replaced with the data one sample before, which is delayed by the storage in the memory 38.

【0053】また、ステップ206の判断で、バースト
的なエラーであると判断したときには、ステップ204
に移って、エラーが続く限り、デジタル/アナログ変換
器35でミュート処理させて、出力音声信号を無音信号
とする。
If it is determined in step 206 that the error is a burst error, step 204
Then, as long as the error continues, the digital / analog converter 35 performs a mute process to make the output audio signal a silent signal.

【0054】そして、ステップ203,204の処理が
行われると、ステップ201の判断に戻る。
When the processing in steps 203 and 204 is performed, the process returns to the determination in step 201.

【0055】このように送信処理と受信処理が行われる
ことで、送信装置10から受信装置30への音声データ
の無線伝送が良好に行われる。即ち、送信装置10が備
えるバッファメモリ15のデータ蓄積量に応じて、音声
データの圧縮率を変化させて送信するようにしたので、
バッファメモリ15がオーバーフローしたりアンダーフ
ローするような事態が発生することを効果的に回避する
ことができ、伝送するデジタル音声データのサンプリン
グレートと伝送レートとが非同期であっても、連続的に
音声データを伝送することができ、受信側での音切れを
効果的に防止することができる。
By performing the transmission processing and the reception processing in this way, wireless transmission of audio data from the transmission apparatus 10 to the reception apparatus 30 is performed satisfactorily. That is, the audio data is transmitted with the compression ratio changed in accordance with the amount of data stored in the buffer memory 15 included in the transmission device 10.
It is possible to effectively prevent a situation in which the buffer memory 15 overflows or underflows. Even if the sampling rate of the digital audio data to be transmitted is asynchronous with the transmission rate, the audio is continuously output. Data can be transmitted, and sound interruption on the receiving side can be effectively prevented.

【0056】この場合、送信する音声データには、圧縮
回路13での圧縮率を示す補助データを付与するように
したことで、受信装置30側でその補助データを参照す
ることで、受信したデータの圧縮率が判断でき、そのと
きの圧縮率に基づいた正しい伸長処理が行え、良好に再
生処理が行える。
In this case, the audio data to be transmitted is provided with auxiliary data indicating the compression ratio in the compression circuit 13, so that the receiving device 30 refers to the auxiliary data to receive the received data. Can be determined, correct decompression processing can be performed based on the compression rate at that time, and good reproduction processing can be performed.

【0057】また、送信時の圧縮率の変化で、バッファ
メモリ15のオーバーフローやアンダーフローを阻止で
きないときには、記憶部19に予め用意された空パケッ
トデータを一時的に送信するようにしたことで、受信側
では一時的に無音状態の音声信号が得られるようにな
り、バッファメモリ15のオーバーフローやアンダーフ
ローで、誤った音声データが伝送されるのが阻止され、
受信装置30が受信した音声データの出力音として、異
音が出力されることがなくなる。また、このような空パ
ケットデータの送信は、バッファメモリ15のオーバー
フローやアンダーフローを阻止できないときに、一時的
に行われるだけであるので、音声データの伝送が途切れ
るのが最低限に抑えられ、良好な伝送状態が極力維持さ
れる。
When overflow or underflow of the buffer memory 15 cannot be prevented due to a change in the compression ratio at the time of transmission, empty packet data prepared in advance in the storage unit 19 is temporarily transmitted. On the receiving side, a sound signal in a silent state can be temporarily obtained, and transmission of erroneous sound data is prevented by overflow or underflow of the buffer memory 15,
No abnormal sound is output as the output sound of the audio data received by the receiving device 30. Further, such transmission of empty packet data is performed only temporarily when overflow or underflow of the buffer memory 15 cannot be prevented, so that interruption of transmission of audio data can be minimized. Good transmission conditions are maintained as much as possible.

【0058】また、受信装置30側では、空パケットデ
ータの伝送が一時的であるときには、その空パケットの
伝送で欠落したサンプルの音声データを、直前のサンプ
ルの音声データで補間するようにし、連続的な欠落時に
はミュート処理するようにしたことで、音声出力が途切
れることが極力避けられ、良好な音声出力状態が維持さ
れる。
When the transmission of empty packet data is temporary, the receiving apparatus 30 interpolates the audio data of the sample lost in the transmission of the empty packet with the audio data of the immediately preceding sample. By performing the mute process when the sound is lost, interruption of the sound output is avoided as much as possible, and a good sound output state is maintained.

【0059】なお、ここまで説明した実施の形態では、
無線ネットワークとしてブルートゥースを適用したが、
他の同様な無線ネットワークを適用して無線伝送する場
合にも、本発明の処理が適用できることは勿論である。
また、非同期伝送であれば、有線伝送された音声データ
を処理する場合にも適用可能である。
In the embodiment described so far,
I applied Bluetooth as a wireless network,
It goes without saying that the processing of the present invention can also be applied to wireless transmission using another similar wireless network.
In addition, the asynchronous transmission is also applicable to the case of processing audio data transmitted by wire.

【0060】また、上述した実施の形態では、伝送され
る音声データの圧縮率を示すデータを、補助データに付
加するようにしたが、直接圧縮率を示すデータ以外のデ
ータで、圧縮率が判るようにしても良い。例えば、音声
データの1単位あたりのデータ長を示すデータを補助デ
ータに付加して、そのデータ長から受信側で圧縮率が判
るようにしても良い。
In the above-described embodiment, the data indicating the compression rate of the transmitted audio data is added to the auxiliary data. However, the data other than the data indicating the direct compression rate can determine the compression rate. You may do it. For example, data indicating the data length per unit of audio data may be added to the auxiliary data so that the compression ratio can be determined on the receiving side from the data length.

【0061】また、圧縮率などのデータが配置された補
助データを配置する位置についても、図4に示した構成
に限定されるものではない。さらに、圧縮率やデータ長
などのデータについては、全てのフレームに配置して伝
送するか、或いは圧縮率やデータ長に変更があったとき
だけ伝送するような構成でも良い。
Further, the position at which the auxiliary data in which the data such as the compression ratio is arranged is not limited to the configuration shown in FIG. Further, data such as the compression ratio and the data length may be arranged and transmitted in all frames, or may be transmitted only when the compression ratio and the data length are changed.

【0062】[0062]

【発明の効果】本発明の音声データ送信装置によると、
そのときの伝送状態に応じて、音声の圧縮率が可変設定
され、送信装置が備える蓄積手段での一時蓄積量を所定
の範囲内とすることができる。従って、送信装置から送
信する音声データが無くなるような事態を有効に回避す
ることができ、この送信装置から送信される音声データ
を受信する側で、連続的に音声データを受信して出力さ
せるような処理が可能になる。
According to the audio data transmitting apparatus of the present invention,
The audio compression ratio is variably set in accordance with the transmission state at that time, and the temporary storage amount in the storage means provided in the transmission device can be set within a predetermined range. Therefore, it is possible to effectively avoid a situation in which the audio data transmitted from the transmission device is lost, and the receiving side of the audio data transmitted from the transmission device continuously receives and outputs the audio data. Processing can be performed.

【0063】この場合、送信手段が送信する音声データ
には、圧縮手段での圧縮率又は音声データのデータ長を
示す補助データを付与するようにしたことで、受信側で
その補助データを参照することで、受信したデータの圧
縮率が判断できるようになる。
In this case, the audio data transmitted by the transmission means is provided with auxiliary data indicating the compression ratio of the compression means or the data length of the audio data, so that the reception side refers to the auxiliary data. Thus, the compression ratio of the received data can be determined.

【0064】また、制御手段は、圧縮手段での圧縮率の
変化で、蓄積手段でのデータ蓄積のオーバーフロー又は
アンダーフローを阻止できないとき、蓄積手段に一時蓄
積されたデータを消去するようにしたことで、蓄積手段
に蓄積されたデータの消去により伝送タイミングを補正
することが最低限に抑えられ、良好な伝送状態が極力維
持される。
Further, the control means deletes the data temporarily stored in the storage means when the overflow or underflow of data storage in the storage means cannot be prevented due to a change in the compression ratio of the compression means. Thus, correction of the transmission timing by erasing the data stored in the storage means is minimized, and a good transmission state is maintained as much as possible.

【0065】また本発明の音声データ受信装置による
と、伝送される音声データの圧縮符号化率が可変設定さ
れていても、受信した音声データに付加された補助デー
タの指示に基づいて、正しい伸長処理で元のレートに伸
長させることができる。従って、送信側で圧縮率が可変
処理されても、受信装置内で正しく元のデータを復元す
ることが可能になり、受信した音声データの出力が良好
に行える。
According to the audio data receiving apparatus of the present invention, even if the compression coding rate of the audio data to be transmitted is variably set, correct expansion is performed based on the instruction of the auxiliary data added to the received audio data. It can be decompressed to the original rate by processing. Therefore, even if the compression ratio is variably processed on the transmission side, the original data can be correctly restored in the receiving device, and the output of the received audio data can be performed well.

【0066】この場合、制御手段は、伸長手段で伸長さ
れた音声データにエラーを検出したとき、そのエラーを
検出した音声データを、直前の音声データに置き替える
ようにしたことで、伝送エラー発生時に、エラー発生区
間のデータが直前のデータで補間されて、異音などが出
力されることを防止できる。
In this case, when an error is detected in the audio data decompressed by the decompression means, the control means replaces the error-detected audio data with the immediately preceding audio data, so that a transmission error occurs. At times, it is possible to prevent the data in the error occurrence section from being interpolated by the immediately preceding data, thereby preventing abnormal noise and the like from being output.

【0067】また制御手段は、伸長手段で伸長された音
声データにエラーを検出したとき、そのエラーを検出し
た音声データをミュート処理させることで、伝送エラー
発生時に出力音声が無音状態になって、異音などが出力
されることを防止できる。
Further, when an error is detected in the audio data decompressed by the decompression means, the control means mutes the audio data in which the error has been detected. It is possible to prevent abnormal noise and the like from being output.

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

【図1】本発明の一実施の形態による伝送構成例を示す
ブロック図である。
FIG. 1 is a block diagram illustrating a transmission configuration example according to an embodiment of the present invention.

【図2】本発明の一実施の形態によるパケット構成の例
を示す説明図である。
FIG. 2 is an explanatory diagram illustrating an example of a packet configuration according to an embodiment of the present invention.

【図3】本発明の一実施の形態による伝送データの構成
例を示す説明図である。
FIG. 3 is an explanatory diagram illustrating a configuration example of transmission data according to an embodiment of the present invention;

【図4】本発明の一実施の形態による1パケットのデー
タ構成例を示す説明図である。
FIG. 4 is an explanatory diagram showing a data configuration example of one packet according to an embodiment of the present invention;

【図5】本発明の一実施の形態による送信データの処理
例を示すフローチャートである。
FIG. 5 is a flowchart illustrating a processing example of transmission data according to the embodiment of the present invention;

【図6】本発明の一実施の形態による受信データの処理
例を示すフローチャートである。
FIG. 6 is a flowchart illustrating a processing example of received data according to an embodiment of the present invention;

【図7】従来の伝送構成の一例を示すブロック図であ
る。
FIG. 7 is a block diagram illustrating an example of a conventional transmission configuration.

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

10…送信装置、11…オーディオ信号源、12…アナ
ログ/デジタル変換器、13…圧縮回路、14…ヘッダ
付加回路、15…バッファメモリ、16…切換スイッ
チ、17…送信処理回路、18…アンテナ、19…空パ
ケットデータ記憶部、20…制御部、21…圧縮率設定
回路、22,23…クロック発生回路、30…受信装
置、31…アンテナ、32…受信処理回路、32a…P
LL回路、33…伸長回路、34…切換スイッチ、35
…デジタル/アナログ変換器、36…音声信号出力端
子、37…圧縮率検出回路、38…メモリ、39…空パ
ケット検出回路、40…制御部、41…クロック発生回
DESCRIPTION OF SYMBOLS 10 ... Transmission apparatus, 11 ... Audio signal source, 12 ... Analog / digital converter, 13 ... Compression circuit, 14 ... Header addition circuit, 15 ... Buffer memory, 16 ... Switch, 17 ... Transmission processing circuit, 18 ... Antenna, 19: empty packet data storage unit, 20: control unit, 21: compression ratio setting circuit, 22, 23: clock generation circuit, 30: receiving device, 31: antenna, 32: reception processing circuit, 32a: P
LL circuit, 33 ... expansion circuit, 34 ... changeover switch, 35
... Digital / analog converter, 36 ... Audio signal output terminal, 37 ... Compression rate detection circuit, 38 ... Memory, 39 ... Empty packet detection circuit, 40 ... Control unit, 41 ... Clock generation circuit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 所定のサンプリング周波数でサンプリン
グされた音声データを、圧縮符号化する圧縮手段と、 上記圧縮手段で圧縮された音声データを一時蓄積する蓄
積手段と、 上記蓄積手段に蓄積された音声データを所定の伝送路に
送出する送信手段と、 上記蓄積手段での音声データの蓄積量に基づいて、上記
圧縮手段での圧縮符号化の圧縮率を可変設定させる制御
手段とを備えた音声データ送信装置。
1. A compression unit for compressing and encoding audio data sampled at a predetermined sampling frequency, a storage unit for temporarily storing audio data compressed by the compression unit, and a voice stored in the storage unit. Audio data comprising: transmission means for transmitting data to a predetermined transmission path; and control means for variably setting a compression rate of compression encoding by the compression means based on the amount of audio data stored in the storage means. Transmission device.
【請求項2】 請求項1記載の音声データ送信装置にお
いて、 上記送信手段が送信する音声データには、上記圧縮手段
での圧縮率又は音声データのデータ長を示す補助データ
を付与するようにした音声データ送信装置。
2. The audio data transmitting apparatus according to claim 1, wherein auxiliary data indicating a compression ratio of said compression means or a data length of the audio data is added to the audio data transmitted by said transmission means. Audio data transmission device.
【請求項3】 請求項1記載の音声データ送信装置にお
いて、 上記制御手段は、上記圧縮手段での圧縮率の変化で、上
記蓄積手段でのデータ蓄積のオーバーフロー又はアンダ
ーフローを阻止できないとき、上記蓄積手段に一時蓄積
されたデータを消去するようにした音声データ送信装
置。
3. The audio data transmitting apparatus according to claim 1, wherein the control means is configured to, when a change in a compression ratio of the compression means cannot prevent an overflow or underflow of data storage in the storage means. An audio data transmitting device configured to delete data temporarily stored in a storage unit.
【請求項4】 圧縮符号化された音声データを受信する
受信手段と、 上記受信手段が受信した音声データを、上記圧縮符号化
から元のレートに伸長する伸長手段と、 上記受信手段が受信した音声データに付加された補助デ
ータから、上記音声データの圧縮率を判断して、その判
断した圧縮率に対応した伸長処理を上記伸長手段で実行
させる制御手段とを備えた音声データ受信装置。
4. Receiving means for receiving compression-encoded audio data, decompression means for decompressing the audio data received by the receiving means from the compression encoding to the original rate, and receiving by the receiving means An audio data receiving apparatus comprising: control means for judging a compression rate of the audio data from auxiliary data added to the audio data, and causing the expansion means to execute expansion processing corresponding to the determined compression rate.
【請求項5】 請求項4記載の音声データ受信装置にお
いて、 上記制御手段は、上記伸長手段で伸長された音声データ
にエラーを検出したとき、そのエラーを検出した音声デ
ータを、直前の音声データに置き替えるようにした音声
データ受信装置。
5. The audio data receiving apparatus according to claim 4, wherein, when an error is detected in the audio data decompressed by the decompression means, the control means replaces the detected audio data with the immediately preceding audio data. An audio data receiving device that is to be replaced.
【請求項6】 請求項4記載の音声データ受信装置にお
いて、 上記制御手段は、上記伸長手段で伸長された音声データ
にエラーを検出したとき、そのエラーを検出した音声デ
ータをミュート処理させる音声データ受信装置。
6. The audio data receiving apparatus according to claim 4, wherein the control means, when detecting an error in the audio data expanded by the expansion means, mutes the audio data in which the error is detected. Receiver.
JP2001068659A 2001-03-12 2001-03-12 Method and device for voice data reception Pending JP2002268691A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001068659A JP2002268691A (en) 2001-03-12 2001-03-12 Method and device for voice data reception

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001068659A JP2002268691A (en) 2001-03-12 2001-03-12 Method and device for voice data reception

Publications (1)

Publication Number Publication Date
JP2002268691A true JP2002268691A (en) 2002-09-20

Family

ID=18926813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001068659A Pending JP2002268691A (en) 2001-03-12 2001-03-12 Method and device for voice data reception

Country Status (1)

Country Link
JP (1) JP2002268691A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005034089A1 (en) * 2003-09-30 2005-04-14 Sony Corporation Data reproduction device and method, and program
WO2009090781A1 (en) * 2008-01-18 2009-07-23 Sony Corporation Remotely operating device, electric device and communication system
JP2009171514A (en) * 2008-01-21 2009-07-30 Mitsubishi Electric Corp Helicopter-satellite communication system, helicopter-mounted communication apparatus used therefor, and ground station communication apparatus
JP2011083040A (en) * 2011-01-26 2011-04-21 Mitsubishi Electric Corp Helicopter satellite communication system and helicopter-mounted communication device employed therefor
JP5122035B1 (en) * 2012-05-25 2013-01-16 任天堂株式会社 Operating device, information processing system, and communication method
US8599135B1 (en) 2012-05-25 2013-12-03 Nintendo Co., Ltd. Controller device, information processing system, and communication method
US9030410B2 (en) 2012-05-25 2015-05-12 Nintendo Co., Ltd. Controller device, information processing system, and information processing method
US9126114B2 (en) 2011-11-09 2015-09-08 Nintendo Co., Ltd. Storage medium, input terminal device, control system, and control method
WO2019089341A1 (en) * 2017-11-02 2019-05-09 Bose Corporation Low latency audio distribution

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7627702B2 (en) 2003-09-30 2009-12-01 Sony Corporation Data reproduction device and method, and program
WO2005034089A1 (en) * 2003-09-30 2005-04-14 Sony Corporation Data reproduction device and method, and program
US8638397B2 (en) 2008-01-18 2014-01-28 Sony Corporation Remote control apparatus, electric apparatus and communication system
WO2009090781A1 (en) * 2008-01-18 2009-07-23 Sony Corporation Remotely operating device, electric device and communication system
JP2009171514A (en) * 2008-01-21 2009-07-30 Mitsubishi Electric Corp Helicopter-satellite communication system, helicopter-mounted communication apparatus used therefor, and ground station communication apparatus
JP2011083040A (en) * 2011-01-26 2011-04-21 Mitsubishi Electric Corp Helicopter satellite communication system and helicopter-mounted communication device employed therefor
US9126114B2 (en) 2011-11-09 2015-09-08 Nintendo Co., Ltd. Storage medium, input terminal device, control system, and control method
WO2013175629A1 (en) * 2012-05-25 2013-11-28 任天堂株式会社 Operation device, information processing system, and communication method
US8599135B1 (en) 2012-05-25 2013-12-03 Nintendo Co., Ltd. Controller device, information processing system, and communication method
JP5122035B1 (en) * 2012-05-25 2013-01-16 任天堂株式会社 Operating device, information processing system, and communication method
US8749489B2 (en) 2012-05-25 2014-06-10 Nintendo Co., Ltd. Controller device, information processing system, and communication method
US9030410B2 (en) 2012-05-25 2015-05-12 Nintendo Co., Ltd. Controller device, information processing system, and information processing method
US9615048B2 (en) 2012-05-25 2017-04-04 Nintendo Co., Ltd. Controller device, information processing system, and communication method
US10429961B2 (en) 2012-05-25 2019-10-01 Nintendo Co., Ltd. Controller device, information processing system, and information processing method
WO2019089341A1 (en) * 2017-11-02 2019-05-09 Bose Corporation Low latency audio distribution
US10971166B2 (en) 2017-11-02 2021-04-06 Bose Corporation Low latency audio distribution

Similar Documents

Publication Publication Date Title
US7299191B2 (en) Radio transmission device and method, radio receiving device and method, radio transmitting/receiving system, and storage medium
JP3890108B2 (en) Voice message transmitting apparatus, voice message receiving apparatus, and portable wireless voice message communication apparatus
US7346496B2 (en) Method and apparatus to perform speech recognition over a data channel
EP1190515B1 (en) Method and system for adaptive voice buffering
CN104917671A (en) Mobile terminal based audio processing method and device
US10735120B1 (en) Reducing end-to-end delay for audio communication
JP4066268B2 (en) Data transmission system
JP2002268691A (en) Method and device for voice data reception
US7450593B2 (en) Clock difference compensation for a network
JP2002152310A (en) Radio transmitting device and method, radio receiving device and method, radio transmitting/receiving system and storage medium
JP2002268662A (en) Method and device for receiving audio data
US20080170642A1 (en) Wireless voice communication circuit
JP2005101766A (en) Electronic apparatus and method for controlling same
JP2001156692A (en) Wireless relay system
JP2002314676A (en) Sound recording and reproducing device
JPH11284569A (en) Transmission power control system
US20090171675A1 (en) Decoding reproduction apparatus and method and receiver
JPH1169327A (en) Synchronization controller
JP2007096982A (en) Information transmitting apparatus, transmission condition control method and recording medium
JPS60173600A (en) Voice decoder
JP3166319B2 (en) Audio signal transmission method
US5956320A (en) Cell assembling/disassembling system for asynchronous transfer mode network
KR100639323B1 (en) The variable vocoding method and data transmission and reception method of the voice signal for VoIP service using mobile communication terminal
US7457314B2 (en) Method for improving the quality of voice transmission via a radio interface
JP4265781B2 (en) Music data transmitting apparatus, music data reproducing apparatus, and music data communication system