JPH04923A - Variable rate codec - Google Patents
Variable rate codecInfo
- Publication number
- JPH04923A JPH04923A JP2102569A JP10256990A JPH04923A JP H04923 A JPH04923 A JP H04923A JP 2102569 A JP2102569 A JP 2102569A JP 10256990 A JP10256990 A JP 10256990A JP H04923 A JPH04923 A JP H04923A
- Authority
- JP
- Japan
- Prior art keywords
- encoding rate
- encoding
- data
- rate information
- frame
- 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
Links
Landscapes
- Reduction Or Emphasis Of Bandwidth Of Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
Abstract
Description
【発明の詳細な説明】
[概 要〕
音声データを可変の符号化レートで符号化してATMセ
ルを作成するようにした可変レートコーデックに関し、
音声データの伝送効率の向上を目的とし、入力されるフ
レーム単位の音声データに対して各フレーム毎に符号化
レートを設定して符号化を行い、符号化データを出力す
る符号化手段と、入力される音声データに対して、フレ
ーム毎に有音であるか否かを検出する音声検出手段と、
有音部分に対応した符号化データのみを格納する格納手
段と、符号化手段で設定した各フレームの符号化レート
を所定のビット数で表した符号化レート情報を生成して
出力する符号化レート情報生成手段と、符号化レート情
報生成手段から出力される複数フレームに対応した符号
化レート情報を圧縮する圧縮手段と、圧縮手段で圧縮し
た符号化レート情報及び格納手段に格納された符号化デ
ータを含むATMセルを作成して出力するATMセル作
成手段とを備えるように構成する。[Detailed Description of the Invention] [Summary] Regarding a variable rate codec that creates ATM cells by encoding voice data at a variable encoding rate, the purpose of this is to improve the transmission efficiency of voice data. An encoding means that performs encoding by setting an encoding rate for each frame of audio data in units of frames and outputs the encoded data; voice detection means for detecting whether or not there is a voice;
A storage means for storing only encoded data corresponding to a voiced part, and an encoding rate for generating and outputting encoding rate information expressing the encoding rate of each frame set by the encoding means in a predetermined number of bits. information generation means; compression means for compressing encoding rate information corresponding to a plurality of frames output from the encoding rate information generation means; and encoding rate information compressed by the compression means and encoded data stored in the storage means. and ATM cell creation means for creating and outputting an ATM cell containing the following information.
本発明は、音声データを可変の符号化レートで符号化し
てATMセルを作成するようにした可変レートコーデッ
クに関するものである。The present invention relates to a variable rate codec that creates ATM cells by encoding voice data at a variable encoding rate.
近年、高帯域l5DNの実現方式として、パケット交換
の帯域柔軟性と回線交換の時間透過性とを兼ねそなえた
ATM (Asynchronous Transfe
rMode+ 非同期転送モード)を使った伝送方式が
CCITTで合意され、各機関で研究が盛んに行われて
いる。In recent years, ATM (Asynchronous Transfer), which has both the bandwidth flexibility of packet switching and the time transparency of circuit switching, has been used as a method for realizing high-bandwidth I5DN.
A transmission method using rMode+ (asynchronous transfer mode) has been agreed upon by the CCITT, and research is being actively conducted at various institutions.
このようなATM方式を適用した可変レートコーデック
は、入力される音声信号を量子化した後可変レートで符
号化を行い、更にその結果を1つ乃至複数のATMセル
に変換して出力するものである。例えば、4肥毎の量子
化データを1フレームとして、更にこの6フレームから
構成されるlマルチフレームを処理単位としてATMセ
ルを作成する。A variable rate codec that uses such an ATM method quantizes an input audio signal, then encodes it at a variable rate, and then converts the result into one or more ATM cells and outputs it. be. For example, an ATM cell is created by using quantized data for every four frames as one frame, and using l multiframes made up of these six frames as a processing unit.
第4図に、可変レートコーデックの動作の概略を示す。FIG. 4 shows an outline of the operation of the variable rate codec.
可変レートコーデックでは、入力音声の有音部分のみを
検出して、この有音部分に対応したフレームの量子化デ
ータのみを可変レートで符号化し、1マルチフレームに
対応したバーストデータを得る。可変の符号化レートと
しては例えば16に、24に、32に、40に、48K
bpsの5種類を考えるものとすると、この中のどの符
号化レートで符号化したか及びどのフレームが有音部分
かによって上述したバーストデータのデータ量が異なる
。従って、バーストデータのデータ量が少ない場合は1
つのATMセルに変換し、データ量が多い場合は2つあ
るいは3つのATMセルに変換する。The variable rate codec detects only the voiced portion of the input voice and encodes only the quantized data of the frame corresponding to the voiced portion at a variable rate to obtain burst data corresponding to one multiframe. Variable encoding rates include, for example, 16, 24, 32, 40, and 48K.
Assuming that five types of bps are considered, the data amount of the burst data described above differs depending on which encoding rate among these is used for encoding and which frame is a sound portion. Therefore, if the amount of burst data is small, 1
If the amount of data is large, it is converted into two or three ATM cells.
ところで、このように可変レートで符号化を行ってAT
Mセルを作成した場合、各フレームに対応した符号化レ
ート及び何れのフレームが有音部分に対応するものかに
関する情報をATMセルに含ませる必要がある。第5図
にATMセルのフォーマットを、第6図にATMセルに
含まれる符号化レート情報及び有音/無音情報の詳細内
容を示す。By the way, by performing variable rate encoding in this way, AT
When an M cell is created, it is necessary to include information regarding the encoding rate corresponding to each frame and which frame corresponds to a voiced part in the ATM cell. FIG. 5 shows the format of the ATM cell, and FIG. 6 shows the details of the coding rate information and speech/silence information contained in the ATM cell.
第5図に示すように、ATMセルは、行先等のATM交
換に必要な制御情報からなる5バイトのATMヘッダと
、バーストデータを格納する48バイトの固定長のデー
タ領域から構成されている。As shown in FIG. 5, an ATM cell consists of a 5-byte ATM header containing control information necessary for ATM exchange, such as destination, and a 48-byte fixed-length data area for storing burst data.
また、データ領域の先頭の6バイトは、アダブチ−ジョ
ンヘッダと称される可変レートコーデック間で送受され
る制御情報領域に割り当てられており、具体的な内訳は
、通し番号が付されたセル番号に1バイト、符号化レー
ト情報に3バイト、有音/無音情報に1バイト、フレー
ム先頭位置情報に1ハイドとなっている。フレーム先頭
位置情報は、データ領域内のフレーム先頭位置を示す情
報である。In addition, the first 6 bytes of the data area are allocated to a control information area called an adversion header that is sent and received between variable rate codecs. 1 byte, 3 bytes for encoding rate information, 1 byte for voice/silence information, and 1 hide for frame head position information. The frame head position information is information indicating the frame head position within the data area.
また、第6図に示すように、符号化レート情報は、バー
ストデータが何れの符号化レートで処理されたものであ
るかを示しており、全フレームが有音部分である場合を
考慮して、各フレームに3ビツト、合計18ビツトが割
り当てられている。Furthermore, as shown in Figure 6, the encoding rate information indicates at which encoding rate the burst data was processed, taking into account the case where all frames are sound parts. , 3 bits are allocated to each frame, for a total of 18 bits.
同図の例では、3つのフレームが有音部分に対応してい
るため、これらの各フレームの符号化レートを符号化レ
ート情報の下位9ビツト(3ビツト×3フレ一ム分)で
表している。更に、有音/無音情報は、1マルチフレー
ムを構成する各フレームが有音部分であるか無音部分で
あるがを示しており、有音部分に“1″が、無音部分に
°0”が格納される。In the example shown in the figure, three frames correspond to the sound portion, so the encoding rate of each of these frames is expressed by the lower 9 bits of the encoding rate information (3 bits x 3 frames). There is. Furthermore, the sound/silence information indicates whether each frame constituting one multiframe is a sound part or a silent part, and "1" is set for a sound part, and °0 is set for a silent part. Stored.
ところで、上述した従来方式にあっては、5種類の符号
化レートを1マルチフレーム分表すためにデータ領域を
18ビツトすなわち3バイト使用しており、その分バー
ストデータを格納するデータ領域の容量が少なくなるた
め音声データの伝送効率が悪くなるという問題点があっ
た。By the way, in the conventional method described above, 18 bits, or 3 bytes, are used for the data area to represent five types of encoding rates for one multiframe, and the capacity of the data area for storing burst data is correspondingly reduced. There was a problem that the transmission efficiency of audio data deteriorated because the number of audio data decreased.
第5図に示したATMセルにおいては、48バイトのデ
ータ領域の内の6バイトがアダブチ−ジョンヘッダとし
て使用されるため、残りの42バイトのデータ領域に符
号化データが格納されることになる。In the ATM cell shown in Figure 5, 6 bytes of the 48-byte data area are used as an adaptation header, so coded data is stored in the remaining 42-byte data area. .
本発明は、このような点にかんがみて創作されたもので
あり、音声データの伝送効率を上げることができる可変
レートコーデックを提供することを目的としている。The present invention was created in view of these points, and an object of the present invention is to provide a variable rate codec that can improve the transmission efficiency of audio data.
第1図は、本発明の可変レートコーデックの原理ブロッ
ク図である。FIG. 1 is a principle block diagram of the variable rate codec of the present invention.
図において、符号化手段111は、入力されるフレーム
単位の音声データに対して各フレーム毎に符号化レート
を設定して符号化を行い、符号化データを出力する。In the figure, encoding means 111 encodes input audio data in units of frames by setting a encoding rate for each frame, and outputs encoded data.
音声検出手段121は、入力される音声データに対して
、フレーム毎に有音であるか否かを検出する。The audio detection means 121 detects whether or not there is a sound for each frame of the input audio data.
格納手段131は、有音部分に対応した符号化データの
みを格納する。The storage means 131 stores only encoded data corresponding to the voiced portion.
符号化レート情報生成手段141は、符号化手段111
で設定した各フレームの符号化レートを所定のビット数
で表した符号化レート情報を生成して出力する。The encoding rate information generating means 141 is the encoding means 111
It generates and outputs encoding rate information that expresses the encoding rate of each frame set in a predetermined number of bits.
圧縮手段151は、符号化レート情報生成手段141か
ら出力される複数フレームに対応した符号化レート情報
を圧縮する。Compressing means 151 compresses encoding rate information corresponding to a plurality of frames output from encoding rate information generating means 141.
ATMセル作成手段161は、圧縮手段151で圧縮し
た符号化レート情報及び格納手段121に格納された符
号化データを含むATMセルを作成して出力する。The ATM cell creation means 161 creates and outputs an ATM cell containing the encoding rate information compressed by the compression means 151 and the encoded data stored in the storage means 121.
従って、全体として、ATMセル内の符号化レート情報
を圧縮するように構成されている。Therefore, the overall arrangement is to compress the coding rate information within the ATM cell.
音声データが入力されると、符号化手段111によって
フレーム毎に異なる符号化レートで符号化され、音声検
出手段121によって検出された有音部分の符号化デー
タのみが格納手段131にに格納される。また、上述し
たフレーム毎の符号化レートを音声データの送出先に通
知するための符号化レート情報が符号化レート情報生成
手段141で生成されると、更に圧縮手段151で圧縮
し、この圧縮した符号化レート情報を含むATMセルが
作成される。When audio data is input, it is encoded by the encoding means 111 at a different encoding rate for each frame, and only the encoded data of the sound portion detected by the voice detection means 121 is stored in the storage means 131. . Further, when the encoding rate information for notifying the audio data transmission destination of the encoding rate for each frame described above is generated by the encoding rate information generating means 141, it is further compressed by the compression means 151, and this compressed An ATM cell containing coding rate information is created.
本発明にあっては、符号化レート情報を圧縮してATM
セルを作成することにより、固定長であるATMセルに
より多くの符号化データを含ませて、音声データの伝送
効率を上げることができる。In the present invention, the encoding rate information is compressed and
By creating cells, it is possible to include more coded data in a fixed length ATM cell, thereby increasing the transmission efficiency of voice data.
〔実施例〕
以下、図面に基づいて本発明の実施例について詳細に説
明する。[Example] Hereinafter, an example of the present invention will be described in detail based on the drawings.
第2図は、本発明の一実施例における可変レートコーデ
ックの構成を示す。図において、211はアナログ−デ
ィジタル変換回路(A/D回路)を、221は符号化器
部を、231はバッファ部を、241は音声検出部を、
251は符号化制御部を、261はヘッダ生成部を、2
81は多重部をそれぞれ示している。FIG. 2 shows the configuration of a variable rate codec in one embodiment of the present invention. In the figure, 211 is an analog-digital conversion circuit (A/D circuit), 221 is an encoder section, 231 is a buffer section, 241 is an audio detection section,
251 is an encoding control unit, 261 is a header generation unit, 2
Reference numeral 81 indicates a multiplexing section.
A/D回路211は、入力されるアナログ音声信号を所
定のサンプリング周波数で量子化するものであり、4m
s周期の各フレームに対応する量子化データを符号化器
部221及び音声検出部241のそれぞれに入力する。The A/D circuit 211 quantizes the input analog audio signal at a predetermined sampling frequency.
Quantized data corresponding to each frame of s period is input to the encoder section 221 and the speech detection section 241, respectively.
符号化器部221は、入力される各フレームの量子化デ
ータに対して可変レートで符号化を行うものであり、符
号化レートとしては16に、24に、32,40,48
Kbpsの5種類が用意されている。符号化方式として
は、例えば適応差分符号化方式(ADPCM)方式を用
いる。音声検出部241は、入力される量子化データに
基づいて、対応するフレームが音声信号の有音部分であ
るか無音部分であるかを検出する。The encoder section 221 encodes the input quantized data of each frame at a variable rate, and the encoding rate is 16, 24, 32, 40, 48.
Five types of Kbps are available. As the encoding method, for example, an adaptive differential coding method (ADPCM) is used. The audio detection unit 241 detects whether the corresponding frame is a sound portion or a silent portion of the audio signal, based on the input quantized data.
バッファ部231は、符号化器部221によって処理さ
れた符号化データの中の有音部分に対応したものだけを
バーストデータとして格納する。The buffer unit 231 stores only the encoded data processed by the encoder unit 221 that corresponds to the sound portion as burst data.
この有音部分は符号化制御部251によって指示される
。This sound portion is designated by the encoding control unit 251.
符号化制御部251は、音声検出部241によって符号
化データの中の有音部分を検出したときにこの符号化デ
ータの格納指示をバッファ部231に送ると共に、1マ
ルチフレームを構成する各フレームが有音である無音で
あるか、有音である場合には符号化器部221は何れの
符号化レートで符号化を行ったか等の情報に基づいて、
ヘッダ生成部261に対してアダブチ−ジョンヘッダの
生成指示を行う。When the audio detection unit 241 detects a voiced part in the encoded data, the encoding control unit 251 sends an instruction to store the encoded data to the buffer unit 231, and also sends an instruction to store the encoded data to the buffer unit 231. Based on information such as whether there is sound or silence, and if there is sound, the encoder unit 221 performs encoding at which encoding rate, etc.
The header generation unit 261 is instructed to generate an adaptation header.
ヘッダ生成部261はアダブチ−ジョンヘッダ内の各種
情報を作成するためのものである。ヘッダ生成部261
内にあって、263はセル番号生成部を、265は有音
/無音情報生成部を、267はフレーム先頭位置情報生
成部を、269は符号化レート情報生成部を、271は
デコーダを、273はセレクタをそれぞれ示している。The header generation unit 261 is for creating various information in the adaptation header. Header generator 261
263 is a cell number generation section, 265 is a voice/silence information generation section, 267 is a frame head position information generation section, 269 is a coding rate information generation section, 271 is a decoder, 273 indicate selectors.
セル番号生成部263は、1マルチフレームに対応した
バーストデータを複数のATMセルに分けて格納した場
合に、各セルに付される通し番号であるセル番号を生成
する。セル番号は1ハイドデータとして出力される。The cell number generation unit 263 generates a cell number that is a serial number assigned to each cell when burst data corresponding to one multiframe is divided into a plurality of ATM cells and stored. The cell number is output as 1 hide data.
有音/無音情報生成部265は、1マルチフレームを構
成する各フレームが音声の有音部分に対応しているか無
音部分に対応しているかを示す有音/無音情報を生成す
る。この有音/無音情報は1フレームに1ビツトを対応
させた6ビツトデータを下位に含む1バイトデータとし
て出力される。The voice/silence information generation unit 265 generates voice/silence information indicating whether each frame constituting one multiframe corresponds to a voice portion or a silent portion of audio. This sound/non-sound information is output as 1-byte data containing 6-bit data in which one frame corresponds to one bit.
フレーム先頭位置情報生成部267は、データ領域内の
各フレームの先頭位置を示すフレーム先頭位置情報を生
成する。フレーム先頭位置情報は1バイトデータとして
出力される。The frame start position information generation unit 267 generates frame start position information indicating the start position of each frame within the data area. The frame head position information is output as 1-byte data.
符号化レート情報生成部269は、1マルチフレームを
構成する各フレームに対応した符号化レートを表す符号
化レート情報を生成する;5種類の符号化レートを表す
ために各フレームに対応した3ピントデータを、すなわ
ち合計18ピントデータを符号化レート情報として出力
する。The encoding rate information generation unit 269 generates encoding rate information representing the encoding rate corresponding to each frame constituting one multiframe; 3 pinpoints corresponding to each frame to represent 5 types of encoding rates. The data, ie, a total of 18 pinto data, is output as encoding rate information.
デコーダ271は、この18ビツトの符号化レート情報
を8ビツトに圧縮(コード化処理)する。The decoder 271 compresses (encodes) this 18-bit encoding rate information into 8 bits.
例えば、16 Kbpsで符号化すると1フレーム(1
マルチフレームの周期を241m5とする)は8バイト
のバーストデータに変換され、48 Kbpsで符号化
すると24バイトのバーストデータとなる。For example, when encoding at 16 Kbps, 1 frame (1
(assuming a multi-frame period of 241 m5) is converted to 8-byte burst data, and when encoded at 48 Kbps, becomes 24-byte burst data.
このため、1つのATMセルに納まるフレーム数は全フ
レームの符号化レートが16Kbpsの場合であっても
5個であり、符号化レートが太き(なるに従ってこのフ
レーム数が少なくなる。従って、5種類の符号化レート
の組合せを有音部分にのみ着目すると、1つのATMセ
ルに対応する符号化レートの組合せは全部で239バタ
ンとなり、1バイト(2’=256)に圧縮することが
可能になる。Therefore, the number of frames that can fit in one ATM cell is 5 even when the encoding rate of all frames is 16 Kbps, and the number of frames decreases as the encoding rate becomes thicker. If we focus only on the sound part of the combinations of different types of encoding rates, there are a total of 239 combinations of encoding rates corresponding to one ATM cell, which can be compressed into 1 byte (2' = 256). Become.
セレクタ273は、上述した各生成部263〜267及
びデコーダ271から出力された各1バイトデータをセ
ル番号、符号化レート情報、有音/無音情報、フレーム
先頭位置情報の順に選択して、4バイトのアダブチ−ジ
ョンヘッダとして出力する。The selector 273 selects each 1-byte data output from each of the generation units 263 to 267 and the decoder 271 described above in the order of cell number, encoding rate information, voice/silence information, and frame head position information, and converts the data into 4 bytes. output as an adaptation header.
多重部281は、−、ラダ生成部261から出力される
アダブチ−ジョンヘッダとバッファ部231から出力さ
れるバーストデータとを多重してATMセルを作成する
。多重部281で作成されるATMセルは、第5図に示
したフォーマットを有しており、この中でアダプテーシ
ョンヘンダを除いたデータ領域は44バイトの容量を有
している。The multiplexer 281 multiplexes the adaptation header output from the ladder generator 261 and the burst data output from the buffer 231 to create an ATM cell. The ATM cell created by the multiplexer 281 has the format shown in FIG. 5, in which the data area excluding the adaptation header has a capacity of 44 bytes.
なお、ATMヘッダは多重部281でデータ領域に付加
されてATMセルが作成される。Note that the ATM header is added to the data area by the multiplexer 281 to create an ATM cell.
第3図に、上述した可変レートコーデックを用いて符号
化レート情報の圧縮を行う場合の処理の概略を示す。FIG. 3 shows an outline of processing when encoding rate information is compressed using the variable rate codec described above.
音声検出部241によって音声信号の有音部分が検出さ
れ、この有音フレームに対応した可変レートの符号化デ
ータのみでバーストデータが作成されてバッファ部23
1に格納される。このバーストデータの内訳は例えば同
図に示すような16Kbps 、 32 Kbps及
び24 Kbpsの符号化データである。ヘッダ生成部
261内の符号化レート情報生成部269は、これら3
つの符号化レートのそれぞれを各3ビツトで表した合計
9ビツトを下位に含む18ビツトの符号化レート情報を
生成して出力する。下位に含むようにしたのは、有音フ
レームの間に挟まれた無音フレームを取り除くことによ
り符号化レートの組合せバタン数を減らすためである。The voice detection unit 241 detects a voice part of the voice signal, and burst data is created using only the variable rate encoded data corresponding to this voice frame, and the burst data is sent to the buffer unit 23.
It is stored in 1. The breakdown of this burst data is, for example, encoded data of 16 Kbps, 32 Kbps, and 24 Kbps as shown in the figure. The encoding rate information generation unit 269 in the header generation unit 261 generates these three
It generates and outputs 18-bit encoding rate information including a total of 9 bits representing each of the 3 encoding rates in its lower order. The reason for including them in the lower order is to reduce the number of combinations of coding rates by removing silent frames sandwiched between sound frames.
また、このように有音フレームの符号化レートを詰めた
場合であっても、有音/無音情報に基づいて正確なフレ
ーム位置に対応させることができるため特に支障はない
。Further, even if the encoding rate of the voice frame is reduced in this way, there is no particular problem because it can be made to correspond to an accurate frame position based on the voice/silence information.
デコーダ271は、この18ビツトの符号化レート情報
を1バイトに圧縮し、この圧縮した符号化レート情報を
含んだATMセルが可変レートコーデックから出力され
る。The decoder 271 compresses this 18-bit encoding rate information into 1 byte, and an ATM cell containing this compressed encoding rate information is output from the variable rate codec.
また、このようにして圧縮された1バイトの符号化レー
ト情報は圧縮前の18ビツトの符号化レート情報と1対
1に対応しているため、ATMセルを受信した可変レー
トコーデック(図示せず)では反対に伸長(デコード処
理)を行って18ビツトの符号化レート情報を再現し、
可変レートの復号化処理を行った後に逆量子化してアナ
ログ音声信号を得る。Furthermore, since the 1-byte encoding rate information compressed in this way has a one-to-one correspondence with the 18-bit encoding rate information before compression, the variable rate codec (not shown) that received the ATM cell ), on the other hand, performs decompression (decoding processing) to reproduce the 18-bit encoding rate information,
After performing variable rate decoding processing, dequantization is performed to obtain an analog audio signal.
このように、符号化レート情報生成部269で生成した
6フレ一ム分18ビットの符号化レート情報をデコーダ
271によって圧縮して8ビツトにすることにより、従
来3バイトの容量が必要であった符号化レート情報を1
バイトで表して、その減少分だけデータ領域の有効部分
(アダブチ−ジョンヘッダを除いたデータ領域)を増や
すことができるので、音声データの伝送効率を上げるこ
とが可能になる。In this way, by compressing the 18-bit encoding rate information for 6 frames generated by the encoding rate information generation unit 269 to 8 bits by the decoder 271, the capacity that conventionally required 3 bytes is reduced. The encoding rate information is 1
Expressed in bytes, the effective part of the data area (the data area excluding the adversion header) can be increased by the amount of the reduction, making it possible to increase the transmission efficiency of audio data.
なお、上述した本発明実施例にあっては、5種類の符号
化レート及び1マルチフレームを6フレームで構成する
場合を考えたが、他の組合せについても本発明を適用す
ることができる。この場合でも、実際に存在しうる符号
化レートの組合せパタンを解析し、このバタン数を表す
ことができる最少のビット数に符号化レート情報を圧縮
すればよい。In the embodiment of the present invention described above, a case was considered in which five types of encoding rates and one multiframe were composed of six frames, but the present invention can be applied to other combinations as well. Even in this case, it is sufficient to analyze the combination patterns of encoding rates that actually exist, and compress the encoding rate information to the minimum number of bits that can represent this number of beats.
上述したように、本発明によれば、符号化レート情報を
圧縮してATMセルを作成することにより、固定長であ
るATMセルにより多くの符号化データを含ませて、音
声データの伝送効率を上げることができるので、実用的
には極めて有用である。As described above, according to the present invention, by compressing the encoding rate information to create an ATM cell, more encoded data can be included in a fixed-length ATM cell, thereby increasing the transmission efficiency of voice data. It is extremely useful from a practical point of view.
第1図は本発明の可変レートコーデックの原理ブロック
図、
第2図は本発明の一実施例による可変レートコーデック
の構成図、
第3図は一実施例における符号化レート情報圧縮の説明
図、
第4図は可変レートコーデックの動作の概略を示す図、
第5図はATMセルフオーマットの説明図、第6図は従
来の符号化レート情報の説明図である。
図において、
111は符号化手段、
121は音声検出手段、
131は格納手段、
141は符号化レート情報生成手段、
151は圧縮手段、
161はATMセル作成手段、
211はアナログ−ディジタル変換回路(A/D回路)
、
221は符号化器部、
231はバッファ部、
241は音声検出部、
251は符号化制御部、
261はヘッダ生成部、
263はセル番号生成部、
265は有音/無音情報生成部、
267はフレーム先頭位置情報生成部、269は符号化
レート情報生成部、
271はデコーダ、
273はセレクタ、
281は多重部である。
一@(!l L偲−N
マルチフレーム
〜pセし仔づ1てンげb7n号イしb−1t−の脱日月
しn第3図
第
図FIG. 1 is a principle block diagram of a variable rate codec of the present invention, FIG. 2 is a block diagram of a variable rate codec according to an embodiment of the present invention, and FIG. 3 is an explanatory diagram of encoding rate information compression in an embodiment. FIG. 4 is a diagram showing an outline of the operation of the variable rate codec, FIG. 5 is an explanatory diagram of ATM self-formatting, and FIG. 6 is an explanatory diagram of conventional encoding rate information. In the figure, 111 is an encoding means, 121 is a voice detection means, 131 is a storage means, 141 is an encoding rate information generation means, 151 is a compression means, 161 is an ATM cell creation means, and 211 is an analog-digital conversion circuit (A /D circuit)
, 221 is an encoder section, 231 is a buffer section, 241 is a voice detection section, 251 is an encoding control section, 261 is a header generation section, 263 is a cell number generation section, 265 is a voice/silence information generation section, 267 269 is a frame head position information generating section, 269 is a coding rate information generating section, 271 is a decoder, 273 is a selector, and 281 is a multiplexing section. 1@(!l L-N Multi-frame~p set child 1tenge b7n number Ishib-1t-'s departure from the sun Fig. 3 Fig.
Claims (1)
フレーム毎に符号化レートを設定して符号化を行い、符
号化データを出力する符号化手段(111)と、 入力される音声データに対して、フレーム毎に有音であ
るか否かを検出する音声検出手段(121)と、 有音部分に対応した前記符号化データのみを格納する格
納手段(131)と、 前記符号化手段(111)で設定した各フレームの符号
化レートを所定のビット数で表した符号化レート情報を
生成して出力する符号化レート情報生成手段(141)
と、 前記符号化レート情報生成手段(141)から出力され
る複数フレームに対応した符号化レート情報を圧縮する
圧縮手段(151)と、 前記圧縮手段(151)で圧縮した符号化レート情報及
び前記格納手段(131)に格納された符号化データを
含むATMセルを作成して出力するATMセル作成手段
(161)と、 を備えるように構成したことを特徴とする可変レートコ
ーデック。(1) An encoding means (111) that sets and encodes an encoding rate for each frame of input audio data in units of frames, and outputs the encoded data; On the other hand, a voice detection means (121) that detects whether or not there is a sound for each frame, a storage means (131) that stores only the encoded data corresponding to the sound part, and an encoding means ( Encoding rate information generation means (141) that generates and outputs encoding rate information expressing the encoding rate of each frame set in step 111) in a predetermined number of bits.
and a compression means (151) for compressing the encoding rate information corresponding to a plurality of frames outputted from the encoding rate information generating means (141), and the encoding rate information compressed by the compression means (151) and the aforementioned encoding rate information. A variable rate codec comprising: ATM cell creation means (161) for creating and outputting an ATM cell containing encoded data stored in a storage means (131).
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2102569A JPH04923A (en) | 1990-04-18 | 1990-04-18 | Variable rate codec |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2102569A JPH04923A (en) | 1990-04-18 | 1990-04-18 | Variable rate codec |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04923A true JPH04923A (en) | 1992-01-06 |
Family
ID=14330858
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2102569A Pending JPH04923A (en) | 1990-04-18 | 1990-04-18 | Variable rate codec |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04923A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1996006489A1 (en) * | 1994-08-22 | 1996-02-29 | Sony Corporation | Transmitter-receiver |
-
1990
- 1990-04-18 JP JP2102569A patent/JPH04923A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1996006489A1 (en) * | 1994-08-22 | 1996-02-29 | Sony Corporation | Transmitter-receiver |
| US5839110A (en) * | 1994-08-22 | 1998-11-17 | Sony Corporation | Transmitting and receiving apparatus |
| EP0725499A4 (en) * | 1994-08-22 | 2002-09-18 | Sony Corp | TRANSMITTER-RECEIVER |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TW420908B (en) | Lossless encoding and decoding system | |
| US4516241A (en) | Bit compression coding with embedded signaling | |
| US4519073A (en) | Bit compression multiplexer | |
| JPH0624391B2 (en) | Transmission method of digitalized audio signal | |
| JPH09506983A (en) | Audio compression method and device | |
| JPH0683400A (en) | Speech-message processing method | |
| JPH0668680B2 (en) | Improved multi-pulse linear predictive coding speech processor | |
| US4703505A (en) | Speech data encoding scheme | |
| CN105047200A (en) | FPGA-based FLAC hardware decoder and decoding method | |
| JP2834260B2 (en) | Speech spectral envelope parameter encoder | |
| CN102664020B (en) | Encoder and decoder | |
| JPH04923A (en) | Variable rate codec | |
| JP2644789B2 (en) | Image transmission method | |
| JPH0470145A (en) | Sound data cell system for atm adaptive variable rate type coder/decoder | |
| JPH052159B2 (en) | ||
| JP3227608B2 (en) | Audio encoding device and audio decoding device | |
| EP2187387A2 (en) | Apparatus and method for encoding and decoding enhancement layer | |
| JPH1141286A (en) | Voice packet generation circuit | |
| JP3549611B2 (en) | Multipoint communication device | |
| JPH08279811A (en) | Voice data converter | |
| JPH03191618A (en) | Variable rate encoding system | |
| JP2521051B2 (en) | Speech coding system | |
| JP3048405B2 (en) | Speech encoder control method | |
| JP2003023683A (en) | Voice relay transmission system | |
| JPH0235320B2 (en) |