Báo cáo hóa học: " A Perceptual Model for Sinusoidal Audio Coding Based on Spectral Integration"

pdf
Số trang Báo cáo hóa học: " A Perceptual Model for Sinusoidal Audio Coding Based on Spectral Integration" 13 Cỡ tệp Báo cáo hóa học: " A Perceptual Model for Sinusoidal Audio Coding Based on Spectral Integration" 950 KB Lượt tải Báo cáo hóa học: " A Perceptual Model for Sinusoidal Audio Coding Based on Spectral Integration" 0 Lượt đọc Báo cáo hóa học: " A Perceptual Model for Sinusoidal Audio Coding Based on Spectral Integration" 0
Đánh giá Báo cáo hóa học: " A Perceptual Model for Sinusoidal Audio Coding Based on Spectral Integration"
4 ( 13 lượt)
Nhấn vào bên dưới để tải tài liệu
Đang xem trước 10 trên tổng 13 trang, để tải xuống xem đầy đủ hãy nhấn vào bên trên
Chủ đề liên quan

Nội dung

EURASIP Journal on Applied Signal Processing 2005:9, 1292–1304 c 2005 Steven van de Par et al.  A Perceptual Model for Sinusoidal Audio Coding Based on Spectral Integration Steven van de Par Digital Signal Processing Group, Philips Research Laboratories, 5656 AA Eindhoven, The Netherlands Email: steven.van.de.par@philips.com Armin Kohlrausch Digital Signal Processing Group, Philips Research Laboratories, 5656 AA Eindhoven, The Netherlands Department of Technology Management, Eindhoven University of Technology, 5600 MB Eindhoven, The Netherlands Email: armin.kohlrausch@philips.com Richard Heusdens Department of Mediamatics, Delft University of Technology, 2600 GA Delft, The Netherlands Email: r.heusdens@ewi.tudelft.nl Jesper Jensen Department of Mediamatics, Delft University of Technology, 2600 GA Delft, The Netherlands Email: j.jensen@ewi.tudelft.nl Søren Holdt Jensen Department of Communication Technology, Institute of Electronic Systems, Aalborg University, DK-9220 Aalborg, Denmark Email: shj@kom.aau.dk Received 31 October 2003; Revised 22 July 2004 Psychoacoustical models have been used extensively within audio coding applications over the past decades. Recently, parametric coding techniques have been applied to general audio and this has created the need for a psychoacoustical model that is specifically suited for sinusoidal modelling of audio signals. In this paper, we present a new perceptual model that predicts masked thresholds for sinusoidal distortions. The model relies on signal detection theory and incorporates more recent insights about spectral and temporal integration in auditory masking. As a consequence, the model is able to predict the distortion detectability. In fact, the distortion detectability defines a (perceptually relevant) norm on the underlying signal space which is beneficial for optimisation algorithms such as rate-distortion optimisation or linear predictive coding. We evaluate the merits of the model by combining it with a sinusoidal extraction method and compare the results with those obtained with the ISO MPEG-1 Layer I-II recommended model. Listening tests show a clear preference for the new model. More specifically, the model presented here leads to a reduction of more than 20% in terms of number of sinusoids needed to represent signals at a given quality level. Keywords and phrases: audio coding, psychoacoustical modelling, auditory masking, spectral masking, sinusoidal modelling, psychoacoustical matching pursuit. 1. INTRODUCTION The ever-increasing growth of application areas such as consumer electronics, broadcasting (digital radio and television), and multimedia/Internet has created a demand for This is an open-access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. high-quality digital audio at low bit rates. Over the last decade, this has led to the development of new coding techniques based on models of human auditory perception (psychoacoustical masking models). Examples include the coding techniques used in the ISO/IEC MPEG family, for example, [1], the MiniDisc from Sony [2], and the digital compact cassette (DCC) from Philips [3]. For an overview of recently proposed perceptual audio coding schemes and standards, we refer to the tutorial paper by Painter and Spanias [4]. Perceptual Model for Sinusoidal Audio Coding A promising approach to achieve low bit rate coding of digital audio signals with minimum perceived loss of quality is to use perception-based hybrid coding schemes, where audio signals are decomposed and coded as a sinusoidal part and a residual. In these coding schemes, different signal components occurring simultaneously are encoded with different encoders. Usually, tonal components are encoded with a specific encoder aimed at signals composed of sinusoids and the remaining signal components are coded with a waveform or noise encoder [5, 6, 7, 8, 9]. To enable the selection of the perceptually most suitable sinusoidal description of an audio signal, dedicated psychoacoustical models are needed and this will be the topic of this paper. One important principle by which auditory perception can be exploited in general audio coding is that the modelling error generated by the audio coding algorithm is masked by the original signal. When the error signal is masked, the modified audio signal generated by the audio coding algorithm is indistinguishable from the original signal. To determine what level of distortion signal is allowable, an auditory masking model can be used. We, for example, consider the case where the masking model is used in a transform coder. Here the model will specify, for each spectrotemporal interval within the original audio signal, what distortion level can be allowed within that interval such that it is perceptually just not detectable. With an appropriate signal transformation, for example, an MDCT filter bank [10, 11], it is possible to selectively adapt the accuracy with which each different spectro-temporal interval is described, that is, the number of bits used for quantisation. In this way, the spectro-temporal characteristics of the error signal, can be adapted such that auditory masking is exploited effectively, leading to the lowest possible bit rate without perceptible distortions. Most existing auditory masking models are based on the psychoacoustical literature that predominantly studied the masking of tones by noise signals (e.g., [12]). Interestingly, for subband coders and transform coders the nature of the signals is just the reverse; the distortion is noise-like, while the masker, or original signal, is often tonal in character. Nevertheless, based on this psychoacoustical literature dedicated psychoacoustical models have been developed for audio coding for the situation where the distortion signal is noise-like such as the ISO MPEG model [1]. Masking models are also used for sinusoidal coding, where the signal is modelled by a sum of sinusoidal components. Most existing sinusoidal audio coders, for example, [5, 6, 13] rely on masking curves derived from spectralspreading-based perceptual models in order to decide which components are masked by the original signal, and which are not. As a consequence of this decision process, a number of masked components are rejected by the coder, resulting in a distortion signal that is sinusoidal in nature. In this paper a model is introduced that is specifically designed for predicting the masking of sinusoidal components. In addition, the proposed model takes into account some new findings in the psychoacoustical literature about spectral and temporal integration in auditory masking. 1293 This paper is organised as follows. In Section 2 we discuss the psychoacoustical background of the proposed model. Next, in Section 3, the new psychoacoustical model will be introduced, followed by Section 4, which describes the calibration of the model. Section 5 compares predictions of the model with some basic psychoacoustical findings. In Section 6, we apply the proposed model in a sinusoidal audio modelling method and in Section 7 we compare, in a listening test, the resulting audio quality to that obtained with the ISO MPEG model [1]. Finally, in Section 8, we will present some conclusions. 2. PSYCHOACOUSTICAL BACKGROUND Auditory masking models that are used in audio coding are predominantly based on a phenomenon known as simultaneous masking (see, e.g., [14]). One of the earlier relevant studies goes back to Fletcher [15] who performed listening experiments with tones that were masked by noise. In his experiments the listeners had to detect a tone that was presented simultaneously with a bandpass noise masker that was spectrally centred around the tone. The threshold level for detecting the tones was measured as a function of the masker bandwidth while the power spectral density (spectrum level) was kept constant. Results showed that an increase of bandwidth, thus increasing the total masker power, led to an increase of the detection thresholds. However, this increase was only observed when the bandwidth was below a certain critical bandwidth; beyond this critical bandwidth, thresholds were independent of bandwidth. These observations led to the critical band concept which is the spectral interval across which masker power is integrated to contribute to the masking of a tone centred within the interval. An explanation for these observations is that the signal processing in the peripheral auditory system, specifically by the basilar membrane in the cochlea, can be represented as a series of bandpass filters which are excited by the input signal, and which produce parallel bandpass-filtered outputs (see, e.g., [16]). The detection of the tone is thought to be governed by the bandpass filter (or auditory filter) that is centred around the tone. When the power ratio between the tone and the masker at the output of this filter exceeds a certain criterion value, the tone is assumed to be detectable. With these assumptions the observations of Fletcher can be explained; as long as the masker has a bandwidth smaller than that of the auditory filter, an increase in bandwidth will also lead to an increase in the masker power seen at the output of the auditory filter, which, in turn, leads to an increase in detection threshold. Beyond the auditory filter bandwidth the added masker components will not contribute to the masker power at the output of the auditory filter because they are rejected by the bandpass characteristic of the auditory filter. Whereas in Fletchers experiments the tone was centred within the noise masker, later on experiments were conducted where the masker did not spectrally overlap with the tone to be detected (see, e.g., [17]). Such experiments reveal more information on the auditory filter characteristic, specifically about the tails of the filters. 1294 The implication of such experiments should be treated with care. When different maskers and signals are chosen, the resulting conclusions about the auditory filter shape are quite different. For example, a tonal masker proves to be a much poorer masker than a noise signal [17]. In addition, the filter shapes seem to depend on the masker type as well as on the masker level. These observations suggest that the basic assumptions of linear, that is, level independent, auditory filters and an energy criterion that defines audibility of distortion components, are only a first-order approximation and that other factors play a role in masking. For instance, it is known that the basilar membrane behaves nonlinearly [18], which may explain, for instance, the level dependence of the auditory filter shape. For a more elaborate discussion of auditory masking and auditory filters, the reader is referred to [19, 20, 21]. Despite the fact that the assumption of a linear auditory filter and an energy detector can only be regarded as a firstorder approximation of the actual processing in the auditory system, we will proceed with this assumption because it proves to give very satisfactory results in the context of audio coding with relatively simple means in terms of computational complexity. Along similar lines as outlined above, the ISO MPEG model [1] assumes that the distortion or noise level that is allowed within a specific critical band is determined by the weighted power addition of all masker components spread on and around the critical band containing the distortion. The shape of the weighting function that is applied is based on auditory masking data and essentially reflects the underlying auditory filter properties. These “spectral-spreading”based perceptual models have been used in various parametric coding schemes for sinusoidal component selection [5, 6, 13]. It should be noted that in these models, it is assumed that only the auditory filter centred around the distortion determines the detectability of the distortion. When the distortion-to-masker ratio is below a predefined threshold value in each auditory filter, the distortion is assumed to be inaudible. On the other hand, when one single filter exceeds this threshold value, the distortion is assumed to be audible. This assumption is not in line with more recent insights in the psychoacoustical literature on masking and will later in the paper be shown to have a considerable impact on the predicted masking curves. Moreover, in the ISO MPEG model [1], a distinction is made between masking by noisy and tonal spectral components to be able to account for the difference in masking power of these signal types. For this purpose a tonality detector is required which, in the Layer I model, is based on a spectral peak detector. Threshold measurements in psychoacoustical literature consistently show that a detection threshold is not a rigid threshold. A rigid threshold would imply that if the signal to be detected would be just above the detection threshold, the signal would always be detected while it would never be detected when it would be just below the threshold. Contrary to this pattern, it is observed in detection threshold measurements that the percentages of correct detection as a function of signal level follow a sigmoid psychometric function [22]. EURASIP Journal on Applied Signal Processing The detection threshold is defined as the level for which the signal is detected correctly with a certain probability of, typically, 70%–75%. In various theoretical considerations, the shape of the psychometric function is explained by assuming that within the auditory system some variable, for example, the stimulus power at the output of an auditory filter, is observed. In addition, it is assumed that noise is present in this observation due to, for example, internal noise in the auditory system. When the internal noise is assumed to be Gaussian and additive, the shape of the sigmoid function can be predicted. For the case that a tone has to be detected within broadband noise, the assumption of a stimulus power measurement with additive Gaussian noise leads to good predictions of the psychometric function. When the increase in the stimulus power caused by the presence of the tonal signal is large compared to the standard deviation of the internal noise, high percentages of correct detection are expected while the reverse is true for small increases in stimulus power. The ratio between the increase in stimulus power and the standard deviation of the internal noise is defined as the sensitivity index d and can be calculated from the percentage of correct responses of the subjects. This theoretical framework is based on signal detection theory and is described more extensively in, for example, [23]. In several more recent studies it is shown that the audibility of distortion components is not determined solely by the critical band with the largest audible distortion [24, 25]. Buus et al. [24] performed listening tests where tone complexes had to be detected when presented in a noise masker. They first measured the threshold levels of several tones separately each of which were presented simultaneously with wideband noise. Due to the specific spectral shape of the masking noise, thresholds for individual tones were found to be constant across frequency. In addition to the threshold measurements for a single tone, thresholds were also measured for a complex of 18 equal-level tones. The frequency spacing of the tones was such that each auditory critical band contained only a single tone. If the detectability of the tones was only determined by the filter with the best detectable tone, the complex of tones would be just audible when one individual component of the complex had the same level as the measured threshold level of the individual tones. However, the experiments showed that thresholds for the tone complex were considerably lower than expected based on the bestfilter assumption, indicating that information is integrated across auditory filters. In the paper by Buus et al. [24], a number of theoretical explanations are presented. We will discuss only the multiband detector model [23]. This model assumes that the changes in signal power at the output of each auditory filter are degraded by additive internal noise that is independent in each auditory filter. It is then assumed that an optimally weighted sum of the signal powers at the outputs of the various auditory filters is computed which serves as a new decision variable. Based on these assumptions, it can be shown that the sensitivity index of a tone complex, Perceptual Model for Sinusoidal Audio Coding 1295  dtotal , can be derived from the individual sensitivity indices dn as follows:  dtotal   K   = dn2 , hom γi Ca x + (1) Di Within channel distortion detectability Cs + n=1 where K denotes the number of tones and where each individual sensitivity index is proportional to the tone-to-masker power ratio [22]. According to such a framework, each doubling of the number of auditory filters that can contribute to the detection process will lead to a reduction of 1.5 dB in threshold. The measured thresholds by Buus et al. are well in line with this prediction. In their experiments, the complex of 18 tones leads to a reduction of 6 dB in detection threshold as compared to the detection threshold of a single tone. Based on (1) a change of 6.3 dB was expected. More recently, Langhans and Kohlrausch [25] performed similar experiments with complex tones having a constant spacing of 10 Hz presented in a broadband noise masker, confirming that information is integrated across auditory filters. In addition, results obtained by van de Par et al. [26] indicate that also for bandpass noise signals that had to be detected against the background of wideband noise maskers, the same integration across auditory filters is observed. As indicated, integration of information across a wide range of frequencies is found in auditory masking. Similarly, integration across time has been shown to occur in the auditory system. Van den Brink [27] investigated the detection of tones of variable duration that were presented simultaneously with a noise masker with a fixed duration that was always longer than that of the tone. Increasing the duration of the tone reduced the detection thresholds up to a duration of about 300 milliseconds. While this result is an indication of integration across time, it also shows that there is a limitation in the interval for which temporal integration occurs. The above findings with respect to spectral and temporal integration of information in auditory masking have implications for audio coding which have not been considered in previous studies. On the one hand it influences the masking properties of complex signals as will be discussed in Section 5, on the other hand it has implications for rate distortion optimisation algorithms. To understand this, consider the case where for one particular frequency region a threshold level is determined for distortions that can be introduced by an audio coder. For another frequency region a threshold can be determined similarly. When both distortions are presented at the same time, the total distortion is expected to become audible due to the spectral integration given by (1). This is in contrast to the more conventional models, such as the ISO MPEG model [1], which would predict this simultaneous distortion to be inaudible. The effect of spectral integration, of course, can easily be compensated for by reducing the level of the masking thresholds such that the total distortion will be inaudible. But, based on (1), assuming that it holds for masking by complex audio signals, there are many different solutions to this  equation which lead to the same dtotal . In other words, many x D Figure 1: Block diagram of the masking model. different distributions of distortion levels per spectral region will lead to the same total sensitivity index. However, not every distribution of distortion levels will lead to the same amount of bits spent by the audio coder. Thus, the concept of a masking curve which determines the maximum level of distortion allowed within each frequency region is too restrictive and can be expected to lead to suboptimal audio coders. In fact, spectral distortion can be shaped such that the associated bit rate is minimised. For more information the reader is referred to a study where these ideas were confirmed by listening tests [28]. 3. DESCRIPTION OF THE MODEL In line with various state-of-the-art auditory models that have been presented in the psychoacoustical literature, for example, [29], the structure of the proposed model follows the various stages of auditory signal processing. In view of the computational complexity, the model is based on frequency domain processing and consequently neglects some parts of peripheral processing, such as the hair cell transformation which performs inherent nonlinear time-domain processing. A block diagram of the model is given in Figure 1. The model input x is the frequency domain representation of a short windowed segment of audio. The window should lead to sufficient rejection of spectral side lobes in order to facilitate adequate spectral resolution of the auditory filters. The first stage of the model resembles the outer- and middleear transfer function hom , which is related to the filtering of the ear canal and the ossicles in the middle ear. The transfer function is chosen to be the inverse of the threshold-in-quiet function htq . This particular shape is chosen to obtain an accurate prediction of the threshold-in-quiet function when no masker signal is present. The outer- and middle-ear transfer function is followed by a gammatone filter bank (see, e.g., [30]) which resembles the filtering property of the basilar membrane in the inner ear. The transfer function of an nth-order gammatone filter has a magnitude spectrum that is approximated well by   f − f0  γ( f ) = 1 + k ERB f0 2 −n/2 , (2) where f0 is the centre frequency of the filter, ERB( f0 ) is the equivalent rectangular bandwidth of the auditory filter centred at f0 as suggested by Glasberg and Moore [31], n is 1296 EURASIP Journal on Applied Signal Processing the filter order which is commonly assumed to be 4, and k = 2(n−1) (n − 1)!/π(2n − 3)!!, a factor needed to ensure that the filter indeed has the specified ERB. The centre frequencies of the filters are uniformly spaced on an ERB-rate scale and follow the bandwidths as specified by the ERB scale [31]. The power at the output of each auditory filter is measured and a constant Ca is added to this output as a means to limit the detectability of very weak signals at or below the threshold in quiet. In the next stage, within-channel distortion detectabilities are computed and are defined as the ratios between the distortion and the masker-plus-internal noise seen at the output of each auditory filter. In fact, the within-channel distortion detectability Di is proportional to the sensitivity index d as described earlier. This is an important step; the distortion detectability (or d ) will be used as a measure of perceptual distortion. This perceptual distortion measure can be interpreted as a measure of the probability that subjects can detect a distortion signal in the presence of a masking signal. The masker power within the ith filter due to an original (masking) signal x is given by Mi = 1   hom ( f ) N f 2 2 γi ( f ) 2 x( f ) , 1   hom ( f ) N f  Di (6) i = Cs Leff  hom ( f ) γi ( f ) NMi + Ca 2 f i 2 γi ( f ) 2 2 ε( f ) . (4) Si . Mi + (1/N)Ca (5) From this equation two properties of the within-channel distortion detectability Di can be seen. When the distortion-tomasker ratio Si /Mi is kept constant while the masker power is much larger than (1/N)Ca , distortion detectability is also constant. In other words, at medium and high masker levels the detectability Di is mainly determined by the distortionto-masker ratio. Secondly, when the masker power is small compared to (1/N)Ca , the distortion detectability is independent of the masker power, which resembles the perception of signals near the threshold in quiet. In line with the multiband energy detector model [23], we assume that within-channel distortion detectabilities Di are combined into a total distortion detectability by an additive operation. However, we do not add the squared sensitivity indices as in (1), but we simply add the indices directly. Although this may introduce inaccuracies, these will later turn 2 ε( f ) 2 , (7) where D(x, ε) is the total distortion detectability as it is predicted for a human observer given an original signal x and a distortion signal ε. The calibration constant Cs is chosen such that D = 1 at the threshold of detectability. To account for the dependency of distortion detectability on the duration of the distortion signal (in line with [27]), a scaling factor Leff is introduced defined as  Leff = min Note that (1/N)| x( f )|2 denotes the power spectral density of the original, masking signal in sound pressure level (SPL) per frequency bin, and similarly (1/N)| ε( f )|2 is the power spectral density of the distorting signal. The within-channel distortion detectability Di is given by Di = D(x, ε) = Cs Leff (3) where N is the segment size in number of samples. Equivalently, the distortion power within the ith filter due to a distortion signal ε is given by Si = out to be small. A benefit of this choice is that the distortion measure that will be derived from this assumption will have properties that allow a computationally simple formulation of the model (see (11)). In addition, recent results [26] show that at least for the detection of closely spaced tones (20 Hz spacing) masked by noise, the reduction in thresholds when increasing the signal bandwidth is more in line with a direct addition of distortion detectabilities than with (1). Therefore, we state that L ,1 , 300 ms (8) where L is the segment duration in milliseconds. Equation (8) resembles the temporal integration time of the human auditory system which has an upper bound of 300 milliseconds [27].1 Equation (7) gives a complete description of the model. However, it defines only a perceptual distortion measure and not a masking curve such as is widely used in audio coding nor a masked threshold such as is often used in psychoacoustical experiments. In order to derive a masked threshold, we assume that the distortion signal ε( f ) = A. Here, A is the amplitude of the distortion signal and  the normalised spectrum of the distortion signal such that 2 = 1 which is assumed to correspond to a sound pressure level of 0 dB. Without yet making an assumption about the spectral shape of , we can derive that, assuming that D = 1 at the threshold of detectability, the masked threshold A2 for the distortion signal  is given by  1 = Cs Leff 2 A i hom ( f ) γi ( f ) NMi + Ca 2 f 2 ( f ) 2 . (9) When deriving a masking curve it is important to consider exactly what type of signal is masked. When a masking model is used in the context of a waveform coder, the 1 An alternative definition would be to state that L eff = N, the total duration of the segment in number of samples. According to this definition it is assumed that distortions are integrated over the complete excerpt at hand, which is not in line with perceptual masking data, but which in our experience still leads to very satisfactory results [32]. Perceptual Model for Sinusoidal Audio Coding 1297 distortion signal introduced by the coder is typically assumed to consist of bands of noise. For a sinusoidal coder, however, the distortion signal contains the sinusoids that are rejected by the perceptual model. Thus, the components of the distortion signal are in fact more sinusoidal in nature. Assuming now that a distortion component is present in only one bin of the spectrum, we can derive the masked thresholds for sinusoidal distortions. We assume that ( f ) = v( fm )δ( f − fm ) with v( fm ) being the sinusoidal amplitude and fm the sinusoidal frequency. Together with the assumption that D = 1 at the threshold of detectability, v can be derived such that the distortion is just not detectable. In this way, by varying fm over the entire frequency range, v2 constitutes the masking curve for sinusoidal distortions in the presence of a masker x. By substituting the above assumptions in (7) we obtain   om fm 2 γi fm  h 1 = C L s eff NMi + Ca v2 fm i  2 . (10) Substituting (10) in (7), we get D(x, ε) =  ε( f ) 2 . v2 ( f ) f (11) This expression shows that the computational load for calculating the perceptual distortion D(x, ε) can be very low once the masking curve v2 has been calculated. This simple form of the perceptual distortion, such as given in (11), arises due to the specific choice of the addition as defined in (6). 4. CALIBRATION OF THE MODEL For the purpose of calibration of the model, the constants Ca for absolute thresholds and Cs for the general sensitivity of the model in (7) need to be determined. This will be done using two basic findings from the psychoacoustical literature, namely the threshold in quiet and the just noticeable difference (JND) in level of about 0.5 - 1 dB for sinusoidal signals [33]. When considering the threshold in quiet, we assume that the masking signal is equal to zero, that is, x = 0 and that the just detectable sinusoidal distortion signal is given by ε( f ) = htq ( fm )δ( f − fm ) for some fm , where htq is the threshold-in-quiet curve. By substituting these assumptions in (7) (assuming that D = 1 corresponds to a just detectable distortion signal), we obtain Ca = Cs Leff   γi fm 2 . (12) i Note that (12) only holds if i | γi ( fm )|2 is constant for all fm , which is approximately true for gammatone filters. We assume a 1 dB JND which corresponds to a masking condition where a sinusoidal distortion is just detectable in the presence of a sinusoidal masker at the same frequency, say fm . For this to be the case, the distortion level has to be 18 dB lower than the masker level, assuming that the masker and distortion are added inphase. This specific phase assumption is made because it leads to similar thresholds as when the masker and signal are slightly off-frequency with respect to one another, the case which is most likely to occur in audio coding contexts. We therefore assume that the masker signal is x( f ) = A70 δ( f − fm ) and the distortion signal ε( f ) = A52 δ( f − fm ), with A70 and A52 being the amplitudes for a 70 and 52 dB SPL sinusoidal signal, respectively. Using (3) and (7), this leads to the expression    hom fm γi fm A252 1 = Leff .   2 2 Cs hom fm γi fm A270 + Ca i 2 2 (13) When (12) is substituted into (13), an expression is obtained where Cs is the only unknown. A numerical solution to this equation can be found using, for example, the bisection method (cf. [34]). A suitable choice for fm would be fm = 1 kHz, since it is in the middle of the auditory range. This calibration at 1 kHz does not significantly reduce the accuracy of the model at other frequencies. On the one hand the incorporation of a threshold-in-quiet curve prefilter provides the proper frequency dependence of thresholds in quiet. On the other hand, JNDs do not differ much across frequency both in the model predictions and humans. 5. MODEL EVALUATION AND COMPARISON WITH PSYCHOACOUSTICAL DATA To show the validity of the model, some basic psychoacoustical data from listening experiments will be compared to model predictions. We will consider two cases, namely sinusoids masked by noise and sinusoids masked by sinusoids. Masking of sinusoids has been measured in several experiments for both (white) noise maskers [12, 35] and for sinusoidal maskers [36]. Figure 2a shows masking curves predicted by the model for a white noise masker with a spectrum level of 30 dB/Hz for a long duration signal (solid line) and a 200 millisecond signal (dashed line) with corresponding listening test data represented by circles [12] and asterisks [35], respectively. Figure 2b shows the predicted masking curve (solid line) for a 1 kHz 50 dB SPL sinusoidal masker along with corresponding measured masking data [36]. The model predictions are well in line with data for both sinusoidal and noise maskers, despite the fact that no tonality detector was included in the model such as is conventionally needed in masking models for audio coding (e.g., [1]). Only at lower frequencies, there is a discrepancy between the data for the noise masker and the predictions by the model. The reason for this discrepancy may be that in psychoacoustical studies, running noise generators are used to generate the masker signal rather than a single noise realisation, as it is done in audio coding applications. The latter case has, according to several studies, a lower masking strength [37]. This difference in masking strength is due to the inherent masker power fluctuations when a running noise is presented, which depends inversely on the product of time and bandwidth seen at the output of an auditory filter. The narrower the auditory filter (i.e., the lower its centre frequency), the larger these fluctuations will be and the larger the difference is expected to be. EURASIP Journal on Applied Signal Processing 100 80 60 40 20 0 102 103 104 100 80 60 40 20 100 101 Number of components Frequency (Hz) Figure 3: Masked thresholds predicted by the model (solid line) and psychoacoustical data (circles) [25]. Masked thresholds are expressed in dB SPL per component. (a) Masked threshold (dB SPL) Masked threshold (dB SPL) Masked threshold (dB SPL) 1298 100 80 60 40 20 0 102 103 Frequency (Hz) 104 (b) Figure 2: (a) Masking curves predicted by the model for a white noise masker with a spectrum level of 30 dB/Hz for a long duration signal (solid line) and a 200- millisecond signal (dashed line) with corresponding listening test data represented by the circles [12] and asterisks [35], respectively. (b) Masking curves for a 1 kHz 50 dB SPL sinusoidal masker. The dashed line is the threshold in quiet. Circles show data from [36]. As can be seen in Figure 2, the relatively weaker masking power of a sinusoidal signal is predicted well by the model without the need for explicit assumptions about the tonality of the masker such as those included in, for example, the ISO MPEG model [1]. Indeed, in the case of a noise masker (Figure 2a), the masker power within the critical band centred around 1 kHz (bandwidth 132 Hz) is approximately 51.2 dB SPL, whereas the sinusoidal masker (Figure 2b) has a power of 50 dB SPL. Nevertheless, predicted detection thresholds are considerably lower for the sinusoidal masker (35 dB SPL) than for the noise masker (45 dB SPL). The reason why the model is able to predict these data well is that for the tonal masker, the distortionto-masker ratio is constant over a wide range of auditory filters. Due to the addition of within-channel distortion detectabilities, the total distortion detectability will be relatively large. In contrast, for a noise masker, only the filter centred on the distortion component will contribute to the total distortion detectability because the off-frequency filters have a very low distortion-to-masker ratio. Therefore, the wideband noise masker will have stronger masking effect. Note that for narrowband noise signals, the predicted masking power, in line with the argumentation for a sinusoidal masker, will also be weak. This, however, seems to be too conservative [38]. A specific assumption in this model is the integration of distortion detectabilities over a wide range of auditory filters. This should allow the model to predict correctly the threshold difference between narrowband distortion signals and more wideband distortion signals. For this purpose an experiment is considered where a complex of tones had to be detected in the presence of masking noise [25]. The tone complex consisted of equal-level sinusoidal components with a frequency spacing of 10 Hz centred around 400 Hz. The masker was a 0–2 kHz noise signal with an overall level of 80 dB SPL. The number of components in the complex was varied from one up to 41. The latter case corresponds to a bandwidth of 400 Hz, which implies that the tone complex covers more than one critical band. Equation (9) was used to derive masked thresholds. As can be seen in Figure 3, there is a good correspondence between the model predictions and the data from [25]. Therefore, it seems that the choice of the linear addition that was made in (6) did not lead to large discrepancies between psychoacoustical data and model predictions. To conclude this section, a comparison is made between predictions of the MPEG-1 Layer I [1] and the model presented in this study which incorporates spectral integration in masking. The MPEG model is one of a family of models used in audio coding that are based on spectral-spreading functions to model spectral masking. When the masking of a narrowband distortion signal is considered, it is assumed that the auditory filter that is spectrally centred on this distortion signal determines whether the distortion is audible or not. When the energy ratio between distortion signal and masking signal as seen at the output of this auditory filter is smaller than a certain criterion value, the distortion is inaudible. In this manner the maximum allowable distortion signal level at each frequency can be determined which constitutes the masking curve. An efficient implementation for calculating this masking curve is a convolution between the masker spectrum and a spreading function both represented on a Bark scale. The Bark scale is a perceptually motivated frequency scale similar to the ERB-rate scale [39]. The spectral integration model presented here does not consider only a single auditory filter to contribute to the detection of distortions, but potentially a whole range of Perceptual Model for Sinusoidal Audio Coding 1299 The smoothening effect is observed systematically in complex signal spectra typically encountered in practical situations and represents the main difference between the spectral integration model presented here and existing spreadingbased models. Level (dB) 80 60 40 20 0 102 103 104 6. APPLICATION TO SINUSOIDAL MODELLING Frequency (Hz) (a) Level (dB) 80 60 40 20 0 102 103 104 Frequency (Hz) (b) Figure 4: Masked thresholds predicted by the spectral integration model (dashed line) and the ISO MPEG model (solid line). The masking spectrum (dotted line) is for (a) a 1 kHz sinusoidal signal and (b) a short segment of a harpsichord signal. filters. This can have a strong impact on the predicted masking curves. Figure 4a shows the masking curves for a sinusoidal masker at 1 kHz for the MPEG model (solid line) and the spectral integration model (dashed line). The spectrum of the sinusoidal signal is also plotted (dotted line), but scaled down for visual clarity. As can be seen, there is a reasonable match between both models, showing some differences at the tails. In Figure 4b, in a similar way the masking curves are shown but now resulting from a complex spectrum (part of a harpsichord signal). It can be seen that the masking curves differ systematically showing much smoother masking curves for the spectral integration model as compared to the MPEG model. For the spectral integration model masking curves are considerably higher in spectral valleys. This effect is a direct consequence of the spectral integration assumption that was adopted in our model (cf. (6)). In the spectral valleys of the masker, distortion signals can only be detected using the auditory filter centred on the distortion which will lead to relatively high masked thresholds. This is so because off-frequency filters will be dominated by the masker spectrum. However, detection of distortion signals at the spectral peaks of the masker is mediated by a range of auditory filters centred around the peak, resulting in relatively low masked thresholds. In this case the off-frequency filters will reveal similar distortion-to-masker ratios as the on-frequency filter. Thus, in the model proposed here, detection differences between peaks and troughs are smaller, resulting in smoother masking curves as compared to those observed in a spreading-based model such as the ISO MPEG model. Sinusoidal modelling has proven to be an efficient technique for the purpose of coding speech signals [40]. More recently, it has been shown that this method can also be exploited for low-rate audio coding, for example, [41, 42, 43]. To account for the time-varying nature of the signal, the sinusoidal analysis/synthesis is done on a segment-by-segment basis, with each segment being modelled as a sum of sinusoids. The sinusoidal parameters have been selected with a number of methods, including spectral peak-picking [44], analysis-bysynthesis [41, 43], and subspace-based methods [42]. In this section we describe an algorithm for selecting sinusoidal components using the psychoacoustical model described in the previous section. The algorithm is based on the matching pursuit algorithm [45], a particular analysisby-synthesis method. Matching pursuit approximates a signal by a finite expansion into elements (functions) chosen from a redundant dictionary. In the example of sinusoidal modelling, one can think of such functions as (complex) exponentials or as real sinusoidal functions. Matching pursuit is a greedy, iterative algorithm which searches the dictionary for the function that best matches the signal and subtracts this function (properly scaled) to form a residual signal to be approximated in the next iteration. In order to determine which is the best matching function or dictionary element at each iteration, we need to formalise the problem. To do so, let D = (gξ )ξ ∈Γ be a complete dictionary, that is, a set of elements indexed by ξ ∈ Γ, where Γ is an arbitrary index set. As an example, consider a dictionary consisting of complex exponentials gξ = ei2πξ(·) . In this case, the index set Γ is given by Γ = [0, 1). Obviously, the indexing parameter ξ is nothing more than the frequency of the complex exponential. Given a dictionary D, the best matching function can be found by, for each and every function, computing the best approximation and selecting that function whose corresponding approximation is “closest” to the original signal. In order to facilitate the following discussion, we assume without loss of generality that gξ  = 1 for all ξ. Given a particular function gξ , the best possible approximation of the signal x is obtained by the orthogonal projection of x onto the subspace spanned by gξ (see Figure 5). This projection is given by x, gξ gξ . Hence, we can decompose x as x = x, gξ gξ + Rx, (14) where Rx is the residual signal after subtracting the projection x, gξ gξ . The orthogonality of Rx and gξ implies that x2 = x, gξ  2 + Rx2 . (15) EURASIP Journal on Applied Signal Processing x Perceptual distortion 1300 Rx gξ x, gξ gξ span(gξ ) Figure 5: Orthogonal projection of x onto span(gξ ). We can do this decomposition for each and every dictionary element and the best matching one is then found by selecting the element gξ  for which Rx is minimal, or, equivalently, for which |x, gξ | is maximal. A precise mathematical formulation of this phrase is ξ  = arg sup x, gξ  .  ε( f ) 2  = a( f ) ε( f ) 2 v ( f ) f f 2 , (17) where a = v−2 . It follows from (10) that a( f ) = Cs Leff om ( f )  h i 20 0 0 10 20 30 40 50 60 70 Number of sinusoids 80 90 100 By inspection of (18), we conclude that a is real and positive so that, in fact, the perceptual distortion measure (17) defines a norm x2 =  2 a( f ) x( f ) . (19) f It must be noted that the matching pursuit algorithm is only optimal for a particular iteration. If we subtract the approximation to form a residual signal and approximate this residual in a similar way as we approximated the original signal, then the two dictionary elements thus obtained are not jointly optimal; it is in general possible to find two different elements which together form a better approximation. This is a direct consequence of the greedy nature of the algorithm. The two dictionary elements which together are optimal could be obtained by projecting the signal x onto all possible two-dimensional subspaces. This, however, is in general very computationally complex. An alternative solution to this problem is to apply, after each iteration, a Newton optimisation step [46]. To account for human auditory perception, the unitnorm dictionary elements can be scaled [43], which is equivalent to scaling the inner products in (16). We will refer to this method as the weighted matching pursuit (WMP) algorithm. While this method performs well, it can be shown that it does not provide a consistent selection measure for elements of finite time support [47]. Rather than scaling the dictionary elements, we introduce a matching pursuit algorithm where psychoacoustical properties are accounted for by a norm on the signal space. We will refer to this method as psychoacoustical matching pursuit (PAMP). As mentioned in Section 3 (see (11)), the perceptual distortion can be expressed as D= 40 Figure 6: Perceptual distortion associated with the residual signal after sinusoidal modelling as a function of the number of sinusoidal components that were extracted. (16) ξ ∈Γ 60 2 γi ( f ) NMi + Ca 2 . (18) This norm is induced by the inner product x, y  =  a( f )x( f ) y∗ ( f ), (20) f facilitating the use of the distortion measure in selecting the perceptually best matching dictionary element in a matching pursuit algorithm. In Figure 6, the perceptual distortion associated with the residual signal is shown as a function of the number of real-valued sinusoids that have been extracted for a short segment of a harpsichord excerpt (cf. (11)). As can be seen the perceptually most relevant components are selected first, resulting in a fast reduction of the perceptual distortion for the first components. For a detailed description the reader is referred to [47, 48]. The fact that the distortion detectability defines a norm on the underlying signal space is important, since it allows for incorporating psychoacoustics in optimisation algorithms. Indeed, rather than minimising the commonly used l2 -norm, we can minimise the perceptually relevant norm given by (19). Examples include ratedistortion optimisation [32], linear predictive coding [49], and subspace-based modelling techniques [50]. 7. COMPARISON WITH THE ISO MPEG MODEL IN A LISTENING TEST In this section we assess the performance of the proposed perceptual model in the context of sinusoidal parameter estimation. The PAMP method for estimating perceptually relevant sinusoids relies on the weighting function a which, by definition, is the inverse of the masking curve. Equation (18) describes how to compute the masking curve for the proposed perceptual model. We compare the use of the proposed perceptual model in PAMP to the situation where the masking curve is computed using the MPEG-1 Layer I-II (ISO/IEC 11172-3) psychoacoustical model [1]. There are several reasons for comparison with the MPEG psychoacoustic model; the model provides a well-known Perceptual Model for Sinusoidal Audio Coding reference and because of its frequent application, it is still a de facto state-of-the-art model. Using the MPEG-1 psychoacoustic model masking curve directly in the PAMP algorithm for sinusoidal extraction is not reasonable because the MPEG-1 psychoacoustic model was developed to predict the masking curve in the case of noise maskees (distortion signals). It predicts for every frequency bin how much distortion can be added within the critical band centred around the frequency bin. This prediction is, however, too conservative in the case that distortions are sinusoidal in nature since in this case the distortion energy is not spread over a complete critical band but is concentrated in one frequency bin only. Hence, we can adapt the MPEG-1 model by scaling the masking function with the critical bandwidth such that the model now predicts the detection thresholds in the case of sinusoidal distortion. The net effect of this compensation procedure is an increase of the masking curve at high frequencies by about 10 dB, thereby de-emphasizing high-frequency regions during sinusoidal estimation. In fact, this masking power increase at higher frequencies reduces the gap between the masking curves between the ISO MPEG model and the proposed model (cf. Figure 4) By applying this modification to the ISO MPEG model, and by extending the FFT order to the size of the PAMP dictionary, it is suited to be used in the PAMP method. The dictionary elements in our implementation of the PAMP method were real-valued sinusoidal functions windowed with a Hanning window, identical to the window used in the analysis-synthesis procedure described below. In the following, we present results obtained by listening tests with audio signals. The signals are mono, sampled at 44.1 kHz, where each sample is represented by 16 bits. The test excerpts are Carl Orff, Castanet, Céline Dion, Harpsichord Solo, contemporary pop music, and Suzanne Vega. The excerpts were segmented into fixed-length frames of 1024 samples (corresponding to 23.2 milliseconds) with an overlap of 50% between consecutive frames using a Hanning window. For each signal frame, a fixed number of perceptually relevant sinusoids per frame were extracted using the PAMP method described above, where the perceptual weighting functions a were generated from masking curve derived from the proposed perceptual model (see (18)) and the modified MPEG model described above, respectively. For the MPEG model we made use of the recommendations of MPEG Layer II, since these support input frame lengths of 1024 samples. The masking curves were calculated from the Hanning-windowed original signal contained within the same frame that is being modelled using the PAMP method. Finally, modelled frames were synthesized from the estimated sinusoidal parameters and concatenated to form modelled test excerpts, using a Hanning window-based overlapadd procedure. To evaluate the performance of the proposed method, we used a subjective listening test procedure which is somewhat comparable to the MUSHRA test (multistimulus test with hidden reference and anchors) [51]. For each test excerpt, listeners were asked to rank 6 different versions: 4 excerpts modelled using the modified MPEG masking curve and fixed 1301 Table 1: Scores used in subjective test. Score 5 4 3 2 1 Equivalent Best Good Medium Poor Poorest model orders (i.e., the number of sinusoidal components per segment) of K = 20, 25, 30, and K = 35, and one excerpt modelled using the proposed perceptual model with K = 25. In addition, to have a low-quality reference signal, an excerpt modelled with K = 30, but using the unmodified MPEG masking curve was included. As a reference, the listeners had the original excerpt available as well, which was identified to the subjects. Unlike the MUSHRA test, no hidden reference and no anchors were presented to the listeners. The test excerpts were presented in a “parallel” way, using the interactive benchmarking tool described in [52] as an interface to the listeners. For each excerpt, listeners were requested to rank the different modelled signals on a scale from 1–5 (in steps of 0.1) as outlined in Table 1. The listeners were instructed to use the complete scale such that the poorest-quality excerpt was rated with 1 and the highestquality excerpt with 5. The excerpts were presented through high-quality headphones (Beyer-Dynamic DT990 PRO) in a quiet room, and the listeners could listen to each signal version as often as needed to determine the ranking. A total of 12 listeners participated in the listening test, of which 6 listeners worked in the area of acoustic signal processing and had previously participated in such tests. The authors did not participate in the test. Figure 7 shows the overall scores of the listening test, averaged across all listeners and excerpts. The circles represent the median score, and the error bars depict 25 and 75 percent ranges of the total response distributions. As can be seen, the excerpts generated with the proposed perceptual model (SiCAS@25) show better average subjective performance than any of the excerpts based on the MPEG psychoacoustic model, except for the MPEG case using a fixed model order of 35 (MPEG@35). As expected, the MPEG-based excerpts have decreasing quality scores for decreasing model order. Furthermore, the low-quality anchor (MPEG@30nt, i.e., the MPEG model without spectral tilt modification) received the lowest-quality score on average. The statistical difference between the quality scores was analysed using a paired t-test using a significance level of p < 0.01, and by working on the score differences between the proposed perceptual model and each of the MPEG-based methods. The H0 hypothesis was that the mean of such difference distribution was zero (µ∆ = 0), while the alternative hypothesis H1 was that µ∆ > 0. The statistical analysis supports the quality ordering suggested by Figure 7. In particular, there is a statistically significant improvement in using the proposed perceptual model (SiCAS@25) over any of the MPEG-based methods except for MPEG@35 which performs better than SiCAS@25 (p < 7.0 · 10−3 ). In fact, the model presented here
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.