The present invention pertains to the field of audio data processing, and more particularly to a system and method for down-mixing from N-channel data to M-channel data, where N and M are integers and N is greater than M.
Systems and methods for processing audio data are known in the art. Most of these systems and methods are used to process audio data for a known audio environment, such as a two-channel stereo environment, a four-channel quadraphonic environment, a five channel surround sound environment (also known as a 5.1 channel environment), or other suitable formats or environments.
One problem posed by the increasing number of formats or environments is that audio data that is processed for optimal audio quality in a first environment is often not able to be readily used in a different audio environment. One example of this problem is the conversion of surround sound data to stereo sound data. A listener can perceive a noticeable change in sound quality when programming changes from a surround sound format to a stereo format. For example, as the additional channels of audio data for a 5.1 channel surround sound format are not present in a stereo two-channel format, existing surround systems rely on sub-optimal, static down-mix methods that commonly produce unpredictable and unsatisfactory results. Traditional static down-mix methods blindly combine N input channels into M output channels, where no active or automatic monitoring of the output quality and consistency is employed.
In accordance with the present invention, a system and method for an audio spatial environment engine are provided that overcome known problems with converting between spatial audio environments.
In particular, a system and method for down-mixing in an audio spatial environment engine are provided that allows conversion between N-channel data and M-channel data, where N and M are integers and N is greater than M.
In accordance with an exemplary embodiment of the present invention, an audio spatial environment engine is provided for converting from an N-channel audio format to an M-channel audio format, such as in a dynamic down-mix system where N and M are integers and N is greater than M. In operation, this dynamic down-mix methodology can be viewed as an enhancement to a static down-mix system through the addition of an intelligent analysis and correction loop. This analysis and correction loop has the benefits of correcting for spectral, temporal, and spatial inaccuracies that could result from a stand-alone down-mix/up-mix system. This analysis and correction loop in a down-mix process improves the quality of both the down-mixed M-channel audio and the subsequent up-mixed audio that may be generated by an independent up-mixing unit.
In accordance with an exemplary embodiment of the present invention, the dynamic down-mix methodology consists of a static down-mix system utilizing an intelligent analysis and correction loop. The original N-channel audio signals are provided to a static down-mix process which produces a down-mixed M-channel audio signal. That M-channel audio signal is provided to an up-mix process which generates a subsequent N-channel audio signal. Any spectral, temporal, or spatial inaccuracies between the original N-channel audio and the subsequent up-mixed N-channel audio are then identified and corrected in the down-mixed M-channel audio signal over a plurality of frequency sub-bands generating the final down-mixed M-channel audio signal. The corrections performed on the down-mixed M-channel audio signal consist of modifications to the relevant inter-channel spatial cues such as inter-channel level difference (ICLD) and inter-channel coherence (ICC) per frequency band.
The present invention provides many important technical advantages. One important technical advantage of the present invention is the addition of an intelligent analysis and correction loop to a down-mix. The present invention improves the quality of traditional down-mix methods by performing an active monitoring of the quality and consistency of the output audio signals. The system uses sophisticated signal processing and filter bank techniques that analyze and correct relevant spatial cues such as inter-channel level difference (ICLD) and inter-channel coherence (ICC) over a plurality of frequency bands for each channel in an audio system to allow sound that is optimized for an N-channel format to be converted into sound that is optimized for an M-channel format.
Those skilled in the art will further appreciate the advantages and superior features of the invention together with other important aspects thereof on reading the detailed description that follows in conjunction with the drawings.
In the description that follows, like parts are marked throughout the specification and drawings with the same reference numerals. The drawing figures might not be to scale and certain components can be shown in generalized or schematic form and identified by commercial designations in the interest of clarity and conciseness.
The dynamic down-mix process of system 100 is implemented using reference down-mix 102, reference up-mix 104, sub-band vector calculation systems 106 and 108, and sub-band correction system 110. The analysis and correction loop is realized through reference up-mix 104, which simulates an up-mix process, sub-band vector calculation systems 106 and 108, which compute energy and position vectors per frequency band of the simulated up-mix and original signals, and sub-band correction system 110, which compares the energy and position vectors of the simulated up-mix and original signals and modifies the inter-channel spatial cues of the down-mixed signal to correct for any inconsistencies.
System 100 includes static reference down-mix 102, which converts the received N-channel audio to M-channel audio. Static reference down-mix 102 receives the 5.1 sound channels left L(T), right R(T), center C(T), left surround LS(T), and right surround RS(T) and converts the 5.1 channel signals into stereo channel signals left watermark LW′(T) and right watermark RW′(T).
The left watermark LW′(T) and right watermark RW′(T) stereo channel signals are subsequently provided to reference up-mix 104, which converts the stereo sound channels into 5.1 sound channels. Reference up-mix 104 outputs the 5.1 sound channels left L′(T), right R′(T), center C′(T), left surround LS′(T), and right surround RS′(T).
The up-mixed 5.1 channel sound signals output from reference up-mix 104 are then provided to sub-band vector calculation system 106. The output from sub-band vector calculation system 106 is the up-mixed energy and image position data for a plurality of frequency bands for the up-mixed 5.1 channel signals L′(T), R′(T), C′(T), LS′(T), and RS′(T). Likewise, the original 5.1 channel sound signals are provided to sub-band vector calculation system 108. The output from sub-band vector calculation system 108 is the source energy and image position data for a plurality of frequency bands for the original 5.1 channel signals L(T), R(T), C(T), LS(T), and RS(T). The energy and position vectors computed by sub-band vector calculation systems 106 and 108 consist of a total energy measurement and a 2-dimensional vector per frequency band which indicate the perceived intensity and source location for a given frequency element for a listener under ideal listening conditions. For example, an audio signal can be converted from the time domain to the frequency domain using an appropriate filter bank, such as a finite impulse response (FIR) filter bank, a quadrature mirror filter (QMF) bank, a discrete Fourier transform (DFT), a time-domain aliasing cancellation (TDAC) filter bank, or other suitable filter bank. The filter bank outputs are further processed to determine the total energy per frequency band and a normalized image position vector per frequency band.
The energy and position vector values output from sub-band vector calculation systems 106 and 108 are provided to sub-band correction system 110, which analyzes the source energy and position for the original 5.1 channel sound with the up-mixed energy and position for the 5.1 channel sound as it is generated from the left watermark LW′(T) and right watermark RW′(T) stereo channel signals. Differences between the source and up-mixed energy and position vectors are then identified and corrected per sub-band on the left watermark LW′(T) and right watermark RW′(T) signals producing LW(T) and RW(T) so as to provide a more accurate down-mixed stereo channel signal and more accurate 5.1 representation when the stereo channel signals are subsequently up-mixed. The corrected left watermark LW(T) and right watermark RW(T) signals are output for transmission, reception by a stereo receiver, reception by a receiver having up-mix functionality, or for other suitable uses.
In operation, system 100 dynamically down-mixes 5.1 channel sound to stereo sound through an intelligent analysis and correction loop, which consists of simulation, analysis, and correction of the entire down-mix/up-mix system. This methodology is accomplished by generating a statically down-mixed stereo signal LW′(T) and RW′(T), simulating the subsequent up-mixed signals L′(T), R′(T), C′(T), LS′(T), and RS′(T), and analyzing those signals with the original 5.1 channel signals to identify and correct any energy or position vector differences on a sub-band basis that could affect the quality of the left watermark LW′(T) and right watermark RW′(T) stereo signals or subsequently up-mixed surround channel signals. The sub-band correction processing which produces left watermark LW(T) and right watermark RW(T) stereo signals is performed such that when LW(T) and RW(T) are up-mixed, the 5.1 channel sound that results matches the original input 5.1 channel sound with improved accuracy. Likewise, additional processing can be performed so as to allow any suitable number of input channels to be converted into a suitable number of watermarked output channels, such as 7.1 channel sound to watermarked stereo, 7.1 channel sound to watermarked 5.1 channel sound, custom sound channels (such as for automobile sound systems or theaters) to stereo, or other suitable conversions.
Reference down-mix 200 converts N channel audio to M channel audio, where N and M are integers and N is greater than M. Reference down-mix 200 receives input signals X1(T), X2(T), through XN(T). For each input channel i, the input signal Xi(T) is provided to a Hilbert transform unit 202 through 206 which introduces a 90° phase shift of the signal. Other processing such as Hilbert filters or all-pass filter networks that achieve a 90° phase shift could also or alternately be used in place of the Hilbert transform unit. For each input channel i, the Hilbert transformed signal and the original input signal are then multiplied by a first stage of multipliers 208 through 218 with predetermined scaling constants Ci11 and Ci12, respectively, where the first subscript represents the input channel number i, the second subscript represents the first stage of multipliers, and the third subscript represents the multiplier number per stage. The outputs of multipliers 208 through 218 are then summed by summers 220 through 224, generating the fractional Hilbert signal X′i(T). The fractional Hilbert signals X′i(T) output from multipliers 220 through 224 have a variable amount of phase shift relative to the corresponding input signals Xi(T). The amount of phase shift is dependent on the scaling constants Ci11 and Ci12, where 0° phase shift is possible corresponding to Ci11=0 and Ci12=1, and ±90° phase shift is possible corresponding to Ci11=±1 and Ci12=0. Any intermediate amount of phase shift is possible with appropriate values of Ci11 and Ci12.
Each signal X′i(T) for each input channel i is then multiplied by a second stage of multipliers 226 through 242 with predetermined scaling constant Ci2j, where the first subscript represents the input channel number i, the second subscript represents the second stage of multipliers, and the third subscript represents the output channel number j. The outputs of multipliers 226 through 242 are then appropriately summed by summers 244 through 248 to generate the corresponding output signal Yj(T) for each output channel j. The scaling constants Ci2j for each input channel i and output channel j are determined by the spatial positions of each input channel i and output channel j. For example, scaling constants Ci2j for a left input channel i and right output channel j can be set near zero to preserve spatial distinction. Likewise, scaling constants Ci2j for a front input channel i and front output channel j can be set near one to preserve spatial placement.
In operation, reference down-mix 200 combines N sound channels into M sound channels in a manner that allows the spatial relationships among the input signals to be managed and extracted when the output signals are received at a receiver. Furthermore, the combination of the N channel sound as shown generates M channel sound that is of acceptable quality to a listener listening in an M channel audio environment. Thus, reference down-mix 200 can be used to convert N channel sound to M channel sound that can be used with an M channel receiver, an N channel receiver with a suitable up-mixer, or other suitable receivers.
Reference down-mix 300 includes Hilbert transform 302, which receives the left channel signal L(T) of the source 5.1 channel sound, and performs a Hilbert transform on the time signal. The Hilbert transform introduces a 90° phase shift of the signal, which is then multiplied by multiplier 310 with a predetermined scaling constant CL1. Other processing such as Hilbert filters or all-pass filter networks that achieve a 90° phase shift could also or alternately be used in place of the Hilbert transform unit. The original left channel signal L(T) is multiplied by multiplier 312 with a predetermined scaling constant CL2. The outputs of multipliers 310 and 312 are summed by summer 320 to generate fractional Hilbert signal L′(T). Likewise, the right channel signal R(T) from the source 5.1 channel sound is processed by Hilbert transform 304 and multiplied by multiplier 314 with a predetermined scaling constant CR1. The original right channel signal R(T) is multiplied by multiplier 316 with a predetermined scaling constant CR2. The outputs of multipliers 314 and 316 are summed by summer 322 to generate fractional Hilbert signal R′(T). The fractional Hilbert signals L′(T) and R′(T) output from multipliers 320 and 322 have a variable amount of phase shift relative to the corresponding input signals L(T) and R(T), respectively. The amount of phase shift is dependent on the scaling constants CL1, CL2, CR1, and CR2, where 0° phase shift is possible corresponding to CL1=0 and CL2=1 and CR1=0 and CR2=1, and ±90° phase shift is possible corresponding to CL1=±1 and CL2=0 and CR1=±1 and CR2=0. Any intermediate amount of phase shift is possible with appropriate values of CL1, CL2, CR1, and CR2. The center channel input from the source 5.1 channel sound is provided to multiplier 318 as fractional Hilbert signal C′(T), implying that no phase shift is performed on the center channel input signal. Multiplier 318 multiplies C′(T) with a predetermined scaling constant C3, such as an attenuation by three decibels. The outputs of summers 320 and 322 and multiplier 318 are appropriately summed into the left watermark channel LW′(T) and the right watermark channel RW′(T).
The left surround channel LS(T) from the source 5.1 channel sound is provided to Hilbert transform 306, and the right surround channel RS(T) from the source 5.1 channel sound is provided to Hilbert transform 308. The outputs of Hilbert transforms 306 and 308 are fractional Hilbert signals LS′(T) and RS′(T), implying that a full 90° phase shift exists between the LS(T) and LS′(T) signal pair and RS(T) and RS′(T) signal pair. LS′(T) is then multiplied by multipliers 324 and 326 with predetermined scaling constants CLS1 and CLS2, respectively. Likewise, RS′(T) is multiplied by multipliers 328 and 330 with predetermined scaling constants CRS1 and CRS2, respectively. The outputs of multipliers 324 through 330 are appropriately provided to left watermark channel LW′(T) and right watermark channel RW′(T).
Summer 332 receives the left channel output from summer 320, the center channel output from multiplier 318, the left surround channel output from multiplier 324, and the right surround channel output from multiplier 328 and adds these signals to form the left watermark channel LW′(T). Likewise, summer 334 receives the center channel output from multiplier 318, the right channel output from summer 322, the left surround channel output from multiplier 326, and the right surround channel output from multiplier 330 and adds these signals to form the right watermark channel RW′(T).
In operation, reference down-mix 300 combines the source 5.1 sound channels in a manner that allows the spatial relationships among the 5.1 input channels to be maintained and extracted when the left watermark channel and right watermark channel stereo signals are received at a receiver. Furthermore, the combination of the 5.1 channel sound as shown generates stereo sound that is of acceptable quality to a listener using stereo receivers that do not perform a surround sound up-mix. Thus, reference down-mix 300 can be used to convert 5.1 channel sound to stereo sound that can be used with a stereo receiver, a 5.1 channel receiver with a suitable up-mixer, a 7.1 channel receiver with a suitable up-mixer, or other suitable receivers.
Sub-band vector calculation system 400 includes time-frequency analysis units 402 through 410. The 5.1 time domain sound channels L(T), R(T), C(T), LS(T), and RS(T) are provided to time-frequency analysis units 402 through 410, respectively, which convert the time domain signals into frequency domain signals. These time-frequency analysis units can be an appropriate filter bank, such as a finite impulse response (FIR) filter bank, a quadrature mirror filter (QMF) bank, a discrete Fourier transform (DFT), a time-domain aliasing cancellation (TDAC) filter bank, or other suitable filter bank. A magnitude or energy value per frequency band is output from time-frequency analysis units 402 through 410 for L(F), R(F), C(F), LS(F), and RS(F). These magnitude/energy values consist of a magnitude/energy measurement for each frequency band component of each corresponding channel. The magnitude/energy measurements are summed by summer 412, which outputs T(F), where T(F) is the total energy of the input signals per frequency band. This value is then divided into each of the channel magnitude/energy values by division units 414 through 422, to generate the corresponding normalized inter-channel level difference (ICLD) signals ML(F), MR(F), MC(F), MLS(F) and MRS(F), where these ICLD signals can be viewed as normalized sub-band energy estimates for each channel.
The 5.1 channel sound is mapped to a normalized position vector as shown with exemplary locations on a 2-dimensional plane comprised of a lateral axis and a depth axis. As shown, the value of the location for (XLS, YLS) is assigned to the origin, the value of (XRS, YRS) is assigned to (0, 1), the value of (XL, YL) is assigned to (0, 1-C), where C is a value between 1 and 0 representative of the setback distance for the left and right speakers from the back of the room. Likewise, the value of (XR, YR) is (1, 1-C). Finally, the value for (XC, YC) is (0.5, 1). These coordinates are exemplary, and can be changed to reflect the actual normalized location or configuration of the speakers relative to each other, such as where the speaker coordinates differ based on the size of the room, the shape of the room or other factors. For example, where 7.1 sound or other suitable sound channel configurations are used, additional coordinate values can be provided that reflect the location of speakers around the room. Likewise, such speaker locations can be customized based on the actual distribution of speakers in an automobile, room, auditorium, arena, or as otherwise suitable.
The estimated image position vector P(F) can be calculated per sub-band as set forth in the following vector equation:
P(F)=ML(F)*(XL,YL)+MR(F)*(XR,YR)+MC(F)*(XC,YC)+i.MLS(F)*(XLS,YLS)+MRS(F)*(XRS,YRS)
Thus, for each frequency band, an output of total energy T(F) and a position vector P(F) are provided that are used to define the perceived intensity and position of the apparent frequency source for that frequency band. In this manner, the spatial image of a frequency component can be localized, such as for use with sub-band correction system 110 or for other suitable purposes.
The sub-band correction system includes position correction system 500 and spectral energy correction system 502. Position correction system 500 receives time domain signals for left watermark stereo channel LW′(T) and right watermark stereo channel RW′(T), which are converted by time-frequency analysis units 504 and 506, respectively, from the time domain to the frequency domain. These time-frequency analysis units could be an appropriate filter bank, such as a finite impulse response (FIR) filter bank, a quadrature mirror filter (QMF) bank, a discrete Fourier transform (DFT), a time-domain aliasing cancellation (TDAC) filter bank, or other suitable filter bank.
The output of time-frequency analysis units 504 and 506 are frequency domain sub-band signals LW′(F) and RW′(F). Relevant spatial cues of inter-channel level difference (ICLD) and inter-channel coherence (ICC) are modified per sub-band in the signals LW′(F) and RW′(F). For example, these cues could be modified through manipulation of the magnitude or energy of LW′(F) and RW′(F), shown as the absolute value of LW′(F) and RW′(F), and the phase angle of LW′(F) and RW′(F). Correction of the ICLD is performed through multiplication of the magnitude/energy value of LW′(F) by multiplier 508 with the value generated by the following equation:
[XMAX−PX,SOURCE(F)]/[XMAX−PS,UMIX(F)]
where
Correction of the ICC is performed through addition of the phase angle for LW′(F) by adder 512 with the value generated by the following equation:
+/−π*[PY,SOURCE(F)−PY,UMIX(F)]/[YMAX−YMIN]
where
Likewise, the phase angle for RW′(F) is added by adder 514 to the value generated by the following equation:
−/+π*[PY,SOURCE(F)−PY,UMIX(F)]/[YMAX−YMIN]
Note that the angular components added to LW′(F) and RW′(F) have equal value but opposite polarity, where the resultant polarities are determined by the leading phase angle between LW′(F) and RW′(F).
The corrected LW′(F) magnitude/energy and LW′(F) phase angle are recombined to form the complex value LW(F) for each sub-band by adder 516 and are then converted by frequency-time synthesis unit 520 into a left watermark time domain signal LW(T). Likewise, the corrected RW′(F) magnitude/energy and RW′(F) phase angle are recombined to form the complex value RW(F) for each sub-band by adder 518 and are then converted by frequency-time synthesis unit 522 into a right watermark time domain signal RW(T). The frequency-time synthesis units 520 and 522 can be a suitable synthesis filter bank capable of converting the frequency domain signals back to time domain signals.
As shown in this exemplary embodiment, the inter-channel spatial cues for each spectral component of the watermark left and right channel signals can be corrected using position correction 500 which appropriately modify the ICLD and ICC spatial cues.
Spectral energy correction system 502 can be used to ensure that the total spectral balance of the down-mixed signal is consistent with the total spectral balance of the original 5.1 signal, thus compensating for spectral deviations caused by comb filtering for example. The left watermark time domain signal and right watermark time domain signals LW′(T) and RW′(T) are converted from the time domain to the frequency domain using time-frequency analysis units 524 and 526, respectively. These time-frequency analysis units could be an appropriate filter bank, such as a finite impulse response (FIR) filter bank, a quadrature mirror filter (QMF) bank, a discrete Fourier transform (DFT), a time-domain aliasing cancellation (TDAC) filter bank, or other suitable filter bank. The output from time-frequency analysis units 524 and 526 is LW′(F) and RW′(F) frequency sub-band signals, which are multiplied by multipliers 528 and 530 by TSOURCE(F)/TUMIX(F), where
TSOURCE(F)|L(F)|+|R(F)|+|C(F)|+|LS(F)|+|RS(F)|
TUMIX(F)|LUMIX(F)|+|RUMIX(F)|+|CUMIX(F)|+|LSUMIX(F)|+|RSUMIX(F)|
The output from multipliers 528 and 530 are then converted by frequency-time synthesis units 532 and 534 back from the frequency domain to the time domain to generate LW(T) and RW(T). The frequency-time synthesis unit can be a suitable synthesis filter bank capable of converting the frequency domain signals back to time domain signals. In this manner, position and energy correction can be applied to the down-mixed stereo channel signals LW′(T) and RW′(T) so as to create a left and right watermark channel signal LW(T) and RW(T) that is faithful to the original 5.1 signal. LW(T) and RW(T) can be played back in stereo or up-mixed back into 5.1 channel or other suitable numbers of channels without significantly changing the spectral component position or energy of the arbitrary content elements present in the original 5.1 channel sound.
System 600 includes time-frequency analysis units 602 and 604, filter generation unit 606, smoothing unit 608, and frequency-time synthesis units 634 through 638. System 600 provides improved spatial distinction and stability in an up-mix process through a scalable frequency domain architecture, which allows for high resolution frequency band processing, and through a filter generation method which extracts and analyzes important inter-channel spatial cues per frequency band to derive the spatial placement of a frequency element in the up-mixed N channel signal.
System 600 receives a left channel stereo signal L(T) and a right channel stereo signal R(T) at time-frequency analysis units 602 and 604, which convert the time domain signals into frequency domain signals. These time-frequency analysis units could be an appropriate filter bank, such as a finite impulse response (FIR) filter bank, a quadrature mirror filter (QMF) bank, a discrete Fourier transform (DFT), a time-domain aliasing cancellation (TDAC) filter bank, or other suitable filter bank. The output from time-frequency analysis units 602 and 604 are a set of frequency domain values covering a sufficient frequency range of the human auditory system, such as a 0 to 20 kHz frequency range where the analysis filter bank sub-band bandwidths could be processed to approximate psycho-acoustic critical bands, equivalent rectangular bandwidths, or some other perceptual characterization. Likewise, other suitable numbers of frequency bands and ranges can be used.
The outputs from time-frequency analysis units 602 and 604 are provided to filter generation unit 606. In one exemplary embodiment, filter generation unit 606 can receive an external selection as to the number of channels that should be output for a given environment. For example, 4.1 sound channels where there are two front and two rear speakers can be selected, 5.1 sound systems where there are two front and two rear speakers and one front center speaker can be selected, 7.1 sound systems where there are two front, two side, two rear, and one front center speaker can be selected, or other suitable sound systems can be selected. Filter generation unit 606 extracts and analyzes inter-channel spatial cues such as inter-channel level difference (ICLD) and inter-channel coherence (ICC) on a frequency band basis. Those relevant spatial cues are then used as parameters to generate adaptive channel filters which control the spatial placement of a frequency band element in the up-mixed sound field. The channel filters are smoothed by smoothing unit 608 across both time and frequency to limit filter variability which could cause annoying fluctuation effects if allowed to vary too rapidly. In the exemplary embodiment shown in
Smoothing unit 608 averages frequency domain components for each channel of the N channel filters across both the time and frequency dimensions. Smoothing across time and frequency helps to control rapid fluctuations in the channel filter signals, thus reducing jitter artifacts and instability that can be annoying to a listener. In one exemplary embodiment, time smoothing can be realized through the application of a first-order low-pass filter on each frequency band from the current frame and the corresponding frequency band from the previous frame. This has the effect of reducing the variability of each frequency band from frame to frame. In another exemplary embodiment, spectral smoothing can be performed across groups of frequency bins which are modeled to approximate the critical band spacing of the human auditory system. For example, if an analysis filter bank with uniformly spaced frequency bins is employed, different numbers of frequency bins can be grouped and averaged for different partitions of the frequency spectrum. For example, from zero to five kHz, five frequency bins can be averaged, from 5 kHz to 10 kHz, 7 frequency bins can be averaged, and from 10 kHz to 20 kHz, 9 frequency bins can be averaged, or other suitable numbers of frequency bins and bandwidth ranges can be selected. The smoothed values of H1(F), H2(F) through HN(F) are output from smoothing unit 608.
The source signals X1(F), X2(F), through XN(F) for each of the N output channels are generated as an adaptive combination of the M input channels. In the exemplary embodiment shown in
The channel source signals X1(F), X2(F), through XN(F) are multiplied by the smoothed channel filters H1(F), H2(F), through HN(F) by multipliers 628 through 632, respectively.
The output from multipliers 628 through 632 is then converted from the frequency domain to the time domain by frequency-time synthesis units 634 through 638 to generate output channels Y1(T), Y2(T), through YN(T). In this manner, the left and right stereo signals are up-mixed to N channel signals, where inter-channel spatial cues that naturally exist or that are intentionally encoded into the left and right stereo signals, such as by the down-mixing watermark process of
System 700 includes time-frequency analysis units 702 and 704, filter generation unit 706, smoothing unit 708, and frequency-time synthesis units 738 through 746. System 700 provides improved spatial distinction and stability in an up-mix process through the use of a scalable frequency domain architecture which allows for high resolution frequency band processing, and through a filter generation method which extracts and analyzes important inter-channel spatial cues per frequency band to derive the spatial placement of a frequency element in the up-mixed 5.1 channel signal.
System 700 receives a left channel stereo signal L(T) and a right channel stereo signal R(T) at time-frequency analysis units 702 and 704, which convert the time domain signals into frequency domain signals. These time-frequency analysis units could be an appropriate filter bank, such as a finite impulse response (FIR) filter bank, a quadrature mirror filter (QMF) bank, a discrete Fourier transform (DFT), a time-domain aliasing cancellation (TDAC) filter bank, or other suitable filter bank. The output from time-frequency analysis units 702 and 704 are a set of frequency domain values covering a sufficient frequency range of the human auditory system, such as a 0 to 20 kHz frequency range where the analysis filter bank sub-band bandwidths could be processed to approximate psycho-acoustic critical bands, equivalent rectangular bandwidths, or some other perceptual characterization. Likewise, other suitable numbers of frequency bands and ranges can be used.
The outputs from time-frequency analysis units 702 and 704 are provided to filter generation unit 706. In one exemplary embodiment, filter generation unit 706 can receive an external selection as to the number of channels that should be output for a given environment, such as 4.1 sound channels where there are two front and two rear speakers can be selected, 5.1 sound systems where there are two front and two rear speakers and one front center speaker can be selected, 3.1 sound systems where there are two front and one front center speaker can be selected, or other suitable sound systems can be selected. Filter generation unit 706 extracts and analyzes inter-channel spatial cues such as inter-channel level difference (ICLD) and inter-channel coherence (ICC) on a frequency band basis. Those relevant spatial cues are then used as parameters to generate adaptive channel filters which control the spatial placement of a frequency band element in the up-mixed sound field. The channel filters are smoothed by smoothing unit 708 across both time and frequency to limit filter variability which could cause annoying fluctuation effects if allowed to vary too rapidly. In the exemplary embodiment shown in
Smoothing unit 708 averages frequency domain components for each channel of the 5.1 channel filters across both the time and frequency dimensions. Smoothing across time and frequency helps to control rapid fluctuations in the channel filter signals, thus reducing jitter artifacts and instability that can be annoying to a listener. In one exemplary embodiment, time smoothing can be realized through the application of a first-order low-pass filter on each frequency band from the current frame and the corresponding frequency band from the previous frame. This has the effect of reducing the variability of each frequency band from frame to frame. In one exemplary embodiment, spectral smoothing can be performed across groups of frequency bins which are modeled to approximate the critical band spacing of the human auditory system. For example, if an analysis filter bank with uniformly spaced frequency bins is employed, different numbers of frequency bins can be grouped and averaged for different partitions of the frequency spectrum. In this exemplary embodiment, from zero to five kHz, five frequency bins can be averaged, from 5 kHz to 10 kHz, 7 frequency bins can be averaged, and from 10 kHz to 20 kHz, 9 frequency bins can be averaged, or other suitable numbers of frequency bins and bandwidth ranges can be selected. The smoothed values of HL(F), HR(F), HC(F), HLS(F), and HRS(F) are output from smoothing unit 708.
The source signals XL(F), XR(F), XC(F), XLS(F), and XRS(F) for each of the 5.1 output channels are generated as an adaptive combination of the stereo input channels. In the exemplary embodiment shown in
The output from multipliers 728 through 736 are then converted from the frequency domain to the time domain by frequency-time synthesis units 738 through 746 to generate output channels YL(T), YR(T), YC(F), YLS(F), and YRS(T). In this manner, the left and right stereo signals are up-mixed to 5.1 channel signals, where inter-channel spatial cues that naturally exist or are intentionally encoded into the left and right stereo signals, such as by the down-mixing watermark process of
System 800 includes time-frequency analysis units 802 and 804, filter generation unit 806, smoothing unit 808, and frequency-time synthesis units 854 through 866. System 800 provides improved spatial distinction and stability in an up-mix process through a scalable frequency domain architecture, which allows for high resolution frequency band processing, and through a filter generation method which extracts and analyzes important inter-channel spatial cues per frequency band to derive the spatial placement of a frequency element in the up-mixed 7.1 channel signal.
System 800 receives a left channel stereo signal L(T) and a right channel stereo signal R(T) at time-frequency analysis units 802 and 804, which convert the time domain signals into frequency domain signals. These time-frequency analysis units could be an appropriate filter bank, such as a finite impulse response (FIR) filter bank, a quadrature mirror filter (QMF) bank, a discrete Fourier transform (DFT), a time-domain aliasing cancellation (TDAC) filter bank, or other suitable filter bank. The output from time-frequency analysis units 802 and 804 are a set of frequency domain values covering a sufficient frequency range of the human auditory system, such as a 0 to 20 kHz frequency range where the analysis filter bank sub-band bandwidths could be processed to approximate psycho-acoustic critical bands, equivalent rectangular bandwidths, or some other perceptual characterization. Likewise, other suitable numbers of frequency bands and ranges can be used.
The outputs from time-frequency analysis units 802 and 804 are provided to filter generation unit 806. In one exemplary embodiment, filter generation unit 806 can receive an external selection as to the number of channels that should be output for a given environment. For example, 4.1 sound channels where there are two front and two rear speakers can be selected, 5.1 sound systems where there are two front and two rear speakers and one front center speaker can be selected, 7.1 sound systems where there are two front, two side, two back, and one front center speaker can be selected, or other suitable sound systems can be selected. Filter generation unit 806 extracts and analyzes inter-channel spatial cues such as inter-channel level difference (ICLD) and inter-channel coherence (ICC) on a frequency band basis. Those relevant spatial cues are then used as parameters to generate adaptive channel filters which control the spatial placement of a frequency band element in the up-mixed sound field. The channel filters are smoothed by smoothing unit 808 across both time and frequency to limit filter variability which could cause annoying fluctuation effects if allowed to vary too rapidly. In the exemplary embodiment shown in
Smoothing unit 808 averages frequency domain components for each channel of the 7.1 channel filters across both the time and frequency dimensions. Smoothing across time and frequency helps to control rapid fluctuations in the channel filter signals, thus reducing jitter artifacts and instability that can be annoying to a listener. In one exemplary embodiment, time smoothing can be realized through the application of a first-order low-pass filter on each frequency band from the current frame and the corresponding frequency band from the previous frame. This has the effect of reducing the variability of each frequency band from frame to frame. In one exemplary embodiment, spectral smoothing can be performed across groups of frequency bins which are modeled to approximate the critical band spacing of the human auditory system. For example, if an analysis filter bank with uniformly spaced frequency bins is employed, different numbers of frequency bins can be grouped and averaged for different partitions of the frequency spectrum. In this exemplary embodiment, from zero to five kHz, five frequency bins can be averaged, from 5 kHz to 10 kHz, 7 frequency bins can be averaged, and from 10 kHz to 20 kHz, 9 frequency bins can be averaged, or other suitable numbers of frequency bins and bandwidth ranges can be selected. The smoothed values of HL(F), HR(F), HC(F), HLS(F), HRS(F), HLB(F), and HRB(F) are output from smoothing unit 808.
The source signals XL(F), XR(F), XC(F), XLS(F), XRS(F), XLB(F), and XRB(F) for each of the 7.1 output channels are generated as an adaptive combination of the stereo input channels. In the exemplary embodiment shown in
The output from multipliers 840 through 852 are then converted from the frequency domain to the time domain by frequency-time synthesis units 854 through 866 to generate output channels YL(T), YR(T), YC(F), YLS(F), YRS(T), YLB(T) and YRB(T). In this manner, the left and right stereo signals are up-mixed to 7.1 channel signals, where inter-channel spatial cues that naturally exist or are intentionally encoded into the left and right stereo signals, such as by the down-mixing watermark process of
In the exemplary embodiment shown in system 900, sub-band magnitude or energy components are used to estimate inter-channel level differences, and sub-band phase angle components are used to estimate inter-channel coherence. The left and right frequency domain inputs L(F) and R(F) are converted into a magnitude or energy component and phase angle component where the magnitude/energy component is provided to summer 902 which computes a total energy signal T(F) which is then used to normalize the magnitude/energy values of the left ML(F) and right channels MR(F) for each frequency band by dividers 904 and 906, respectively. A normalized lateral coordinate signal LAT(F) is then computed from ML(F) and MR(F), where the normalized lateral coordinate for a frequency band is computed as:
LAT(F)=ML(F)*XMIN+MR(F)*XMAX
Likewise, a normalized depth coordinate is computed from the phase angle components of the input as:
DEP(F)=YMAX−0.5*(YMAX−YMIN)*sqrt([COS(/L(F))−COS(/R(F))]ˆ2+[SIN(/L(F))−SIN(/R(F))]ˆ2)
The normalized depth coordinate is calculated essentially from a scaled and shifted distance measurement between the phase angle components /L(F) and /R(F). The value of DEP(F) approaches 1 as the phase angles /L(F) and /R(F) approach one another on the unit circle, and DEP(F) approaches 0 as the phase angles /L(F) and /R(F) approach opposite sides of the unit circle. For each frequency band, the normalized lateral coordinate and depth coordinate form a 2-dimensional vector (LAT(F), DEP(F)) which is input into a 2-dimensional channel map, such as those shown in the following
Likewise, if other speaker layouts or configurations are used, then existing filter maps can be modified and new filter maps corresponding to new speaker locations can be generated to reflect changes in the new listening environment. In one exemplary embodiment, a 7.1 system would include two additional filter maps with the left surround and right surround being moved upwards in the depth coordinate dimension and with the left back and right back locations having filter maps similar to filter maps 1006 and 1008, respectively. The rate at which the filter factor drops off can be changed to accommodate different numbers of speakers.
Although exemplary embodiments of a system and method of the present invention have been described in detail herein, those skilled in the art will also recognize that various substitutions and modifications can be made to the systems and methods without departing from the scope and spirit of the appended claims.
This application claims priority to U.S. provisional application 60/622,922, filed Oct. 28, 2004, entitled “2-to-N Rendering;” U.S. patent application Ser. No. 10/975,841, filed Oct. 28, 2004, entitled “Audio Spatial Environment Engine;” U.S. patent application Ser. No. ______ (attorney docket number 13646.0012), “Audio Spatial Environment Up-Mixer,” filed herewith; and U.S. patent application Ser. No. ______ (attorney docket number 13646.0010), “Audio Spatial Environment Engine,” filed herewith, each of which are commonly owned and which are hereby incorporated by reference for all purposes.
Number | Date | Country | |
---|---|---|---|
60622922 | Oct 2004 | US |