JP2582947Y2 - Audio signal coding device - Google Patents

Audio signal coding device

Info

Publication number
JP2582947Y2
JP2582947Y2 JP1992048852U JP4885292U JP2582947Y2 JP 2582947 Y2 JP2582947 Y2 JP 2582947Y2 JP 1992048852 U JP1992048852 U JP 1992048852U JP 4885292 U JP4885292 U JP 4885292U JP 2582947 Y2 JP2582947 Y2 JP 2582947Y2
Authority
JP
Japan
Prior art keywords
block
sound
unit
audio signal
average value
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.)
Expired - Lifetime
Application number
JP1992048852U
Other languages
Japanese (ja)
Other versions
JPH0613232U (en
Inventor
啓之 平井
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP1992048852U priority Critical patent/JP2582947Y2/en
Publication of JPH0613232U publication Critical patent/JPH0613232U/en
Application granted granted Critical
Publication of JP2582947Y2 publication Critical patent/JP2582947Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【考案の詳細な説明】[Detailed description of the invention]

【0001】[0001]

【産業上の利用分野】本考案は留守番電話や、IC録音
機等のデジタル録音に利用される音声信号符号化装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an audio signal encoding apparatus used for digital recording such as an answering machine and an IC recorder.

【0002】[0002]

【従来の技術】音声をブロックごとにデジタルで録音し
記録する場合、記憶容量を節約するために一般的には無
音部をそのまま記録せず、無音の続くブロック数のみを
記録するという方法が良く用いられている。しかしなが
ら従来の方法では、無音とはゼロ付近の信号が続くこと
と考えられており、有音・無音の区別には音声のレベ
ル、もしくはパワー(自乗平均)が使われるため、音声
に直流成分が含まれると誤って有音と判定される恐れが
あった。この直流成分について見れば、ADコンバータ
等のアナログ回路において直流成分が音声信号に付加さ
れることは頻繁に生じる現象であり、このように直流成
分によって有音と見做される結果、全体として無音部は
減少し、音声データの圧縮率が改善されないという欠点
があった。
2. Description of the Related Art When digitally recording and recording audio for each block, a method of recording only the number of successive blocks without silence in general is often used in order to save storage capacity without recording silent portions as they are. Used. However, in the conventional method, silence is considered to be a signal near zero, and speech level or power (root mean square) is used to distinguish between speech and silence. If it is included, there is a risk that it is erroneously determined to be sound. In terms of this DC component, it is a frequent phenomenon that a DC component is added to an audio signal in an analog circuit such as an AD converter, and as a result of being regarded as sound by the DC component as a whole, However, there is a drawback in that the number of parts is reduced and the compression ratio of audio data is not improved.

【0003】[0003]

【考案が解決しようとする課題】上述のごとく従来の音
声信号符号化装置には無音であっても直流成分は有音と
見做される問題点があり、信号の圧縮率の改善を妨げる
大きな要因となっていた。
As described above, the conventional speech signal encoding apparatus has a problem that the DC component is regarded as a sound even if there is no sound. Was a factor.

【0004】そこで本考案はかかる従来技術の問題点に
鑑み、有音・無音の判断を正確に行い、音声信号符号化
におけるデータ圧縮率を改善しようとするものである。
[0004] In view of the above problems of the prior art, the present invention is intended to accurately determine the presence or absence of sound and to improve the data compression rate in speech signal encoding.

【0005】[0005]

【課題を解決するための手段】本考案は、複数個のブロ
ックに分けられた音声信号を各ブロックごとに符号化す
る符号化部と、前記各ブロックの自乗平均を求める処理
部と、前記各ブロックの平均値の自乗を求める処理部
と、前記自乗平均と平均値の自乗との差によってそのブ
ロックが有音か無音かを判断する判断部と、有音の場合
にはそのブロックごとに符号化された音声信号を記憶す
る一方無音の場合には無音のブロック数を記憶するメモ
リとよりなる。
According to the present invention, there is provided an encoding section for encoding an audio signal divided into a plurality of blocks for each block, a processing section for calculating a root mean square of each block, A processing unit for calculating the square of the average value of the block; a determination unit for determining whether the block is sound or silence based on a difference between the square mean and the square of the average value; and a code for each block in the case of sound. The memory comprises a memory for storing the number of silent blocks in the case of silence on the other hand while storing the converted audio signal.

【0006】[0006]

【作用】上記の構成により直流成分の含まれる音声信号
に対して圧縮率を改善した音声信号符号化が実行でき
る。
According to the above configuration, it is possible to execute audio signal encoding with an improved compression ratio for an audio signal containing a DC component.

【0007】[0007]

【実施例】まず本考案の原理について説明する。音声符
号化装置に入力される音声信号をXiとすると、これの
自乗平均と平均の自乗との差、すなわち分散は次の数1
のように表される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First, the principle of the present invention will be described. Assuming that the audio signal input to the audio encoding device is Xi, the difference between the root mean square and the root mean square, that is, the variance, is
It is represented as

【0008】[0008]

【数1】 (Equation 1)

【0009】この数1の右辺に見られる(Xi−ΣXi
/N)は入力信号Xiからその直流成分ΣXi/Nを除
いた量と見做すことができ、すなわち前記分散は入力信
号から直流成分を除いた変化の量と考えることができ
る。
(Xi−XXi)
/ N) can be regarded as an amount obtained by removing the DC component ΣXi / N from the input signal Xi, that is, the variance can be considered as an amount of change obtained by removing the DC component from the input signal.

【0010】本考案では、有音・無音の判断に自乗平均
ではなく分散を用いることにより、直流成分のみの信号
の場合は無音と判断し、信号が変化している場合のみを
有音と判断するため、直流成分がバイアスされた信号に
対しても無音削除が有効に働くことになる。
In the present invention, a variance is used instead of a root mean square for the determination of sound / no sound, so that a signal having only a DC component is determined to be silent, and only when the signal is changing is determined to be sound. Therefore, silence suppression works effectively even for a signal in which a DC component is biased.

【0011】次に図1に本考案の音声信号符号化装置を
採用した符号化・復号化装置の一実施例のブロック回路
を示す。同図において1は入力されるアナログの音声信
号をデジタルのデータに変換するA/D変換器、2は該
A/D変換器1によって変換されたデジタル信号を一ブ
ロック分保存するバッファ、3は該バッファ2に保存さ
れた1ブロック分のデータの自乗の平均値を算出する自
乗平均値算出部、4は同じく前記バッファ2に保存され
た1ブロック分のデータの平均値の自乗を算出する平均
値自乗算出部、5は加算器51を有し前記自乗平均値算
出部3と平均値自乗算出部4の各出力の差を演算してそ
の結果から当該ブロックが有音か無音かを判断する有音
無音判断部、6は該有音無音判断部5の判断結果により
有音と判断された場合は1ブロックずつ符号化してその
結果を出力するとともに無音と判断された場合は無音の
期間を示す符号化データを出力する符号化部、7は該符
号化部6から出力された有音及び無音の符号化データを
記憶するメモリであり、ここまでの構成が符号化装置と
なる。
FIG. 1 shows a block circuit of an embodiment of an encoding / decoding device employing the speech signal encoding device of the present invention. Referring to FIG. 1, reference numeral 1 denotes an A / D converter for converting an input analog audio signal into digital data; 2, a buffer for storing one block of the digital signal converted by the A / D converter 1; The mean square calculating unit 4 calculates the mean of the square of the data of one block stored in the buffer 2, and the mean is the mean of calculating the square of the mean of the data of one block stored in the buffer 2. The value square calculator 5 has an adder 51, calculates the difference between the outputs of the mean square calculator 3 and the mean square calculator 4, and determines whether the block is sound or no sound from the result. The voiced / silent determining unit 6 encodes one block at a time when it is determined that there is voice based on the determination result of the voiced / silent determining unit 5 and outputs the result. The encoded data Encoding unit for force 7 is a memory which stores a sound and silence of encoded data output from the coded unit 6, constituting up to this point as a coding device.

【0012】一方復号化装置の方は、前記メモリ7の符
号化データを取り込み有音か無音かを判断した後有音の
場合は当該符号化データをデジタル音声信号に復号化し
て出力し無音の場合は無音を示す符号化データが示す無
音期間が出力される復号化部8と、前記復号化されたデ
ジタル音声信号に前記無音期間を挿入する無音部挿入部
9と、有音の場合の1ブロックのデジタル音声信号の平
均値を求めて無音のブロックが出力された時にこの平均
値を無音部挿入部9に出力する平均値計算部10と、前
記無音部挿入部9を経たデジタル音声信号をアナログ音
声に変換するD/A変換器11とよりなる。
On the other hand, the decoding device takes in the coded data in the memory 7 and judges whether the data is sound or no sound. If there is sound, the decoding device decodes the coded data into a digital audio signal and outputs it. In this case, a decoding unit 8 for outputting a silence period indicated by encoded data indicating silence, a silence part insertion unit 9 for inserting the silence period into the decoded digital audio signal, The average value calculating unit 10 outputs the average value to the silent unit insertion unit 9 when a silent block is output by calculating the average value of the digital audio signal of the block, and the digital audio signal that has passed through the silent unit insertion unit 9 is output. It comprises a D / A converter 11 for converting to analog audio.

【0013】かかる実施例の構成において、前記有音無
音判断部5は前記数1で説明したように音声信号の直流
分を除いた変化量を判断の根拠として用い、変化があれ
ば有音、無ければ無音と判断して符号化部6へその結果
を送る。
In the configuration of this embodiment, the sound / non-speech judging unit 5 uses the amount of change excluding the DC component of the audio signal as the basis for judgment as described in the above equation (1). If not, it is determined that there is no sound, and the result is sent to the encoding unit 6.

【0014】復号化側ではメモリ7から有音の符号デー
タと無音の符号データとを受け取り、有音の場合に復号
化された音声信号を出力するが、無音の場合にゼロを出
力しては有音ブロックと無音ブロックとの境めがうまく
つながらないため、前記平均値計算部10に記憶されて
いる前回までの有音ブロックの音声信号の平均値を出力
して、前記境めで音声信号をうまくつなぐ工夫を施して
いる。このため平均値計算部10では有音の場合の音声
信号の平均値を求めてこれを次の有音のブロックが該平
均値計算部10に入るまで保存する。
The decoding side receives voice code data and silence code data from the memory 7 and outputs a decoded voice signal in the case of voice, but outputs zero in the case of silence. Since the boundary between the sound block and the silence block is not well connected, the average value of the sound signal of the sound block up to the previous time stored in the average value calculation unit 10 is output, and the sound signal is properly processed at the boundary. The device is connected. For this reason, the average value calculation unit 10 calculates the average value of the audio signal in the case of a sound, and stores the average value until the next sound block enters the average value calculation unit 10.

【0015】すなわち、有音ブロックが復号化部8から
連続して出力されている間は無音部挿入部9では何も行
われず、そのままD/A変換器11に出力される。一方
無音期間を示すデータが復号化部8から出力された場合
は前記平均値計算部10では平均値の更新を行わず、以
前の平均値の値を無音部挿入部9に出力する。この無音
部挿入部9では前記メモリに保存されている無音期間に
相当する期間だけ平均値計算部からの平均値の値をD/
A変換器11に出力する。
That is, while the sound block is continuously output from the decoding unit 8, nothing is performed in the silent unit insertion unit 9, and is output to the D / A converter 11 as it is. On the other hand, when data indicating a silent period is output from the decoding unit 8, the average value calculating unit 10 does not update the average value, and outputs the previous average value to the silent unit inserting unit 9. The silent section insertion section 9 calculates the average value from the average value calculating section for a period corresponding to the silent period stored in the memory by D /
Output to the A converter 11.

【0016】[0016]

【考案の効果】以上のように本考案によれば直流分の含
まれる音声に対しても有音・無音の判断に音声信号の分
散を用いることにより無音削除が有効に働き、またその
無音の再生もゼロ出力ではなく、その前の有音ブロック
の平均値を用いることによってもとの音声に近い妥当な
値で音声を再現できる効果が生まれる。
[Effects of the Invention] As described above, according to the present invention, silence cancellation works effectively by using the variance of the audio signal to determine the presence or absence of voice even for voices containing DC components. By using not the zero output but the average value of the previous sound block, the effect of reproducing the sound with a reasonable value close to the original sound is produced.

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

【図1】本考案の音声信号符号化装置の概念を示すブロ
ック図である。
FIG. 1 is a block diagram illustrating the concept of a speech signal encoding apparatus according to the present invention.

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

1 A/D変換器 2 バッファ 3 自乗平均値算出部 4 平均値自乗算出部 5 有音・無音判断部 6 符号化部 7 メモリ DESCRIPTION OF SYMBOLS 1 A / D converter 2 Buffer 3 Mean-square calculating part 4 Mean-square calculating part 5 Speech / non-speech judging part 6 Encoding part 7 Memory

Claims (1)

(57)【実用新案登録請求の範囲】(57) [Scope of request for utility model registration] 【請求項1】 複数個のブロックに分けられた音声信号
を各ブロックごとに符号化する符号化部と、前記各ブロ
ックの自乗平均を求める処理部と、前記各ブロックの平
均値の自乗を求める処理部と、前記自乗平均と平均値の
自乗との差によってそのブロックが有音か無音かを判断
する判断部と、有音の場合にはそのブロックごとに符号
化された音声信号を記憶する一方無音の場合には無音の
ブロック数を記憶するメモリとよりなる音声信号符号化
装置。
An encoding unit for encoding an audio signal divided into a plurality of blocks for each block, a processing unit for calculating a mean square of each block, and obtaining a square of an average value of each block A processing unit, a determination unit that determines whether the block is voiced or silent based on a difference between the root mean square and the square of the average value, and stores a voice signal coded for each block if the block is voiced. On the other hand, in the case of silence, a speech signal encoding device comprising a memory for storing the number of silence blocks.
JP1992048852U 1992-07-13 1992-07-13 Audio signal coding device Expired - Lifetime JP2582947Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1992048852U JP2582947Y2 (en) 1992-07-13 1992-07-13 Audio signal coding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1992048852U JP2582947Y2 (en) 1992-07-13 1992-07-13 Audio signal coding device

Publications (2)

Publication Number Publication Date
JPH0613232U JPH0613232U (en) 1994-02-18
JP2582947Y2 true JP2582947Y2 (en) 1998-10-15

Family

ID=12814802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1992048852U Expired - Lifetime JP2582947Y2 (en) 1992-07-13 1992-07-13 Audio signal coding device

Country Status (1)

Country Link
JP (1) JP2582947Y2 (en)

Also Published As

Publication number Publication date
JPH0613232U (en) 1994-02-18

Similar Documents

Publication Publication Date Title
US5752223A (en) Code-excited linear predictive coder and decoder with conversion filter for converting stochastic and impulsive excitation signals
US5991725A (en) System and method for enhanced speech quality in voice storage and retrieval systems
JP3784583B2 (en) Audio storage device
JP2582947Y2 (en) Audio signal coding device
EP1202252A2 (en) Apparatus for bandwidth expansion of speech signals
US20010032072A1 (en) Apparatus and method for converting reproducing speed
JP2006276476A (en) Method, device, program, and storage medium thereof for code conversion
JP3227929B2 (en) Speech encoding apparatus and decoding apparatus for encoded signal
JPH11175096A (en) Voice signal processor
JP2005316499A (en) Voice-coder
JP2704678B2 (en) Audio coding processing circuit
US6157906A (en) Method for detecting speech in a vocoded signal
JP2848610B2 (en) Voice analysis and synthesis device
JP2905215B2 (en) Recording and playback device
JP3291004B2 (en) Audio coding circuit
JPH0854895A (en) Reproducing device
JP2947685B2 (en) Audio codec device
KR0141237B1 (en) Audio signal recording/reproducing method
JP2602641B2 (en) Audio coding method
JPH01173100A (en) Digital voice reproducing device
JP2860991B2 (en) Audio storage and playback device
JPS61275900A (en) Voice information compression system
JPH07334197A (en) Voice encoding device
JPH10124097A (en) Voice recording and reproducing device
JPH08256202A (en) Transmission/reception memo recording and reproducing method