JPH04129430A - Band split coder - Google Patents
Band split coderInfo
- Publication number
- JPH04129430A JPH04129430A JP2252363A JP25236390A JPH04129430A JP H04129430 A JPH04129430 A JP H04129430A JP 2252363 A JP2252363 A JP 2252363A JP 25236390 A JP25236390 A JP 25236390A JP H04129430 A JPH04129430 A JP H04129430A
- Authority
- JP
- Japan
- Prior art keywords
- band
- power
- quantization
- signal
- quantizing
- 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.)
- Granted
Links
- 238000013139 quantization Methods 0.000 claims abstract description 28
- 238000004364 calculation method Methods 0.000 claims abstract description 6
- 230000003044 adaptive effect Effects 0.000 claims abstract description 3
- 230000005236 sound signal Effects 0.000 claims description 9
- 238000005070 sampling Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 238000010606 normalization Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
(イ)産業上の利用分野
本発明は音声ICレコーダ等に用いられるデジタルの音
声信号を符号化する帯域分割符号化装置に関する。DETAILED DESCRIPTION OF THE INVENTION (a) Field of Industrial Application The present invention relates to a band division encoding device for encoding digital audio signals used in audio IC recorders and the like.
(ロ)従来の技術
従来よりデジタルの音声信号を圧縮符号化する際、いく
つかのサブバンドに分割して符号化する方法がある。(b) Prior Art Conventionally, when compressing and encoding a digital audio signal, there is a method of dividing it into several subbands and encoding them.
これはその例として、IBMの5pilit−Band
VoiceCoding Scheme (IEEE
CASSP 1977 MAY)を用いて説明する。This is an example of IBM's 5pilit-Band
Voice Coding Scheme (IEEE
CASSP 1977 MAY).
入力されたデジタルの音声信号はまず帯域分割フィルタ
群(QMFフィルタ)によって分割され、分割されたデ
ジタルの音声信号の各々は、通過帯域の中心周波数だけ
下に周波数シフトされ、それを帯域通過フィルタの帯域
幅から決まる標本化周波数でダウンサンプリングして、
その結果をブロック毎の前向き適応PCM符号で符号化
するものである。The input digital audio signal is first divided by a group of band-pass filters (QMF filters), and each of the divided digital audio signals is frequency-shifted down by the center frequency of the passband, and then passed through the band-pass filter. Downsample at the sampling frequency determined by the bandwidth,
The results are encoded using a forward adaptive PCM code for each block.
復号部では各帯域毎に逆の操作をして各帯域毎の帯域通
過信号を作成し、それらを足し合わせて出力音声波形と
するものである。The decoding section performs the reverse operation for each band to create a band-pass signal for each band, and adds them together to form an output audio waveform.
この方式の利点としては
(1)帯域毎にビット配分を効果的に行うことが容易で
ある。The advantages of this method are (1) It is easy to effectively allocate bits for each band.
(2)各帯域の量子化誤差は、その帯域の信号のみに関
係し、その帯域の電力が小さい場合は例え量子化歪みが
多くとも全体の信号からみると僅かな誤差でしかない。(2) The quantization error in each band is related only to the signal in that band, and if the power in that band is small, even if there is a lot of quantization distortion, it is only a small error when viewed from the overall signal.
(3)各帯域の量子化誤差は、理想的には白色雑音とな
り周波数スペクトル的に広く拡がり、その一部しかその
帯域に落ちない。(3) Quantization errors in each band ideally become white noise that spreads widely in terms of frequency spectrum, with only a portion of it falling within that band.
などが挙げられる。Examples include.
また、上記(1)(2)より各帯域に割り当てる1サン
プル当りのビット数をその帯域の信号の電力に応じて変
化させていくことが望ましいことが分かるが、一般には
、処理が複雑になるため低域に多く高域に少なく、例え
ば4バンドの場合4,2゜2.2など固定のビット数を
割り当てるのが普通である。Also, from (1) and (2) above, it is clear that it is desirable to change the number of bits per sample allocated to each band depending on the power of the signal in that band, but this generally results in complicated processing. Therefore, it is common to allocate a fixed number of bits, such as 4.2°2.2 in the case of 4 bands, with more in the low range and less in the high range.
また、適応的に変化させる場合もあるが、その場合は以
下の式に従って分割するのが最も適当とされており、こ
の計算を行うためには、非常に複雑な装置を必要とした
。In some cases, it may be changed adaptively, but in that case, it is considered most appropriate to divide according to the following formula, and this calculation requires a very complicated device.
U、=U、/W
ここでRは1サンプル当りの平均ビットレートR,はi
バンドの1サンプル当りに
割り当てるビット数
U、1.tiバンドの電力
W+1.ttバンドの帯域幅比率
(ハ)発明が解決しようとする課題
本発明は帯域分割符号化装置において、簡単な処理だけ
で各帯域に割り当てるビット数をその時の信号に最も効
率の良いように適応させる高能率の符号化装置を提供す
るものである。U, = U, /W where R is the average bit rate per sample R, is i
The number of bits U to be allocated per sample of the band, 1. ti band power W+1. Bandwidth ratio of tt band (c) Problems to be solved by the invention The present invention adapts the number of bits allocated to each band to be most efficient for the signal at that time in a band division encoding device by simple processing. The present invention provides a highly efficient encoding device.
(ニ)課題を解決するための手段
本発明は上記課題を解決するためのものであって、音声
信号等のデジタル信号を複数の帯域に分割する帯域分割
フィルタと、該フィルタの出力のブロック毎の電力を求
め21゛の形に量子化する電力算出手段と、ブロック毎
に適応量子化する量子化手段と、σの値により各帯域毎
の量子化ビットを適応的に制御する量子化ビット制御部
とを備えた帯域分割符号化装置を提供するものである。(d) Means for Solving the Problems The present invention is intended to solve the above problems, and provides a band division filter that divides a digital signal such as an audio signal into a plurality of bands, and a block-by-block output of the filter. A power calculation means that calculates the power of The present invention provides a band division encoding device comprising a section.
(ホ)作用
上記の手段によって、各帯域に割り当てるビット数を入
力信号に応じて適応的に求めることができる。(e) Effect: By the means described above, the number of bits to be allocated to each band can be adaptively determined according to the input signal.
(へ)実施例
次に本発明の一実施例を第1図のブロック図を用いて説
明する。(1)はQMFフィルタで、入力音声をサンプ
リング周波数の1/4の周波数で高域と低域に分け、サ
ンプリング周波数の1/2にダウンサンプリングするも
ので、本実施例ではQMFフィルタ(1)を2段に用い
ることで入力音声を4つの帯域に分割すると共に該フィ
ルタ(1)の出力をベースバンドに落としている。(2
)は各帯域毎に帯域分割された音声を数サンプルごとブ
ロックにまとめ、そのブロック内の電力を計算する電力
算出手段である。(3)は計算された電力を2″′に量
子化する量子化手段で、実際には電力を2進数で表し最
も左に1の立っているところを捜し、それが右から何ビ
ット目であるかを調べその値から1を引き2で割ること
によって各帯域毎のσ1を求める。(4)は1ブロツク
内の電力が1になるように正規化する正規化手段で、ダ
イナミックレンジの広いデジタルの音声信号に対してク
リアに量子化することが可能となり、実際には各帯域の
信号をその帯域の量子化された電力の平方根(つまり2
゛)で割ることによって求めることができる。(5)は
後述する各帯域の量子化器で用いる量子化ビットを割り
当てる量子化割り当て手段で、各帯域のσ1を用いて以
下の式により割り当てることができる。(F) Embodiment Next, an embodiment of the present invention will be explained using the block diagram of FIG. (1) is a QMF filter that divides the input audio into high and low frequencies at a frequency of 1/4 of the sampling frequency and downsamples it to 1/2 of the sampling frequency.In this example, the QMF filter (1) By using two stages of filters, the input audio is divided into four bands and the output of the filter (1) is reduced to the baseband. (2
) is a power calculation means that collects audio divided into bands for each band into blocks every few samples and calculates the power within the block. (3) is a quantization means that quantizes the calculated power to 2″′, which actually represents the power as a binary number, searches for the leftmost 1, and determines the number of bits from the right. Find σ1 for each band by subtracting 1 from that value and dividing by 2. (4) is a normalization method that normalizes the power within one block to 1, and has a wide dynamic range. It is now possible to clearly quantize digital audio signals, and in reality, each band's signal is converted to the square root of the quantized power of that band (that is, 2
It can be found by dividing by ゛). (5) is a quantization allocation means for allocating quantization bits to be used in a quantizer for each band, which will be described later, and can be allocated according to the following equation using σ1 of each band.
1− N
Wl= 1 / 2− 10 g 1 (WITTW、
−”I)j=1
W+=1/4とすると、
R+ = R+σ1− (σ、+σ、+σ、+σ、)/
4ここで、R1はl帯域の1サンプルに割り当てられる
量子化ビット数、Rは1サンプルに割り当てられる量子
化ビット数を全体域で平均したものである。また実際に
はR1は小数や負の数で求められる場合もあるためそれ
らの数字を正の整数にする簡単な条件文も必要である。1-NWl=1/2-10g1 (WITTW,
−”I) j=1 If W+=1/4, then R+ = R+σ1− (σ, +σ, +σ, +σ,)/
4 Here, R1 is the number of quantization bits allocated to one sample in the l band, and R is the number of quantization bits allocated to one sample, averaged over the entire range. Furthermore, since R1 may actually be found as a decimal or negative number, a simple conditional statement is required to convert these numbers into positive integers.
(6)は量子化割り当て手段(5)で割り当てられた量
子化ビット数に応じて正規化手段(4)で正規化された
信号を量子化する量子化手段、(7)は各帯域の量子化
された符号及び補助情報σ、を多電化するマルチプレク
サである。(8)は該マルチプレクサ(7)からの信号
を各帯域の符号及び補助情報σ、に分割するデマルチプ
レクサである。(9)は量子化割り当て手段(5)と同
様にビット割り当てを計算する復号化割り当て手段、(
10)は各帯域の量子化された符号を復号化する復号化
手段、(11)は各帯域毎の電力を復号化する電力復号
化手段、(12)は復号化された電力を用いて正規化さ
れている信号を元に戻す戻し手段、(13)は復元側の
QMFフィルタであって、帯域分割されてダウンサンプ
リングされている信号を高域変換及び帯域結合するので
ある。(6) is a quantization means for quantizing the signal normalized by the normalization means (4) according to the number of quantization bits allocated by the quantization allocation means (5), and (7) is a quantization means for each band. This is a multiplexer that multiplies the encoded code and auxiliary information σ. (8) is a demultiplexer that divides the signal from the multiplexer (7) into codes of each band and auxiliary information σ. (9) is a decoding allocation means that calculates bit allocation in the same way as the quantization allocation means (5);
10) is a decoding means that decodes the quantized code of each band, (11) is a power decoding means that decodes the power of each band, and (12) is a normalized code using the decoded power. The restoring means (13) for restoring the converted signal to its original state is a QMF filter on the restoring side, which performs high frequency conversion and band combining of the band-divided and down-sampled signal.
どんな音声に対しても前記フィルタ(1)で帯域分割を
行って各帯域毎の電力を求め、量子化手段(6)でその
値を21′に量子化することにより、σ値に基すいて、
各帯域に割り当てる量子化ビットを量子化割り当て手段
(5)で適応的に制御できるので最適な符号化を行うこ
とができる。さらに先の操作と逆の操作をたどることに
より、符号化された信号を元のデジタルの音声信号に復
号することができる。For any voice, the filter (1) performs band division to obtain the power for each band, and the quantization means (6) quantizes the value to 21', thereby dividing the power based on the σ value. ,
Since the quantization bits assigned to each band can be adaptively controlled by the quantization assignment means (5), optimal encoding can be performed. By further retracing the previous operations, the encoded signal can be decoded into the original digital audio signal.
(ト)発明の効果
本発明装置によるとデジタルの音声信号を帯域分割して
する際に、各帯域毎の電力を求めその値を2!゛に量子
化することにより各帯域に割り当てる量子化ビットを適
応的に制御することが可能となり、どんな音声に対して
も最適に符号化することができるので極めて有益である
。(G) Effects of the Invention According to the device of the present invention, when dividing a digital audio signal into bands, the power for each band is calculated and the value is 2! This quantization makes it possible to adaptively control the quantization bits assigned to each band, which is extremely useful because any voice can be optimally encoded.
第1図は本発明装置の一実施例を説明するためのブロッ
ク図である。
(1)・・・帯域分割(QMF)フィルタ、(2)・・
・電力算出手段、(5)・・・量子化ビット制御部(量
子化ビット割り当て手段)、
(6)・・・量子化手段。FIG. 1 is a block diagram for explaining one embodiment of the apparatus of the present invention. (1)... Bandwidth division (QMF) filter, (2)...
- Power calculation means, (5)...Quantization bit control unit (quantization bit allocation means), (6)...Quantization means.
Claims (1)
る帯域分割フィルタと、該フィルタの出力のブロック毎
の電力を求め2^2の形に量子化する電力算出手段と、
ブロック毎に適応量子化する量子化手段と、σの値によ
り各帯域毎の量子化ビットを適応的に制御する量子化ビ
ット制御部とを備えた帯域分割符号化装置。(1) A band division filter that divides a digital signal such as an audio signal into a plurality of bands, and a power calculation means that calculates the power of each block of the output of the filter and quantizes it in the form of 2^2;
A band division encoding device comprising: a quantization unit that performs adaptive quantization for each block; and a quantization bit control unit that adaptively controls quantization bits for each band based on the value of σ.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2252363A JP3011447B2 (en) | 1990-09-20 | 1990-09-20 | Band division coding device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2252363A JP3011447B2 (en) | 1990-09-20 | 1990-09-20 | Band division coding device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04129430A true JPH04129430A (en) | 1992-04-30 |
JP3011447B2 JP3011447B2 (en) | 2000-02-21 |
Family
ID=17236254
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2252363A Expired - Fee Related JP3011447B2 (en) | 1990-09-20 | 1990-09-20 | Band division coding device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3011447B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1995032499A1 (en) * | 1994-05-25 | 1995-11-30 | Sony Corporation | Encoding method, decoding method, encoding-decoding method, encoder, decoder, and encoder-decoder |
-
1990
- 1990-09-20 JP JP2252363A patent/JP3011447B2/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1995032499A1 (en) * | 1994-05-25 | 1995-11-30 | Sony Corporation | Encoding method, decoding method, encoding-decoding method, encoder, decoder, and encoder-decoder |
US5758315A (en) * | 1994-05-25 | 1998-05-26 | Sony Corporation | Encoding/decoding method and apparatus using bit allocation as a function of scale factor |
Also Published As
Publication number | Publication date |
---|---|
JP3011447B2 (en) | 2000-02-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101019678B1 (en) | Low bit-rate audio coding | |
CA2083713A1 (en) | High efficiency digital data encoding and decoding apparatus | |
JP3900000B2 (en) | Encoding method and apparatus, decoding method and apparatus, and program | |
KR100330290B1 (en) | Signal encoding device, signal decoding device, and signal encoding method | |
KR940023044A (en) | Apparatus for recording and / or playing or transmitting and / or receiving compressed data | |
JP4245288B2 (en) | Speech coding apparatus and speech decoding apparatus | |
JP3255022B2 (en) | Adaptive transform coding and adaptive transform decoding | |
JPH0969781A (en) | Audio data encoding device | |
EP0398973B1 (en) | Method and apparatus for electrical signal coding | |
JPH04129430A (en) | Band split coder | |
KR100266054B1 (en) | Process for encoding an audio signal digitalised at a low sample frequency | |
JPH08307281A (en) | Nonlinear quantization method and nonlinear inverse quantization method | |
JPH0537395A (en) | Band-division encoding method | |
JP3108259B2 (en) | Band division coding device | |
JPS59129900A (en) | Band division coding system | |
JPH08179794A (en) | Sub-band coding method and device | |
JP2820096B2 (en) | Encoding and decoding methods | |
JPH06348294A (en) | Band dividing and coding device | |
KR0152016B1 (en) | Encoding and decoding system using variable bit allocation | |
JPS6333025A (en) | Sound encoding method | |
JP3010637B2 (en) | Quantization device and quantization method | |
JP3060229B2 (en) | Signal processing device and signal processing method | |
JPH02153639A (en) | System for controlling division and normalization of band | |
KR0129781B1 (en) | Multi channel stereo signal compression circuit | |
KR960003453B1 (en) | Stereo digital audio coder with bit assortment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |