Optimized channel reduction processing of a stereophonic audio signal

By adjusting phase differences and applying adapted filters with crossfade, the method addresses issues of reverberation and artifacts in stereo-to-mono downmixing, achieving high-quality mono signals compatible with low-latency encoders.

FR3147898A1Inactive Publication Date: 2024-10-18ORANGE SA
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
FR2023003719
Authority / Receiving Office
FR · FR
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-13
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing methods for downmixing stereo audio signals to mono signals suffer from issues such as increased reverberation, spectral coloring, and audible artifacts like echo and crackling, particularly in low ISD situations, and are not compatible with audio encoders that operate without frame overlap, leading to latency and delay.

Method used

A method that adjusts the phase difference between stereo channels by shifting them by half the phase difference determined between the channels, using a phase indicator to select appropriate channel reduction processing, and applying adapted filters to avoid circular convolution and latency, with a crossfade to smooth transitions.

Benefits of technology

This approach effectively reduces reverberation and spectral coloring, minimizes audible artifacts, and ensures compatibility with low-latency audio encoders by using adapted filters and crossfade techniques, resulting in a high-quality mono signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

Optimized Channel Reduction Processing of a Stereophonic Audio Signal. The invention relates to a method for channel reduction processing of a stereophonic signal to obtain a monophonic signal, in which, to apply a summation of the stereophonic signal channels during a first channel reduction processing step (T1), the left and right channels of the stereophonic signal are simultaneously shifted by an angle defined by half the determined phase difference (303, 304) between the two channels of the stereo signal. The invention also relates to a channel reduction processing device implementing the method. Abstract figure: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

Title of the invention: Optimized channel reduction processing of a stereophonic audio signal Technical field

[0001] The present invention relates to the general field of audio signal processing. The invention relates in particular to the channel reduction processing commonly called "downmixing" of a multichannel audio signal. Of particular interest is the processing of reducing a stereophonic signal to a monophonic signal.

[0002] This type of processing finds applications generally in the field of audio technologies, and more specifically in the field of audio coding, whether at the encoding or decoding stage. Prior art

[0003] Downmixing consists of deducing, from a combination of the N channels of a signal multichannel x, a signal y consisting of a smaller number M of channels. In practice, this consists of defining a function f (. ) such that:

[0004] yW rx^n) 1 ï > LMn) JI with M < N

[0005] In this invention, we are interested in the particular case M=1 and N=2, we will then speak of mono downmix. In the case N=2, we speak of stereo content or signal, where channel 1 (%i) is referenced as the left channel or L (for Left), and channel 2 (x2) as the right channel or R (for Right). In the case of the signal y obtained after reduction processing, we speak of a monophonic or mono signal, which we will denote M hereinafter.

[0006] These stereo signals can be obtained from a recording using a pair of stereo microphones. There are a number of microphone pairs that can be used to create this type of content.

[0007] Among the most popular, we can cite the XY pair composed of 2 cardioid microphones with a difference in orientation angle between 90° and 135°. The MS pair for "Mid-Side" is another very widespread pair composed of a cardioid microphone, and a second microphone called "figure of 8" oriented at 90°. By combining these 2 microphones (sum / difference), we can create the left and right channels of stereo content. These pairs are said to be coincident, that is to say that the microphone capsules do not have a delay between them, the spatialization being perceived by the difference in sound intensity between the left and right channels.

[0008] Another category of so-called phase stereo pairs consists of using microphones that are distant from each other, thus creating a phase difference between the channels. for sources located closer to one of the microphones. The best known is the AB pair which uses 2 omnidirectional microphones spaced from a few centimeters to several meters. Another very common pair is the ORTF pair which uses both a phase difference by spacing the microphones 17cm apart and an amplitude difference by cardioid directivities (the microphones have an angle around 90°). The binaural pair consists of placing omnidirectional microphones in the ears of an artificial head: this type of device allows you to natively create content that can be listened to with headphones.

[0009] The simplest method for creating a downmixed signal is known as passive downmixing. It involves averaging the left and right channels of the stereo signal such that:

[0010]

[0011] or in the frequency domain:

[0012] M^k

[0013] where Xt(Æ, f ), i = 1,2 is the short-term Fourier transform of x;( t) (or FFT in English for “Fast Fourier Transform”), / being the frequency index and k the frame index: X,(k, f) = XXJw(0Xfor all / e (0, .... N -1}

[0014] where k is the index of the frame of size L, and N the size of the FFT, w(.) an apodization window of size, of the sine or Hann type or other, adapted to the size of the frame. X,(.) can be the signal t) itself or an augmented version with 0 (0-padding): for example, in the case where the size of the frame L is smaller than the size of the FFT N, x^k,.) can be:

[0015] xXMHO, ■■■,0,w(l)xi(k*L + l)], 0 <l<L

[0016] This very simple method works very well in situations where the right and left channels are in phase. However, in situations where the microphones are not coincident and have phase differences, such mixing generates comb filtering, which manifests itself by a coloration of the original signal. This is due to the fact that depending on the spacing of the microphones, the position of the source relative to the microphone pair and the frequency, the left and right channels of the same source can be either in phase as shown in Figure 1a, or in phase opposition as shown in Figure 1b. Also, during downmixing, the left and right signals will either add up (constructive interference) or cancel each other out (destructive interference), thus creating level variations and coloration effects of the reduced signal t) • The coloration comes from the effect of the filtering in comb: the effects of constructive and destructive interference are manifested in different frequency bands, thus modifying the balance and therefore the timbre of the signal from the downmix compared to the original.

[0017] To correct this intensity level defect according to the frequencies, the downmix of the e-AAC+ codec implements a level correction which ensures that the energy level of the reduced signal, in each frequency band, remains comparable to the original one:

[0018] = with [°019] y( =

[0020] This approach allows to compensate to a certain extent the decrease in intensity of the downmix. However, this compensation leads to overamplifications when the signals are close to phase opposition: also, in practice, the correction factor y(f) is capped (a factor 2 seems an upper limit).

[0021] In the same approach, [Fig.7] describes a method of reducing channels from stereo to mono integrated into the public IVAS candidate codec available at:

[0022] https: / / forge.3gpp.org / rep / ivas-codec-pc / ivas-codec / -Ztree / main

[0023] The input 2-channel signal x(m) is de-interleaved (block 701) to find the two left and right channels. Then a frequency analysis with windowing and Fourier transform (blocks 702 and 703) is carried out to obtain the spectra of the 2 channels, and the cross-correlation based on the phase spectra is estimated (block 704) before determining the time difference between the channels (denoted here ITD even if it is formally an ICTD between 2 channels) by peak search (block 705); block 705 also provides the correlation level R* corresponding to the ITD.

[0024] The scale reduction factors are then determined as follows (block 706):

[0025] if (itd != 0):

[0026] g = - 0.5 * R* + 0.5 if itd>0

[0027] 0.5 * R* + 0.5 if itd<0

[0028] otherwise

[0029] g = 0.5

[0030] The 2 channels are combined into a mono signal in block 706 according to this gain g (with a smoothing of the gain value applied sample by sample at each start of frame). Then, the energies of the left and right channels and of the mono signal are determined (block 708, 709, 710). The left and right channels are separately reinjected (added) in blocks 713 and 713 to the mono signal from block 706 according to an energy compensation determined in block 711 with respective scale factors defined in blocks 712 and 713.

[0031] These methods, in addition to the coloring of the signal from the downmix, linked to the filtering in

[0032]

[0033]

[0034]

[0035]

[0036]

[0037]

[0038]

[0039]

[0040]

[0041] imperfectly corrected comb, suffer from excess reverberation linked to the summation of out-of-phase signals. Indeed, compensating for an identical delay for all frequencies is not realistic, this delay being linked to the different sources making up the content. In practice, this leads, in addition to additional coloration, to a potential loss of intelligibility of the sources, a defect that level compensation cannot correct. Other downmixing approaches seek to avoid the above-mentioned defects. The principle of these methods is to re-phase the left and right signals before their summation. In the paper "A stereo to mono downmixing scheme for MPEG-4 parametric stereo encoder" by Samsudin, E. Kurniawati, N. Boon Poh, F. Sattar, S. George, in Proc. ICASSP, 2006, a method is proposed which consists of applying, in the frequency domain, a phase shift q> on one of the channels, generally the right, in order to re-phase it with the left channel, such as: The ideal phase shift is given by what is called the IPD for “Inter-channel Phase Difference” in English: Z / >D( / )= ^,( / )^( / )) where X* is the conjugate of X and L indicates the phase of the complex operand. It is calculated in the frequency domain: this allows the spectral components of different sources to be re-phased, a source with its own IPD being able to be predominant in one frequency band / , while another source with a different IPD can be predominant in another band / . In the case of the MPEG4 codec described in the Samsudin document cited above, the IPD applied is that estimated by averaging over a Bark band and not the IPD calculated for each frequency band, the latter proving to be particularly noisy and variable from one frame to another. In the published patent application WO2017103418, a downmix method is proposed that combines the method proposed by Samsudin with passive downmixing. In particular, it proposes an ISD indicator for "Inter-Spectral Distance" that allows you to choose, frequency band by frequency band, which is the most suitable method for rephasing signals: / iDU ) - This indicator allows to measure whether the signals are rather in phase (ISD < 1), that is to say with a phase difference or IPD in the interval [ - ] or rather in phase opposition (ISD > 1), i.e. with an IPD in the interval j. When they are in phase opposition, a large ISD value is synonymous with a

[0042]

[0043]

[0044]

[0045]

[0046]

[0047] comparable level between the left and right channels and rephasing is important to avoid coloration and level loss effects. Conversely, an ISD value close to 1 is representative of one channel being predominant over the other; in the latter case, rephasing is not important, as the downmix is ​​roughly equal to the predominant signal. It is, however, important to avoid modifying the phase of the right channel if it is predominant. Also, in this patent application, the following downmix type selection mechanism is proposed: M (f)= if ISD(f) > 1.3 M if ISD( f) < 1.3 The passive downmix proposed in the aforementioned patent application, for low ISD situations sometimes introduces increased reverberation. On the other hand, the method proposed in this patent application requires applying filtering in the spectral domain, the reconstruction of the reduced signal being carried out from the short-term inverse Fourier transform (TFCT or FFT in English) of the signal M(f,k). This type of filtering generates a circular convolution which creates audible artifacts: echo, pre-echo, crackles. To mask these artifacts, one can use an implementation with a frame overlap associated with a suitable windowing (window for analysis and / or synthesis) guaranteeing a reconstruction of the filtered signal. In general, this overlap is not compatible with the operation of audio coders which work with adjacent frames, iewithout overlap (N=L); moreover, this type of reconstruction induces a delay, generally of half a frame which is the classic overlap, which is not acceptable for a coder which has strong constraints in terms of latency. Another implementation, called Overlap-and-Add (OLA), is also possible: this method requires a 0-padding step on both signals and filters to avoid circular convolution. However, tests show that with such filters whose phase varies very rapidly from one frame to the next, an OLA approach cannot completely mask the artifacts at the transition of certain frames, and the artifacts remain audible. Statement of the invention The invention improves the state of the art. To this end, the invention relates to a method for processing channel reduction of a stereophonic signal to obtain a monophonic signal, in which, to apply a summation of the channels of the stereophonic signal during a first channel reduction processing, the left and right channels of the stereo signal phonic are simultaneously shifted by an angle defined by half the phase difference determined between the two channels of the stereo signal.

[0048] Thus, by resetting the two channels of the stereo signal, this limits or even cancels the addition of reverberation. On the other hand, resetting by half the phase difference determined between the two channels of the stereo signal, strongly limits the coloring of the spectra of the modified left and right signals compared to the Samsudin method cited above which modifies only the right channel by the phase difference.

[0049] The invention thus improves the existing system by proposing a new downmix method in the case of signals in phase or unbalanced sound intensity.

[0050] This downmix method can be defined by the following equation:

[0051] M(kf) =

[0052] where Xi(k,f) represents the first channel of the stereo signal, X2(k,f) the second channel, IPD represents the phase difference between the channels of the stereo signal, M(k,f) represents the mono signal resulting from the channel reduction processing, / being the frequency index and k the index of a frame of the stereo signal.

[0053] This equation can be expressed in the frequency domain in the form of a filter such as: +H2(k, f )X2(k, f )

[0055] In one embodiment, the method further comprises a step of determining a phase indicator for each frequency f, representative of a measurement of the degree of phase opposition between the frequency components of the channels of the stereo signal, the first channel reduction processing being implemented in the case where the indicator is lower than a threshold. This has an advantage in situations where the intensity of the right channel is predominant (phase indicator, ISD, close to 1) and contributes mainly to the downmix: it undergoes a reduced spectral modification, which is in practice almost inaudible.

[0056] In the case where the phase indicator is greater than a threshold, a second channel reduction process is performed where only one of the channels of the stereo signal is shifted by an angle defined by the phase difference determined between the two channels of the stereo signal, to apply a summation of the channels of the second channel reduction process.

[0057] This processing is then well suited to the stereo signal channels.

[0058] In one embodiment, the comparison of the phase indicator to a threshold is performed per frame of the stereo signal in order to determine the application of a first or of a second channel reduction processing for this frame.

[0059] Thus, this decision by frame makes it possible to avoid significant phase shifts between frequencies and other audible artifacts which can appear when the decision varies from one frequency to another as in the state-of-the-art methods.

[0060] In another embodiment, a time difference indicator between the stereo channels is determined per frame of the stereo signal, a third channel reduction process being implemented in the case where the indicator is greater than a threshold.

[0061] Thus, another criterion is applied to select, in this embodiment, another channel reduction processing method, called third processing.

[0062] In a particular embodiment, taking into account the time difference indicator between the stereo channels, determined per frame of the stereo signal, in the case where this indicator is less than a threshold, a comparison of the phase indicator with a threshold is carried out in order to determine the application of a first or a second channel reduction processing for this frame.

[0063] This comparison of the time shift indicator is then carried out upstream of the comparison of the phase indicator to another threshold. These different comparisons make it possible to best adapt the channel reduction processing to the characteristics of the stereo signal.

[0064] In one embodiment, the phase difference determined between the two channels of the stereo signal is smoothed over time by a forgetting factor.

[0065] Indeed, the phase difference can vary rapidly over time. Also, the filters used for the different channel reduction treatments can vary very rapidly from one frame to another, which causes discontinuities that are sometimes audible during the transition from one frame to another. Smoothing the phase difference therefore makes it possible to limit this effect.

[0066] In one embodiment, the channel reduction processing corresponds to filtering the channels by filters, the method comprising a preliminary phase of adapting the filters before application to the stereo signal by at least one truncation and windowing operation.

[0067] This adaptation of the filters makes it possible to avoid circular convolution and latency which can exist in state-of-the-art methods.

[0068] This preliminary adaptation phase comprises, in one embodiment, the following steps: - obtaining the impulse responses of the filters corresponding to the channel reduction processing;

[0069] - truncation of a part of the impulse responses;

[0070] - weighting of the remaining part by applying a weighting window; - normalization of the resulting impulse responses from windowing to obtain the appropriate filters, to be applied to a stereo signal frame.

[0071] Advantageously, the application of the channel reduction processing by adapted filters is carried out from one frame to another by a crossfading step taking into account the impulse responses of the filters used for the frame preceding the current frame.

[0072] This crossfade transition makes it possible to avoid audible artifacts when the filters are very different between two successive frames, for example when a new source appears.

[0073] The invention relates to a channel reduction processing device comprising a processing circuit for implementing the steps of the channel reduction processing method as described previously.

[0074] The invention relates to a computer program comprising instructions for implementing the channel reduction processing method as described above, when executed by a processor.

[0075] Finally, the invention relates to a storage medium, readable by a processor, storing a computer program comprising instructions for executing the channel reduction processing method described above. Brief description of the drawings

[0076] Other characteristics and advantages of the invention will appear more clearly on reading the following description of particular embodiments, given as simple illustrative and non-limiting examples, and the appended drawings, among which:

[0077] [Fig la] illustrates channels of a stereophonic signal, in phase as previously described;

[0078] [Fig 1b] illustrates channels of a stereophonic signal, in phase opposition as previously described;

[0079] [Fig.2] illustrates in block diagram form a channel reduction processing chain in one embodiment of the invention;

[0080] [Fig.3] illustrates an embodiment of a filter calculation for channel reduction processing, as well as a channel reduction processing selection;

[0081] [Fig.4] illustrates an embodiment of an adaptation phase of a channel reduction processing filter;

[0082] [Fig.5] illustrates an embodiment of a transition of the application of the channel reduction processing during a transition between two stereo signal frames;

[0083] [Fig.6] illustrates another embodiment of a filter calculation for channel reduction processing, as well as a channel reduction processing selection;

[0084] [Fig.7] illustrates an existing channel reduction processing method described pre- cededly;

[0085] [Fig.8] illustrates an exemplary structural embodiment of a channel reduction processing device according to an embodiment of the invention. Description of the embodiments

[0086] [Fig.2] shows an example of a processing chain for a stereophonic audio signal, the processing comprising a channel reduction process known as “downmix”.

[0087]

[0088]

[0089]

[0090]

[0091]

[0092]

[0093]

[0094]

[0095] At the input of this processing chain, a stereophonic signal x composed of two channels (xi(n) and x2(n)) also called right channel and left channel initially divided in 201, into frames of L samples (xi(k,l) and x2(k,l), k being the index of the frame and n the index of the sample). Block 202 applies a FFT type transform (for "Fast Fourier Transform" in English), to obtain signals in the frequency domain (Xi(k,f) and X2(k,f), f being the index of the frequency). In 203, a selection and a determination of the channel reduction filter to be applied to a signal frame are then carried out. This step will be described with reference to [Fig.3]. The filter thus determined is conditioned (or adapted) in 204 to make it causal and optimize it in order to reduce the processing complexity. This adaptation phase is described with reference to [Fig.4]. Once the filter is determined and adapted for the current frame, it is applied at 205 to this current frame. In order to avoid audible artifacts due to a change of filters between two frames, a crossfade is performed taking into account the filter of the previous frame h^k- 1,1) h^k-1,1) This step will be described with reference to [Fig.5]. [Fig. 3] describes a detailed embodiment of block 203 of [Fig. 1]. In this processing block, a first or a second channel reduction process to be applied to a current frame of the stereophonic signal is selected and determined. A first method of channel reduction processing Tl is defined here by shifting the left and right channels of the stereo signal simultaneously by an angle defined by half the phase difference (IPD) determined between the two channels of the stereo signal. We thus have a downmix signal, as follows: M(k This method avoids excess reverberation type degradation generated by a classic downmix (average of the two signals) or comb filtering type in the event of a time lag between the two channels. This downmix thus defined can be seen, in the frequency domain as a filtering according to the following equation:

[0096] M(k,f) + H2(kf')X2(k,f')

[0097] with^ ^Æ e< y) = .

[0098] A second T2 downmix method is for example defined as that proposed in the previously cited Samsudin document.

[0099] In this second method, we then have Hf ) = and H-,(k, f) =

[0100] The channels of the stereo signal, in the frequency domain (Xi(k,f) and X2(k,f)), serve on the one hand to calculate a phase indicator at 301, representative of a measurement of the degree of phase opposition between the channels of the stereo signal and on the other hand the phase difference between the channels (IPD) at 303.

[0101] The phase indicator is for example defined by the ISD indicator for “Inter-Spectral Distance” as defined above.

[0102] In the embodiment described herein, the ISD is determined per stereophonic signal frame so that the decision to select a first channel reduction process (first downmix) or a second can be made on a frame-by-frame basis.

[0103] This decision by frame makes it possible to avoid significant phase shifts between frequencies and other audible artifacts which can appear when the decision varies from one frequency to another as in the patent application cited above.

[0104] To apply a frame-based decision, a decision criterion according to the ISD phase indicator is defined according to the following equation at 302:

[0105] card{ZS7W)>!-3} ISD ( k ) = ; ----- 7' number of j requences

[0106] This criterion measures the percentage of frequencies whose criterion is favorable to downmixing with re-phasing, i.e. when ISD(k, f) > 1.3- The decision is taken to apply the first downmix as defined above, with re-phasing, when ISD(k) exceeds a certain threshold ISDth, which is set for example at 70%.

[0107] We then have in 305 the following decision of downmix selection between T1 and T2: 8.1081 hsDikïklSD,,- H2(k,f)=^- [ISD(k)>ISD!h :

[0109] In 303, the phase difference IPD is obtained between the two channels of the stereo signal by IPD ( / <, / )= ^ ( X1 ( k, f ) M ( k, f) )where A indicates the Phase of the complex ^Period.

[0110] However, the frame decision may sometimes be insufficient because 1TPD, as calculated according to the above formula, varies very rapidly over time. Also, the filters

[0111] Hj(k, f), can vary very quickly from one frame to another, which causes discontinuities that are sometimes audible during the transition from one frame to another. To limit this effect, we can use a smoothed version of the IPD in time to calculate the filters k, / ) • One way to smooth the IPD is to apply a low-pass filtering of type IIR of order 1, in 304, such that:

[0112] IPD(k, f) = a(f)IPD(k, f) + ( la(f) )IPD(kf)

[0113] The forgetting coefficient a(f ) is chosen ad-hoc. It may be interesting to choose a large forgetting coefficient in the low frequencies, typically below 5kHz, because this allows phase coherence to be maintained in the low part of the spectrum from one frame to another, the spectrum of the speech signals being stationary, particularly in its low part and the particular ear being sensitive to the phase in this part of the spectrum. Conversely, it is interesting to choose a low forgetting coefficient in the high frequencies: in the high frequencies, typically above 5kHz, the phase continuity of the speech signals is less marked and the ear is less sensitive to phase discontinuities in this part of the spectrum.

[0114] We can choose a forgetting coefficient of the following form:

[0115] «( / ) =

[0116] The values ​​Umax amin f and f . are determined experimentally. In lj ' ' J max J mm s 1 in the case of adjacent frames of length L=20ms, we can choose the following set of parameters:

[0117] amc,x=G^, amin = V.^ fmm = 0Jimix = 5kHz

[0118] Figure 4 now details block 204 of Figure 2. The filters Hj( k, f ) as for example defined in the downmix methods T1 and T2 defined above are reconditioned or even adapted to avoid circular convolution.

[0119] In a first step, at 401, the impulse responses h^k, l) of the filters H^k, f) are calculated such that:

[0120]

[0121] h^k, l) = FFF* {Hj(k, f}}, i= 1.2 where the filters k, l) are of size N, dimension of the FFT.

[0122] The impulse responses thus defined are classically non-causal. A classic technique to make them causal consists of performing a rotation of L / 2 samples to center the response in L / 2. The disadvantage is that the filter thus reconstructed then has a latency of L / 2. To avoid this latency, we choose to truncate the filter, in 402, by keeping only a portion of the first half of the impulse response h^k, l) as follows:

[0123] ïi^l) ^(k, l), 0< 1 <p<n 2

[0124] This filter has the advantage of generally having a maximum (in absolute value) on its first sample, which guarantees zero latency. In terms of frequency response, it has a phase roughly equal to the optimal rephasing filter l)-

[0125] The choice of P depends on different criteria: a value of P close to N / 2 guarantees a near-optimal phase re-phasing, while a lower value limits the computing power required for filtering. A reduced value of P also smooths the phase of the filter. This has an advantage with filters defined by T2 processing as defined above where the phase varies very quickly from one frequency to another: these variations can result in a very high group delay perceptible to the human ear. A low value of P allows all or part of these artifacts to be eliminated.

[0126] The filter thus truncated ht(k, l), in particular when P <n 2, voire p«:n présente une queue de réponse impulsionnelle qui ne tend pas vers 0. cela crée des discontinuités audibles type cliquetis à la transition entre 2 trames. aussi, pour éviter ces artefacts audibles, on pondère h^k. i) avec fenêtre w(j ), en 403, tel que :

[0127] h(k,l) =w(l)Jii(kJ)

[0128] where h? ( l ) is monotonically decreasing and whose coefficients tend towards 0 as n tends towards P. This makes it possible to reduce the energy of the samples at the end of the filter and to avoid discontinuities during the transition between filters of consecutive frames.

[0129] This window can be a triangular half-window, or a Hann half-window:

[0130] 1-1 / P WU) = COS(M2P)

[0131] Due to its truncation and windowing, the filters hj ( k, l ) have a reduced energy compared to that of the optimal filter h^k, fl): the latter, as a pure phase-shifting filter, has a norm 1 / 2 by construction. Also, we can proceed to a normalization of the energy of the filter thus truncated and windowed, in 404, such that: 101321 h(k!\-

[0133] Where || x(.) || is the 2-norm of a vector. [Fig.5] now describes in detail block 205 of [Fig.l] where an OLS (Overlap-and-Save) implementation of the filtering is performed either in the time or frequency domain. The choice of the domain will be made according to the complexity which depends on the size of the filter re- relative to that of the frame to be processed.

[0134] Here we present an OLS type implementation in the time domain, with adjacent frames of size L.

[0135] First, we concatenate, in 501, the current frame with the Pl samples of the previous frame (Save principle):

[0136] xz(M = [x^kL-P + 2), ...,xX^- l),xX^U), ...xz((^+1)]

[0137] Each channel is filtered by its phase shifter filter at 503: 101381 ylk,!) p)^ 0il <l

[0139] The mono downmix is ​​then created by adding the two channels back into phase at 505

[0140] m^J^y^k^+y^k,!), 0 <!--<L<br-->

[0141] In practice, the filters can be very different between two successive frames, for example when a new source appears. In this case, the transition between m ( k - 1, l ) and m ( k, l ) can become audible. To avoid these artifacts, we can apply a cross-fade step. To achieve this cross-fade, we apply the filters / c-1, ) to the current frame over a number of samples X: 101421 y,J^=ï^l.(k-lPÏUkJ + P-pY 0il <x

[0143] This is achieved by block 502 of [Fig.5].

[0144] The number of samples required for the cross-fade will have to be determined experimentally, depending on the size of the filters, the sampling frequency, etc.

[0145] We then create the mono downmix m^k, / ) in 504, from filters of the previous frame:

[0146] m^l^y^kj-l+y^k,!), OiKX

[0147] The signal from the downmix m(k, Z) is created at 506, from a cross-fade according to the following equation:

[0148] f£(Z) jn (kJ)+ Q<1 <x m(kj) = \ M m(k,l), X <i<l

[0149] Where j0( / ) is a monotonically decreasing function, with ^(0) = (and fi(X - 1) = e with e a value close to 0 or zero. Typically, we can choose a half-Hann window:

[0150] p(j) =cos(ÿ),0£Z <x

[0151] It should be noted that, in an integration with other downmix methods as in [Fig.6], the methods cannot always be represented by an operation filtering. This is the case of the T3 method of [Fig.7] or any other method whose gain depends on the instantaneous level of the signal.

[0152] [Fig.6] illustrates a channel reduction processing device 600, within the meaning of the invention.

[0153] In this case, one solution is to calculate the downmixes of each method for the current frame k and to operate a transition from one downmix to the other by cross-fade. More precisely, in the case of a transition from a method T1 (or T2) to the method T3, the downmix can be carried out between the mono downmixes of the 2 methods, i.e. at the output of T1 (or T2) and the signal of the method T3. The downmix can also be carried out between the output of T1 (or T2) and the signal d(n). In the latter case, the energy compensation of the method T3 (adapt_gain) would apply permanently to all the methods. The decision to switch from one method to another may be motivated by criteria other than 1TSD, for example parameters already calculated by the T3 method (Param. data in [Fig.6]) such as the ITD, by choosing to apply the T3 method when the ITD is very important for example, or any other criterion or combination of criteria.

[0154] [Fig.8] illustrates a channel reduction processing device 800, within the meaning of the invention.

[0155] The device 800 comprises a processing circuit typically including: - a memory MEM1 for storing instruction data of a computer program within the meaning of the invention; - an INT1 interface for receiving a stereo audio signal x; - a processor PROC1 for receiving this signal and processing it by executing the computer program instructions stored in the memory MEM1, with a view to carrying out channel reduction processing; in particular, the processor being capable of controlling the processing modules as described with reference to figures 2 to 5; and - a COM 1 communication interface for transmitting the reduced signals, resulting from the channel reduction processing, y, to another processing module, for example a coding or decoding module of an audio signal coder or decoder.

[0156] Of course, this [Fig.8] illustrates an example of a structural embodiment of a channel reduction processing device within the meaning of the invention. Figures 2 to 7 commented above describe in detail functional embodiments of this device.

[0157] Applications of this type of channel reduction processing are found for example in audio coding, for example when the remote party does not have the capacity to reproduce stereo sound on its terminal. In this case, it is not necessary to transport a stereo signal and this saves bandwidth. This type This process can occur during point-to-point conversations if one of the participants uses stereo or binaural sound recording. This type of process can also be present during multi-party conferences: the conference bridge spatializes the scene by creating a stereo scene, but not all participants necessarily have stereo reproduction capabilities. It is then appropriate to downmix the scene to mono for these participants.

[0158] The invention can also be applied for audio decoding: in this case, it is the user's renderer (restitution module) which will perform the downmix of the stereo content to adapt to the user's reduced capacities (single loudspeaker for example).< / x> < / x> < / x> < / l> < / n>

Claims

Claims

1. A method of channel reduction processing of a stereophonic signal to obtain a monophonic signal, in which, to apply a summation of the channels of the stereophonic signal during a first channel reduction processing (Tl), the left and right channels of the stereophonic signal are simultaneously shifted by an angle defined by half of the determined phase difference (303, 304) between the two channels of the stereophonic signal.

2. The method of claim 1 wherein the first channel reduction process is defined by the following equation: . ,z Xi(kJ)^:^+X2(^ where Xi(k,f) represents the first channel of the stereo signal, X2(k,f) the second channel, IPD represents the phase difference between the channels of the stereo signal, M(k,f) represents the mono signal resulting from the channel reduction process, / being the frequency index and k the index of a frame of the stereo signal.

3. Method according to one of the preceding claims, in which the method further comprises a step of determining a phase indicator for each frequency / representative of a measurement of the degree of phase opposition between the frequency components of the channels of the stereo signal, the first channel reduction processing being implemented in the case where the indicator is lower than a threshold.

4. A method according to claim 3 wherein, in the case where the phase indicator is greater than a threshold, a second channel reduction process is performed where only one of the channels of the stereo signal is shifted by an angle defined by the phase difference determined between the two channels of the stereo signal, to apply a summation of the channels of the second channel reduction process.

5. Method according to one of claims 3 to 4, in which the comparison of the phase indicator with a threshold is carried out per frame of the stereo signal in order to determine the application of a first or a second channel reduction processing for this frame.

6. Method according to one of the preceding claims in which a time difference indicator between the stereo channels is determined per frame of the stereo signal, a third channel reduction processing being implemented in the case where the indicator is greater than a threshold.

7. Method according to one of claims 3 to 5, in which a time difference indicator between the stereo channels is determined per frame of the stereo signal and wherein in the case where this indicator is less than a threshold, a comparison of the phase indicator to a threshold is carried out in order to determine the application of a first or a second channel reduction processing for this frame.

8. Method according to one of claims 1 to 7, in which the phase difference determined between the two channels of the stereo signal is smoothed over time by a forgetting factor.

9. Method according to one of the preceding claims, in which the channel reduction processing corresponds to a filtering of the channels by filters, the method comprising a preliminary phase of adaptation of the filters before application to the stereo signal by at least one truncation and windowing operation.

10. Method according to claim 9, in which the preliminary phase of adaptation of the filters comprises the following steps: - obtaining the impulse responses of the filters corresponding to the channel reduction processing; - truncation of a part of the impulse responses; - weighting of the remaining part by the application of a weighting window; - normalization of the impulse responses resulting from the windowing to obtain the adapted filters, to be applied to a stereo signal frame.

11. Method according to claim 10, in which the application of the channel reduction processing by adapted filters is carried out from one frame to another by a crossfading step taking into account the impulse responses of the filters used for the frame preceding the current frame.

12. A channel reduction processing device comprising a processing circuit for implementing the steps of the channel reduction processing method according to one of claims 1 to 11.

13. Storage medium, readable by a processor, storing a computer program comprising instructions for executing the method according to one of claims 1 to 11.

Citation Information

Patent Citations

  • Adaptive channel-reduction processing for encoding a multi-channel audio signal

    WO2017103418A1

  • Method and an apparatus for processing a signal

    US20100085102A1

  • Signal synthesizing

    US20110166866A1

  • Parametric stereo upmix apparatus, a parametric stereo decoder, a parametric stereo downmix apparatus, a parametric stereo encoder

    US20140321652A1