JPH06350540A - Error compensating method for digital audio signal - Google Patents
Error compensating method for digital audio signalInfo
- Publication number
- JPH06350540A JPH06350540A JP5133340A JP13334093A JPH06350540A JP H06350540 A JPH06350540 A JP H06350540A JP 5133340 A JP5133340 A JP 5133340A JP 13334093 A JP13334093 A JP 13334093A JP H06350540 A JPH06350540 A JP H06350540A
- Authority
- JP
- Japan
- Prior art keywords
- error
- frame
- value replacement
- compensation
- digital audio
- 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
Description
【0001】[0001]
【産業上の利用分野】本発明は、デジタルオ−ディオ信
号の復号化時のエラ−補償方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error compensating method for decoding a digital audio signal.
【0002】[0002]
【従来の技術】デジタルオ−ディオ信号は、符号化時に
は、所定単位毎に処理される。この所定単位は、通常フ
レーム(またはパケット)等と呼ばれる。デジタルオ−デ
ィオ信号の復号化時も、当然、このフレーム毎に処理さ
れる。そして、このフレームにおいて、エラ−検出が行
われ、もし、エラーが発生した場合は、これを、補償し
なくてはならない。2. Description of the Related Art A digital audio signal is processed in a predetermined unit at the time of encoding. This predetermined unit is called a normal frame (or packet) or the like. When decoding the digital audio signal, of course, it is processed for each frame. Then, error detection is performed in this frame, and if an error occurs, it must be compensated.
【0003】一般的にこのような、補償方法としては、
波形置換とゼロ値置換とが、良く知られている。波形置
換とは、その名のとおり、このフレーム期間の出力波形
を、他のものに置換するものであり、通常、前のフレー
ムの波形をもう一度出力することにより、行われる。な
お、前のフレームの波形をもう一度出力する波形置換
は、特に前値置換と呼ばれる。Generally, such a compensation method is as follows.
Waveform permutation and zero-value permutation are well known. The waveform replacement is, as the name implies, to replace the output waveform in this frame period with another one, and is usually performed by outputting the waveform of the previous frame again. The waveform replacement for outputting the waveform of the previous frame again is called the previous value replacement.
【0004】ゼロ値置換とは、その名のとおり、このフ
レーム期間の出力波形を、ゼロとするものであり、音声
ミュート状態とするものである。なお、実際には、この
エラ−補償フレームの最初と最後で波形の不連続が発生
し、インパルス状のノイズ音が、発生することがある。
このため、このエラ−補償フレームの最初と最後で、イ
ンパルス状のノイズ音が発生しないように、波形を丸め
たり、インパルス状のノイズ音をカットしたり、インパ
ルス状のノイズ音が発生しない様にフレームの最初と最
後のタイミングをずらしたりしている。As its name implies, the zero-value substitution is to zero the output waveform in this frame period, and to put it in the audio mute state. Actually, the discontinuity of the waveform may occur at the beginning and the end of this error-compensated frame, and an impulse noise sound may occur.
Therefore, at the beginning and end of this error-compensated frame, the waveform should be rounded, the impulse noise should not be cut, and the impulse noise should not be generated so that no impulse noise is generated. The timing of the beginning and the end of the frame is shifted.
【0005】[0005]
【発明が解決しようとする課題】本発明は、エラ−補償
方法の改良を提案するものである。The present invention proposes an improvement of the error compensation method.
【0006】[0006]
【課題を解決するための手段】本発明では、エラーが発
生したフレームを波形置換にて補償するとともに、この
エラーが所定数以上のフレ−ムに連続して発生した場合
はゼロ値置換にて補償する。According to the present invention, a frame in which an error has occurred is compensated by waveform replacement, and if this error occurs continuously in a predetermined number of frames or more, zero value replacement is performed. To compensate.
【0007】[0007]
【作用】本発明によれば、一つのフレームのみでエラー
が発生した場合は、このフレームを波形置換する。そし
て、所定数以上のフレ−ムで連続してエラーが発生した
場合はゼロ値置換を行う。According to the present invention, when an error occurs in only one frame, this frame is waveform-replaced. Then, when errors occur continuously in a predetermined number of frames or more, zero value replacement is performed.
【0008】[0008]
【実施例】図1〜図3を参照しつつ、本発明の1実施例を
説明する。図1は、MPEGオーディオ復号装置である。図2
は、図1のエラ−検出部の動作を示す図である。図3は、
この実施例により補償された波形出力を示すものであ
る。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to FIGS. FIG. 1 shows an MPEG audio decoding device. Figure 2
FIG. 3 is a diagram showing an operation of the error detection unit of FIG. Figure 3
7 shows a waveform output compensated by this embodiment.
【0009】図1において、(10)は、エラー検出部であ
る。(14)は、前値置換補償回路である。(16)は、ゼロ値
置換補償回路である。(18)は、MPEGオーディオ復号部で
ある。この装置の動作を図2を参照しつつ説明する。In FIG. 1, (10) is an error detector. (14) is a previous value replacement compensation circuit. (16) is a zero-value replacement compensation circuit. (18) is an MPEG audio decoding unit. The operation of this device will be described with reference to FIG.
【0010】まず、エラ−検出が行われる。MPEGオーデ
ィオのエラー検出方式は、CRC方式であるので、まず、S
1ステップでCRCチェックが行われる。そして、S1ステッ
プで、CRCエラーがなければ、補償回路(14)(16)では処
理はされず、MPEGオーディオ復号部(18)で復号される通
常処理(S3)がなされる。S1ステップでCRCエラーがあれ
ば、S2ステップで前フレームはエラー有りか否か?が、
判定される。First, error detection is performed. Since the error detection method for MPEG audio is the CRC method, first, S
CRC check is done in one step. Then, in step S1, if there is no CRC error, the compensation circuits (14) and (16) do not perform processing, but the MPEG audio decoding unit (18) performs normal processing (S3). If there is a CRC error in the S1 step, is there an error in the previous frame in the S2 step? But,
To be judged.
【0011】S2ステップで前フレ−ムのエラー無しが判
定されると、前値置換補償回路(14)で、前フレームのデ
ータが、このエラーの発生したフレームのデータとして
出力され、MPEGオーディオ復号部(18)で復号される。S2
ステップで前フレ−ムのエラー有りが判定されると、ゼ
ロ値置換補償回路(16)で、データ「0」が、このエラーの
発生したフレームのデータとして出力され、MPEGオーデ
ィオ復号部(18)で復号される。When it is determined in step S2 that there is no error in the previous frame, the previous value replacement compensating circuit (14) outputs the data of the previous frame as the data of the frame in which this error has occurred, and the MPEG audio decoding is performed. It is decrypted by the section (18). S2
When it is determined in step that there is an error in the previous frame, the zero value replacement compensation circuit (16) outputs data "0" as the data of the frame in which this error has occurred, and the MPEG audio decoding unit (18) Will be decrypted with.
【0012】この様に、この実施例では、1個のフレー
ムで単発的にエラーが発生した場合は、前値置換補償を
する。そして、エラーが2つ以上のフレームで連続して
発生すると、この2個目以降のフレームでは、ゼロ値置
補償を行う。尚、本願では、エラーの連続するフレーム
の数を1個目と2個目以降で、前値置換補償とゼロ値置
補償とを切り換えたが、本願は、別にこれに限られる訳
ではない。As described above, in this embodiment, when an error occurs in one frame, the previous value replacement compensation is performed. When an error occurs continuously in two or more frames, zero-value compensation is performed in the second and subsequent frames. In the present application, the previous value replacement compensation and the zero-value replacement compensation are switched depending on the number of frames in which the error is continuous and the first and second consecutive frames, but the present application is not limited to this.
【0013】また、本実施例では、補償回路をMPEGオー
ディオ復号部(18)の前段にいれたが、これは、MPEGオー
ディオの復号方式によれば、特別な処置をしなくても、
MPEGオーディオの復号特質により、前述したインパルス
性のノイズが発生しないからである。なお、本願は、補
償回路(14)(16)をMPEGオーディオ復号部(18)の後段にい
れてもよい。Further, in this embodiment, the compensating circuit is provided in the preceding stage of the MPEG audio decoding unit (18). However, according to the MPEG audio decoding system, this does not require any special treatment.
This is because the impulse noise described above does not occur due to the decoding characteristics of MPEG audio. Note that, in the present application, the compensation circuits (14) and (16) may be provided in the subsequent stage of the MPEG audio decoding unit (18).
【0014】[0014]
【発明の効果】本発明によれば、短いエラーフレーム
は、波形置換により補償されるので、このエラー発生
が、使用者の気になることはない。そして、長いエラー
フレームは、無音とされるので、波形置換が何回も繰り
返されることにより発生する違和感がない。According to the present invention, since a short error frame is compensated by the waveform replacement, the occurrence of this error is not noticeable to the user. Further, since the long error frame is silenced, there is no discomfort caused by repeating the waveform replacement many times.
【図1】本発明の1実施例を示す図である。FIG. 1 is a diagram showing an embodiment of the present invention.
【図2】この実施例の動作を説明するための図である。FIG. 2 is a diagram for explaining the operation of this embodiment.
【図3】この実施例のMPEGオーディオ復号部(18)の出力
を示す図である。FIG. 3 is a diagram showing an output of an MPEG audio decoding unit (18) of this embodiment.
【符号の説明】 (10)・・・・エラー検出部、 (14)・・・・前値置換補償回路、 (16)・・・・ゼロ値置換補償回路、 (18)・・・・MPEGオーディオ復号部。[Explanation of symbols] (10) ··· Error detection unit, (14) ··· Previous value replacement compensation circuit, (16) ··· Zero value replacement compensation circuit, (18) ··· MPEG Audio decoding unit.
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H03M 7/30 Z 8522−5J 13/00 8730−5J H04L 1/00 B 9371−5K 29/02 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI Technical display location H03M 7/30 Z 8522-5J 13/00 8730-5J H04L 1/00 B 9371-5K 29/02
Claims (2)
ーディオ信号の復号化時のエラー補償方法において、 エラーが発生したフレームを波形置換にて補償するとと
もに、このエラーが所定数以上のフレームに連続して発
生した場合はゼロ値置換にて補償することを特徴とする
デジタルオーディオ信号のエラー補償方法。1. An error compensating method at the time of decoding a digital audio signal coded on a frame-by-frame basis, in which a frame in which an error has occurred is compensated by waveform replacement, and the error is consecutive in a predetermined number or more of frames. Error compensation method for digital audio signals, which is compensated by zero value replacement.
1のデジタルオーディオ信号のエラー補償方法。2. The method for error compensation of a digital audio signal according to claim 1, wherein the waveform replacement is pre-value replacement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5133340A JPH06350540A (en) | 1993-06-03 | 1993-06-03 | Error compensating method for digital audio signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5133340A JPH06350540A (en) | 1993-06-03 | 1993-06-03 | Error compensating method for digital audio signal |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH06350540A true JPH06350540A (en) | 1994-12-22 |
Family
ID=15102438
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5133340A Pending JPH06350540A (en) | 1993-06-03 | 1993-06-03 | Error compensating method for digital audio signal |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH06350540A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002542518A (en) * | 1999-04-19 | 2002-12-10 | エイ・ティ・アンド・ティ・コーポレーション | Method and apparatus for performing packet loss or frame erasure concealment |
WO2006064879A1 (en) * | 2004-12-15 | 2006-06-22 | Matsushita Electric Industrial Co., Ltd. | Audio encoding method, audio decoding method, audio encoding apparatus and audio decoding apparatus |
JP2009205014A (en) * | 2008-01-31 | 2009-09-10 | Fujitsu Ten Ltd | Digital data processing device and sound playback device |
US8185386B2 (en) | 1999-04-19 | 2012-05-22 | At&T Intellectual Property Ii, L.P. | Method and apparatus for performing packet loss or frame erasure concealment |
US8731908B2 (en) | 1999-04-19 | 2014-05-20 | At&T Intellectual Property Ii, L.P. | Method and apparatus for performing packet loss or frame erasure concealment |
-
1993
- 1993-06-03 JP JP5133340A patent/JPH06350540A/en active Pending
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8185386B2 (en) | 1999-04-19 | 2012-05-22 | At&T Intellectual Property Ii, L.P. | Method and apparatus for performing packet loss or frame erasure concealment |
US8423358B2 (en) | 1999-04-19 | 2013-04-16 | At&T Intellectual Property Ii, L.P. | Method and apparatus for performing packet loss or frame erasure concealment |
US9336783B2 (en) | 1999-04-19 | 2016-05-10 | At&T Intellectual Property Ii, L.P. | Method and apparatus for performing packet loss or frame erasure concealment |
JP2011013697A (en) * | 1999-04-19 | 2011-01-20 | At & T Corp | Method performed in receiver and receiver |
JP2011043844A (en) * | 1999-04-19 | 2011-03-03 | At & T Corp | Method performed by receiver, and receiver |
JP2015180972A (en) * | 1999-04-19 | 2015-10-15 | エイ・ティ・アンド・ティ・コーポレーションAt&T Corp. | Apparatus for performing frame erasure concealment |
JP2014206761A (en) * | 1999-04-19 | 2014-10-30 | エイ・ティ・アンド・ティ・コーポレーションAt&T Corp. | Apparatus for performing frame erasure concealment |
JP2012230419A (en) * | 1999-04-19 | 2012-11-22 | At & T Corp | Method and apparatus for performing packet loss or frame erasure concealment |
JP2002542518A (en) * | 1999-04-19 | 2002-12-10 | エイ・ティ・アンド・ティ・コーポレーション | Method and apparatus for performing packet loss or frame erasure concealment |
JP2013238894A (en) * | 1999-04-19 | 2013-11-28 | At & T Corp | Apparatus for performing frame erasure concealment |
US8612241B2 (en) | 1999-04-19 | 2013-12-17 | At&T Intellectual Property Ii, L.P. | Method and apparatus for performing packet loss or frame erasure concealment |
US8731908B2 (en) | 1999-04-19 | 2014-05-20 | At&T Intellectual Property Ii, L.P. | Method and apparatus for performing packet loss or frame erasure concealment |
WO2006064879A1 (en) * | 2004-12-15 | 2006-06-22 | Matsushita Electric Industrial Co., Ltd. | Audio encoding method, audio decoding method, audio encoding apparatus and audio decoding apparatus |
JP4726088B2 (en) * | 2008-01-31 | 2011-07-20 | 富士通テン株式会社 | Digital data processing apparatus and sound reproduction apparatus |
JP2009205014A (en) * | 2008-01-31 | 2009-09-10 | Fujitsu Ten Ltd | Digital data processing device and sound playback device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100890002B1 (en) | Low latency data encoder | |
JP2004507147A5 (en) | Method for reducing time delay with respect to received information in transmission of coded information | |
JP2621614B2 (en) | Code error detection circuit | |
JP2002027464A (en) | Encoder and decoder | |
JPH10327089A (en) | Portable telephone set | |
JPH01177227A (en) | Sound coder and decoder | |
JPH06350540A (en) | Error compensating method for digital audio signal | |
US6006352A (en) | Bitstream decoding apparatus with reduced error correction processing and decoding method | |
US20020133780A1 (en) | Method and apparatus for protecting lossless transmission of a data stream | |
JP3436940B2 (en) | Wireless communication device | |
US5892465A (en) | Decoding apparatus and decoding method | |
JP2823158B2 (en) | Error correction device | |
JP3611875B2 (en) | Wireless communication device | |
JP2003099096A (en) | Audio decoding processor and error compensating device used in the processor | |
JPH0248994B2 (en) | SHINGOHOSEISOCHI | |
JP3475931B2 (en) | Receiver | |
JPH02143734A (en) | Voice digital transmission system | |
JPH04360422A (en) | Decoding method | |
JPH05347594A (en) | Transmission code error compensating device | |
JP3317147B2 (en) | Malfunction prevention method, malfunction prevention circuit, and audio processing device | |
JP2752859B2 (en) | Error correction system and Hagerberger decoding circuit used therefor | |
JP3700926B2 (en) | Signal processing device for audio equipment | |
JP2957190B2 (en) | Error correction device | |
KR100243182B1 (en) | Digital data recording/reproducing device | |
JPH06244808A (en) | Voice signal interpolation device |