The present disclosure relates to speech signal processing circuits, particularly those that can generate an output score that is representative of a degraded speech signal.
According to a first aspect of the present disclosure there is provided a speech-signal-processing-circuit configured to receive a time-frequency-domain-reference-speech-signal and a time-frequency-domain-degraded-speech-signal, wherein each of the time-frequency-domain-reference-speech-signal and the time-frequency-domain-degraded-speech-signal comprises a plurality of frames of data, wherein:
In one or more embodiments, the time-frequency-domain-degraded-speech-signal is representative of an extended bandwidth signal. The frequency-threshold-value may correspond to a boundary between a lower band of the extended bandwidth signal, and an upper band of the extended bandwidth signal.
In one or more embodiments the upper band of the extended bandwidth signal corresponds to a frequency band that has been added by an artificial bandwidth extension algorithm. The lower band of the extended bandwidth signal may correspond to a band-limited signal that has been extended by the artificial bandwidth extension algorithm
In one or more embodiments the disturbance calculator is configured to determine one or more of the following SBR-features:
In one or more embodiments the speech-signal-processing-circuit is configured to receive a reference-speech-signal and a degraded-speech-signal. Each of the reference-speech-signal and the degraded-speech-signal may comprise a plurality of frames of data. The speech-signal-processing-circuit may comprise:
The reference-speech-signal and the degraded-speech-signal may be in the time domain. In one or more embodiments the reference-time-frequency-block comprises a reference-perceptual-processing-block and the degraded-time-frequency-block comprises a degraded-perceptual-processing-block. The reference-perceptual-processing-block and the degraded-perceptual-processing-block may be configured to simulate one or more aspects of human hearing.
In one or more embodiments the disturbance calculator comprises a time-frequency domain feature extraction block configured to:
In one or more embodiments the time-frequency domain feature extraction block comprises a Normalized Covariance Metric block configured to:
In one or more embodiments the time-frequency domain feature extraction block comprises an absolute distortion block configured to:
In one or more embodiments the time-frequency domain feature extraction block comprises a relative distortion block configured to:
In one or more embodiments the time-frequency domain feature extraction block comprises a two-dimensional correlation block configured to process the time-frequency-domain-reference-speech-signal and the time-frequency-domain-degraded-speech-signal in order to calculate a two-dimensional correlation value; and
wherein the score-evaluation-block is configured to determine the output-score based on the two-dimensional correlation value.
In one or more embodiments the speech-signal-processing-circuit is configured to receive a reference-speech-signal and a degraded-speech-signal, wherein the time-frequency-domain-reference-speech-signal is a time-frequency domain representation of the reference-speech-signal, and the time-frequency-domain-degraded-speech-signal is a time-frequency domain representation of the degraded-speech-signal. The disturbance calculator may comprise a time domain sample-based feature extraction block configured to:
In one or more embodiments the time domain sample-based feature extraction block comprises a GSDSR block configured to perform sample-based processing on the time domain representations of the reference-speech-signal and the degraded-speech-signal signals in order to determine a Global Signal-to-Degraded-Speech Ratio, wherein the Global Signal-to-Degraded-Speech Ratio is indicative of a comparison of energy derived over all samples of the reference-speech-signal and the degraded-speech-signal; and wherein the score-evaluation-block is configured to determine the output-score based on the Global Signal-to-Degraded-Speech Ratio.
In one or more embodiments the speech-signal-processing-circuit is configured to receive a reference-speech-signal and a degraded-speech-signal, wherein the time-frequency-domain-reference-speech-signal is a time-frequency domain representation of the reference-speech-signal, and the time-frequency-domain-degraded-speech-signal is a time-frequency domain representation of the degraded-speech-signal. The disturbance calculator may comprise a time domain frame-based feature extraction block configured to:
In one or more embodiments the disturbance calculator comprises a SSDR block configured to:
In one or more embodiments the disturbance calculator comprises a LSD block configured to:
In one or more embodiments the speech-signal-processing-circuit further comprises an input layer that is configured to receive an input-reference-speech-signal and an input-degraded-speech-signal. The input layer may comprise:
In one or more embodiments the speech-signal-processing-circuit is further configured to receive a voice-indication-signal, wherein the voice-indication-signal is indicative of whether or not frames of the reference-speech-signal and the degraded-speech-signal contain speech. The disturbance calculator may be configured to determine one or more of the following features based on the voice-indication-signal:
There may be provided a method of processing a degraded-speech-signal, the method comprising:
There may be provided an integrated circuit or device comprising any circuit or system disclosed herein, or configured to perform any method disclosed herein.
There may also be provided a computer program, which when run on a computer, causes the computer to configure any apparatus, including a circuit, system or device disclosed herein or perform any method disclosed herein.
While the disclosure is amenable to various modifications and alternative forms, specifics thereof have been shown by way of example in the drawings and will be described in detail. It should be understood, however, that other embodiments, beyond the particular embodiments described, are possible as well. All modifications, equivalents, and alternative embodiments falling within the spirit and scope of the appended claims are covered as well.
The above discussion is not intended to represent every example embodiment or every implementation within the scope of the current or future Claim sets. The figures and Detailed Description that follow also exemplify various example embodiments. Various example embodiments may be more completely understood in consideration of the following Detailed Description in connection with the accompanying Drawings.
One or more embodiments will now be described by way of example only with reference to the accompanying drawings in which:
Subjective listening tests can be considered as a reliable method for assessing the quality of speech. They can be, however, costly and time-consuming. Alternatively, objective, automatic methods can be used to facilitate the procedures of quality assessment for speech processing algorithms, codecs, devices and networks. They span from very simple measures such as Signal-to-Noise Ratio (SNR) or Spectral Distance (SD) to complex approaches that include psychoacoustic processing and cognitive (statistical) models.
The latter family are measures designed to predict the scores of subjective listening tests. A known representative of this family is an ITU-T standard series that started in 1997 with PSQM (perceptual speech quality measure), which was later withdrawn and replaced by PESQ (perceptual evaluation of speech quality) and its wideband version WB-PESQ, and then completed with POLQA (perceptual objective listening quality assessment) in 2011. The measures from this series are widely used, since they can be applied in many different use cases (test factors such as linear and nonlinear distortions or packet losses, coding techniques, applications such as codec evaluations, terminal or network testing, assessment of speech enhancement algorithms, devices and the like). A similar, no longer used measure was TOSQA (telecommunication objective speech quality assessment), developed in 1998. Other objective measures are more specialized, limited to one application, such as evaluation of echo cancellation (EQUEST) or noise reduction (3QUEST).
All of the above-mentioned measures are intrusive ones, that is, the quality of the sample under test (degraded signal) is being estimated through comparison with a reference signal.
The disturbance calculator 112 can compute one or more quality indicators, which may also be referred to as features or disturbances (because they are indicators of differences between the reference signal 104 and the degraded signal 106). Before the disturbance calculator 112 computes quality indicators, it can calculate new representations for both input signals. An example can be time-frequency domain representations of the signals received by the disturbance calculator 112. Such time-frequency domain representations can be provided by a perceptual model, used to simulate chosen aspects of human hearing (for example, to apply time or frequency masking, hearing thresholds, auditory filters). The output terminal of the disturbance calculator 112 is connected to a cognitive (statistical) model 114, which provides a MOS-LQO (Mean Opinion Score-Listening Quality Objective) output signal/output score 116.
The cognitive (statistical) model 114, which may also be referred to as a quality score predictor, can be implemented as a (multivariate) linear or quadratic regression (as in PESQ, POLQA, 3QUEST), artificial neural network (as in EQUEST, 3QUEST), or any other trained statistical model.
Certain modifications to this general model of
A correct reconstruction of fricative sounds, especially/s/and/z/sounds, can have a high impact on the perceived speech quality. In general, the perception of speech quality depends to a certain degree on the sounds occurring in the speech signal. To make use of this quality factor, a reference-based speech quality measurement system can use not only a degraded and a reference speech signal as inputs, but also the phonetic transcription of the speech signal to apply modifications to any part of the scheme shown in
A different example is the “Diagnostic Instrumental Assessment of Listening quality” (DIAL), which has been developed as part of the POLQA project. DIAL follows an assumption that the combination of several specialized measures is more efficient than one single complex measure, and therefore combines a core measure (that implements the general model of
There is no standardized objective measure designed specifically for ABE-processed speech signals. WB-PESQ and POLQA, which can be considered as general measures, were tested for accuracy of prediction of the “Mean Opinion Score-Listening Quality Subjective” (MOS-LQS) for ABE-processed signals. However, the results showed that neither of them exhibited sufficiently high correlation with the listening test scores and therefore cannot be considered as a reliable quality estimator for ABE solutions.
Also, using an approach that requires an additional input of a time-aligned phonetic transcription can be tedious, and can bear the risk of a language-dependent solution. Instrumental measures of speech quality, however, should aim at predicting reliable MOS scores in virtually all languages of the world.
One more examples disclosed below can be especially relevant to speech signals that have been processed with ABE (artificial bandwidth extension) algorithms. An ABE algorithm can expand the frequency range of an input signal, which has a limited band, by estimating and generating the content beyond those limits. For example in case of a wideband (WB) ABE algorithm, an input narrowband (NB) signal has a frequency range of 0 Hz<=f<=4 kHz, providing lower-band content. The ABE algorithm can extend that range up to 8 kHz by generating upper-band content (above a threshold frequency which is in this case equal to 4 kHz). In this example, a lower band has frequency content between 0 and 4 kHz, and an upper band has frequency content between 4 kHz and 8 kHz.
The ABE-processed speech signal, also referred to as signal under test or input-degraded-speech-signal 206, is denoted by ŝ′(n), with
nε
{0,1, . . . ,Ns−1}
being the sample index and Ns the total number of samples in the signal. This example is based on an intrusive scheme for determining the quality of the input-degraded-speech-signal 206, and therefore an input-reference-speech-signal s′(n) 204 is used for performing the quality assessment of ŝ′(n) 206. The input-reference-speech-signal 204 has both lower-band and upper-band frequency content and is free from disturbances resulting from transmission, coding or other processing. Limitation of the effective acoustical bandwidth can be an exception. For example, for WB signals the maximum (theoretical) bandwidth is 0 Hz<=f<=8000 Hz. However, in practice, a mask can be applied to reduce this bandwidth.
The effective bandwidth of WB speech in one implementation is defined as 50 Hz<=f<=7000 Hz, although it will be appreciated that the bandwidth could be any other value within the theoretical range. In this implementation both, ŝ′(n) 206 and s′(n) 204 are sampled at least at fs=16 kHz to fulfil the Nyquist criterion.
The system of
Since this example is based on an intrusive scheme, satisfactory time alignment can be very important in order for the two input signals to be compared accurately. Due to speech coding, transmission or speech enhancement algorithms, such as ABE, a delay might be introduced to the input-degraded-speech-signal 206. Therefore, the delay between both input signals 204, 206 should be calculated and compensated for.
As shown in
In the implementation of
It will be appreciated that the VAD 224 can process the input-reference-speech-signal 204, the input-degraded-speech-signal 206, or both (and then combine the results into a single decision that is indicative of whether or not speech is present). In some examples it can be advantageous for the VAD 224 to process the input-reference-speech-signal 204 (or a signal based on the input-reference-speech-signal 204), since this signal is substantially free of distortion.
In examples where the VAD 224 calculates frame-wise VAD values, a simple thresholding of energy can be used. More sophisticated solutions, for example using adaptive thresholds, can also be applied.
The input layer in this example also includes two level adjustment blocks 226, 228 for adjusting the power levels of the respective signals provided by the delay compensation blocks 220, 222. The level adjustment blocks 226, 228 can normalize their input signals with respect to an active speech level. The level adjustment blocks 226, 228 can determine the active speech level using the voice-indication-signal VAD(t) from the VAD 224.
In some examples, the difference of levels between the input-reference-speech-signal 204 and the input-degraded-speech-signal 206 can be considered a quality factor and therefore can serve as an additional feature. However, if this is not the case then the input signals (reference 204 and degraded 206) can be scaled towards the same global level, or the input-degraded-speech-signal 206 can be scaled towards the level of the input-reference-speech-signal 204. For ABE algorithms, the difference of levels in the upper band can be of particular importance, and therefore the level adjustment blocks 226, 228 can perform level adjustment based on the level of the input-reference-speech-signal 204 and the input-degraded-speech-signal 206 in the lower-band (LB) frequency range only (at frequencies that are less than a frequency-threshold-value). That is, the upper-band components of the two input signals 204, 206 may not be used to adjust the level of the input-reference-speech-signal 204 or the degraded signal.
The level adjustment blocks 226, 228 can measure the input levels of the signals and apply any scaling factors by means of the root mean square value over speech-active frames. This can be accomplished by employing ITU-T Recommendation P.56 or any similar level measurement method operating either in batch mode or in a sample- or frame-wise fashion.
The two level adjustment blocks 226, 228 respectively provide a reference-speech-signal s(n) 230 and a degraded-speech-signal ŝ(n) 232 for subsequent feature extraction.
It will be appreciated that the input layer 202 can include other pre-processing blocks, for example to resample the input signals towards a common sampling frequency, or (Modified) Intermediate Reference System ((M)IRS) filters, or other filters.
After the degraded-speech-signal ŝ(n) 232 and the reference-speech-signal s(n) 230 have been aligned in time, and had their levels adjusted by the input layer 202, features describing the difference between the reference and degraded speech signal can be calculated by a disturbance calculator 212. As will be discussed in detail below with reference to
The disturbance calculator 212 can extract/determine features of the degraded-speech-signal ŝ(n) 232, for use in determining an output score such as a MOS-LQO 216. In particular, in some examples one or more SBR-features can be determined based on a spectral-balance-ratio for a plurality of frames in both the degraded-speech-signal ŝ(n) 232 and the reference-speech-signal s(n) 230. Use of such SBR-features can be particularly advantageous for detecting errors in ABE signals. The disturbance calculator 212 can output a feature vector x′ that includes one or more of the features of the input-degraded-speech-signal 206 that are described in this document, including any SBR-features that are determined.
The system of
Depending on the training strategy of the cognitive model 214, it can be beneficial for the normalization block 234 to perform normalization of the feature vector x′. If so, then scaling factors and offsets for each dimension of the feature vector x′ are calculated during training and used here to normalize the extracted feature vector x′, leading to the normalized feature vector x. Without normalization, x=x′ holds. When using linear regression as the cognitive model 214, the application of scaling factors and offsets to the feature dimensions may be achieved implicitly.
Extracted features represent the observed distortion in the input-degraded-speech-signal 206 and thus are the link to a predicted MOS-LQO value 216. The MOS predictor 236 in this example has been trained in advance, and therefore uses the pre-trained parameters stored in memory 240. To improve the performance for bandwidth-extended (BE) signals, the model's training set can consist predominantly of speech samples processed with ABE algorithms.
If the MOS predictor 236 was trained on normalized MOS-LQS values, it first estimates MOS-LQO′ values, which are also in a normalized range. Therefore, the normalized values can be denormalized by the score denormalization block 238 so that they are shifted towards a typical MOS range using pre-calculated scaling factors and offsets, such that the MOS-LQO 216 can be provided as an output.
The speech-signal-processing-circuit 300 receives a reference-speech-signal 330 and a degraded-speech-signal 332, for example from an input layer such as the one illustrated in
The speech-signal-processing-circuit 300 includes a reference-time-frequency-block 342 and a degraded-time-frequency-block 344. The reference-time-frequency-block 342 determines a time-frequency-domain-reference-speech-signal based on the reference-speech-signal 330. The time-frequency-domain-reference-speech-signal is in the time-frequency domain and comprises: (i) an upper-band-reference-component, which corresponds to components of the time-frequency-domain-reference-speech-signal with frequencies that are greater than a frequency-threshold-value; and a lower-band-reference-component, which corresponds to components of the time-frequency-domain-reference-speech-signal with frequencies that are less than the frequency-threshold-value. The frequency-threshold-value can correspond to the upper limit of a narrowband signal that has been extended by an ABE algorithm, in which case the lower band corresponds to the input signal to the ABE algorithm, and the upper band corresponds to the extended frequency components that have been added by the ABE algorithm. For the numerical example that is described above, the frequency-threshold-value would be 4 kHz.
In a similar way, the degraded-time-frequency-block 344 determines a time-frequency-domain-degraded-speech-signal based on the degraded-speech-signal 332. The time-frequency-domain-degraded-speech-signal is in the time-frequency domain and comprises: (i) an upper-band-degraded-component, which corresponds to components of the time-frequency-domain-degraded-speech-signal with frequencies that are greater than the frequency-threshold-value; and (ii) a lower-band-degraded-component, which corresponds to components of the time-frequency-domain-degraded-speech-signal with frequencies that are less than the frequency-threshold-value.
The functionality of the reference-time-frequency-block 342 and the degraded-time-frequency-block 344 can in some examples be provided by a perceptual model block that simulates one or more aspects of human hearing.
The disturbance calculator 312 can determine a spectral-balance-ratio (SBR) based on the time-frequency-domain-reference-speech-signal and the time-frequency-domain-degraded-speech-signal for a plurality of frames. The spectral-balance-ratio is calculated by:
In this way, the spectral balance ratio (SBR) can represent the relation of two frequency bands of both input signals. Besides the correct estimation of the spectral shape of the missing upper band, having the correct energy in the missing band can also play an important role in subjective quality perception. In addition, the spectral balance between lower and upper frequency components should be restored appropriately by the ABE algorithm. Therefore, the energy ratio defined by the SBR is designed to not only compare the energy of the artificially extended frequency components (the upper band), but also to compare the resulting spectral balance of the degraded signal to the reference signal.
Mathematically, the SBR can be represented as:
This equation represents a ratio of energy levels in each of the upper- and lower-band-components.
A positive value of SBR is indicative of the energy in the upper band of the degraded signal being too low, and a negative value of SBR is indicative of the energy in the upper band of the degraded signal being too high. Mathematically:
SBR+
={l|SBR(l)>0}
SBR−
={l|SBR(l)≦0}
LSBR+ denotes the set of frames in which a positive (+) imbalance was found, that is, the upper band of the ABE-processed signal (degraded signal) is lacking energy in the upper band and/or contains too much energy in the lower band. The spectral contour of the degraded signal is thus characterized by a higher slope than the one from the reference signal. LSBR− denotes the opposite.
The disturbance calculator 312 can then determine one or more SBR-features based on the spectral-balance-ratio for the plurality of frames. Examples of SBR-features include:
μSBR(l);SBR+);
μ(SBR(l);SBR−);
σ2(SBR(l);SBR+);
σ2(SBR(l);SBR−)
The above mathematical notations will be described further with reference to other calculations that can be performed by the disturbance calculator 312 in order to determine other features.
The speech-signal-processing-circuit 300 also includes a score-evaluation-block 314 for determining an output-score 316 for the degraded-speech-signal 332 based on the SBR-features. The score-evaluation-block 314 can apply a cognitive model. The score-evaluation-block 314 can for example apply linear prediction or regression, use a neural network, or perform any other functionality that can map the received SBR-features to a value for the output score 316.
The system includes a disturbance calculator 412, which has three feature extraction blocks: a time domain sample-based feature extraction block 454, a time domain frame-based feature extraction block 456, and a time-frequency domain feature extraction block 458. The disturbance calculator 412 also includes a multiplexor 460 that can combine individual features generated by the various blocks into a feature vector x′.
Each of the features that is determined by the disturbance calculator 412 can be calculated using complete input signals, only segments/frames of input signals for which voice activity has been detected, or only segments/frames with speech pauses (based on the VAD decision).
The system receives a reference-speech-signal 430 and a degraded-speech-signal 432. These input signals are provided to the time domain sample-based feature extraction block 454. The sample-based feature extraction block 454 can process the received time domain signals and generate one or more sample-based-features for inclusion in the feature vector x′. Examples of features that can be determined by the sample-based feature extraction block 454 will be discussed in more detail with reference to
The system of
The time domain frame-based feature extraction block 456 can process the framed-reference-signal and the framed-degraded-signal and generate one or more frame-based-features for inclusion in the feature vector x′. Examples of features that can be determined by the frame-based feature extraction block 456 will be discussed in more detail with reference to
The system of
The reference-DFT-block 450 and the optional additional processing block 442b can be considered as an example of a reference-time-frequency-block because it/they provide a time-frequency-domain-reference-speech-signal for the disturbance calculator 412. Similarly, the degraded-DFT-block 452 and the optional additional processing block 444b, can be considered as an example of a degraded-time-frequency-block because it/they provide a time-frequency-domain-degraded-speech-signal for the disturbance calculator 412.
In
The time-frequency domain feature extraction block 458 can process the time-frequency-domain-reference-speech-signal and the time-frequency-domain-degraded-speech-signal and generate one or more time-frequency-domain-features for inclusion in the feature vector x′. Examples of time-frequency-domain-features include SBR-features. Other features that can be determined by the time-frequency domain feature extraction block 458 will be discussed in more detail with reference to
The disturbance calculator 512 in this example also receives a voice-indication-signal VAD(t) 525 from a VAD such as the one illustrated in
In the following description, the parameter is used to denote a set of frames for which a mean value and a variance value can be calculated, and denotes the number of elements contained in the set .
To express a measured distortion for the entire signal, single features are needed that can be part of the feature vector x′. Hence, for a given frame-wise distortion measure D(t), mean μ and variance σ2 can be calculated as follows:
Typically, however not exclusively, the following sets are used:
1
={t|VAD(t)=1}
0
={t|VAD(t)=0}
to define frames with speech present and speech pauses.
In the above equations parameter t is used to denote frame index. However, since different feature extraction blocks can use different framing parameters, l may also be used to denote frame index further in the text. In such case , ||μ(D(l); ), σ2 (D(l); ), 1, 0 are defined analogically.
Various processing blocks of the disturbance calculator 512 process time-frequency domain signals that are output by the perceptual-processing-blocks 542, 544 that can define a hearing model. Several psychoacoustic models are known and used in speech signal processing. In one implementation, the hearing model developed by Roland Sottek (“Modelle zur Signalverarbeitung im menschlichen Gehör,” Dissertation, RVVWTH Aachen, Germany, 1993) is applied by the perceptual-processing-blocks 542, 544. Processing the input signals with the hearing model results in H(l,b) and Ĥ(l,b) for the reference and degraded input, respectively, where b is a filter bank band index. Ĥ(l,b) can also be referred to as the time-frequency-domain-degraded-speech-signal. H(l,b) can also be referred to as the time-frequency-domain-reference-speech-signal.
The definition of the filter bank bands (as used in this embodiment) with their respective lower cut-off frequency fl, center frequency fc and upper cut-off frequency fu, as well as the resulting frequency bandwidth fΔ are shown in the below table, which shows a Bark filter bank definition.
LB
UB
Additionally, the bands are split into lower and upper ranges. This division could vary, depending on the applied hearing model. In this embodiment the split is at 4 kHz so the lower band (LB) and upper band (UB) are defined as:
LB
={b|1 kHz≦f1(b)<fc(b)<fu(b)≦4 kHz}
B
UB
={b|4 kHz≦f1(b)<fc<(b)<fu(b)≦8 kHz}
with band numbers being:
LB={10, . . . ,17}
UB={19, . . . ,21}
The framing parameters used in the hearing model might differ from the ones used by the framing blocks 546, 548 (for example when calculating SSDR and LSD, as discussed below), and so for features that are based on perceptually processed signals, the frame index l is used. The voice-indication-signal VAD(t) 525 can therefore be converted via interpolation to VAD(I), for example by the time conversion block 572 shown in
To obtain single features from a time-frequency representation of a given distortion D(l,b), where l is frame index and b is a frequency band identifier, the mean and variance can be calculated as follows:
with A=||·ΣnΕfΔ(b) compensating for signal length and a set of frequency bands.
In order to perform frequency integration, the time-frequency representation of a given distortion D(l,b) can also be integrated only over a set of frequency bands leading to D(l):
Again, all above equations could be written analogically using different parameters for frame index (t instead of l and instead of ) or frequency bin index (k instead of b and K instead of ).
The disturbance calculator 512 includes eight feature extraction blocks 554, 556a, 556b, 562, 564, 566, 568, 570, which can each generate a feature, or set of features, for including in a feature vector x′. The processing performed by each of these feature extraction blocks will now be described in turn.
A GSDSR block 554 can perform sample-based processing on the reference-speech-signal 430 and the degraded-speech-signal 432 in order to determine a Global Signal-to-Degraded-Speech Ratio (GSDSR). The GSDSR is an example of a sample-based-feature, and is indicative of a comparison of energy derived over all samples of the speech signals:
An SSDR block 556a can perform frame-based processing on the framed-reference-speech-signal 430 and the degraded-speech-signal 432 in order to determine a Speech-to-Speech Distortion-Ratio (SSDR). The SSDR can be used to determine frame-based-features.
The SSDR is calculated from the input signals s(n) 430 and ŝ(n) 432 as:
with t being the set of samples belonging to frame t. Subsequently, SSDR′(t) is limited to a range of [0 dB; 30 dB] using
SSDR(t)=min{SSDR′(t),30 dB}
The following SSDR-features, which are examples of frame-based-features, can then extracted as:
μ(SSDR(t);1);
μ(SSDR(t);0);
σ2(SSDR(t);1);
σ2(SSDR(t);0)
In a particularly advantageous embodiment, the calculation is performed over voice active frames to detect a frequency-independent mismatch of the energy and phase between the reference and the degraded speech signal. Furthermore, mean and variance can be calculated over speech pauses, to detect if and to which degree the ABE solution mistakenly added content in the upper band.
An LSD block 556b can perform processing on a time-frequency domain representation of the framed-reference-signal and the framed-degraded-signal in order to determine a Log Spectral Distortion (LSD). These time-frequency domain representations are provided by the reference-DFT-block 550 and the degraded-DFT-block 452. The LSD can be used to determine time-frequency-domain-features.
LSD is a measure of spectral distance between short-term spectra Ŝ(t,k) and S(t,k) for the degraded and reference speech signal, respectively, with k being the frequency bin index. In one implementation, these spectra are calculated by DFT blocks that apply the K=512-point Discrete Fourier Transform (DFT) with a frame length 32 ms and 50% overlap.
Furthermore, the calculation is limited to the frequency range 50 Hz<=f<=7000 Hz, therefore
The following LSD-features, which are examples of time-frequency-domain-features, can then be extracted as:
μ(LSD(t);1);
σ2(LSD(t);1).
In this example, the mean and variance are calculated only over frames with speech present to measure the accuracy of the estimation of the spectrum in general.
An absolute distortion (ΔHabs) block 562 can perform processing on the time-frequency-domain-reference-speech-signal (H(l,b)) and the time-frequency-domain-degraded-speech-signal (Ĥ(l,b)) as provided by the perceptual processing blocks 542, 544, in order to calculate an Absolute Distortion (ΔHabs). The Absolute Distortion (ΔHabs) can be used to determine time-frequency-domain-features.
ΔHabs is the difference between the representations of the reference and degraded signals after applying the hearing model:
ΔHabs represents the absolute difference between the reference and the degraded signal, based on the time-frequency- (here: hearing model-) processed representations H and Ĥ.
For the calculation of individual time-frequency-domain-features, we define:
+
={l|μ(ΔHabs(l,b);)>0}
−
={l|μ(ΔHabs(l,b);)≦0}
If the mean of ΔHabs over all frequencies (here Bark bands) is greater than 0 then the energy of the frequency components in the degraded speech signal is higher than the energy of the frequency components in the reference speech signal. In other words: the ABE processing (wrongly) added (+) parts to the signal that should not be there. All frames for which this is the case are denoted as L+. The frame set L− denotes the opposite: the ABE-processed speech signal is lacking (−) frequency components where they should have been.
Also, similar processing can be performed for the upper bands of the signals. In this example the boundary between the upper and lower bands is 4 kHz. In this way, the feature can focus on ABE synthesized components in the upper band.
UB+
={l|μ(ΔHabs(l,b);UB)>0}
UB−
={l|μ(ΔHabs(l,b);UB)≦0}
ABE solutions can aim to restore missing frequency components as accurately as possible. Therefore, the features calculated from the ΔHabs can especially focus on added and omitted components, as a more precise measure for ABE errors than just the overall distortion.
The following absolute-distortion-features, which are examples of time-frequency-domain-features, can then be extracted as:
a) a mean value of ΔHabs for frames that include speech (voice active frames),
μ(|ΔHabs(l,b)|;1,);
b) a variance value of ΔHabs for frames that include speech (voice active frames),
σ2|Habs(l,b)|;1,);
c) a mean value of ΔHabs for frames that include speech (voice active frames) and for which ΔHabs is positive (added components),
μ(|ΔHabs(l,b)|;+∩1,);
d) a variance value of ΔHabs for frames that include speech (voice active frames) and for which ΔHabs is positive (added components)
σ2(|ΔHabs(l,b)|;+∩1,);
e) a mean value of ΔHabs for frames that include speech (voice active frames) and for which ΔHabs is negative (omitted components),
μ(|ΔHabs(l,b)|;−∩1,);
f) a variance value of ΔHabs for frames that include speech (voice active frames) and for which ΔHabs is negative (omitted components),
σ2(|ΔHabs(l,b)|;−∩1,);
g) a mean value of ΔHabs for frames that include speech (voice active frames), and for which ΔHabs is positive (added components), and for high-band frequency components (by considering only b which represent frequency components higher than frequency-threshold (4 kHz)),
μ(|ΔHabs(l,b)|;UB+∩1,);
h) a variance value of ΔHabs for frames that include speech (voice active frames), and for which ΔHabs is positive (added components), and for high-band frequency components (by considering only b which represent frequency components higher than frequency-threshold (4 kHz)),
σ2(|ΔHabs(l,b)|;UB+∩1,);
i) a mean value of ΔHabs for frames that include speech (voice active frames) and for which ΔHabs is negative (omitted components), and for high-band frequency components (by considering only b which represent frequency components higher than frequency-threshold (4 kHz)),
μ(|ΔHabs(l,b)|;UB−∩1,);
j) a variance value of ΔHabs for frames that include speech (voice active frames) and for which ΔHabs is negative (omitted components), and for high-band frequency components (by considering only b which represent frequency components higher than frequency-threshold (4 kHz)),
σ2(|ΔHabs(l,b)|;UB−∩1,).
A relative distortion (ΔHrel) block 564 can perform processing on the time-frequency-domain-reference-speech-signal (H(l,b)) and the time-frequency-domain-degraded-speech-signal (Ĥ(l,b)) as provided by the perceptual processing blocks 542, 544, in order to calculate a Relative Distortion (ΔHrel). The Relative Distortion (ΔHrel) can be used to determine time-frequency-domain-features.
ΔHrel is a spectral domain SNR calculated after applying the hearing model
Calculated in the time-frequency domain (here: after applying a hearing model), the relative distortion can be interpreted as signal-to-distortion ratio (in analogy to the well-known signal-to-noise ratio). The denominator represents the distortion: a small distortion results in a high ΔHrel and vice versa. The disturbance is calculated relatively to H: The higher H, the more distortion is tolerated by this measure.
The following ΔHrel-features, which are examples of time-frequency-domain-features, can then be extracted as:
μ(ΔHrel(l,b);1,);
σ2(ΔHrel(l,b);1,);
In some examples, before calculation of mean and variance, ΔHrel can be limited to a maximum value such as 45 dB.
A Two-dimensional correlation block 570 can perform processing on the time-frequency-domain-reference-speech-signal (H(l,b)) and the time-frequency-domain-degraded-speech-signal (Ĥ(l,b)), in order to calculate a Two-dimensional correlation value. The Two-dimensional correlation is an example of a time-frequency-domain-feature.
The two-dimensional Pearson's correlation is calculated using H(l,b) and Ĥ(l,b), leading to a single correlation value:
The two-dimensional correlation can set the focus on the temporal and spectral progress, while precise equality of frequency components over time is less important.
An SNR-based two-dimensional-correlation-feature can also be calculated according to:
A Normalized Covariance Metric (NCM) block 568 can perform processing on the time-frequency-domain-reference-speech-signal (H(l,b)) and the time-frequency-domain-degraded-speech-signal (Ĥ(l,b)), in order to calculate a Normalized Covariance Metric (NCM). The Normalized Covariance Metric (NCM) is an example of a time-frequency-domain-feature.
The Normalized Covariance Metric (NCM) is based on the covariance between the time-frequency domain representations of the reference and the degraded signals. In this case the time-frequency representation is obtained by applying the hearing model to both input signals. However, we could also use an STFT representation (or any other time-frequency domain representation) with a proper filter bank (for example, based on the Bark scale) and apply an appropriate weighting. The NCM measure is calculated on temporal envelopes. These might be calculated from filter bank outputs, either in time-frequency domain or time domain. In this implementation, the time-frequency-domain-reference-speech-signal (H(l,b)) and the time-frequency-domain-degraded-speech-signal (Ĥ(l,b)) were already subject to temporal envelope calculation during hearing model processing. In case a different hearing model which does not include temporal envelope calculation or a simple time to time-frequency domain transform is used to obtain the time-frequency-domain-reference-speech-signal (H(l,b)) and the time-frequency-domain-degraded-speech-signal (Ĥ(l,b)) the temporal envelope may be calculated using the Hilbert transform :
u(l,b)=|(|H(l,b)|)|
{circumflex over (u)}(l,b)=|(|{circumflex over (H)}(l,b)|)|
In this implementation, however,
u(l,b)=|H(l,b)|
{circumflex over (u)}(l,b)=|{circumflex over (H)}(l,b)|
holds. Afterwards, a correlation between the transforms obtained for degraded and reference signal is calculated for each band b:
These correlation values can then be converted to SNR-like NCM-features and thresholded to a value range of [−15 dB; 15 dB] using:
The resulting SNRρ(b) is then shifted by 15 dB, so that it is always non-negative, and scaled by 30 dB. A weighted sum leads to the final NCM following:
In this embodiment, the weights w(b) are set to 1 for all b. However, they can, for example, be correlated with the frequency bandwidth fΔ(b).
In general the band-limited speech signal (which is the input to ABE solutions) does not contain enough mutual information with the missing upper band, for example 4 kHz<f<8 kHz, for the ABE algorithm to be capable of restoring it perfectly. In other words, there is no one-to-one correspondence between the lower band (LB) (0 kHz<f<4 kHz), and the upper band of a wideband speech signal. Thus, ABE solutions can only deliver an approximation of upper band frequency components. The instrumental measure suited to evaluate the quality of ABE processed signals should asses how good that approximation is. Therefore, apart from features that correspond to the overall quality of the degraded signal (mean/variance of ΔHabs, mean/variance ΔHrel, ρ2D, SNR2D), the employed feature set contains features that try to detect typical errors introduced by ABE solutions. An overview of these errors and suitable features used in this invention is given in the below table.
It will be appreciated that the instrumentally measurable disturbance between the two input signals can be reflected in several features, focusing on different kinds of distortions. These features can be derived from the time representation of the signal (based on sample-wise or frame-wise calculation), and different time-frequency representations, one of which being the output of the perceptual model that simulates human hearing.
The system of
Returning to
dimension(X′T)=(no. of files in training)×(features per file).
The calculated features were then normalized (“zero mean” and “unit variance”), leading to the normalized feature matrix
with the mean μ(X′T) and the standard deviation α(X′T) of each feature calculated over all files in training. Subsequently, the statistical model was trained on XT.
In order to adapt feature vector x′ to the value range the statistical model was trained on, the obtained features are normalized as follows:
The cognitive model 214 uses a statistical model to link the observed distortion, that is the feature vector x′, to the predicted MOS-LQO score 216. Possible statistical models are for example linear regression, multivariate linear regression, artificial neural networks, support vector machines and others. The statistical model can only be used if the respective parameters were found during the training phase. Therefore, the model's input is not only the normalized feature vector x, but also a stored parameter set obtained in preceding training stage. This stored parameter set can be accessible from memory 240.
Most of the statistical models work best if they are trained on normalized input and output data. Therefore, in this implementation, not only the feature dimensions (as described above) were normalized during training, but also the desired target values MOS-LQS 216. As a consequence, the statistical model (MOS predictor 236) outputs “normalized” predicted MOS-LQO′ scores that should be denormalized by the score denormalization block 238 using:
MOS-LQO=MOS-LQS′·σ(MOS-LQS′T)+μ(MOS-LQS′T)
with μ(MOS-LQS′T) and σ(MOS-LQS′T) being the mean and standard deviation of the MOS-LQS values used in the training process.
The resulting MOS-LQO 216 value is the output of the instrumental measure of the system of
In this embodiment, support vector machines (SVM) serve as the cognitive model 214, operating in a normalized feature and score space. SVM can be a particularly reliable and robust statistical model, considering a rather small amount of training data available during development.
High definition (HD) Voice (wideband voice) enables operators to differentiate their service offering high quality voice calls on mobile networks. This higher quality (more clarity, higher intelligibility) of voice calls is achieved by transmitting the [4-7 kHz] speech band, which is usually dropped in traditional narrowband telephony. However, for every end-user to benefit from HD Voice for every call, every device and network have to support HD Voice. If one element in the chain does not support it, then the call turns to narrowband.
Bandwidth extension algorithms attempt to generate wideband content from a narrowband audio source, to improve voice quality during narrowband calls. Currently, to measure the degree of this improvement for different ABE systems, one has to perform extensive, time-consuming subjective listening tests. The examples of functionality provided by a speech-signal-processing-circuit that are described herein provide an alternative to the listening tests that will advantageously allow:
One or more of the implementations described above relate to estimating the quality of WB ABE solutions, however, it is possible to expand the applications to other types of signals and other ABE algorithms. For example, with some modifications in features (such as the definitions of the lower and upper bands) and retraining of the statistical model, the examples disclosed herein could be used to estimate the quality of super wideband ABE algorithms.
One or more of the examples disclosed herein provide an objective method for predicting the overall quality of speech as perceived by listeners in Absolute Category Rating (ACR) listening tests. The proposed objective (i.e., instrumental) measure can be designed especially for speech signals processed with artificial bandwidth extension (ABE) algorithms that extend the frequency band of narrowband (NB) signals above 4 kHz (not higher than 8 kHz). However, it is also capable of predicting the perceived quality of signals coded with narrowband and wideband (WB) speech codecs. The measure is an intrusive method, based on a comparison of the speech sample under test with a reference one. A set of features derived from that comparison can be fed into a cognitive model, which can provide a quality score called “Mean Opinion Score-Listening Quality Objective” (MOS-LQO).
The proposed measure advantageously does not need a phonetic transcription. Furthermore, the underlying statistical model can be trained on several languages to minimize language-dependency. The proposed measure can exhibit high linear correlation and rank correlation, as well as low Root Mean Square Error (RMSE) between MOS-LQO and MOS-LQS. Therefore, it can be used for reliable quality prediction in evaluation and comparison of ABE solutions. As tests showed, it can also predict with high accuracy the MOS-LQS of speech signals coded with either the Adaptive Multi-Rate NB (AMR-NB) codec or AMR-WB codec.
The instructions and/or flowchart steps in the above figures can be executed in any order, unless a specific order is explicitly stated. Also, those skilled in the art will recognize that while one example set of instructions/method has been discussed, the material in this specification can be combined in a variety of ways to yield other examples as well, and are to be understood within a context provided by this detailed description.
In some example embodiments the set of instructions/method steps described above are implemented as functional and software instructions embodied as a set of executable instructions which are effected on a computer or machine which is programmed with and controlled by said executable instructions. Such instructions are loaded for execution on a processor (such as one or more CPUs). The term processor includes microprocessors, microcontrollers, processor modules or subsystems (including one or more microprocessors or microcontrollers), or other control or computing devices. A processor can refer to a single component or to plural components.
In other examples, the set of instructions/methods illustrated herein and data and instructions associated therewith are stored in respective storage devices, which are implemented as one or more non-transient machine or computer-readable or computer-usable storage media or mediums. Such computer-readable or computer usable storage medium or media is (are) considered to be part of an article (or article of manufacture). An article or article of manufacture can refer to any manufactured single component or multiple components. The non-transient machine or computer usable media or mediums as defined herein excludes signals, but such media or mediums may be capable of receiving and processing information from signals and/or other transient mediums.
Example embodiments of the material discussed in this specification can be implemented in whole or in part through network, computer, or data based devices and/or services. These may include cloud, internet, intranet, mobile, desktop, processor, look-up table, microcontroller, consumer equipment, infrastructure, or other enabling devices and services. As may be used herein and in the claims, the following non-exclusive definitions are provided.
In one example, one or more instructions or steps discussed herein are automated. The terms automated or automatically (and like variations thereof) mean controlled operation of an apparatus, system, and/or process using computers and/or mechanical/electrical devices without the necessity of human intervention, observation, effort and/or decision.
It will be appreciated that any components said to be coupled may be coupled or connected either directly or indirectly. In the case of indirect coupling, additional components may be located between the two components that are said to be coupled.
In this specification, example embodiments have been presented in terms of a selected set of details. However, a person of ordinary skill in the art would understand that many other example embodiments may be practiced which include a different selected set of these details. It is intended that the following claims cover all possible example embodiments.
Number | Date | Country | Kind |
---|---|---|---|
16161471.4 | Mar 2016 | EP | regional |