ENHANCING SOURCE CODING SYSTEMS BY ADAPTIVE TRANSPOSITION

Abstract: The present invention relates to a new method for enhancement of source coding systems using high-frequency reconstruction. The invention teaches that tonal signals can be classified as either pulse-train-like or non-pulse-train-like. Relying on this classification, significant improvements on the perceived audio quality can be obtained by adaptive switching of transposers. The invention shows that the so-switched transposers must have fundamental differences in their characteristics.

Description: ENHANCING SOURCE CODING SYSTEMS BY ADAPTIVE TRANSPOSITION TECHNICAL MELD The present invention relates to a new method for enhancement of source coding systems using high- frequency reconstruction. The invention teaches that tonal signals can be classified as either pulse-trainlike or non-pulse-train-like. Relying on this classification, significant improvements on the perceived audio quality can be obtained by adaptive switching of transposers. The invention shows that the so- switched transposers must have fundamental differences in their characteristics. BACKGROUND OF THE INVENTION In "Source Coding Enhancement using Spectral-Band Replication" [WO 98/57436], transposition was defined and established as an efficient means for high frequency generation to be used in a HFR (High Frequency Reconstruction) based codec. Several transposer implementations were described. However, apart from a brief discussion on transient response improvements, programme dependent adaptation of fundamental transposer characteristics was not elaborated upon. SUMMARY OF THE INVENTION The present invention teaches that tonal passages, i.e. exceφts dominated by contributions from pitched instruments, can be characterised as "pulse-train-like" or "non-pulse-train-like". A typical example of the former is the human voice in case of vowels, or a single pitched instrument, such as trumpet, where the "excitation signal" can be modelled as a "pulse-train". The latter is the case where several different pitches are combined, and thus no single pulse-train can be identified. According to the present invention, the HFR performance can be significantly improved, by discriminating between the above two cases, and adapting the transposer properties correspondingly. When a pulse-train-like passage is detected, the transposer shall preferably operate on a per-pulse basis. Here, the decoded lowband, serving as the input signal to the transposer, can be viewed as a series of impulse responses h(n) of lowpass character with cut off frequency f c , separated by a period T p . This corresponds to a Fourier series with fundamental frequency 1 / T p , containing harmonics at all integer multiples of 1 / T p up to the frequency f c . The objective of the transposer is to increase the bandwidth of the individual responses h( ή ) up to the desired bandwidth Nf c where N is the transposition factor, without altering the period T p . Since the pulse period is preserved, the transposed signal still corresponds to a Fourier series with fundamental 1 / T p , now containing all partials up to Nf c . Hence this method provides a perfect continuation to the truncated Fourier series of the lowband. Some prior art methods satisfy the requirement of preservation of the pulse period. Examples are frequency translation, and FD- transposition according to [WO 98/57436], where the window is selected short enough not to contain more than one period, i.e. length(window) ≤ T p . Neither of those implementations handle material with multiple pitches well, and only the FD-transposition provides a perfect continuation to the truncated Fourier series of the lowband. When a non-pulse-train-like passage is detected e.g. when multiple pitches are at hand, the demands on the transposer instead shifts from preservation of pulse periods to preservation of integer relationships between lowband harmonics and generated higher partials. This requirement is met by the FD- transposition methods in [WO 98/57436], where the window is selected long enough that many periods T; of the individual pitches forming the sequence are contained within one window, i.e. length(window) » Ti. Hereby any truncated Fourier series [fi, 2f t , 3 ft , ■ ■ ■] in the transposer source frequency range is transposed to [ Nf 2 Nfi , 3 Nfi , ...], where Nis the integer transposition factor. Clearly, as opposed to the above per-pulse operation, this scheme does not generate a full continuation of the lowband Fourier series. This is tolerable for multi pitched signals, but not ideal for the single pitch pulse-train-like case. Thus, this transposition mode is preferably only used in non-pulse-train-like cases. According to the present invention, discrimination between pulse-like and non-pulse-like signals can be performed in the encoder, and a corresponding control signal sent to the decoder. Alternatively, the detection can be done in the decoder, eliminating the need for control signals but at an expense of higher decoder complexity. Examples of detector principles are transient detection in the time domain, as well as peak-picking in the frequency domain. The decoder includes means for the necessary transposer adaptation. As an example, a system using frequency translation for the pulse-train-like case, and a long window FD transposer for the non-pulse train-like case, is described. The actual switching or cross fading between transposers is preferably performed in an envelope-adjusting filterbank. The present invention comprises the following features: Adaptively over time selecting different methods for high frequency generation, based on whether the signal being processed has a pulse-train-like character or a non-pulse-train-like character. the selection is done based on analysis by peak-picking in a time- and frequency-domain representation of the signal. the different methods for high frequency generation are frequency translation and FD transposition, or - the different methods for high frequency generation are FD transposition with different window sizes, or the different methods for high frequency generation are time-domain pulse train transposition and FD transposition. BRIEF DESCRIPTION OF THE DRAWINGS The present invention will now be described by way of illustrative examples, not limiting the scope or spirit of the invention, with reference to the accompanying drawings, in which: Fig. la illustrates an input pulse-train signal x(n) . Fig. lb illustrates the magnitude spectrum | X(f) | of the signal x(ή) . Fig. 2a illustrates the impulse response h Q (n) of a FIR filter. Fig. 2b illustrates the magnitude spectrum | H Q (f) | of the FIR filter. Fig. 3 a illustrates a signal y 0 (ή) = x(ή) * h 0 (n) . Fig. 3b illustrates the magnitude spectrum | Y 0 (f) \ of the signal y 0 ( ) . Fig. 4a illustrates the decimated impulse response .. (n) of a FIR filter. Fig. 4b illustrates the magnitude spectrum | H x (f) | of the decimated FIR filter. Fig. 5a illustrates the transposed signal y l ( ) . Fig. 5b illustrates the magnitude spectrum | Y(f) | of the signal y x ( ) . Fig. 6 illustrates the magnitude spectrum | Y 2 (f) \ , after FD-transposition with a long window of the signal x( ) . Fig. 7 illustrates an implementation of the present invention on the decoder side. DESCRIPTION OF PREFERRED EMBODIMENTS The below-described embodiments are merely illustrative for the principles of the present invention for adaptive transposer switching for HFR systems. It is understood that modifications and variations of the arrangements and the details described herein will be apparent to others skilled in the art. It is the intent, therefore, to be limited only by the scope of the impending patent claims and not by the specific details presented by way of description and explanation of the embodiments herein. "Ideal transposition" of a single pitched pulse-train-like signal can be defined by means of a simple model. Let the original signal be a sum of diracs δ(n) , separated by m samples, i.e. a pulse-train oo x ( n ) ~ ∑ δ(n - Im) (Eq. 1) I =— oo Fig. la shows x(n), and Fig. lb the corresponding magnitude spectrum | X(f) | . Clearly | X(f) | corresponds to a of a Fourier series with fundamental f s / m, ere^ is the sampling frequency. Let y(n) be a low-pass filtered version of x(n), where the low-pass FIR filter has the impulse response h 0 (n) of length p such that p < m, see Figs. 2a and 2b for the time and frequency domain representation respectively. The filter cut-off frequency isf c . The output signal is then given by 00 00 y 0 (n) = x(n) * h 0 (n) = ∑ ^ n - lm) * h 0 (n) = h 0 n - Im) (Eq. 2) / -=— oo / = —00 i.e. a series of impulse responses, separated by m samples. Figs 3a and 3b show y 0 (n) and | F 0 (/) | . The original Fourier series has effectively been truncated at the frequency f c . Assume that a time domain based transposer is able to detect the individual impulse responses h 0 (n — Im) , and that those signals are decimated by a factor 2, i.e. every second sample is fed to the output. The discarded samples are compensated for by insertion of zeroes between the shorter responses h x (n — Im) , in order to preserve the length of the signal. The decimated impulse response h x (n) and the corresponding frequency representation | -. (f) | are shown in Figs 4a and 4b. Obviously, the narrowing of the time domain signal corresponds to a widening of the frequency domain signal, in this case by a factor 2. Finally, the 00 transposed signal y x (ή) = h (n -l m) and | Y t (f) | is shown if Figs 5a and 5b. The bandwidth of / = — 00 the LP filtered pulse-train has been increased, while preserving the correct time, and thereby also frequency, properties. The output signal y. (ή) corresponds to a Fourier series with partials reaching up to the frequency 2f c . The above transposition can be approximated in several ways. One approach is to use a frequency domain transposer (FD-transposer) such as the STFT transposer described in [WO 98/57436], but with different window sizes, i.e. a short window is used for pulse-train signals, and a long window is used for all other signals. The short window (of length <m in the above example) ensures that the transposer operates on a per pulse basis, giving the desired pulse transposition outlined above. A different approach for pulse transposition is using single-side-band modulation. This ensures that the period time between the pulses T p is correct, however, the generated partials are not harmonically related to the partials of the lowband. It should also be pointed out that different pulse-train transposition algorithms may perform differently for different program material. Therefore several pulse-train transposers could be used with suitable detection algorithms, in the encoder and/or the decoder, to ensure optimal performance. For the pulse-train signal used in the example above, an implementation with a FD-transposition method using a long window will give unsatisfactory results. This is due to the following: When using a long window (of length » m) in the FD-transposition method, the following relation applies: u(n) + βi) , (Eq. 3) t=0 i=0 where u( ) is the input, v(n) is the output, is the transposition factor, Nis the number of sinusoids,/ / , e-(«), a i are the individual input frequencies, time envelopes and phase constants respectively, β 2 * are the arbitrary output phase constants anάf s is the sampling frequency, and 0 < Mf t ≤ f s /2. The input signal x(n) will using the relation in Eq. 3 yield an output signal y 2 (n) with a magnitude spectrum | Y 2 (f) | according to Fig. 6, where the partials of y 2 (n) are harmonically related to the partials of x(ή). However, the distance between them has increased according to the transposition factor, i.e. the pitch of the signal has increased by the transposition factor. When adding this new highband signal to the original lowband signal, the two different pitches can clearly be discriminated. This causes for instance speech signals to sound as if an additional speaker was speaking simultaneously but at a higher pitch, i.e. a so called ghost voice occurs. However, as soon as the input signal does not display single-pitched pulse-train characteristics, a pulse transposition is not applicable if high-quality HFR is required. Thus it is highly desirable to detect which transposition method that gives the best result at a given time, in order to optimise performance of the HFR system. In order to benefit from the different transposition characteristics in a decoder it is necessary to, in the encoder and/or the decoder, asses which transposition method will give the best results at a given time. There are several ways to detect pulse-train-like characteristics in a signal, it can be done in either the time-domain or in the frequency domain. If a pulse train has a period time T p the pulses will be separated in time by that period time and the frequency components will be 1 / T p apart. Hence if T p is high, i.e. a low-pitched pulse-train, this is preferably detected in the time domain since the pulses are relatively far apart and thus easy to discriminate. However, if T p is low, this corresponds to a high-pitched pulse-train and hence it is more easily detected in the frequency domain. For time domain detection it is preferable to spectrally whiten the signal in order to obtain an as pulse train like character as possible for easier detection. The detection schemes in the time domain and the frequency domain are similar. They are based on peak picking and statistical analysis of the distances between picked peaks. In the time domain the peak-picking is done by comparing the energy and peak level of the signal before and after an arbitrary point, thus searching for transient behaviour in the signal. In the frequency domain the peak detection is done on the harmonic product spectrum, which is a good indication if a strong harmonic series is present. The distances between the detected pitches are presented in a histogram upon which the detection is made by comparing the ratio between pitch-related entries and non-pitch related entries. The implementation exemplified in Fig. 7 shows the usage of two different types of transposition methods in the same decoder system - the types being a FD transposer using a long window and a frequency translating device [PCT/SEO 1/01150]. The demultiplexer 701 unpacks the bitstream signal and feeds it to an arbitrary baseband decoder 702. The output from the baseband decoder, i.e. a bandwidth-limited audio signal, is fed to an analysis filterbank 703, which splits the audio signal into spectral bands. The audio signal is simultaneously fed to an FD-transposer unit 705. The output therefrom is fed to an additional analysis filterbank 706, which is of the same type as the filterbank unit 703. The data from the filterbank unit 703 is patched 704 according to the principles of frequency translating devices and fed to the mixing unit 707 together with the output from the analysis filterbank 706. The mixing unit blends the data according to the control signal transmitted from the encoder or control signals obtained by the decoder. The blended spectral data is subsequently envelope adjusted in the envelope adjuster 708, using data and control signals sent in the bitstream. The spectral-adjusted signal and the data from the analysis filterbank 703 are fed to a synthesis filterbank unit 709, thus creating an envelope adjusted wideband signal. Finally, the digital wideband signal is converted 710 to an analogue output signal.

Claims: CLAIMS 1. A method for enhancement of audio source coding systems using high frequency reconstruction, characterised by: adaptively over time selecting different methods for high frequency generation, based on whether the signal being processed has a pulse-train-like character or a non-pulse-train-like character. 2. A method according to claim 1, characterised in that said selection is done based on analysis by peak- picking in a time- and frequency-domain representation of said signal. 3. A method according to claim 1, characterised in that said different methods for high frequency generation are frequency translation and FD transposition. 4. A method according to claim 1, characterised in that said different methods for high frequency generation are FD transposition with different window sizes. 5. A method according to claim 1, characterised in that said different methods for high frequency generation are time-domain pulse train transposition and FD transposition.

Inventors: EKSTRAND PER, HENN FREDRIK, KJOERLING KRISTOFER, VILLEMOES LARS, EKSTRAND, PER, HENN, FREDRIK, KJOERLING, KRISTOFER, VILLEMOES, LARS
Applicants: CODING TECHNOLOGIES SWEDEN AB, EKSTRAND PER, HENN FREDRIK, KJOERLING KRISTOFER, VILLEMOES LARS, EKSTRAND, PER, HENN, FREDRIK, KJOERLING, KRISTOFER, VILLEMOES, LARS
Application year: 2001
Main classification: G10L19
IPC codes: G10L11, G10L13, G10L21, H03M7