JPH0255400A - Audio encoding method - Google Patents
Audio encoding methodInfo
- Publication number
- JPH0255400A JPH0255400A JP63207616A JP20761688A JPH0255400A JP H0255400 A JPH0255400 A JP H0255400A JP 63207616 A JP63207616 A JP 63207616A JP 20761688 A JP20761688 A JP 20761688A JP H0255400 A JPH0255400 A JP H0255400A
- Authority
- JP
- Japan
- Prior art keywords
- difference
- encoded
- samples
- block
- sample
- 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
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、所定のビット数で標本化された音声サンプル
系列をブロック毎に符号化する音声符号化方法に関する
ものである。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a speech coding method for coding a speech sample sequence sampled with a predetermined number of bits on a block-by-block basis.
従来の技術
従来の音声符号化方式においては、音声信号は複数の帯
域に分割され、各々については予測係数が求められ、こ
の予測係数を用いて、各々の帯域の信号は予測符号化さ
れる。その際に量子化レベル数を時間的に不均一に割り
当て、符号化前後の量子化誤差が小さくなるようにする
(例えば、特願昭54−42858号参照)。2. Description of the Related Art In conventional audio encoding systems, an audio signal is divided into a plurality of bands, prediction coefficients are determined for each band, and the signals in each band are predictively encoded using the prediction coefficients. At this time, the number of quantization levels is allocated temporally non-uniformly so that the quantization error before and after encoding is reduced (see, for example, Japanese Patent Application No. 1983-42858).
発明が解決しようとする課題
従来の音声符号化方式では、分割された各周波数帯域に
ついて予測残差信号を送っており、この予測残差信号の
情報量が比較的多く、全体としての伝送情報量が多(な
るという問題点があった。Problems to be Solved by the Invention In conventional audio encoding systems, a prediction residual signal is sent for each divided frequency band, and the amount of information in this prediction residual signal is relatively large. There was a problem that there were many.
本発明は、少ない伝送情II!ffiで品質がよい音声
符号化方式を提供することを目的としている。The present invention reduces transmission information II! The purpose is to provide a high-quality audio encoding system using ffi.
課題を解決するための手段
上記目的を達成するために、本発明の音声符号化方式は
、所定のビット数で標本化された音声サンプル(以下サ
ンプルと記す)系列に対して、隣接するサンプル間の差
分が等しくなるような連続したサンプル系列を一つのブ
ロックとして、ブロック毎に符号化するもので、ブロッ
ク内の隣接するサンプル間の差分と、ブロックに含まれ
るサンプルの個数が2個以上の場合はサンプル個数をも
符号化し、またサンプル間の差分の絶対値があらかじめ
定めたしきい値を超える場合はサンプル値を符号化する
ようにしたものである。Means for Solving the Problems In order to achieve the above object, the speech encoding method of the present invention is based on a speech encoding system that uses a sequence of speech samples sampled with a predetermined number of bits (hereinafter referred to as "samples") to distinguish between adjacent samples. A series of consecutive samples with equal differences are coded block by block, and if the difference between adjacent samples in the block and the number of samples included in the block are two or more The number of samples is also encoded, and if the absolute value of the difference between samples exceeds a predetermined threshold, the sample value is encoded.
また、サンプル間の差分の代わりに、差分の符号のみを
符号化することもできる。さらに、サンプル間の差分の
代わりに、差分または差分の符号を符号化することもで
きる。Furthermore, instead of the difference between samples, only the sign of the difference can be encoded. Furthermore, instead of the difference between samples, the difference or the sign of the difference can also be encoded.
作用
上記のような音声符号化方式を用いてサンプル系列を符
号化すると、隣接するサンプル間の差分が等しくなるよ
うな連続したサンプル系列が一つのブロックとして扱わ
れ、音声サンプル系列は圧縮されて符号化されることと
なる。Effect When a sample sequence is encoded using the audio encoding method described above, a continuous sample sequence with equal differences between adjacent samples is treated as one block, and the audio sample sequence is compressed and encoded. It will be made into
実施例
以下、本発明の音声符号化方法の一実施例について、図
面を参照しながら説明する。第1図は音声サンプル系列
の模式図である。第1図において1.2,3.4.5は
各々、隣接するサンプル間の差分が等しい連続したサン
プル系列から成る音声サンプルブロックである。ブロッ
クに含まれるサンプル数は、ブロック1では7個、ブロ
ック2゜ブロック3およびブロック4では2個、ブロッ
ク5では4個である。また6、 7. 8. 9.1
0は各々のブロック内の差分の絶対値を表している。さ
らに11はあらかじめ定めたしきい値を表したもので、
差分の絶対値6,7,8,9.10がしきい値11以下
であるか否かによって、ブロックの符号化方法を決定す
る。差分の絶対値がしきい値11以下の場合、すなわち
ブロック1.2,3.5は、差分6,7.8.10を符
号化する。また、ブロック1.2,3.5にはサンプル
が2個以上含まれるので、サンプル個数も符号化する。Embodiment Hereinafter, an embodiment of the speech encoding method of the present invention will be described with reference to the drawings. FIG. 1 is a schematic diagram of a voice sample series. In FIG. 1, 1.2, 3.4.5 are audio sample blocks each consisting of a continuous sample sequence in which the differences between adjacent samples are equal. The number of samples included in a block is seven in block 1, two in block 2, block 3, and block 4, and four in block 5. Also 6, 7. 8. 9.1
0 represents the absolute value of the difference within each block. Furthermore, 11 represents a predetermined threshold value,
The block encoding method is determined depending on whether the absolute values of the differences 6, 7, 8, 9.10 are less than or equal to the threshold value 11. If the absolute value of the difference is less than or equal to the threshold 11, that is, blocks 1.2, 3.5 encode differences 6, 7.8, and 10. Furthermore, since blocks 1.2 and 3.5 include two or more samples, the number of samples is also encoded.
差分の絶対値がしきい値11を超える場合、すなわちブ
ロック4は、ブロック4に含まれるサンプル2個のサン
プル値を各々符号化する。If the absolute value of the difference exceeds the threshold 11, that is, block 4 encodes the sample values of the two samples included in block 4, respectively.
第2図は差分、サンプル個数、サンプル値を符号化した
図である。21は差分を8ビツトで符号化した場合の符
号語で、“00”は差分が符号化されていることを示す
識別語である。残り6ビツトで差分を符号付で符号化す
る。22はサンプル個数を8ビツトで符号化した場合の
符号語で、“01″はサンプル個数が符号化されている
ことを示す識別語である。残り6ビツトでサンプル個数
を符号化する。23はサンプル値を16ビツトで符号化
した場合の符号語で、“10”はサンプル値が符号化さ
れていることを示す識別語である。残り14ビツトでサ
ンプル値を符号付で符号化する。FIG. 2 is a diagram in which the difference, the number of samples, and the sample value are encoded. 21 is a code word when the difference is encoded with 8 bits, and "00" is an identification word indicating that the difference is encoded. The remaining 6 bits are used to encode the difference with a sign. 22 is a code word when the number of samples is encoded with 8 bits, and "01" is an identification word indicating that the number of samples is encoded. The remaining 6 bits are used to encode the number of samples. 23 is a code word when the sample value is encoded with 16 bits, and "10" is an identification word indicating that the sample value is encoded. The remaining 14 bits are used to encode the sample value with a sign.
第3図は第1図に示された音声サンプル系列におけるブ
ロック1. 2. 3. 4. 5を、第2図に示され
た符号化の方法を用いて符号化したものである。31.
32.33.34.35は各々、第1図におけるブロッ
ク1,2..3,4.5を符号化したものである。ブロ
ック1,2,3.5の差分6,7゜8.10はしきい値
11を超えていないので、31.32゜33、35は各
々、差分とサンプル個数の符号語で構成されている。ブ
ロック4の差分はしきい値11を超えているので、34
はブロックに含まれる2個のサンプルの符号語で構成さ
れている。FIG. 3 shows block 1 in the audio sample sequence shown in FIG. 2. 3. 4. 5 is encoded using the encoding method shown in FIG. 31.
32, 33, 34, 35 are respectively blocks 1, 2, . .. 3.4.5 is encoded. Since the differences 6, 7° 8.10 of blocks 1, 2, and 3.5 do not exceed the threshold 11, 31.32° 33, 35 are composed of the code word of the difference and the number of samples, respectively. . Since the difference of block 4 exceeds the threshold value 11, 34
is composed of code words of two samples included in the block.
このように符号化すると、ブロック1がらブロック5ま
でに含まれる17個のサンプルを96ビツトで符号化し
たことになる。これを1サンプル当たりすべて14ビツ
トで符号化したとすると、238ビツト必要となる。従
って、サンプル値にも依るが、情報量を圧縮することが
できる。When encoded in this manner, the 17 samples included in blocks 1 to 5 are encoded with 96 bits. If this is encoded using 14 bits per sample, 238 bits will be required. Therefore, although it depends on the sample value, the amount of information can be compressed.
第4図は差分の代わりに差分の符号を符号化した図を示
したものである。41は符号を4ビツトで符号化した場
合の符号語で、“11“は符号が符号化されていること
を示す識別語である。残り2ビツトで符号を符号化する
。5例えば、0は“00”、正は“01”、負は“10
”のように符号化する。第2図と同様に42はサンプル
個数を8ビツトで符号化した場合の符号語、43はサン
プル値を16ビツトで符号化した場合の符号語である。FIG. 4 shows a diagram in which the sign of the difference is encoded instead of the difference. 41 is a code word when the code is encoded with 4 bits, and "11" is an identification word indicating that the code is encoded. The code is encoded using the remaining 2 bits. 5 For example, 0 is “00”, positive is “01”, negative is “10”
Similarly to FIG. 2, 42 is a code word when the number of samples is encoded with 8 bits, and 43 is a code word when the sample value is encoded with 16 bits.
これらの符号語を用いて、第3図と同様に音声サンプル
系列を符号化することができる。このように符号化する
と、差分の絶対値が1ビツトで表せるような場合、符号
のみを符号化することによって、大幅な情報圧縮をする
ことができる。Using these code words, the audio sample sequence can be encoded in the same manner as in FIG. By encoding in this way, if the absolute value of the difference can be represented by 1 bit, significant information compression can be achieved by encoding only the sign.
第5図は差分の代わりに差分または差分の符号を符号化
した図を示したものである。51は第2図の21と同様
に差分を符号化した場合の符号語、52は第4図の41
と同様に差分の符号を符号化した場合の符号語である。FIG. 5 shows a diagram in which the difference or the sign of the difference is encoded instead of the difference. 51 is the code word when the difference is encoded in the same way as 21 in Fig. 2, and 52 is the code word 41 in Fig. 4.
This is a code word when the code of the difference is encoded in the same way as .
第2図と同様に53はサンプル個数を8ビツトで符号化
した場合の符号語、54はサンプル値を16ビツトで符
号化した場合の符号語である。これらの符号語を用いて
、第3図と同様に音声サンプル系列を符号化することが
できる。Similarly to FIG. 2, 53 is a code word when the number of samples is encoded with 8 bits, and 54 is a code word when the sample value is encoded with 16 bits. Using these code words, the audio sample sequence can be encoded in the same manner as in FIG.
このように符号化する−と、差分の絶対値が1ビツトで
表せるような場合、しきい値以下の場合および、しきい
値を超える場合に対応して、効率良く情報圧縮すること
ができる。By encoding in this way, information can be efficiently compressed in cases where the absolute value of the difference can be expressed by one bit, in cases where it is less than a threshold value, and in cases where it exceeds a threshold value.
発明の効果
本発明は、以上説明したような音声符号化方式なので、
以下に記載されるような効果を奏する。Effects of the Invention The present invention is a voice encoding method as explained above,
This produces the effects described below.
所定のビット数で標本化された音声サンプル系列に対し
て、隣接するサンプル間の差分が等しくなるような連続
したサンプル系列を一つのブロックとして、ブロック毎
に差分とサンプル数のみを符号化するので、情報伝送量
が少なくなる。For a voice sample sequence sampled with a predetermined number of bits, a continuous sample sequence with equal differences between adjacent samples is treated as one block, and only the difference and the number of samples are encoded for each block. , the amount of information transmitted is reduced.
サンプル間の差分がいかなる値であっても符号化を可能
にしようとすれば、実際には標本化したビット数と同じ
ビット数だけ、差分のためにビット数が必要であり、情
報伝送量はあまり少なくならない。しかし、隣接するサ
ンプル間で、サンプル値が大きく変化するのは実際それ
程多くないので、すべての場合を考慮してビット数を多
くとるのは無駄である。本発明によれば、差分を符号化
するためのビット数は標本化の際のビット数より少なく
設定しておき、差分を符号化するビット数で表わせる最
大の差分をしきい値として定めておいて、サンプル間の
差分がしきい値以下の場合は差分を符号化し、しきい値
を超える場合はサンプル毎にサンプル値を符号化するこ
とによって、効率良く情報圧縮をすることができる。If we try to encode any value of the difference between samples, we actually need the same number of bits for the difference as the number of sampled bits, and the amount of information transmitted is It doesn't get much smaller. However, since sample values do not often change significantly between adjacent samples, it is wasteful to increase the number of bits by considering all cases. According to the present invention, the number of bits for encoding the difference is set to be smaller than the number of bits for sampling, and the maximum difference that can be expressed by the number of bits for encoding the difference is determined as a threshold value. In this case, information can be efficiently compressed by encoding the difference when the difference between samples is less than a threshold value, and encoding the sample value for each sample when it exceeds the threshold value.
また、差分の絶対値が1ビツトで符号化できるような音
声サンプル系列では、差分の符号のみを符号化すること
によって、さらに情報圧縮をすることができる。Furthermore, in a voice sample sequence in which the absolute value of the difference can be encoded with 1 bit, information can be further compressed by encoding only the code of the difference.
さらに、差分または差分の符号を符号化することを混在
させることによって、より一層情報圧縮をすることがで
きる。Furthermore, by mixing the difference or the code of the difference, it is possible to further compress information.
第1図は音声サンプル系列の模式図、第2図は差分を符
号化した説明図、第3図は音声サンプル系列を符号化し
た説明図、第4図は差分の符号を符号化した説明図、第
5図は差分または差分の符号を符号化した説明図である
。
1.2,3,4.5・・・・・・音声サンプルブロック
、6.7,8,9.10・・・・・・差分の絶対値、1
工・・・・・・しきい値、21・・・・・・差分の符号
語、22・・・・・・サンプル個数の符号語、23・・
・・・・サンプル値の符号語、31.32゜33、34
.35・・・・・・音声サンプルブロックの符号化、4
1・・・・・・差分の符号の符号語、42・・・・・・
サンプル個数の符号語、43・・・・・・サンプル値の
符号語、51・・・・・・差分の符号語、52・・・・
・・差分の符号の符号語、53・・・・・・サンプル個
数の符号語、54・・・・・・サンプル値の符号語。Figure 1 is a schematic diagram of the audio sample series, Figure 2 is an explanatory diagram of the encoded difference, Figure 3 is an explanatory diagram of the encoded audio sample series, and Figure 4 is an explanatory diagram of the encoded difference code. , FIG. 5 is an explanatory diagram in which the difference or the sign of the difference is encoded. 1.2, 3, 4.5... Audio sample block, 6.7, 8, 9.10... Absolute value of difference, 1
Engineering...Threshold value, 21...Difference code word, 22...Number of samples code word, 23...
... Code word of sample value, 31.32°33,34
.. 35... Encoding of audio sample block, 4
1... Code word of the code of the difference, 42...
Code word for number of samples, 43... Code word for sample value, 51... Code word for difference, 52...
... Code word of difference code, 53 ... Code word of sample number, 54 ... Code word of sample value.
Claims (3)
ンプル系列に対して、隣接するサンプル間の差分が等し
くなるような連続したサンプル系列を一つのブロックと
して、ブロック毎に符号化する音声符号化方法であって
、ブロックに含まれるサンプル間の差分の絶対値があら
かじめ定めたしきい値以下の場合は上記差分を符号化し
、さらに上記ブロックに含まれるサンプルの個数が2個
以上の場合は上記差分と共に上記サンプル個数を符号化
し、また上記ブロックに含まれるサンプル間の差分の絶
対値が上記しきい値を超える場合はサンプル毎にサンプ
ル値を符号化し、上記差分、上記サンプル個数および上
記サンプル値の識別は、各々の識別語を併せて符号化す
ることによって行うようにしたことを特徴とする音声符
号化方法。(1) Audio encoding in which a continuous sample sequence with equal differences between adjacent samples is coded block by block for an audio sample sequence that has been sampled in advance with a predetermined number of bits. If the absolute value of the difference between samples included in a block is less than or equal to a predetermined threshold value, the difference is encoded, and if the number of samples included in the block is 2 or more, the above-mentioned difference is encoded. The above number of samples is encoded together with the difference, and if the absolute value of the difference between samples included in the block exceeds the above threshold, the sample value is encoded for each sample, and the above difference, the above number of samples, and the above sample value are encoded. A speech encoding method characterized in that the identification is performed by encoding each identification word together.
符号化した請求項(1)記載の音声符号化方法。(2) The speech encoding method according to claim (1), wherein instead of the difference between samples, only the code of the difference is encoded.
符号を符号化した請求項(1)記載の音声符号化方法。(3) The speech encoding method according to claim (1), wherein a difference or a code of the difference is encoded instead of the difference between samples.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63207616A JPH0255400A (en) | 1988-08-22 | 1988-08-22 | Audio encoding method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63207616A JPH0255400A (en) | 1988-08-22 | 1988-08-22 | Audio encoding method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0255400A true JPH0255400A (en) | 1990-02-23 |
Family
ID=16542743
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63207616A Pending JPH0255400A (en) | 1988-08-22 | 1988-08-22 | Audio encoding method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0255400A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1994007239A1 (en) * | 1992-09-16 | 1994-03-31 | Fujitsu Limited | Speech encoding method and apparatus |
| US5864650A (en) * | 1992-09-16 | 1999-01-26 | Fujitsu Limited | Speech encoding method and apparatus using tree-structure delta code book |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5875341A (en) * | 1981-10-29 | 1983-05-07 | Sharp Corp | Data compression device using finite difference |
-
1988
- 1988-08-22 JP JP63207616A patent/JPH0255400A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5875341A (en) * | 1981-10-29 | 1983-05-07 | Sharp Corp | Data compression device using finite difference |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1994007239A1 (en) * | 1992-09-16 | 1994-03-31 | Fujitsu Limited | Speech encoding method and apparatus |
| US5864650A (en) * | 1992-09-16 | 1999-01-26 | Fujitsu Limited | Speech encoding method and apparatus using tree-structure delta code book |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100456639C (en) | Lossless decoder and method thereof | |
| CA2128216A1 (en) | Method and apparatus for encoding, decoding and compression of audio-type data | |
| US5463699A (en) | Data compression | |
| JPS6482711A (en) | Encoding device | |
| ES8301563A1 (en) | Method of coding a sequence of blocks of binary data bits into a sequence of blocks of binary channel bits and arrangement for decoding the data bits coded in accordance with the method | |
| EP0987827A3 (en) | Audio signal encoding method without transmission of bit allocation information | |
| US6529551B1 (en) | Data efficient quantization table for a digital video signal processor | |
| EP2251981B1 (en) | Method and apparatus for coding and decoding | |
| JPH03108824A (en) | Voice coding/decoding transmission system | |
| JPH0255400A (en) | Audio encoding method | |
| JPH0537395A (en) | Band-division encoding method | |
| JPS63214032A (en) | Coding transmitter | |
| JP2543345B2 (en) | Speech coding system | |
| Fukunaga et al. | Fundamental studies on combined coding for information source and channel | |
| JPS63231500A (en) | Audio encoding method | |
| JPH0513435B2 (en) | ||
| KR0162209B1 (en) | Image signal encoding apparatus combining two-channel combined quantization technique and superimposed orthogonal transformation technique | |
| JP3250367B2 (en) | Encoded signal decoding method and apparatus | |
| JPH0787384B2 (en) | Music signal compression method | |
| JPS6333935A (en) | Gain/shape vector quantizer | |
| JPH0366225A (en) | Method for compressing music signal | |
| JPS6232786A (en) | Average value forecasting type vector quantization system | |
| JPH06348294A (en) | Band dividing and coding device | |
| JPH0329566A (en) | Code transmitter for picture information | |
| JPS6319918A (en) | Audio decoding method |