[go: up one dir, main page]

WO2001067451A1 - A method for reconstruction of audio signal - Google Patents

A method for reconstruction of audio signal Download PDF

Info

Publication number
WO2001067451A1
WO2001067451A1 PCT/FI2001/000213 FI0100213W WO0167451A1 WO 2001067451 A1 WO2001067451 A1 WO 2001067451A1 FI 0100213 W FI0100213 W FI 0100213W WO 0167451 A1 WO0167451 A1 WO 0167451A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
errors
signal
computer
program code
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.)
Ceased
Application number
PCT/FI2001/000213
Other languages
French (fr)
Inventor
Ismo Kauppinen
Jyrki Kauppinen
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to AU2001244235A priority Critical patent/AU2001244235A1/en
Priority to EP01917133A priority patent/EP1277208A1/en
Publication of WO2001067451A1 publication Critical patent/WO2001067451A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/005Correction of errors induced by the transmission channel, if related to the coding algorithm
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1876Interpolating methods
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/24Signal processing not specific to the method of recording or reproducing; Circuits therefor for reducing noise

Definitions

  • the invention relates to a method according to the preambles of the independent claims set forth herein for the reconstruction of an audio signal and a computer software product.
  • the method according to the invention for reconstruction of audio signal is especially suitable for correcting errors of short duration in an audio signal, e.g. correcting errors in records when an LP record is stored in digital form.
  • a typical problem that occurs when an LP record is stored in digital form is the poor quality of the record as a result of scratches or other errors in it, whereby a mechanical error on the surface of the LP record, for example, causes an abrupt movement of the stylus of the record player.
  • the simplest way of correcting the error is editing, that is just cutting off the point of error.
  • the empty point is removed by continuing the signal from the starting point of the error directly with a signal after the error.
  • the erroneous signal can also be corrected by filtering off signals that are either above or below a predetermined frequency range. However, this will also deteriorate the quality of faultless signal areas.
  • the patent publication EP 0336685 discloses a method for correcting the point of error in the signal by using an autoregressive model (AR model).
  • AR model is used over the whole area of data where the error is, whereby the same group of equations includes simultaneously the known data before and after the error data as well as the actual error data. Because the error data and the AR coefficients a ⁇ - are in the same group of equations, they can interact with each other, whereby the solution is instable.
  • the method disclosed in the publication also has the drawback that the solution requires large groups of equations, which makes calculation time-consuming. Another shortcoming of the solution is the fact that it is iterative.
  • a Japanese patent publication JP 63086163 discloses an iterative method based on linear prediction for the restoration of a missing signal.
  • the impuls response of a faultless signal is not used in the method, as a result of which the error contained by the predicted signals increases exponentially the longer the sequence of missing signals is.
  • an attempt was made to remove this error by comparing the last predicted signal to the signal of the first area with errors, whereby it was possible to estimate the size of the error.
  • the signal derived by prediction is accepted when the detected error does not exceed a predetermined threshold value. If the error exceeds the threshold value, the erroneous value is replaced by a value obtained by interpolation.
  • S. Montresor et al. disclose a method in their publication [3] wherein impuls noise occurring in gramophone records is corrected by using an autoregressive model.
  • the calculation of the coefficients used in the AR model described in the specification is very complicated, which reduces the usability of the model.
  • S.V. Vaseghi and R. Frayling-Cork disclose a method in their publication [4] for eliminating impulsive errors in the signals of LP records.
  • the impulsive error is treated by creating an error model, which consists of the mean value of a number of similar real errors.
  • the oscillating portion of an impulsive error in the signal can be cancelled by subtraction by means of the impulsive error model.
  • subtraction does not help, because the peak has caused irrecoverable damage to the signal.
  • the erroneous data in the area damaged by the peak are corrected by the iterative interpolation method described in the publication [5]. Nevertheless, erroneous data are used in this method for calculating the corrective data.
  • known methods also have the problem that the length of the erroneous area is limited.
  • the known methods can be used to correct an erroneous area, which contains some tens, or at the most a little over one hundred data points.
  • the known methods have the drawback of the high calculation power required, because methods that include calculation are based on very complicated mathematical models, and they are mainly iterative.
  • the audio signal is typically reconstructed so that the impulse responses of the signals are at first calculated from the faultless area before and after the area with errors.
  • the signal is extrapolated forward from the beginning of the area with errors by using an impulse response calculated from the area before the area with errors, and backward from the end of the area with errors by using an impulse response calculated from the area after the area with errors.
  • the erroneous signal is replaced by a linear combination of the signals obtained by extrapolation.
  • the signal is extrapolated from both directions of the erroneous area and the erroneous signal is replaced by the linear combination of the signals obtained by extrapolation, the formation of discontinuities at the ends of the area with errors is prevented.
  • the frequency variations in the erroneous area are naturally changed by sliding due to the weighting function.
  • the extrapolated signal is obtained as a convolution of a signal preceding the area with errors and its impulse response.
  • the method according to the invention applies direct extrapolation, in which a new signal point obtained by the extrapolation of one point is used for the calculation of the next missing signal point.
  • the method according to the invention can be reliably and accurately be used to replace even a long erroneous signal by a signal obtained by extrapolation.
  • the number of impulse response points used varies from 100 to 5000, typically between 500 and 2000 and is advantageously 1000 impulse response points.
  • the extrapolation is based on sufficient information about the strongest frequencies contained by the signal and their amplitude behaviour.
  • the method is used for saving LP records in digital form.
  • errors in the LP record can be corrected in connection with digital saving in a quick and simple manner.
  • the method according to the invention can also be used to correct errors contained by a speech signal, such as a speech signal transmitted by mobile stations and radios.
  • the method according to the invention is typically implemented with a computer software product, which can be directly loaded to the central memory of the computer or with a computer software product saved in a computer- readable medium, which computer software product contains program code elements for implementing the method according to the invention, when said computer software product is run in a computer.
  • a computer software product means independent computer software or a part of computer software, which may comprise one or more program code elements.
  • a program code element means an element that consists of one or more computer-readable instructions.
  • a computer-readable medium means all mediums in which information, such as instructions, commands, instruction or command sequences or the like, which are readable by a computer, can be saved permanently or temporarily. Mediums like this include e.g. fixed disks, mass storages, cache memories, diskettes and CD-ROM discs.
  • a typical computer software product as mentioned above, which is saved in a computer-readable medium, comprises at least the following program code elements:
  • the method according to the invention for the reconstruction of an audio signal can be used in a computer or as part of a device, which includes means for saving the computer software product so that by means of it the method can be automated by using automatic data processing.
  • An advantageous computer software product also comprises a program code element for making the computer recognize an area or areas with errors in the signal.
  • the recognition may be based e.g. on a procedure in which the program code element searches for areas of the audio ⁇ signal in which the absolute value of the fourth derivate exceeds the squared mean value of the fourth derivate multiplied by a certain coefficient, and the program code element defines the areas found as areas with errors.
  • the search for erroneous areas can be automated and thus the reconstruction of the audio signal can be made a faster and more accurate process.
  • the greatest advantage of the method according to the invention is the fact that it enables the reconstruction of erroneous areas of thousands of data points reliably, quickly and accurately.
  • the invention has the advantage that the method requires less calculation capacity than many prior art methods, whereby the invention can be implemented with relatively simple means. Thus the manufacturing costs of apparatus for the method do not become unreasonably high.
  • Figure 1 illustrates the recognition of errors in an audio signal
  • Figure 2 is a schematic diagram of correcting an error in an audio signal by linear prediction, in which the erroneus signal is at the top and the corrected signal is at the bottom,
  • Figure 3 is a schematic diagram of the linear weighting function
  • Figure 4 is a schematic diagram of a general weighting function
  • Figs. 5a-5d show examples of the reconstruction of an audio signal by means of a computer sofware product, utilizing the method according to the invention.
  • Fig. 1 shows as an example the part of the original analogue recording, which is A/D converted in the memory of the computer as the audio signal 1.
  • a mechanical error on the surface of an LP record causes an abrupt movement of the stylus of the record player.
  • this causes a quick change of amplitude values in time.
  • derivative d j is obtained according to the definition of the derivative by calculating the difference of two consecutive signal data and dividing it by the distance between them
  • the error searching method can also be applied so that the method searches for such areas 3 of the audio signal 1, in which the absolute value 2 of the fourth derivative exceeds the squared mean value 4 of the fourth derivative multiplied by a certain coefficient.
  • the correction of a single error by linear prediction from an audio signal 21 in digital form is done by calculating at first the impulse response h from the faultless area 23 before the area with errors 22 and the impulse response h ' from the faultless area after the area with errors 22.
  • the signal 21 is extrapolated by using the impulse responses calculated above, i.e. the signal 21 is continued by linear prediction from the beginning of the area with errors 22 to the end by using the impulse response h, whereby a signal s ' predicted forward is obtained, and from the end of the area with errors 22 to the beginning by using the impulse response h', whereby a signal predicted backward s" is obtained.
  • the erroneous signal is replaced by the weighted average 25 of the signals s ' and s ' ' predicted forward and backward.
  • t a is the starting point of the area with errors and ty is the ending point of the area with errors, as shown in Fig. 3.
  • a linear weighting function is not optimal, because the accuracy of the prediction falls exponentially in proportion to the length of the prediction.
  • Another extreme type of weighting function would be a function where the forward predicted signal s would be used only up to the mid-point of the area with errors 22, and after that only the backward predicted signal s' .
  • the weighting function/? ⁇ would then be a step function, which would change from 1 to 0 in the middle of the area with errors. However, this might cause a point of discontinuity in the middle of the area with errors 22, and that would again be a new error in the signal.
  • the most advantageous weighting function found between the above mentioned cases is shown in Fig. 3.
  • the weighting function can be written in a general form
  • Figs. 5a-5d show examples of the application of a computer software product in the reconstruction of an audio signal. According to what is shown in Fig. 5a, an error area 51 is detected by the eye in a stereo signal saved from an LP record.
  • this area is selected for reconstruction by marking it with the cursor.
  • the Burg method is selected as the calculation method for impulse responses, and the lengths of the impulse responses and the amount of faultless data used for the calculation are selected.
  • the program calculates the reconstructive signal data and replaces the erroneous data by corrected data. The calculation and replacement operations are performed separately on both channels.
  • Fig. 5d shows a reconstructed stereo signal.
  • s " j is the backward extrapolated signal data.
  • s " j is the backward extrapolated signal data.
  • the following data can be calculated by using equation 10 of 11 again.
  • the signal can be extrapolated without limits.
  • the phase and amplitude information for the forward extrapolated signal comes from the faultless signal before the error, and the frequency and amplitude changing information comes from the impulse response obtained from the area preceding the error.
  • the phase and amplitude information and the frequency and amplitude changing information of the backward extrapolated signal is obtained on the basis of the area after the error.
  • the impulse responses h k and h ' k used in the calculation can be calculated for the known signal in many different ways.
  • S j S j in the equations 10 and 11.
  • the known signal S j is calculated by means of M+ 1 previously known signal data. If there are 2M + 1 known data, it is possible to solve h ' k and h k from the equations 10 and 11. Extra known data can also be included, whereby the matching of the smallest square sum is used in the calculation of the impulse response of M.
  • the method described above is a so-called matrix method.
  • Another method for the calculation of the impulse response is the Burg method [6, 7], which is in practice very suitable for audio signals because of efficient calculation and a good stability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Complex Calculations (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention relates to a method for the reconstruction of an area with errors (3, 22) in an audio signal (1, 21), in which method the impulse responses of signals are calculated from the area (23) before the area with errors (3, 22) and the area (24) after the area with errors. By using the impulse response calculated from the area before the area with errors, the signal is extrapolated from the beginning of the area with errors (3, 22) forward (s"), and by using the impulse response calculated from the area after the area with errors, the signal is extrapolated backward (s"") from the end of the area with errors, after which the area with errors (3, 22) is replaced by the linear combination (25) of signals (s", s"") obtained by extrapolation.

Description

A method for reconstruction of audio signal
The invention relates to a method according to the preambles of the independent claims set forth herein for the reconstruction of an audio signal and a computer software product.
The method according to the invention for reconstruction of audio signal is especially suitable for correcting errors of short duration in an audio signal, e.g. correcting errors in records when an LP record is stored in digital form.
A typical problem that occurs when an LP record is stored in digital form is the poor quality of the record as a result of scratches or other errors in it, whereby a mechanical error on the surface of the LP record, for example, causes an abrupt movement of the stylus of the record player.
The simplest way of correcting the error is editing, that is just cutting off the point of error. The empty point is removed by continuing the signal from the starting point of the error directly with a signal after the error. However, this often causes a jump in the signal because of the phase difference, which is detected as a new error in the signal. With this method it is possible to correct only errors including a few data. The erroneous signal can also be corrected by filtering off signals that are either above or below a predetermined frequency range. However, this will also deteriorate the quality of faultless signal areas.
Another known method of correcting errors is copying. In copying, signals are examined on both sides of the error. If the signals on both sides of the error resemble each other, a sequence of the signal of the required length is copied from around the point of error, which is then replaced to the point of error by the copied sequence. Another way of copying is to find elsewhere in the signal such a faultless point, which has a similar start and end as the sequences on both sides of the point of error. The drawback of the copying methods is that they easily create points of discontinuity in the signal, thus causing new errors. [1]
The gap left by the removed point of error can also be patched by interpolation. However, interpolation can only be used for correcting errors including a few data. [2] The patent publication EP 0336685 discloses a method for correcting the point of error in the signal by using an autoregressive model (AR model). In the method disclosed in the publication, the AR model is used over the whole area of data where the error is, whereby the same group of equations includes simultaneously the known data before and after the error data as well as the actual error data. Because the error data and the AR coefficients a}- are in the same group of equations, they can interact with each other, whereby the solution is instable. The method disclosed in the publication also has the drawback that the solution requires large groups of equations, which makes calculation time-consuming. Another shortcoming of the solution is the fact that it is iterative.
The patent publication EP 0766247 also discloses a signal restoration method using an autoregressive model similar to the specification described above. The solution disclosed in this specification also has the problems of complicated calculation and iteration, whereby calculation is time-consuming and requires high calculation capacity.
A Japanese patent publication JP 63086163 discloses an iterative method based on linear prediction for the restoration of a missing signal. The impuls response of a faultless signal is not used in the method, as a result of which the error contained by the predicted signals increases exponentially the longer the sequence of missing signals is. In the method disclosed in the specification, an attempt was made to remove this error by comparing the last predicted signal to the signal of the first area with errors, whereby it was possible to estimate the size of the error. According to the specification, the signal derived by prediction is accepted when the detected error does not exceed a predetermined threshold value. If the error exceeds the threshold value, the erroneous value is replaced by a value obtained by interpolation.
In addition, S. Montresor et al. disclose a method in their publication [3] wherein impuls noise occurring in gramophone records is corrected by using an autoregressive model. The calculation of the coefficients used in the AR model described in the specification is very complicated, which reduces the usability of the model.
Other methods have also been suggested in the literature related to the art. For example, S.V. Vaseghi and R. Frayling-Cork disclose a method in their publication [4] for eliminating impulsive errors in the signals of LP records. In the method, the impulsive error is treated by creating an error model, which consists of the mean value of a number of similar real errors. The oscillating portion of an impulsive error in the signal can be cancelled by subtraction by means of the impulsive error model. In the case of a sharp peak, subtraction does not help, because the peak has caused irrecoverable damage to the signal. The erroneous data in the area damaged by the peak are corrected by the iterative interpolation method described in the publication [5]. Nevertheless, erroneous data are used in this method for calculating the corrective data.
Other known methods also have the problem that the length of the erroneous area is limited. The known methods can be used to correct an erroneous area, which contains some tens, or at the most a little over one hundred data points. In addition, the known methods have the drawback of the high calculation power required, because methods that include calculation are based on very complicated mathematical models, and they are mainly iterative.
It is the objective of the present invention to eliminate the above mentioned problems and to accomplish a better method for the reconstruction of an audio signal. The method according to the invention is accurate and simple as compared to the known methods.
The method according to the invention for the reconstruction of an audio signal is characterized in what is specified in the characterizing part of the independent claim enclosed herein.
According to the inventive method, the audio signal is typically reconstructed so that the impulse responses of the signals are at first calculated from the faultless area before and after the area with errors. After that, the signal is extrapolated forward from the beginning of the area with errors by using an impulse response calculated from the area before the area with errors, and backward from the end of the area with errors by using an impulse response calculated from the area after the area with errors. The erroneous signal is replaced by a linear combination of the signals obtained by extrapolation. When the signal is extrapolated from both directions of the erroneous area and the erroneous signal is replaced by the linear combination of the signals obtained by extrapolation, the formation of discontinuities at the ends of the area with errors is prevented. In addition, the frequency variations in the erroneous area are naturally changed by sliding due to the weighting function.
In an advantageous method according to the invention, the extrapolated signal is obtained as a convolution of a signal preceding the area with errors and its impulse response.
The method according to the invention applies direct extrapolation, in which a new signal point obtained by the extrapolation of one point is used for the calculation of the next missing signal point. Thus the method according to the invention can be reliably and accurately be used to replace even a long erroneous signal by a signal obtained by extrapolation.
In a preferred embodiment of the invention, the number of impulse response points used varies from 100 to 5000, typically between 500 and 2000 and is advantageously 1000 impulse response points. Thus the extrapolation is based on sufficient information about the strongest frequencies contained by the signal and their amplitude behaviour.
In an advantageous method according to the invention, the method is used for saving LP records in digital form. By means of the method according to the invention, errors in the LP record can be corrected in connection with digital saving in a quick and simple manner. The method according to the invention can also be used to correct errors contained by a speech signal, such as a speech signal transmitted by mobile stations and radios.
The method according to the invention is typically implemented with a computer software product, which can be directly loaded to the central memory of the computer or with a computer software product saved in a computer- readable medium, which computer software product contains program code elements for implementing the method according to the invention, when said computer software product is run in a computer. In this context, a computer software product means independent computer software or a part of computer software, which may comprise one or more program code elements. A program code element means an element that consists of one or more computer-readable instructions. In this context, a computer-readable medium means all mediums in which information, such as instructions, commands, instruction or command sequences or the like, which are readable by a computer, can be saved permanently or temporarily. Mediums like this include e.g. fixed disks, mass storages, cache memories, diskettes and CD-ROM discs.
A typical computer software product as mentioned above, which is saved in a computer-readable medium, comprises at least the following program code elements:
- a program code element for making the computer calculate an impulse response from the area before the area with errors,
- a program code element for making the computer calculate an impulse response from the area after the area with errors, - a program code element for making the computer extrapolate a signal forward from the beginning of the area with errors,
- a program code element for making the computer extrapolate a signal backward from the end of the area with errors,
- a program code element for making the computer calculate a linear combination of the signals obtained by extrapolation, and
- a program code element for making the computer replace the area with errors by the linear combination of the signals obtained by extrapolation, when the computer software product is run in the computer.
By means of the computer software product, the method according to the invention for the reconstruction of an audio signal can be used in a computer or as part of a device, which includes means for saving the computer software product so that by means of it the method can be automated by using automatic data processing.
An advantageous computer software product according to the invention also comprises a program code element for making the computer recognize an area or areas with errors in the signal. The recognition may be based e.g. on a procedure in which the program code element searches for areas of the audio ^signal in which the absolute value of the fourth derivate exceeds the squared mean value of the fourth derivate multiplied by a certain coefficient, and the program code element defines the areas found as areas with errors. By means of a program code element according to the embodiment, the search for erroneous areas can be automated and thus the reconstruction of the audio signal can be made a faster and more accurate process.
The greatest advantage of the method according to the invention is the fact that it enables the reconstruction of erroneous areas of thousands of data points reliably, quickly and accurately.
In addition, the invention has the advantage that the method requires less calculation capacity than many prior art methods, whereby the invention can be implemented with relatively simple means. Thus the manufacturing costs of apparatus for the method do not become unreasonably high.
In the following, the invention will be described in more detail with reference to the accompanying drawings, in which
Figure 1 illustrates the recognition of errors in an audio signal,
Figure 2 is a schematic diagram of correcting an error in an audio signal by linear prediction, in which the erroneus signal is at the top and the corrected signal is at the bottom,
Figure 3 is a schematic diagram of the linear weighting function,
Figure 4 is a schematic diagram of a general weighting function, and
Figs. 5a-5d show examples of the reconstruction of an audio signal by means of a computer sofware product, utilizing the method according to the invention.
Fig. 1 shows as an example the part of the original analogue recording, which is A/D converted in the memory of the computer as the audio signal 1. A mechanical error on the surface of an LP record causes an abrupt movement of the stylus of the record player. In the audio signal 1 this causes a quick change of amplitude values in time. Based on this, in order to locate the errors it is necessary to examine the rate of change per time of the signal data contained by the audio signal 1, or the derivative of the signal with respect to time. In practice, derivative dj is obtained according to the definition of the derivative by calculating the difference of two consecutive signal data and dividing it by the distance between them
dj = SjH Sj (Equation 1)
To be exact, this gives the derivative of the signal between these two data. By applying the derivative according to equation (1) several times in succession, the place of the derivative is shifted each time by half a sampling interval Δt backwards. By taking the absolute value of the derivative of the signal
(Equation 2)
Figure imgf000009_0001
we get a graph, which gives the higher positive value the higher the rate of change of the signal is. By differentiating the derivative graph of the signal further, we get a more distinct peak at the point of the signal where the rate of change is high. It has been proved in practical tests that the fourth derivative is good enough to discriminate even the smallest snaps or other similar deviations heard by the ear from the signal. By applying the derivative equation (1) four times in succession, we get the expression of the fourth derivative
6sj +4sJH -sJ+2 + 4s -Sj_2 j (Equation 3)
Δt
which is shifted forward in order to compensate for the shift of the derivative caused by discreteness. By drawing the absolute value signal 2 of the fourth derivate on the computer screen below the audio signal 1, the errors in the audio signal 1 can be located at the accuracy of one data. According to Fig. 1, the error searching method can also be applied so that the method searches for such areas 3 of the audio signal 1, in which the absolute value 2 of the fourth derivative exceeds the squared mean value 4 of the fourth derivative multiplied by a certain coefficient. The coefficient used can be selected by the user. Searching for the areas with errors can be realized by software in the computer or loadable to the main memory of the computer, which performs the above mentioned calculations when the software is run.
According to Fig. 2, the correction of a single error by linear prediction from an audio signal 21 in digital form is done by calculating at first the impulse response h from the faultless area 23 before the area with errors 22 and the impulse response h ' from the faultless area after the area with errors 22. After this, the signal 21 is extrapolated by using the impulse responses calculated above, i.e. the signal 21 is continued by linear prediction from the beginning of the area with errors 22 to the end by using the impulse response h, whereby a signal s ' predicted forward is obtained, and from the end of the area with errors 22 to the beginning by using the impulse response h', whereby a signal predicted backward s" is obtained. The erroneous signal is replaced by the weighted average 25 of the signals s ' and s ' ' predicted forward and backward.
The weighted average of signals s ' and s ' ' predicted from the part 23 before the area with errors 22 and the part 24 after it can be formed by means of several different weighting functions p(t). For the corrective data j of the area with errors 22, an equation can be written:
Sj = p t)sj + [l - p(t)]βj" (Equation 4)
where s is the signal predicted forward, s "j is the signal predicted backward, and the weighting function p(t) fulfils the condition 0 ≤ p(t) < 1. It would be simple to select a linear weighting function
p(t) = -^- (Equation 5)
where ta is the starting point of the area with errors and ty is the ending point of the area with errors, as shown in Fig. 3. However, a linear weighting function is not optimal, because the accuracy of the prediction falls exponentially in proportion to the length of the prediction. Another extreme type of weighting function would be a function where the forward predicted signal s would be used only up to the mid-point of the area with errors 22, and after that only the backward predicted signal s' . The weighting function/?^ would then be a step function, which would change from 1 to 0 in the middle of the area with errors. However, this might cause a point of discontinuity in the middle of the area with errors 22, and that would again be a new error in the signal. The most advantageous weighting function found between the above mentioned cases is shown in Fig. 3. The weighting function can be written in a general form
(Equation 6)
Figure imgf000010_0001
where u = (Equation 7) Both extreme cases are obtained by selecting from the equation (6) n = 1, whereby a linear weighting is obtained, or n — ∞, whereby a step function is obtained. For example, if a frequency in the signal changes higher in the middle of the area of errors, the lower frequency is included in the portion predicted forward and the higher frequency in the portion predicted backward. Due to a weighting function where n > 1, the frequency changes in the middle as if naturally sliding.
Figs. 5a-5d show examples of the application of a computer software product in the reconstruction of an audio signal. According to what is shown in Fig. 5a, an error area 51 is detected by the eye in a stereo signal saved from an LP record.
According to what is shown in Fig. 5b, this area is selected for reconstruction by marking it with the cursor. According to what is shown in Fig. 5c, the Burg method is selected as the calculation method for impulse responses, and the lengths of the impulse responses and the amount of faultless data used for the calculation are selected. According to the selections mentioned above, the program calculates the reconstructive signal data and replaces the erroneous data by corrected data. The calculation and replacement operations are performed separately on both channels. Fig. 5d shows a reconstructed stereo signal.
The following mathematical model that will be explained in more detail here, is based on the fact that the signal s(t) is a convolution of itself and its impulse response h(t).
s(t) = h(t)* s(t) =
Figure imgf000011_0001
(Equation 8)
where t is time. When equation (8) is represented in the discrete form
sJ =Δt ∑JhkSj_k (Equation 9)
*=-_»
where hk = hβΔt), the sampling frequency Δt = l/(2fmax) and fmax is the maximum frequency occurring in the signal s(t). In practice, a limited amount of signal data Sj, where j = 0, 1, 2, ..., N, is measured from the audio signal. Extrapolating the signal forward means calculating new signal data sj, where/ = N+l, N+2, ..., from the previous signal values. This is not possible with a non- causal impulse response hk, where k ~ - ∞, ... , °°. Instead, this must be done with a causal impulse response hk, where k - 1, 2, ..., M. Thus the discrete extrapolation equation of one point forward is
M sj' = Δt^Afc_-;_A (Equation 10)
4=1
where s is the forward extrapolated signal data. The extrapolation equation of one point in discrete form backward is
M s = Δt∑ Σhk's j+ (Equation 11)
where s "j is the backward extrapolated signal data. By calculating new data by means of equation 10 or 11 and by setting the new data as the known signal data, the following data can be calculated by using equation 10 of 11 again. When the process described above is continued, the signal can be extrapolated without limits. The phase and amplitude information for the forward extrapolated signal comes from the faultless signal before the error, and the frequency and amplitude changing information comes from the impulse response obtained from the area preceding the error. The phase and amplitude information and the frequency and amplitude changing information of the backward extrapolated signal is obtained on the basis of the area after the error.
The impulse responses hk and h 'k used in the calculation can be calculated for the known signal in many different ways. For example, in the case of a known signal it is possible to set s ) = Sj in the equations 10 and 11. In other words, the known signal Sj is calculated by means of M+ 1 previously known signal data. If there are 2M + 1 known data, it is possible to solve h 'k and hk from the equations 10 and 11. Extra known data can also be included, whereby the matching of the smallest square sum is used in the calculation of the impulse response of M. The method described above is a so-called matrix method. Another method for the calculation of the impulse response is the Burg method [6, 7], which is in practice very suitable for audio signals because of efficient calculation and a good stability.
Thus the method according to the present invention can be applied to the reconstruction of an area of error as simplified so that if there are, for example, 2N known data sy- (J = 1, 2, ..., 2N), before the area with errors, then m erroneous data sy- j = 2N+1, 2N+2, ..., 2N+m), followed by 2N known data s7- (j = 2N+ +l , 2N+m+2, ..., 4N+m),
N equations are formed from the 2Ndata before the area with errors
N
(Equation 1.1) _τ, = At∑hkSj_k j = N+l, N+2,
..., 2N
The impulse response h (k = 1, 2, 3, ..., N) is calculated from the previous equation group (equation 1.1).
In the same way, N equations are formed from the known data after the area with errors
(Equation 2.1) Sj = At∑hksJ+k j = 2N+m+l, k=l
2N+m+2, ..., 3N+m h 'k (k = 1, 2, 3, ..., N) is calculated from the previous equation group (equation 2.1).
After that, the erroneous data can be calculated forward by extrapolation, because the impulse responses hk are known, (Equation 3.1) s) = AtΥ∑hksJ_k j = 2N+1, ...,
2N+m so that the extrapolated data Sj are used for calculating new, extrapolated data
(cf. equation 10 shown above).
In the same way, the erroneous data are calculated backward by extrapolation, because the impulse responses h k are known.
(Equation 4.1) s] = Af∑tiks j+k j = 2N+ ,
2N+W-1, ..., 2N+1 so that the extrapolated data s j are used for the extrapolation of new data (cf . equation 11 shown above).
Finally, the erroneous data are obtained by a linear combination of the above, as has been stated above in equation 4
Sj = p(t)sj' + [l - p(t)]s j = 2N+1 , 2N+2, ... , 2N+ The method according to the invention is thus very simple, and the missing erroneous data can be calculated by it by using only five different equations. In addition, the method according to the invention is not iterative. Furthermore, an autoregressive model is not necessarily needed in the method according to the invention, because the data sj can be interpreted to include the noise as well, for using the impulse response h is a good way of modelling the signals.
The invention is not limited to the embodiment described as an example above, but on the contrary, it should be interpreted widely within the scope defined by the appended claims hereinafter.
References:
[1] L. Backman, Numerot ja aani, osa 2, Hifi 4/91, Helsinki Media Company Oy, 34-36, 1991.
[1] L. Backman, Numerot ja aani, osa 1, Hifi 1/91, Helsinki Media Company Oy, 28-30, 1991.
[3] S. Montresor, J. C. Valiere, M. Baudry, Detection et suppression de bruits impulsionnels appliques a la restauration d'enregistrements anciens, Colloque de Physique, Tome 51, C2, Vol. II, fevrier 1990, France, Premier Congres Franςais d'Acoustique, Lyon, France, 10-13 April 1990.
[4] S. V. Vaseghi, R. Frayling-Cork, Restoration of old gramophone recordings, Journal of the Audio Engineering Society, Volume 40, number i0, 791-801, 1992.
[5] S. V. Vaseghi, P. J. W. Rayner, Detection and suppression of impulsive noise in speech communication systems, Proc, IEE, Volume 137, pt I, 1990.
[6] S. Haykin, Nonlinear methods of spectral analysis, Springer- Verlag, Berlin, 1983.
[7] J. G. Proakis, D. G. Manolakis, "Digital Signal Prosessing", Third Edition, Prentice Hall, New Jersey, 1996.

Claims

Claims
1. A method for reconstruction of an area with errors (3, 22) in an audio signal (1, 21), characterized in that - impulse responses of signals are calculated from an area (23) before an area with errors (3, 22) and an area (24) after the area with errors,
- a signal is extrapolated forward (s ') from the beginning of the area with errors (3, 22), using an impulse response calculated from the area before the area with errors, and backward (s ' ') from the end of the area with errors using an impulse response calculated from the area after the area with errors,
- the area with errors (3, 22) is replaced by a linear combination (25) of signals (s', s' ') obtained by extrapolation.
2. A method according to claim 2, characterized in that the extrapolated signal is obtained as a convolution of a signal preceding the area with errors and its impulse response.
3. A method according to claim 1 or 2, characterized in that the method applies direct extrapolation, in which a signal point obtained by the extrapolation of one point is used for the calculation of the next missing signal point.
4. A method according to any one of the preceding claims, characterized in that the number of impulse response points used in the method varies from 100 to 5000, typically between 500 and 2000 and is advantageously 1000 impulse response points.
5. A method according to any one of the preceding claims, characterized in that the method is used for the restoration of signals saved in digital form from LP records.
6. A method according to any one of the preceding claims, characterized in that the method is used for the reconstruction of errors in audio signals, advantageously in radio and mobile station signals.
7. A computer software product, which can be directly loaded to the central memory of a computer, characterized in that the computer software product comprises program code elements for performing at least the phases of claim 1, when said computer software product is run in a computer.
8. A computer software product, which is saved in a computer-readable medium, characterized in that it comprises at least
- a program code element for making the computer calculate an impulse response from the area preceding the area with errors, - a program code element for making the computer calculate an impulse response from the area after the area with errors,
- a program code element for making the computer extrapolate a signal forward from the beginning of the area with errors,
- a program code element for making the computer extrapolate a signal backward from the end of the area with errors,
- a program code element for making the computer calculate a linear combination of the signals obtained by extrapolation, and
- a program code element for making the computer replace the area with errors by the linear combination of the signals obtained by extrapolation, when the computer software product is run in the computer.
9. A computer software product of claim 8, characterized in that it also comprises a program code element for making the computer recognize an area or areas with errors in the signal.
PCT/FI2001/000213 2000-03-07 2001-03-05 A method for reconstruction of audio signal Ceased WO2001067451A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
AU2001244235A AU2001244235A1 (en) 2000-03-07 2001-03-05 A method for reconstruction of audio signal
EP01917133A EP1277208A1 (en) 2000-03-07 2001-03-05 A method for reconstruction of audio signal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
FI20000523 2000-03-07
FI20000523A FI117147B (en) 2000-03-07 2000-03-07 Procedure for the correction of audio signal, uses of the procedure and computer software

Publications (1)

Publication Number Publication Date
WO2001067451A1 true WO2001067451A1 (en) 2001-09-13

Family

ID=8557865

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/FI2001/000213 Ceased WO2001067451A1 (en) 2000-03-07 2001-03-05 A method for reconstruction of audio signal

Country Status (4)

Country Link
EP (1) EP1277208A1 (en)
AU (1) AU2001244235A1 (en)
FI (1) FI117147B (en)
WO (1) WO2001067451A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8701491B2 (en) 2008-04-25 2014-04-22 Stichting Voor De Technische Wetenschapen Acoustic holography

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6386163A (en) * 1986-09-30 1988-04-16 Toshiba Corp Correcting device for error of digital data
EP0336685A2 (en) * 1988-04-08 1989-10-11 Cedar Audio Limited Impulse noise detection and supression
EP0766247A2 (en) * 1995-09-29 1997-04-02 Lucent Technologies Inc. Signal restoration using left-sided and right-sided autoregressive parameters

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6386163A (en) * 1986-09-30 1988-04-16 Toshiba Corp Correcting device for error of digital data
EP0336685A2 (en) * 1988-04-08 1989-10-11 Cedar Audio Limited Impulse noise detection and supression
EP0766247A2 (en) * 1995-09-29 1997-04-02 Lucent Technologies Inc. Signal restoration using left-sided and right-sided autoregressive parameters

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
PATENT ABSTRACTS OF JAPAN *
S. MONTRESOR, J.C. VALIERE, M. BAUDRY: "Detection et suppression de bruits impulsionnels apliiques a la restauration d' enregistrements anciens", COLLOQUE DE PHYSIQUE TOME 51, C2, vol. II, February 1999 (1999-02-01), pages C2-757 - C2-760, XP000865640 *
WALTER ETTER: "Restoration of a discrete-time signal segment by interpolation based on the left-sided and right-sided autoregressive parameters", IEEE TRANSACTION ON SIGNAL PROCESSING, vol. 44, no. 5, May 1996 (1996-05-01), pages 1124 - 1135, XP000598076 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8701491B2 (en) 2008-04-25 2014-04-22 Stichting Voor De Technische Wetenschapen Acoustic holography

Also Published As

Publication number Publication date
FI20000523L (en) 2001-09-08
FI20000523A0 (en) 2000-03-07
AU2001244235A1 (en) 2001-09-17
FI117147B (en) 2006-06-30
EP1277208A1 (en) 2003-01-22

Similar Documents

Publication Publication Date Title
US8126578B2 (en) Clipped-waveform repair in acoustic signals using generalized linear prediction
KR101695394B1 (en) Inter-track interference cancelation for shingled magnetic recording
KR100580166B1 (en) Apparatus and method for improving playback performance by adjusting filter coefficients of equalizer
TWI476603B (en) Systems and methods for adaptive target search
JPH09146595A (en) Recovery of signal by using left-side and right-side self-regression parameters
JP2000182330A (en) Information reproducing method and information reproducing apparatus
JP3447049B2 (en) Maximum likelihood detection method, adaptation method, calibration method, maximum likelihood detector, adapter and calibration system
JP5010938B2 (en) Baseline wander compensation system and method with low latency
US7583458B2 (en) Channel optimization metrics
WO2001067451A1 (en) A method for reconstruction of audio signal
EP0336685A2 (en) Impulse noise detection and supression
JP2010092561A (en) Storage device data reading method and storage device
JP3556066B2 (en) Distortion detection device, distortion correction device, and distortion correction method
US7787975B2 (en) Restoring audio signals
US6587984B1 (en) Distortion detecting device, distortion correcting device, and distortion correcting method for digital audio signal
Godsill et al. Removal of low frequency transient noise from old recordings using model-based signal separation techniques
RU2130233C1 (en) Transmission device which recovers lost signal samples
KR20020090534A (en) Method for optimizing design parameters and method for setting the optimized design parameters in data storage system
KR20040033473A (en) Writing power decision method for a writable optical disc in optical disc system
KR20090093155A (en) Method for setting write strategy parameter, and recording and reproducing apparatus thereof
JP3083202B2 (en) Information playback device
JP3588344B2 (en) Signal reproducing apparatus and method
JPH10199144A (en) Maximum likelihood decoder
CN119673190A (en) A method for processing audio impulse noise and related device and storage medium
US7831648B2 (en) Method and computer program for group delay and magnitude equalization with relaxed phase slope constraint

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
WWE Wipo information: entry into national phase

Ref document number: 2001917133

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 2001917133

Country of ref document: EP

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

NENP Non-entry into the national phase

Ref country code: JP

WWW Wipo information: withdrawn in national office

Ref document number: 2001917133

Country of ref document: EP