JPH0479531A - Method and device for data interpolation - Google Patents

Method and device for data interpolation

Info

Publication number
JPH0479531A
JPH0479531A JP19139590A JP19139590A JPH0479531A JP H0479531 A JPH0479531 A JP H0479531A JP 19139590 A JP19139590 A JP 19139590A JP 19139590 A JP19139590 A JP 19139590A JP H0479531 A JPH0479531 A JP H0479531A
Authority
JP
Japan
Prior art keywords
frame
data
interpolation
waveform
effective 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.)
Granted
Application number
JP19139590A
Other languages
Japanese (ja)
Other versions
JP2529447B2 (en
Inventor
Yoshio Sato
佐藤 好男
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2191395A priority Critical patent/JP2529447B2/en
Publication of JPH0479531A publication Critical patent/JPH0479531A/en
Application granted granted Critical
Publication of JP2529447B2 publication Critical patent/JP2529447B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PURPOSE:To prevent degradation in the quality of a decoded audio signal by using a weight coefficient extrapolated with the effective value of a first half of a frame just before a frame to be interpolated and an effective value of a latter half of the frame, correcting the amplitude of a segmented waveform and using the result for the interpolation. CONSTITUTION:In the case of receiving metric information 5 from a viterbi decoding section 4, a frame interpolation deciding section 6 decides whether or not an error is present in a viterbi-decoded data and outputs a frame interpolation requiring signal 7. Moreover, an interpolation data generating section 8 generates an interpolation data 9 based on the frame interpolation requiring signal 7 sent from the frame interpolation deciding section 6 and outputs the data. That is, the effective value of the first half of a frame just before a frame to be interpolated and the latter half of the frame is obtained and a weight coefficient depending on the extrapolation of the two effective values is calculated and the weight coefficient is multiplied in the case of repetition of the waveform. Thus, the envelope of the waveform subjected to weighting and interpolation is continuous to the envelope of the waveform of the just preceding frame. Thus, the degradation in the quality of the decoded audio signal is prevented.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はデータ補間方法及び装置、特に音声等のデータ
のデジタル伝送において、伝送誤りにより復号化不可能
な区間の波形を補間するための補間方法に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a data interpolation method and apparatus, and particularly to an interpolation method for interpolating waveforms in sections that cannot be decoded due to transmission errors in digital transmission of data such as voice data. It is something.

従来の技術 音声等のデータ信号を一定長のフレームに区切って符号
化しデジタル伝送する際、伝送路の誤り等によりデータ
の復号化が困難に成る場合があるが、このような場合、
復号化困難になったフレームを他の波形により置き換え
る、即ち補間処理が行なわれる。このようなデータ補間
方法の従来例としては、例えば第4図及び第5図に示す
ものがある。
Conventional technology When data signals such as voice are divided into frames of a fixed length and encoded and transmitted digitally, decoding of the data may become difficult due to errors in the transmission path, etc. In such cases,
A frame that has become difficult to decode is replaced with another waveform, that is, interpolation processing is performed. Conventional examples of such data interpolation methods include those shown in FIGS. 4 and 5, for example.

第4図は従来のデータ補間方法を用いたフレーム毎の処
理のフローチャートを表し、第5図はこの方法により補
間した波形の一例を示す。第5図中、記号T、は1フ1
ノームの長さとサンプル数)を表す。いま、n番目のフ
Iノー1・の復号音声サンプルを、。
FIG. 4 shows a flowchart of frame-by-frame processing using a conventional data interpolation method, and FIG. 5 shows an example of a waveform interpolated by this method. In Figure 5, the symbol T is 1 frame 1
gnome length and number of samples). Now, the decoded audio sample of the n-th function 1.

Xl、(i ) 、  i =0.1.2.・・・、T
、−1とする。
Xl, (i), i =0.1.2. ..., T
, -1.

n番目のフレームにおいて、1フレ一ム分の符号化デー
タを受信すると、誤り検出を行なう。受(iデータが正
しい場合は通常の復号処理を行ない5、復号化音声サン
プルXn (i)を得て出力する。もし1、受信データ
が復号化不可能な誤りを含む場合は、n−1番目の復号
化音声ザンブルペ(i ) 、  i =0.1.2.
・・・、′l”、−1の末尾からTA個のザンブルを切
り出して繰り返すことにより、X、 (i ) −X、
−、(T、 −T、+ (i、  mod T、) )
i=o、12.・・・、T、・・・・・・・・・(1)
と(7てn番目の復号化音声サンプルの代わりに出力す
る。ここで、T、は波形の繰り返しの際に連続性が良い
ように相関係数を用いて算出する。第5図(a)、(b
)はそれぞれ区間Aから部分区間aの波形を切り出し、
それを繰り返すことにより区間A′を補間している例を
示15ている。
When encoded data for one frame is received in the n-th frame, error detection is performed. If the received data (i) is correct, normal decoding processing is performed and the decoded audio sample Xn (i) is obtained and output.If the received data contains an error that cannot be decoded, th decoded audio sample (i), i = 0.1.2.
..., 'l'', -1 by cutting out TA zambles from the end and repeating them, X, (i) -X,
−, (T, −T, + (i, mod T,) )
i=o, 12. ..., T, ...... (1)
and (7) are output instead of the n-th decoded audio sample. Here, T is calculated using a correlation coefficient to ensure good continuity when repeating the waveform. Figure 5 (a) , (b
) cut out the waveform of partial interval a from interval A, and
15 shows an example in which the interval A' is interpolated by repeating this process.

そして、このような補間の仕方でもって復号化不可能な
フ1/−ムの音声波形を直前のフレームから切り出した
波形で補間することにより、音声の連続性を保っている
By using this interpolation method, the audio waveform of frame 1/-, which cannot be decoded, is interpolated with the waveform extracted from the immediately previous frame, thereby maintaining the continuity of the audio.

発明が解決1.ようとする課題 しかしながら、このような従来のデータ補間方法にあっ
ては、第5図中(a)に示されるように、入力データ信
号の音声波形の包絡が定常的な場合は良好な補間が行な
えるが5、第5図中(1))に示されるように音p波形
の包絡が変化している場合は、波形の繰り返しに伴って
包絡が不連続となり復号化音声の品質を劣化させる原因
となる。
Invention solves the problem 1. However, in such conventional data interpolation methods, it is difficult to perform good interpolation when the envelope of the audio waveform of the input data signal is stationary, as shown in FIG. 5(a). However, if the envelope of the sound p waveform changes as shown in (1) in Figure 5, the envelope becomes discontinuous as the waveform repeats, degrading the quality of the decoded speech. Cause.

本発明は前記問題点に鑑みてなされたもので、その目的
は、入力データ信号の波形の包絡か変化していても良好
な補間が行なえるデータ補間方法及び装置を提供するこ
とである。
The present invention has been made in view of the above-mentioned problems, and an object thereof is to provide a data interpolation method and apparatus that can perform good interpolation even if the waveform envelope of an input data signal changes.

課題を解決するための手段 本発明は前記1」的を達成するため、補間をず−、きフ
1ノ−ムの直前の71ノ−ムの前半の波形と後生の波形
の実効値を求め、この2つの実効値の外挿によって決ま
る重み係数を算出15、波形の繰り返1−の際にこの重
み係数を乗じるようにしたことを要旨とする。
Means for Solving the Problems In order to achieve the above-mentioned objective 1, the present invention eliminates interpolation and calculates the effective values of the first half waveform and the subsequent waveform of the 71st norm immediately before the 1st norm. , a weighting coefficient determined by extrapolation of these two effective values is calculated 15, and this weighting coefficient is multiplied when the waveform is repeated 1-.

作  用 本発明では前記構成によって、重み付けされ補間された
波形の包絡は、直前のフレームの波形包絡に対して連続
するようになり整合性の良い補間波形を得ることができ
る。
According to the present invention, with the above configuration, the envelope of the weighted and interpolated waveform becomes continuous with the waveform envelope of the immediately previous frame, and an interpolated waveform with good consistency can be obtained.

実施例 第1−図乃至第3図は、本発明の一実施例を示す図であ
る。このうぢ、第1図は前記実施例のフロック図、第2
図は前記実施例における補間方法を用いたフレーム毎の
処理のフローヂャート、第3図は補間を行なった復号化
音声波形の例を示す。また、第3図において、■、は1
フレート、の長さ(サンプル数)であり、T、は切り出
し波形の長さ(サンプル数)である。
Embodiment 1 to 3 are diagrams showing an embodiment of the present invention. FIG. 1 is a block diagram of the above embodiment, and FIG.
The figure is a flowchart of frame-by-frame processing using the interpolation method in the embodiment, and FIG. 3 shows an example of a decoded audio waveform after interpolation. Also, in Figure 3, ■, is 1
Freight is the length (number of samples), and T is the length (number of samples) of the cut-out waveform.

第1図において、符号1−は受信データが入力されるデ
ータ人力部、2は復門部であり受信テークを復調し、復
調データ3を出力する。4はビタビ復号化部であり、復
調データ3をビタビアルゴリズムにより復号化すると共
に復号化の際に各時点の各状態におけるブランチメトリ
ックを記憶し、トレースバックにより成る時点の復調デ
ータを復号するときにその時点で選択された状態のブラ
ンチメトリックをメトリック情報5として出力する。6
はフレーム補間判定部であり1.ビタビ復号化部4から
メトリック情報5を受は取ると、それに基づいてビタビ
復号化データに誤りがあるか否かを判定しフレーム補間
要求信号7を出力する。
In FIG. 1, reference numeral 1- is a data input section into which received data is input, and 2 is a demodulation section which demodulates the received take and outputs demodulated data 3. 4 is a Viterbi decoding unit which decodes the demodulated data 3 using the Viterbi algorithm, stores the branch metric in each state at each time point during decoding, and when decoding the demodulated data at the time point by traceback. The branch metric in the state selected at that time is output as metric information 5. 6
is a frame interpolation determination unit, and 1. When the metric information 5 is received from the Viterbi decoding unit 4, it is determined whether or not there is an error in the Viterbi decoded data based on the metric information 5, and a frame interpolation request signal 7 is output.

8は補間データ作成部であり、フレ−ム補間判定部6か
ら送付されたフレ−ム補間要求信号7に基づいて補間デ
ータ9を作成1.出力する。10は音声復号化部であり
、フレ−ム補間判定部6においてフレーム補間要求信号
7か出力されないときはビタビ復号化部4から出力され
る受信音声符号化データコ1を復号化j7、音声12を
データ出力部コ3から出力させる。また、フレ−ム補間
判定部6においてフレ−ム補間要求信号7が出力された
ときは、誤ったフレームの受信音声符号化データ11を
用いず、補間データ作成部8で作成された補間データ9
を用いてそのフレームの補間を行ない音声12を出力す
る。
8 is an interpolation data creation section, which creates interpolation data 9 based on the frame interpolation request signal 7 sent from the frame interpolation determination section 6. Output. Reference numeral 10 denotes an audio decoding unit, which decodes the received audio coded data 1 outputted from the Viterbi decoding unit 4 and decodes the audio 12 when the frame interpolation request signal 7 is not output in the frame interpolation determining unit 6. It is output from the data output section 3. Further, when the frame interpolation request signal 7 is outputted in the frame interpolation determination section 6, the received audio encoded data 11 of the erroneous frame is not used, and the interpolation data 9 created in the interpolation data creation section 8 is used.
The frame is interpolated using , and audio 12 is output.

かかる構成を有するデータ補間装置の動作について、以
下説明する。
The operation of the data interpolation device having such a configuration will be explained below.

第2図中処理ステップ(以下単にステップという)2コ
において、0番1」のフレームの1フレ一ム分の符号化
データを受信すると、この符号化データはビタビ復号化
部4によってビタビ復号化され5、その結果出力される
メトリック情報5を基にフレ−ム補間判定部か受信デー
タの誤り検出をする(ステップ22)。この誤り検出処
理においてフレーム補間判定部6は受信データが正しい
か否かチェヅクしくステップ23)、正しい場合は復号
化処理(ステップ24)に移行してビタビ復号化部4か
ら出力される受信音声符号化データ11を復号化し、復
号音声サンプル X、 (i ) 、  i =0.12.−・・T、−
1を得て音声12としデータ出力部13から出力さぜる
。他方、ステップ23において、受信データが誤りを含
んでいて復号化不可能な場合は、直前(ltlちn−1
番目)のフレームの復号化音声サンプル Xl、−+ (i ) 、      i =0、L2
、・・・T、−1から前記従来例と同様に長i4 ’F
A の波奸ニを切り出す(ステップ25)。次に、n−
1番目のフ]ノームの前半の実効値e1、と後半の実効
値e2を、として求める。このe、、e2とTIlから
重み係数K を次式により求める(ステップ26)。
In the processing step (hereinafter simply referred to as step) 2 in FIG. The frame interpolation determining unit detects errors in the received data based on the metric information 5 outputted as a result (step 22). In this error detection process, the frame interpolation determining unit 6 checks whether the received data is correct or not (step 23), and if it is correct, the process proceeds to decoding process (step 24) and receives the received audio code output from the Viterbi decoding unit 4. The encoded data 11 is decoded, and the decoded audio sample X, (i), i = 0.12. -・・T, -
1 is obtained and output as voice 12 from the data output section 13. On the other hand, in step 23, if the received data contains an error and cannot be decoded, the immediately preceding (ltl, n-1
decoded audio sample Xl of frame (th), −+ (i), i = 0, L2
, . . . from T, -1 to the length i4 'F as in the conventional example.
Cut out the wave pattern of A (step 25). Next, n-
The effective value e1 of the first half and the effective value e2 of the second half of the first hnome are determined as follows. A weighting coefficient K is determined from e, , e2 and TIl using the following equation (step 26).

次に、切り出した波形を重み係数■(を乗しながら繰り
返すことによりn番目のフレームの復号音声サンプルを
補間する(ステップ27)。いま切りl’l:l L波
形の繰り返し数をmとすれば、このように、前記実施例
によれば、補間を行なうフレームの直前のフレームの前
半部分の実効値と後半部分の実効値より外挿した重み係
数を用いて切り出した波形の振幅を補正して補間に用い
るため、補間されたフレームの波形包絡と直前のフレー
ムの波形包絡は第3図に示されるように連続的になり、
波形補間された復号音声の品質劣化が小さくなる。
Next, the decoded audio sample of the nth frame is interpolated by repeating the extracted waveform while multiplying it by the weighting coefficient () (step 27). For example, according to the embodiment described above, the amplitude of the extracted waveform is corrected using the weighting coefficient extrapolated from the effective value of the first half and the effective value of the latter half of the frame immediately before the frame to be interpolated. Since this is used for interpolation, the waveform envelope of the interpolated frame and the waveform envelope of the immediately previous frame become continuous as shown in Figure 3.
The quality deterioration of the decoded audio that has been subjected to waveform interpolation is reduced.

発明の詳細 な説明したように、本発明によれば、データの補間処理
に際して1.直前のフレームの前半部分の実効値と後半
部分の実効値より外挿した重み係数によって補間波形の
振幅を補正するようにしたため、補間された音声波形の
包絡の連続性を向上することにより、復号音声の品質劣
化を小さく抑え、忠実な音声再生を実現することができ
る。
As described in detail, according to the present invention, 1. Since the amplitude of the interpolated waveform is corrected using a weighting coefficient extrapolated from the effective value of the first half and the effective value of the second half of the immediately preceding frame, the continuity of the envelope of the interpolated audio waveform is improved, making decoding easier. It is possible to suppress audio quality deterioration to a small level and realize faithful audio reproduction.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明によるデータ補間装置を示すフロック図
、第2図は本発明によるデータ補間方法を実施するため
のフローチャート、第3図は前記データ補間処理による
復号音声波形の一例を示す波形図、第4図は従来のデー
タ補間方法の一例を示すフローチャート、第5図は前記
従来のデータ補間方法による復号音声波形の例を示す波
形図である。 ]・・・データ入力部、2・・・復調部、4・・ヒタビ
復号] 0 化部、 6・・ フ レーム補間判定部、 ・・補間データ 作成部、 ・・音声復号化部、 ・・データ出力 部。
FIG. 1 is a block diagram showing a data interpolation device according to the present invention, FIG. 2 is a flowchart for implementing the data interpolation method according to the present invention, and FIG. 3 is a waveform diagram showing an example of a decoded audio waveform by the data interpolation process. , FIG. 4 is a flowchart showing an example of a conventional data interpolation method, and FIG. 5 is a waveform diagram showing an example of a decoded audio waveform by the conventional data interpolation method. ]...Data input unit, 2...Demodulation unit, 4...Hitabi decoding unit, 6...Frame interpolation determination unit,...Interpolation data creation unit,...Audio decoding unit,...Data Output section.

Claims (1)

【特許請求の範囲】 1)データを一定長のフレームに区切って符号化しデジ
タル伝送する際、復号化困難になったフレームを補間す
る場合に、前フレームの前半部分の実効値と後半部分の
実効値を求め、補間に用いる波形の振幅を前記前フレー
ム前半の実効値と後半の実効値の外挿によって補間し、
補間されたフレームとその直前のフレームの波形包絡が
連続になるようにしたデータ補間方法。 2)受信データが入力されるデータ入力部と、受信デー
タを復調する手段と、この復調手段からの復調データを
ビタビ復号化する手段と、ビタビ復号化手段からの出力
データを音声復号化する手段と、前記ビタビ復号化され
た情報に基づいて復号化データの誤りを検出する手段と
、この誤り検出手段による誤り検出に基づき、補間を行
なうフレームの直前のフレームの前半部分の実効値と後
半部分の実効値より外挿した重み係数を用いて切り出し
た波形の振幅を補正して補間データを作成する手段と、
から成るデータ補間装置。
[Claims] 1) When data is divided into frames of a fixed length and encoded and transmitted digitally, when interpolating a frame that is difficult to decode, the effective value of the first half of the previous frame and the effective value of the second half of the previous frame are used. interpolate the amplitude of the waveform used for interpolation by extrapolating the effective value of the first half of the previous frame and the effective value of the second half,
A data interpolation method that makes the waveform envelope of the interpolated frame and the frame immediately before it continuous. 2) A data input section into which received data is input, means for demodulating the received data, means for Viterbi decoding the demodulated data from the demodulating means, and means for audio decoding the output data from the Viterbi decoding means. and means for detecting errors in the decoded data based on the Viterbi-decoded information, and based on the error detection by the error detection means, the effective value of the first half and the second half of the frame immediately before the frame to be interpolated. means for creating interpolated data by correcting the amplitude of the cut out waveform using a weighting coefficient extrapolated from the effective value of;
A data interpolation device consisting of.
JP2191395A 1990-07-19 1990-07-19 Data interpolation method and apparatus Expired - Fee Related JP2529447B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2191395A JP2529447B2 (en) 1990-07-19 1990-07-19 Data interpolation method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2191395A JP2529447B2 (en) 1990-07-19 1990-07-19 Data interpolation method and apparatus

Publications (2)

Publication Number Publication Date
JPH0479531A true JPH0479531A (en) 1992-03-12
JP2529447B2 JP2529447B2 (en) 1996-08-28

Family

ID=16273893

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2191395A Expired - Fee Related JP2529447B2 (en) 1990-07-19 1990-07-19 Data interpolation method and apparatus

Country Status (1)

Country Link
JP (1) JP2529447B2 (en)

Also Published As

Publication number Publication date
JP2529447B2 (en) 1996-08-28

Similar Documents

Publication Publication Date Title
EP0116975B1 (en) Speech-adaptive predictive coding system
US6597961B1 (en) System and method for concealing errors in an audio transmission
JP2746033B2 (en) Audio decoding device
EP1449305B1 (en) Method for replacing corrupted audio data
US6889183B1 (en) Apparatus and method of regenerating a lost audio segment
US6873954B1 (en) Method and apparatus in a telecommunications system
EP0700182B1 (en) Apparatus for error correcting decoding in digital data communication systems
JPH10313251A (en) Device and method for audio signal conversion, device and method for prediction coefficeint generation, and prediction coefficeint storage medium
JP2591242B2 (en) Error detection method
JPH0783348B2 (en) Digital signal decoding device
US5535299A (en) Adaptive error control for ADPCM speech coders
JP2522142B2 (en) Viterbi decoder synchronization detection method
KR20070059860A (en) Method and apparatus for restoring digital audio packet loss
JPH07334191A (en) Method of decoding packet sound
JPH11261534A (en) Communications device, communications method and communications signal system
JPH0479531A (en) Method and device for data interpolation
KR100329875B1 (en) A transmission system for continuously transmitting signal samples, transmitters, receivers, coders, decoders, and interpolation means for reconstructing signal samples, how to add redundancy to signal samples, and how to reconstruct signal samples
JPH05199124A (en) Voice communication system
JP3583550B2 (en) Interpolator
JP2002006890A (en) Device for improving sound signal quality
US20020035468A1 (en) Audio transmission system having a pitch period estimator for bad frame handling
JP3183490B2 (en) Predictive coded audio signal receiver
JP2002252644A (en) Apparatus and method for communicating voice packet
JP3219169B2 (en) Digital audio signal processor
JP3282562B2 (en) Method of determining metric value threshold in Viterbi synchronization determination circuit and metric value threshold determination device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees