Generating sample error coefficients

Information

  • Patent Grant
  • 8548804
  • Patent Number
    8,548,804
  • Date Filed
    Friday, October 19, 2007
    17 years ago
  • Date Issued
    Tuesday, October 1, 2013
    11 years ago
Abstract
This invention relates to generation of a sample error coefficient suitable for use in an audio signal quality assessment system. The invention provides a method of determining a sample error coefficient between a first signal and a similar second signal comprising the steps of: determining a first periodicity measure from the first signal; determining a second periodicity measure from the second signal; generating a ratio in dependence upon said first periodicity measure and said second periodicity measure; and determining a sampling rate error coefficient in dependence upon said ratio.
Description
BACKGROUND

a. Field of the Invention


This invention relates to a method of generating sample error coefficients, in particular for use in an audio signal assessment system.


Signals carried over telecommunications links can undergo considerable transformations, such as digitisation, encryption and modulation. They can also be distorted due to the effects of lossy compression and transmission errors.


The perceived quality of a speech signal carried over telecommunications links can be assessed in a subjective experiment. Such experiments aim to find the average user's perception of a system's speech quality by asking a panel of listeners a directed question and providing a limited response choice. For example, to determine listening quality users are asked to rate “the quality of the speech” on a five-point scale from Bad to Excellent. The mean opinion score (MOS), for a particular condition is calculated by averaging the ratings of all listeners. However, subjective experiments are time consuming and expensive to run.


Objective processes that aim to automatically predict the MOS value that a signal would produce in a subjective experiment are currently under development and are of application in equipment development, equipment testing, and evaluation of system performance.


Some objective processes require a known (reference) signal to be played through a distorting system (the communications network or other system under test) to derive a degraded signal, which is compared with an undistorted version of the reference signal. Such systems are known as “intrusive” quality assessment systems, because whilst the test is carried out the channel under test cannot, in general, carry live traffic.


The use of an automated system allows for more consistent assessment than human assessors could achieve, and also allows the use of compressed and simplified test sequences, which give spurious results when used with human assessors because such sequences do not convey intelligible content.


b. Related Art


A number of patents and applications relate to intrusive quality assessment, most particularly European Patent 0647375, granted on 14 Oct. 1998. In this invention two initially identical copies of a test signal are used. The first copy is transmitted over the communications system under test. The resulting signal, which may have been degraded, is compared with the reference copy to identify audible errors in the degraded signal. These audible errors are assessed to determine their perceptual significance—that is, errors that are considered significant by human listeners are given greater weight than those that are not considered so significant. In particular inaudible errors are perceptually irrelevant and need not be assessed.


One problem with known methods of intrusive quality assessment is that if there is even a slight difference between the sampling rate of a reference signal and a degraded signal then the resultant MOS can be artificially low (ie the MOS predicted by the automated system does not match that which would be given by a human listener).


This problem can happen for sampling-errors as small as 0.01%, and is due to the fact that if the reference signal is sampled at rate R and the degraded signal is sampled at a rate R+e, then this difference in sampling rate e will mean that the spectral content of the two signals will no longer be aligned in terms of frequency. This alignment error is proportional to frequency and is therefore worse at high frequencies.


Sampling-error is most likely to occur if one or more stages of the end-to-end chain, including the test system itself, includes an analogue stage. In this situation, the effective sample rates of the reference and degraded signals may be determined by different clock sources, and consequently any difference between the clock rates will result in a sample-error. Another source of error can be up or down-sampling operations performed in software that uses approximate sample conversation factors.


One of the requirements of any solution is that it must work in the presence of time-warping algorithms. This condition is satisfied by this invention because it is based on an analysis of the periodic parts of one a test signal and the purpose of a time-warping algorithm is to increase or decrease the duration of a part of a signal without changing the pitch period, i.e. the periodicity.


SUMMARY OF THE INVENTION

This invention is of application in objective models that predict the subjective quality of a transmission system by comparing a transmitted (known) and received (possibly degraded) signal. The invention applies equally well to models designed to address general audio signals, and to models designed to address a specific subset of audio signals, such as speech or music. The invention enhances the accuracy of the subjective quality prediction in the presence of a sampling error between the transmitted and received signal through the following steps:


1. Exploiting periodicity in a test signal to determine any sample-error that may be introduced by the end-to-end test chain by detecting any change in the periodicity between a transmitted and received signal; the test signal may be a pilot signal used solely for the purpose of measuring the sample-error or a reference and degraded signal pair to be analysed by the speech or audio quality measure.


2. Matching the sample rates of the reference and degraded signals by re-sampling at least one of the two signals to be analysed by the speech or audio quality measure.


According to the invention there is provided a method of determining a sample error coefficient between a first signal and a similar second signal comprising the steps of: a) determining a first periodicity measure from the first signal; b) determining a second periodicity measure from the second signal; c) generating a ratio in dependence upon said first periodicity measure and said second periodicity measure; d) determining a sampling rate error coefficient in dependence upon said ratio.


Preferably, the first signal is a first known signal to be transmitted via a communications channel and the second signal is a first received signal, being a possibly degraded version of said first known signal, received via said communications channel.


In one embodiment the first known signal is a signal comprising a tone or a plurality of tones.


In one embodiment, the steps a) and b) of determining a periodicity measure comprise the step of determining the pitch period of the respective signal which may be determined in dependence upon the position of a peak in the autocorrelation function of each signal. Alternatively the measure may be determined in dependence upon the frequency of one or more peaks in the Fourier Transform of each signal.


Preferably the first signal is separated into segments and for each of a plurality of segments of the first signal a segment sampling rate error is determined in accordance with the steps of: selecting a segment of the second signal where a similarity measure exceeds a predetermined threshold; and determining a segment sample rate error coefficient in dependence upon a segment first periodicity measure and a segment second periodicity measure; and wherein the sampling rate error coefficient is determined at step d) in dependence upon the plurality of segment sample rate coefficients so obtained.


Preferably, only segments are used which have a periodic component.


Preferably, the plurality of segment sample rates are used to form a histogram and the sampling rate error coefficient is determined at step d) by selecting the histogram bin having the greatest number of coefficients. Alternatively, the sampling rate error coefficient is determined by interpolating between multiple histogram bins, preferably on the basis of the relative number of coefficients in each bin.


The method is of particular use in objective methods of estimating the quality of a communications channel where sample errors can affect the estimated quality, whereas the subjective quality is not affected to the extent suggested.


According to another aspect of the invention there is also provided a method of estimating the quality of a communications channel comprising the steps of: e) transmitting a second known signal via said communications channel; f) receiving a second received signal, being a possibly degraded version of said known signal, via said communications channel g) comparing a copy of the second known signal to the second received signal; and h) generating a quality measure based on said comparison; characterised in that: the comparing step comprises the sub-steps of: i) determining a sampling rate error coefficient according to the method described above; j) resampling the received signal in dependence upon said sampling rate error coefficient to generate a resampled signal; and k) comparing the known signal to the resampled signal.


The first known signal may be the same signal as the second known signal and the first received signal may be the same signal as the second received signal.


The resampling step j) is preferably performed using a truncated sin(x)/x transfer function.





BRIEF DESCRIPTION OF THE DRAWINGS

An embodiment of the invention will now be described, by way of example only, with reference to the accompanying drawings, in which:



FIG. 1 is a block diagram illustrating an apparatus for measuring error characteristics in a communications channel; and



FIG. 2 is a flow chart illustrating the process of sample error coefficient generation of the present invention; and



FIG. 3 is a block diagram illustrating an improved apparatus for measuring error characteristics in a communications channel.





DETAILED DESCRIPTION


FIG. 1 depicts an apparatus for measuring the perceived quality of a communications channel. The communication channel comprises a transmitter 10 and a receiver 20.


The transmitter 10 comprises a source encoder 11 which receives an analogue signal and samples and codes said signal, to produced a source encoded data signal, a channel encoder 12 which receives a source encoded data signal and produces a channel encoded data signal, and a modulator 13. The receiver 20 comprises a corresponding demodulator 23, a channel decoder 22, and a source decoder 21.


The received signal 45 is received at the output of the source decoder 21 is compared with a local copy 41 of the known data signal by comparator 42 and the results of the comparison is used by an intrusive quality assessment model 47 to produce an estimate 48 of the perceptual quality of the received signal 45.



FIG. 2 illustrates the process of sample error generation of the present invention. A first data signal is divided into one or more segments at step 201. In the preferred embodiment each segment comprises a few tens of milliseconds but in principle a single segment comprising the entire first signal could be used. In general the first signal will include periodic portions for example in voiced speech, or the sound of a tonal musical instrument.


For one or more of the segments a second similar data signal is searched to find a segment matching the corresponding segment of the first signal at step 202. Methods for time-aligning two signals are known in the art and include the calculation of cross-correlation values between a target segment of the degraded signal and multiple candidate segments of the reference signal; the reference segment producing the highest cross-correlation value is deemed to be the best match to the reference segment.


Once a matching segment of the second signal has been identified then for a matching pair of segments a measure of periodicity is calculated for each such segment at step 203. In the preferred embodiment the measure of periodicity is a measure of pitch period which is obtained by calculating the autocorrelation function of the segment and calculating the pitch corresponding to the highest peak in the function (the peak corresponding to zero offset is excluded). Those skilled in the art will appreciate that other estimates of periodicity can be used too, for example zero-crossing rate, Cepstral methods or spectral peak analysis.


The ratio between the measurement of periodicity for each of the matching segments is then determined. This is done for each matching segment pair and the one or more ratios thus obtained are used to generate a sample error coefficient at step 205.


In the preferred embodiment each ratio is used to update a histogram at step 204 which counts the number of ratios falling within a predetermined set of ranges (known as bins). The mid range value of the bin having the greatest number of ratios may be used to determine the sample error coefficient. In the preferred embodiment an average of the values of the ratios in the bin having the greatest number of ratios is used. In an alternative embodiment interpolation between two or more bins may be used to determine the sample error coefficient by weighting the value of each bin in proportion to the number of coefficients therein.


In one embodiment the sample-error analysis may be performed over the whole signal (ie using all of the segments) because the pitch-period estimates for non-periodic sounds will be randomly distributed and will therefore not affect the position of the histogram peak. However, if other methods of determining periodicity are used, it may be advantageous to restrict the sample error calculation to segments containing a periodic component; techniques for identifying such portions are well known in the art and include applying a threshold to the peak in the autocorrelation function of a signal.


The method is particularly applicable to determining the sample error introduced when a signal is transmitted over a communications channel or the sample error introduced by the test and measurement equipment used to send and receive test signals.


The sample-error may be measured using a known signal transmitted via the communications channel and a received possibly degraded version of the known signal received via the communications channel. The known signal may be an audio signal comprising speech or music or it may be a pilot signal comprising one or more simultaneous tones which is passed through the system under test. In this case the sample-error is then determined by calculating the ratio of the frequencies of the transmitted and received tone or tones. Suitable methods of measuring the frequency of such tones include but are not limited to the Fast Fourier Transform (FFT) and the Discrete Fourier Transform (DFT), which may be calculated using the Goetzl method.



FIG. 3 is a block diagram illustrating an improved apparatus for measuring the quality of a communications channel using a resampling error coefficient.


A known data signal 44 is transmitted via said communications channel as is well known in the art. A received signal 45, is received via said communications channel. A copy 41 of the known signal is compared to the received signal 45 by comparator 42; and a quality measure 48 is generated by the quality assessment model 47 based on a error pattern generated by said comparison, where prior to the comparison, the received signal 45 is resampled by resampling means 43 in dependence upon a sample error coefficient which has been generated as described above.


The know data signal and the received data signal may be the same signals that were used to generate the sample error coefficient, or the sample error coefficient may have been generated by different data signals or by pilot tones as described previously.


It is possible to iterate the process by repeatedly measuring the sample error and generating a new resampled received signal until the sample error falls to below a predetermined threshold.


The quality assessment model 47 may be, but is not restricted to one such as described in European Patent 0647375, granted on 14 Oct. 1998. In this model the known data signal is compared with the received data signal to identify audible errors in the degraded signal. These audible errors are assessed to determine their perceived significance—that is, errors that are considered significant by human listeners are given greater weight than those that are not considered so significant. In particular inaudible errors are irrelevant to perception and need not be assessed.


This system provides an output comparable to subjective quality measures originally devised for use by human subjects. More specifically, it generates two values, YLE and YLQ, equivalent to the “Mean Opinion Scores” (MOS) for “listening effort” and “listening quality”, which would be given by a panel of human listeners when listening to the same signal.


In this particular model, an auditory transform of each signal is taken, to emulate the response of the human auditory system (ear and brain) to sound. The degraded signal is then compared with the reference signal after each has been transformed such that the subjective quality that would be perceived by a listener using the network is determined from parameters extracted from the transforms.


The method described herein may be used to provide sample error coefficients for pairs of signals other than those used in audio signal assessment systems.


It will be understood by those skilled in the art that the processes described above may be implemented on a conventional programmable computer, and that a computer program encoding instructions for controlling the programmable computer to perform the above methods may be provided on a computer readable medium.


It is to be recognised that various alterations, modifications, and/or additions may be introduced into the constructions and arrangements of parts described above without departing from the scope of the present invention as defined in the following claims.

Claims
  • 1. A method of determining a sample error coefficient between a first signal and a similar second signal comprising the steps of: receiving the second signal via a communications channel, the second signal being a transmitted version of the first signal;dividing the first signal into a first plurality of segments;dividing the second signal into a second plurality of segments;determining a first periodicity measure of one of the first plurality of segments and a second periodicity measure of one of the second plurality of segments;determining that the first periodicity measure and the second periodicity measure exhibit similarity which exceeds a similarity threshold;determining a third periodicity measure of another of the first plurality of segments and a fourth periodicity measure of one of the second plurality of segments;determining that the third periodicity measure and the fourth periodicity measure exhibit similarity which exceeds the similarity threshold;generating a first ratio in dependence upon said first periodicity measure and said second periodicity measure and a second ratio in dependence upon said third periodicity measure and said fourth periodicity measure;determining a first segment sample rate error coefficient based on the first ratio;determining a second segment sample rate error coefficient based on the second ratio; anddetermining a sampling rate error coefficient based on both the first and second segment sample rate error coefficients.
  • 2. A method according to claim 1, in which the first signal is a first known signal to be transmitted via the communications channel and the second signal is a first received signal, being a possibly degraded version of said first known signal, received via said communications channel.
  • 3. A method according to claim 2, in which the first known signal is a signal comprising a tone.
  • 4. A method according to claim 3, in which the first known signal is a signal comprising a plurality of tones.
  • 5. A method according to claim 1, in which the steps of determining the first periodicity measure and the second periodicity measure comprise the step of determining the pitch period of each signal.
  • 6. A method according to claim 5, in which the pitch period is determined in dependence upon the position of a peak in the autocorrelation function of each signal.
  • 7. A method according to claim 1, in which the determining the first periodicity measure and the second periodicity measure depends upon the frequency of one or more peaks in the Fourier Transform of each signal.
  • 8. A method according to claim 1, in which the first plurality of segments and second plurality of segments comprise segments having a periodic component.
  • 9. A method according to claim 1, in which the first segment sample rate error coefficient and second segment sample rate error coefficient are used to form a histogram and the sampling rate error coefficient is determined by selecting a value from a histogram bin having the greatest number of coefficients.
  • 10. A method according to claim 9, in which said value is selected by generating an average of the values in the histogram bin having the greatest number of coefficients.
  • 11. A method according to claim 1, in which sample rates of the first plurality of segments and second plurality of segments are used to form a histogram and the sampling rate error coefficient is determined by interpolating between multiple histogram bins.
  • 12. A method according to claim 1, further comprising: receiving the second signal, the second signal being a possibly degraded version of the first signal, via said communications channel;resampling the second signal in dependence upon said sampling rate error coefficient to generate a resampled signal;comparing the first signal to the resampled signal and generating an error pattern; andgenerating a quality measure of the communications channel based on the comparison of the first signal to the resampled signal and the generated error pattern.
  • 13. A method according to claim 12 in which resampling the second signal is performed using a truncated sin(x)/x transfer function.
  • 14. A non-transitory computer readable storage medium storing executable computer program instructions for determining a sample error coefficient between a first signal and a similar second signal, the instructions performing steps comprising: receiving the second signal via a communications channel, the second signal being a transmitted version of the first signal;dividing the first signal into a first plurality of segments;dividing the second signal into a second plurality of segments;determining a first periodicity measure of one of the first plurality of segments and a second periodicity measure of one of the second plurality of segments;determining that the first periodicity measure and the second periodicity measure exhibit similarity which exceeds a similarity threshold;determining a third periodicity measure of another of the first plurality of segments and a fourth periodicity measure of one of the second plurality of segments;determining that the third periodicity measure and the fourth periodicity measure exhibit similarity which exceeds the similarity threshold;generating a first ratio in dependence upon said first periodicity measure and said second periodicity measure and a second ratio in dependence upon said third periodicity measure and said fourth periodicity measure;determining a first segment sample rate error coefficient based on the first ratio;determining a second segment sample rate error coefficient based on the second ratio; anddetermining a sampling rate error coefficient based on both the first and second segment sample rate error coefficients.
  • 15. The computer readable storage medium of claim 14, wherein determining the first periodicity measure and the second periodicity measure depends upon the frequency of one or more peaks in the Fourier Transform of each signal.
  • 16. The computer readable storage medium of claim 14, wherein the first plurality of segments and second plurality of segments comprise segments having a periodic component.
  • 17. The computer readable storage medium of claim 14, wherein the first segment sample rate error coefficient and second segment sample rate error coefficient are used to form a histogram and the sampling rate error coefficient is determined by selecting a value from a histogram bin having the greatest number of coefficients.
  • 18. The computer readable storage medium of claim 14, wherein sample rates of the first plurality of segments and second plurality of segments are used to form a histogram and the sampling rate error coefficient is determined by interpolating between multiple histogram bins.
  • 19. The computer readable storage medium of claim 14, the steps further comprising: receiving the second signal, the second signal being a possibly degraded version of the first signal, via said communications channel;resampling the second signal in dependence upon said sampling rate error coefficient to generate a resampled signal;comparing the first signal to the resampled signal and generating an error pattern; andgenerating a quality measure of the communications channel based on the comparison of the first signal to the resampled signal and the generated error pattern.
Priority Claims (1)
Number Date Country Kind
06123492 Nov 2006 EP regional
US Referenced Citations (57)
Number Name Date Kind
3629510 Anderson et al. Dec 1971 A
4058676 Wilkes et al. Nov 1977 A
4782523 Galand et al. Nov 1988 A
4964166 Wilson Oct 1990 A
5038658 Tsuruta et al. Aug 1991 A
5042069 Chhatwal et al. Aug 1991 A
5091945 Kleijn Feb 1992 A
5293448 Honda Mar 1994 A
5381450 Lane Jan 1995 A
5678221 Cahill Oct 1997 A
5774837 Yeldener et al. Jun 1998 A
5911128 DeJaco Jun 1999 A
5920842 Cooper et al. Jul 1999 A
5930747 Iijima et al. Jul 1999 A
5937374 Bartkowiak et al. Aug 1999 A
5978762 Smyth et al. Nov 1999 A
6014622 Su et al. Jan 2000 A
6047254 Ireton et al. Apr 2000 A
6052406 Epstein et al. Apr 2000 A
6122607 Ekudden et al. Sep 2000 A
6178207 Richards et al. Jan 2001 B1
6330532 Manjunath et al. Dec 2001 B1
6345248 Su et al. Feb 2002 B1
6345255 Mermelstein Feb 2002 B1
6351730 Chen Feb 2002 B2
6442580 Machida Aug 2002 B1
6574593 Gao et al. Jun 2003 B1
6584441 Ojala et al. Jun 2003 B1
6650917 Diab et al. Nov 2003 B2
6714896 Barrett Mar 2004 B1
7043383 Lee et al. May 2006 B2
7075627 Soli Jul 2006 B2
7321851 Andrsen et al. Jan 2008 B2
7388937 Rodger et al. Jun 2008 B1
7571093 Cusmariu Aug 2009 B1
7788571 Waschura et al. Aug 2010 B2
7818168 Cusmariu Oct 2010 B1
20010005423 Rhoads Jun 2001 A1
20020069052 Chen Jun 2002 A1
20030016770 Trans et al. Jan 2003 A1
20030036689 Diab et al. Feb 2003 A1
20030097260 Griffin et al. May 2003 A1
20030219087 Boland Nov 2003 A1
20040062252 Dowdal et al. Apr 2004 A1
20040153316 Hardwick Aug 2004 A1
20040166809 Dickey Aug 2004 A1
20040178936 Lee et al. Sep 2004 A1
20040235439 Husted et al. Nov 2004 A1
20050043959 Stemerdink et al. Feb 2005 A1
20050154584 Jelinek et al. Jul 2005 A1
20050286627 Tabatabaei Dec 2005 A1
20060095256 Nongpiur et al. May 2006 A1
20070033448 Waschura et al. Feb 2007 A1
20070136012 Miller Jun 2007 A1
20070268846 Proctor et al. Nov 2007 A1
20080004821 Cranford et al. Jan 2008 A1
20080106249 Barrett et al. May 2008 A1
Foreign Referenced Citations (4)
Number Date Country
0647375 Oct 1998 EP
1187100 Mar 2002 EP
WO 9400922 Jun 1994 WO
WO 0131638 Mar 2001 WO
Non-Patent Literature Citations (6)
Entry
European Search Report for Application No. EP 06 12 3492, dated: Mar. 22, 2007, EPO.
Elsevier Science B.V., Speech Communications 16 (1995), Eric Moulines and Jean Laroche, “Non-parametric techniques for pitch-scale and time-scale modification of speech”, Mar. 29, 1994, revised Oct. 27, 1994, pp. 175-205.
European Extended Search Report, European Application No. 06123492.8, Apr. 4, 2007, 7 pages.
European Examination Report, European Application No. 06123492.8, Nov. 28, 2008, 1 page.
European Examination Report, European Application No. 06123492.8, Apr. 27, 2009, 4 pages.
Hawksford, M., “Non-Invasive Identification of Audio Content for High Resolution Applications,” 111th Audio Engineering Society Convention, Sep. 21, 2001, 14 pages.
Related Publications (1)
Number Date Country
20080106249 A1 May 2008 US