1. Field of the Disclosure
Embodiments of the present disclosure generally relate to the field of binaural and stereophonic audio signal processing and, more particularly, to optimizing audio signals for reproduction over head-mounted speakers, such as stereo earphones.
2. Description of the Related Art
Stereophonic sound reproduction involves encoding and reproducing signals containing spatial properties of a sound field using two or more transducers. Stereophonic sound enables a listener to perceive a spatial sense in the sound field. In a typical stereophonic sound reproduction system, two “in field” loudspeakers positioned at fixed locations in the listening field convert a stereo signal into sound waves. The sound waves from each in field loudspeaker propagate through space towards both ears of a listener to create an impression of sound heard from various directions within the sound field.
Head-mounted speakers, such as headphones or in-ear headphones, typically include a dedicated left speaker to emit sound into the left ear, and a dedicated right speaker to emit sound into the right ear. Sound waves generated by a head-mounted speaker operate differently from the sound waves generated by an in field loudspeaker, and such differences may be perceptible to the listener. The same input stereo signal can produce different, and sometimes less preferable, listening experiences when output from the head-mounted speakers and when output from the in field loudspeakers.
An audio processing system adaptively produces two or more output channels for reproduction by creating simulated contralateral crosstalk signals for each of the output channels, and combining those simulated signals with spatially enhanced signals. The audio processing system can enhance the listening experience over head-mounted speakers, and works effectively over a wide variety of content including music, movies, and gaming. The audio processing system include flexible configurations (e.g., of filters, gains, and delays) that provide dramatic acoustically satisfying experiences that particularly enhance the spatial sound field experienced by the listener. For example, the audio processing system can provide to head-mounted speakers a sound field comparable to that experienced when listening to stereo content over in field loudspeakers,
In some embodiments, the audio processing system receives an input audio signal including a left input channel and a right input channel. Using the left and right input channels, the audio processing system generates a spatially enhanced left and right channel, left and right crosstalk channels, low frequency and high frequency enhancement channels, mid channels, and passthrough channels. The audio processing system mixes the generated channels, such as by applying different gains to the channels, to generate the left and right output channels. In one aspect, the audio processing system improves the listening experience of the audio input signal when output to head-mounted speakers, simulating the contralateral signal components that are characteristic of sound wave behavior of in field speakers. The simulated contralateral signals account for both the additional delay that would result from the opposing channel speaker, as well as the filtering effect that would result from the listener's head and ear. The filtering effect is provided by a filter function for a head shadow effect for the respective audio channel. As such, the spatial sense of the sound field is improved and the sound field is expanded, resulting in a more enjoyable listening experience for head-mounted speakers.
The spatially enhanced channels further enhance the spatial sense of the sound field by gain adjusting side subband components and mid subband components of the left and right input channels. The low and high frequency channels respectively boost low and high frequency components of the input channels. The mid and passthrough channels control the contribution of the (e.g., non-spatially enhanced) input audio signal to the output channels.
Some embodiments include a method for generating the output channels, including: receiving an input audio signal comprising a left input channel and a right input channel; generating a spatially enhanced left channel and a spatially enhanced right channel by gain adjusting side subband components and mid subband components of the left and right input channels; generating a left crosstalk channel by filtering and time delaying the left input channel; generating a right crosstalk channel by filtering and time delaying the right input channel; generating a left output channel by mixing the spatially enhanced left channel and the right crosstalk channel; and generating a right output channel by mixing the spatially enhanced right channel and the left crosstalk channel.
Some embodiments include an audio processing system including: a subband spatial enhancer configured to generate a spatially enhanced left channel and a spatially enhanced right channel by gain adjusting side subband components and mid subband components of a left input channel and a right input channel; a crosstalk simulator configured to: generate a left crosstalk channel by filtering and time delaying the left input channel; and generate a right crosstalk channel by filtering and time delaying the right input channel; and a mixer configured to: generate a left output channel by mixing the spatially enhanced left channel and the right crosstalk channel; and generate a right output channel by mixing the spatially enhanced right channel and the left crosstalk channel.
Some embodiments may include a non-transitory computer readable medium configured to store program code, the program code comprising instructions that when executed by a processor cause the processor to: receive an input audio signal comprising a left input channel and a right input channel; generate a spatially enhanced left channel and a spatially enhanced right channel by gain adjusting side subband components and mid subband components of the left and right input channels; generate a left crosstalk channel by filtering and time delaying the left input channel; generate a right crosstalk channel by filtering and time delaying the right input channel; generate a left output channel by mixing the spatially enhanced left channel and the right crosstalk channel; and generate a right output channel by mixing the spatially enhanced right channel and the left crosstalk channel.
The features and advantages described in the specification are not all inclusive and, in particular, many additional features and advantages will be apparent to one of ordinary skill in the art in view of the drawings, specification, and claims. Moreover, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter.
The Figures (FIG.) and the following description relate to the preferred embodiments by way of illustration only. It should be noted that from the following discussion, alternative embodiments of the structures and methods disclosed herein will be readily recognized as viable alternatives that may be employed without departing from the principles of the present invention.
Reference will now be made in detail to several embodiments of the present invention(s), examples of which are illustrated in the accompanying figures. It is noted that wherever practicable similar or like reference numbers may be used in the figures and may indicate similar or like functionality. The figures depict embodiments for purposes of illustration only. One skilled in the art will readily recognize from the following description that alternative embodiments of the structures and methods illustrated herein may be employed without departing from the principles described herein.
Example Audio Processing System
With reference to
Head-mounted speakers, such as headphones or in-ear headphones, include a dedicated left speaker 130L to emit sound into the left ear 125L and a dedicated right speaker 130R to emit sound into the right ear 125R. As such, signal reproduction by head-mounted speakers operates differently from signal reproduction on the in field loudspeakers 110A and 110B in various ways.
Unlike head-mounted speakers, for example, the loudspeakers 110A and 110B positioned a distance from the listener each produce “trans-aural” sound waves that are received at both the left and right ears 125L, 125R of the listener 120. The right ear 125R receives the signal component 112L from the loudspeaker 110A at a slight delay relative to when the left ear 125L receives a signal component 118L from the loudspeaker 110A. Time delay of the signal component 112L relative to the signal component 118L is caused by a larger distance between loudspeaker 110A and the right ear 125R as compared to the distance between loudspeaker 110A and the left ear 125L. Similarly, the left ear 125L receives the signal component 112R from the loudspeaker 110B at slight delay relative to when the right ear 125R receives a signal component 118R from the loudspeaker 110B.
Head-mounted speakers emit sound waves close to the user's ears, and therefore generate lower or no trans-aural sound wave propagation, and thus no contralateral components. Each ear of the listener 120 receives an ipsilateral sound component from a corresponding speaker, and no contralateral crosstalk sound component from the other speaker. Accordingly, the listener 120 will perceive a different, and typically smaller sound field with head-mounted speakers.
The system 200 receives an input audio signal X comprising two input channels, a left input channel XL and a right input channel XR. The input audio signal X may be a stereo audio signal with different left and right input channels. Using the input audio signal X, the system generates an output audio signal O comprising two output channels OL, OR. As discussed in greater detail below, the output audio signal O is a mixture of a spatial enhancement signal, a simulated cross talk signal, low/high frequency enhancement signal, and/or other processing outputs based on the input audio signal X. When output to head-mounted speakers 280L and 280R, the output audio signal O provides a listening experience comparable to that of larger in field loudspeaker systems, such as in terms of sound field size, spatial sound control, and tonal characteristics.
The subband spatial enhancer 210 receives input audio signal X and generates a spatially enhanced signal Y, including a spatially enhanced left channel YL and a spatially enhanced right channel YR. The subband spatial enhancer 210 includes a frequency band divider 240, a frequency band enhancer 245, and an enhanced subband combiner 250. The frequency band divider 240 receives the left input channel XL and the right input channel XR, and divides the left input channel XL into left subband components EL(1) through EL(n) and the right input channel XR into right subband components ER(1) through ER(n), where n is the number of subbands (e.g., 4). The n subbands define a group of n frequency bands, with each subband corresponding with one of the frequency bands.
The frequency band enhancer 245 enhances spatial components of the input audio signal X by altering intensity ratios between mid and side subband components of the left subband components EL(1) through EL(n), and altering intensity ratios between mid and side subband components of the right subband components ER(1) through ER(n). For each frequency band, the frequency band enhancer generates mid and side subband components (e.g., Em(1) and Es(1), for the frequency band n=1) from corresponding left subband and right subband components (e.g., EL(1) and ER(1), applies different gains to the mid and side subband components to generate an enhanced mid subband component and an enhanced side subband component (e.g., Ym(1) and Ys(1)), and then converts the enhanced mid and side subband components into left and right enhanced subband channels (e.g., YL(1) and YR(1)). As such, the frequency band enhancer 245 generates enhanced left subband channels YL(1) through YL(n) and enhanced right subband channels YR(1) through YR(n), where n is the number of subband components.
The enhanced subband combiner 250 generates the spatially enhanced left channel YL from the enhanced left subband channels YL(1) through YL(n), and generates the spatially enhanced right channel YR from the enhanced right subband channels YR(1) through YR(n).
The subband combiner 255 generates a left subband mix channel EL by combining the left subband components EL(1) through EL(n), and generates a right subband mix channel ER by combining the right subband components ER(1) through ER(n). The left subband mix channel EL and right subband mix channel ER are used as inputs for the crosstalk simulator 215, the passthrough 220, and/or the high/low frequency booster 225. In some embodiments, the subband band combiner 255 is integrated with one of the subband spatial enhancer 210, the crosstalk simulator 215, the passthrough 220, or the high/low frequency booster 225. For example, if the subband band combiner 255 is part of the crosstalk simulator 215, then the crosstalk simulator 215 may provide the left subband mix channel EL and right subband mix channel ER to the passthrough 220 and/or the high/low frequency booster 225.
In some embodiments, the subband combiner 255 is omitted from the system 200. For example, the crosstalk simulator 215, the passthrough 220, and/or the high/low frequency booster 225 may receive and process the original audio input channels XL and XR instead of the subband mix channels EL and ER.
The crosstalk simulator 215 generates a “head shadow effect” from the audio input signal X. The head shadow effect refers to a transformation of a sound wave caused by trans-aural wave propagation around and through the head of a listener, such as would be perceived by the listener if the audio input signal X was transmitted from the loudspeakers 110A and 110B to each of the left and right ears 125L and 125R of the listener 120 as shown in
The passthrough 220 generates a mid (L+R) channel by adding the left subband mix channel EL and the right subband mix channel ER. The mid channel represents audio data that is common to both the left subband mix channel EL and the right subband mix channel ER. The mid channel can be separated into a left mid channel ML and a right mid channel MR. The passthrough 220 generates a left passthrough channel PL and a right passthrough channel PR. The passthrough channels represent the original left and right audio input signals XL and XR, or the left subband mix channel EL and the right subband mix channel ER generated from the audio input signals XL and XR by the frequency band divider 245.
The high/low frequency booster 225 generates low frequency channels LFL and LFR, and high frequency channels HFL and HFR from the audio input signal X. The low and high frequency channels represent frequency dependent enhancements to the audio input signal X. In some embodiments, the type or quality of frequency dependent enhancements can be set by the user.
The mixer 230 combines the output of the subband spatial enhancer 210, the crosstalk simulator 215, the passthrough 220, and the high/low frequency booster 225 to generate an audio output signal O that includes left output signal OL and right output signal OR. The left output signal OL is provided to the left speaker 235L and the right output signal OR is provided to the right speaker 235R.
The output signal O generated by the mixer 230 is a weighted combination of outputs from the subband spatial enhancer 210, the crosstalk simulator 215, the passthrough 220, and the high/low frequency booster 225. For example, the left output channel OL includes a combination of the spatially enhanced left channel YL, right crosstalk channel CR (e.g., representing the contralateral signal from a right loudspeaker that would be heard by the left ear via trans-aural sound propagation), and preferably further includes a combination of the left mid channel ML, the left passthrough channel PL, and the left low and high frequency channels LFL and HFL. The right output channel OR includes a combination of the spatially enhanced right channel YR, left crosstalk channel CL (e.g., representing the contralateral signal from a left loudspeaker that would be heard by the right ear via trans-aural sound propagation), and preferably further includes a combination of the right mid channel MR, the right passthrough channel PR, and the right low and high frequency channels LFR and HFR. The relative weights of the signals input to the mixer 230 can be controlled by the gains applied to each of the inputs.
Detailed example embodiments of the subband spatial enhancer 210, subband band combiner 255, crosstalk simulator 215, passthrough 220, high/low frequency booster 225, and mixer 230 are shown in
The crossover network 304 receives the input audio signal X from the input gain 302, and divides the input audio signal X into subband signals E(K). The crossover network 304 may use various types of filters arranged in any of various circuit topologies, such as serial, parallel, or derived, so long as the resulting outputs form a set of signals for contiguous subbands. Example filter types included in the crossover network 304 may include infinite impulse response (IIR) or finite impulse response (FIR) bandpass filters, IIR peaking and shelving filters, Linkwitz-Riley, or the like. The filters divide the left input channel XL into left subband components EL(k), and divide the right input channel XR into right subband components ER(k) for each frequency subband k. In one approach, a number of bandpass filters, or any combinations of low pass filter, bandpass filter, and a high pass filter, are employed to approximate combinations of the critical bands of the human ear. A critical band corresponds to the bandwidth within which a second tone is able to mask an existing primary tone. For example, each of the frequency subbands may correspond to a group of consolidated Bark scale critical bands. For example, the crossover network 304 divides the left input channel XL into the four left subband components EL(1) through EL(4), corresponding to 0 to 300 Hz (corresponding to Bark scale bands 1-3), 300 to 510 Hz (e.g., Bark scale bands 4-5), 510 to 2700 Hz (e.g., Bark scale bands 6-15), and 2700 Hz to Nyquist frequency (e.g., Bark scale 7-24) respectively, and similarly divides the right input channel XR into the right subband components ER(1) through ER(4), for corresponding frequency bands. The process of determining a consolidated set of critical bands includes using a corpus of audio samples from a wide variety of musical genres, and determining from the samples a long term average energy ratio of mid to side components over the 24 Bark scale critical bands. Contiguous frequency bands with similar long term average ratios are then grouped together to form the set of critical bands. In other implementations, the filters separate the left and right input channels into fewer or greater than four subbands. The range of frequency bands may be adjustable. The crossover network 304 outputs a pair of a left subband components EL(k) and a right subband components ER(k), for k=1 to n, where n is the number of subbands (e.g., n=4 in
The crossover network 304 provides the left subband components EL(1) through EL(n) and the right subband components EL(1) through EL(n) to the frequency band enhancer 245 of the subband spatial enhancer 210. As discussed in greater detail below, the left subband components EL(1) through EL(n) and the right subband components EL(1) through EL(n) may also provided to the crosstalk simulator 215, passthrough 220, and high/low frequency booster 225.
The frequency band enhancer 245 includes, for each subband k (where k=1 through n), an L/R to M/S converter 320(k), a mid/side processor 330(k), and a M/S to L/R converter 340(k). Each L/R to M/S converter 320(k) receives a pair of enhanced subband components EL(k) and ER(k), and converts these inputs into a mid subband component Em(k) and a side subband component Es(k). The mid subband component Em(k) is a non-spatial subband component that corresponds to a correlated portion between the left subband component EL(k) and the right subband component ER(k), hence, includes nonspatial information. In some embodiments, the mid subband component Em(k) is computed as a sum of the subband components EL(k) and ER(k). The side subband component Es(k) is a nonspatial subband component that corresponds to a non-correlated portion between the left subband component EL(k) and the right subband component ER(k), hence includes spatial information. In some embodiments, the side subband component Es(k) is computed as a difference between the left subband component EL(k) and the right subband component ER(k). In one example, the L/R to M/S converter 320 obtains nonspatial subband component Em(k) and the spatial subband component Es(k) and of the frequency subband k according to a following equations:
Em(k)=EL(k)+ER(k) Eq. (1)
Es(k)=EL(k)−ER(k) Eq. (2)
For each subband k, a mid/side processor 330(k) adjusts the received side subband component Es(k) to generate an enhanced spatial side subband component Ys(k), and adjusts the received mid subband component Em(k) to generate enhanced mid subband component Ym(k). In one embodiment, the mid/side processor 330(k) adjusts the mid subband component Em(k) by a corresponding gain coefficient Gm(k), and delays the amplified nonspatial subband component Gm(k)*Em(k) by a corresponding delay function Dm to generate an enhanced mid subband component Ym(k). Similarly, the mid/side processor 330(k) adjusts the received side subband component Es(k) by a corresponding gain coefficient Gs(k), and delays the amplified spatial subband component Gs(k)*Xs(k) by a corresponding delay function Ds to generate an enhanced side subband component Ys(k). The gain coefficients and the delay amount may be adjustable. The gain coefficients and the delay amount may be determined according to the speaker parameters or may be fixed for an assumed set of parameter values. The mid/side processor 430(k) of a frequency subband k generates the enhanced mid subband component Ym(k) and the enhanced side subband component Ym(k) according to following equations:
Ym(k)=Gm(k)*Dm(Em(k),k) Eq. (3)
Ys(k)=Gs(k)*Ds(Es(k),k) Eq. (4)
Each mid/side processor 330(k) outputs the mid (non-spatial) subband component Ym(k) and the side (spatial) subband component Ys(k) to a corresponding M/S to L/R converter 340(k) of the respective frequency subband k.
Examples of gain and delay coefficients are listed in the following Table 1.
In some embodiments, the mid/side processor 330(1) for the 0 to 300 Hz subband applies a 0.5 dB gain to the mid subband component Em(1) and a 4.5 dB gain to the side subband component Es(1). The mid/side processor 330(2) for the 300 to 510 Hz subband applies a 0 dB gain to the mid subband component Em(2) and a 4 dB gain to the side subband component Es(2). The mid/side processor 330(3) for the 510 to 2700 Hz subband applies a 0.5 dB gain to the mid subband component Em(3) and a 4.5 dB gain to the side subband component Es(3). The mid/side processor 330(4) for the 2700 Hz to Nyquist frequency subband applies a 0 dB gain to the mid subband component Em(4) and a 4 dB gain to the side subband component Es(3).
Each M/S to L/R converter 340(k) receives an enhanced subband mid component Ym(k) and an enhanced subband side component Ys(k), and converts them into an enhanced left subband component YL(k) and an enhanced right subband component YR(k). If the L/R to M/S converter 320(k) generates the mid subband component Em(k) and the side subband component Es(k) according to Eq. (1) and Eq. (2) above, the M/S to L/R converter 340(k) generates the enhanced left subband component YL(k) and the enhanced right subband component YR(k) of the frequency subband k according to following equations:
YL(k)=(Ym(k)+Ys(k))/2 Eq. (5)
YR(k)=(Ym(k)−Ys(k))/2 Eq. (6)
In some embodiment, EL(k) and ER(k) in Eq. (1) and Eq. (2) may be swapped, in which case YL(k) and YR(k) in Eq. (5) and Eq. (6) are swapped as well.
YL=ΣYL(k), for k=1 to n Eq. (7)
YR=ΣYR(k), for k=1 to n Eq. (8)
In some embodiments, the enhanced subband combiner 250 combines the subband components mid subband components Ym(k) and the side subband components Ys(k) to generate a combined mid subband component Ym and a combined side subband component Ys, and then a single M/S to L/R conversion is applied per channel to generate YL and YR from Ym and Ys. The mid/side gains are applied per subband, and can be recombined in various ways.
The crosstalk simulator 215 generates contralateral sound components for output to the head-mounted speakers 235L and 235R, thereby providing a loudspeaker-like listening experience on the head-mounted speakers 235L and 235R. Returning to
Similarly for the right subband mix channel ER, the head shadow low-pass filter 506 receives the right subband mix channel ER and applies a modulation that models frequency response of the listener's head. The output of the head shadow low-pass filter 506 is provided to the cross-talk delay 508, which applies a time delay to the output of the head shadow low-pass filter 504. In some embodiments, the cross-talk delay 508 is applied prior to the head shadow low-pass filter 506.
The head shadow gain 510 applies a gain to the output of the cross-talk delay 504 to generate the left crosstalk channel CL, and applies a gain to the output of the cross-talk delay 506 to generate right crosstalk channel CR.
In some embodiments, the head shadow low-pass filters 502 and 506 have a cutoff frequency of 2,023 Hz. The cross-talk delays 504 and 508 apply a 0.792 millisecond delay. The head shadow gain 510 applies a −14.4 dB gain.
The passthrough 220 includes an L+R combiner 602, an L+R passthrough gain 604, and a L/R passthrough gain 606. The L+R combiner 602 receives the left subband mix channel EL and the right subband mix channel ER, and adds the left subband mix channel EL with the right subband mix channel ER to generate audio data that is common to both the left subband mix channel EL and the right subband mix channel ER. The L+R passthrough gain 604 adds a gain to the output of the L+R combiner 602 to generate the left mid channel ML and the right mid channel MR. The mid channels ML and MR represent the audio data that is common to both the left subband mix channel EL and the right subband mix channel ER. In some embodiments, the left mid channel ML is the same as the right mid channel MR. In another example, the L+R passthrough gain 604 applies different gains to the mid channel to generate a different left mid channel ML and right mid channel MR.
The L/R passthrough gain 606 receives the left subband mix channel EL and the right subband mix channel ER, and adds a gain to the left subband mix channel EL to generate the left passthrough channel PL, and adds a gain to the right subband mix channel ER to generate the right passthrough channel PR. In some embodiments, a first gain is applied to the left subband mix channel EL to generate the left passthrough channel PL and a second gain is applied to the right subband mix channel ER to generate the right passthrough channel PR, where the first and second gains are different. In some embodiments, the first and second gains are the same.
In some embodiments, the passthrough 220 receives and processes the original audio input signals XL and XR. Here, the mid channel M represents audio data that is common to both the left and right input signal XL and XR, and the passthrough channel P represents the original audio signal X (e.g., without encoding into frequency subbands by frequency band divider 240, and recombination by the subband band combiner 255 into the left subband mix channel EL and the right subband mix channel ER).
In some embodiments, the L+R passthrough gain 604 applies a −18 dB gain to the output of the L+R combiner 602. The L/R passthrough gain 606 applies an −infinity dB gain to the left subband mix channel EL and the right subband mix channel ER.
The high/low frequency booster 225 includes a first low frequency (LF) enhance band-pass filter 702, a second LF enhance band-pass filter 704, a LF filter gain 705, a high frequency (HF) enhance high-pass filter 708 and a HF filter gain 710. The LF enhance band-pass filter 702 receives the left subband mix channel EL and the right subband mix channel ER, and applies a modulation that attenuates signal components outside of a band or spread of frequencies, thereby allowing (e.g., low frequency) signal components inside the band of frequencies to pass. The LF enhance band-pass filter 704 receives the output of the LF enhance band-pass filter 704, and applies another modulation that attenuates signal components outside of the band of frequencies.
The LF enhance band-pass filter 702 and LF enhance band-pass filter 704 provide a cascaded resonator for low frequency enhancement. In some embodiments, the LF enhance band-pass filters 702 and 704 have a center frequency of 58.175 Hz with an adjustable quality (Q) factor. The Q factor can be adjusted based on user setting or programmatic configuration. For example, a default setting may include a Q factor of 2.5, while a more aggressive setting may include a Q factor of 1.3. The resonators are configured to exhibit an under-damped response (Q>0.5) to enhance the temporal envelope of low frequency content.
The LF filter gain 706 applies a gain to the output of the LF enhance band-pass filter 704 to generate the left LF channel LFL and the right LF channel LFR. In some embodiments, the LF filter gain 706 applies a 12 dB gain to the output of the LF enhance band-pass filter 704.
HF enhance high-pass filter 708 receives the left subband mix channel EL and the right subband mix channel ER, and applies a modulation that attenuates signal components with frequencies lower than a cutoff frequency, thereby allowing signal components with frequencies higher than the cutoff frequency to pass. In some embodiments, the HF enhance high-pass filter 708 is a second order Butterworth highpass filter with a cutoff frequency of 4573 Hz.
The HF filter gain 710 applies a gain to the output of the HF enhance high-pass filter 704 to generate the left HF channel HFL and the right HF channel HFR. In some embodiments, the HF filter gain 710 applies a 0 dB gain to the output of the HF enhance high-pass filter 708.
Mixer 230 includes a sum left 802, a sum right 804, and an output gain 806. The sum left 802 receives the spatially enhanced left channel YL from the subband spatial enhancer 210, the right crosstalk channel CR from the crosstalk simulator 215, the left mid channel ML and the left passthrough channel PL from the passthrough 220, and the left low and high frequency channels LFL and HFL from the high/low frequency booster 225, and the sum left 802 combines these channels. Similarly, the sum right 804 receives the spatially enhanced left channel YR from the subband spatial enhancer 210, the left crosstalk channel CL from the crosstalk simulator 215, the right mid channel MR and the right passthrough channel PR from the passthrough 220, and the right low and high frequency channels LFR and HFR from the high/low frequency booster 225, and the sum right 804 combines these channels.
The output gain 806 applies a gain to the output of the sum left 802 to generate the left output channel OL, and applies a gain to the output of the sum right 804 to generate the right output channel OR. In some embodiments, the output gain 806 applies a 0 dB gain to the output of the sum left 802 and the sum right 804. In some embodiments, the subband gain 356, the head shadow gain 510, the L+R passthrough gain 604, the L/R passthrough gain 606, the LF filter gain 706, and/or the HF filter gain 710 are integrated with the mixer 230. Here, the mixer 230 controls the relative weightings of input channel contribution to the output channels OL and OR.
The system 200 receives 905 an input audio signal X comprising a left input channel XL and a right input channel XR. The audio input signal X may be a stereo signal where the left and right input channels XL and XR are different from each other.
The system 200, such as the subband spatial enhancer 210, generates 910 a spatially enhanced left channel YL and a spatially enhanced right channel YR from gain adjusting side subband components and mid subband components of the left and right input channels XL and XR. The spatially enhanced left and right channels YL and YR improve the spatial sense in the sound field by altering intensity ratios between mid and side subband components derived from the left and right input channels XL and XR, as discussed in greater detail below in connection with
The system 200, such as the crosstalk simulator 215, generates 915 a left crosstalk channel CL from filtering and time delaying the left input channel XL, and a right crosstalk channel CR from filtering and time delaying the right input channel XR. The crosstalk channels CL and CR simulate trans-aural, contralateral crosstalk for the left input channel XL and the right input channel XR that would reach the listener if the left input channel XL and the right input channel XR were output from loudspeakers, such as shown in
The system 200, such as the passthrough 220, generates 920 a left passthrough channel PL from the left input channel XL, a right passthrough channel PR from the right input channel XR. The system 200, such as the passthrough 220, generates 925 left and right mid channels ML and MR from combining the left input channel XL and the right input channel XR. The passthrough channels can be used to control the relative contributions of the unprocessed input channel X to the output channel O, and the mid channels can be used to control the relative contribution of common audio data of the left input channel XL and the right input channel XR. Generating the passthrough and mid channels is discussed in greater detail below in connection with
The system 200, such as the high/low frequency booster 225 generates 930 left and right low frequency channels LFL and LFR from applying a cascaded resonator to the left input channel XL and the right input channel XR. The low frequency channels LFL and LFR control the relative enhancement of low frequency audio components of the input channel X to the output channel O.
The system 200, such as the high/low frequency booster 255 generates 935 left and right high frequency channels HFL and HFR from applying a high-pass filter to the left input channel XL and the right input channel XR. The high frequency channels HFL and HFR control the relative enhancement of high frequency audio components of the input channel X to the output channel O. Generating the LF and HF channels is discussed in greater detail below in connection with
The system 200, such as the mixer 230, generates 940 the output channel OL and the output channel OR. The output channel OL can be provided to a head-mounted left speaker 235L and the right output channel OR is provided to a right speaker 235R. The output channel OL is generated from a weighted combination of the spatially enhanced left channel YL from the subband spatial enhancer 210, the right crosstalk channel CR from the crosstalk simulator 215, the left mid channel ML and the left passthrough channel PL from the passthrough 220, and the left low and high frequency channels LFL and HFL from the high/low frequency booster 225. The output channel OR is generated from a weighted combination the spatially enhanced left channel YR from the subband spatial enhancer 210, the left crosstalk channel CL from the crosstalk simulator 215, the right mid channel MR and the right passthrough channel PR from the passthrough 220, and the right low and high frequency channels LFR and HFR from the high/low frequency booster 225.
The relative weightings of the inputs to the mixer 230 can be controlled by the gain filters at the channel sources as discussed above, such as the input gain 302, the subband gain 356, the head shadow gain 510, the L+R passthrough gain 604, the L/R passthrough gain 606, the LF filter gain 706, and the HF filter gain 710. For example, a gain filter can lower a signal amplitude of a channel to lower the contribution of the channel to the output channel O, or increase the signal amplitude to increase the contribution of the channel to the output channel O. In some embodiments, the signal amplitudes of one or more channels may be set to 0 or substantially 0, resulting in no contribution of the one or more channels to the output channel O.
In some embodiments, the subband gain 356 applies between a −12 to 6 dB gain, the head shadow gain 510 applies a −infinity to 0 dB gain, the LF filter gain 706 applies a 0 to 20 dB gain, the HF filter gain 710 applies a 0 to 20 dB gain, the L/R passthrough gain 606 applies a −infinity to 0 dB gain, and the L+R passthrough gain 604 applies a −infinity to 0 dB gain. The relative values of the gains may be adjustable to provide different tunings. In some embodiments, the audio processing system uses predefined sets of gain values. For example, the subband gain 356 applies 0 dB gain, the head shadow gain 510 applies a −14.4 dB gain, the LF filter gain 706 applies between a 12 dB gain, the HF filter gain 710 applies a 0 dB gain, the L/R passthrough gain 606 applies −infinity dB gain, and the L+R passthrough gain 604 applies a −18 dB gain.
As discussed above, the steps in method 900 may be performed in different orders. In one example, steps 910 through 935 are performed in parallel such that the input channels Y, C, M, LF, and HF are available to the mixer 230 at substantially the same time for combination.
The subband spatial enhancer 210, such as the crossover network 304 of the frequency band divider 240, separates 1010 the input channel XL into subband mix subband channels EL(1) through EL(n), and separates the input channel XR into subband mix subband channels ER(1) through ER(n). N is a predefined number of subband channels, and in some embodiments, is four subband channels corresponding to 0 to 300 Hz, 300 to 510 Hz, 510 to 2700 Hz, and 2700 Hz to Nyquist frequency respectively. As discussed above, the n subband channels approximate critical bands of the human year. The n subband channels are a set of consolidated critical bands determined by using a corpus of audio samples from a wide variety of musical genres, and determining from the samples a long term average energy ratio of mid to side components over 24 Bark scale critical bands. Contiguous frequency bands with similar long term average ratios are then grouped together to form the set of n critical bands.
The subband spatial enhancer 210, such as the L/R to M/S converters 320(k) of the frequency band enhancer 245, generates 1020 spatial subband component Es(k) and nonspatial subband component Em(k) for each subband k (where k=1 through n). For example, each L/R to M/S converter 320(k) receives a pair of subband mix subband components EL(k) and ER(k), and converts these inputs into a mid subband component Em(k) and a side subband component Es(k) according to Eqs. (1) and (2) discussed above. For n=4, the L/R to M/S converters 320(1) through 320(4) generate spatial subband components Es(1), Es(2), Es(3), and Es(4), and nonspatial subband component Em(1), Em(2), Em(3), and Em(4).
The subband spatial enhancer 210, such as the mid/side processors 330(k) of the frequency band enhancer 245, generates 1030 an enhanced spatial subband component Ys(k) and an enhanced nonspatial subband component Ym(k) for each subband k. For example, each mid/side processors 330(k) converts a mid subband component Em(k) into an enhanced spatial subband component Ym(k) by applying a gain Gm(k) and a delay function D according to Eq. (3). Each mid/side processors 330(k) converts a side subband component Es(k) into an enhanced spatial subband component Ys(k) by applying a gain Gs(k) and a delay function D according to Eq. (4).
In some embodiments, the values of the gains Gm(k) and Gs(k) for each subband k is initially determined based on sampling long term average energy ratio of mid to side components over the subband k from a corpus of audio samples, such as from a wide variety of musical genres. In some embodiments, the audio samples may include different types of audio content such as movies, movies, and games. In another example, the sampling can be performed using audio samples known to include desirable spatial properties. These mid to side energy ratios are used as a point of departure in calculating the gains of Gm and Gs for the mid subband component Ym(k) and the enhanced side subband component Ys(k). Final subband gains are then defined through expert subjective listening tests across a wide body of audio samples, as described above. In some embodiments, the gains Gm and Gs, and delays Dm and Ds, may be determined according to speaker parameters or may be fixed for an assumed set of parameter values.
The subband spatial enhancer 210, such as the M/S to L/R converters 340(k) of the frequency band enhancer 245, generates 1040 a spatially enhanced left subband component YL(k) and a spatially enhanced right subband component YR(k) for each subband k. Each M/S to L/R converter 340(k) receives an enhanced mid component Ym(k) and an enhanced side component Ys(k), and converts them into the spatially enhanced left subband component YL(k) and the spatially enhanced right subband component YR(k), such as according to Eqs. (5) and (6). Here, the spatially enhanced left subband component YL(k) is generated based on adding the enhanced mid component Ym(k) and the enhanced side component Ys(k), and the spatially enhanced right subband component YR(k) is generated based on subtracting the enhanced side component Ys(k) from the enhanced mid component Ym(k). For n=4 subbands, the M/S to L/R converters 340(1) through 340(4) generate enhanced left subband components YL(1) through YL(4), and enhanced right subband component YR(1) through YR(4).
The subband spatial enhancer 210, such as the enhanced subband combiner 250, generates 1050 a spatially enhanced left channel YL by combining the enhanced left subband components YL(1) through YL(n), and a spatially enhanced right channel YR by combining the enhanced right subband components YR(1) through YR(n). The combinations may be performed based on Eqs. 5 and 6 as discussed above. In some embodiments, the enhanced subband combiner 250 may further apply a subband gain to the spatially enhanced left channel YL and spatially enhanced left channel YR that controls the contribution of the spatially enhanced left channel YL to the left output channel OL, and the contribution of the spatially enhanced right channel YR to the right output channel OR. In some embodiments, the subband gain is a 0 dB gain to serve as a baseline level, with the other gains discussed herein being set relative to the 0 dB gain. In some embodiments, such as when the input gain 302 is different from the −2 dB gain, the subband gain can be adjusted accordingly (e.g., to reach a desired baseline level for the spatially enhanced left channel YL and spatially enhanced left channel YR).
In various embodiments, the steps in method 1000 may be performed in different orders. For example, the enhanced spatial subband components Ys(k) for the subbands k=1 through n may be combined to generate Ys, and the enhanced nonspatial subband component Yin(k) for the subbands k=1 through n may be combined to generate Ym. The Ys and Ym may be converted into the spatially enhanced channels YL and YR using M/S to L/R conversion.
The subband band combiner 255 of the system 200 generates 1110 a subband mix left channel EL by combining subband mix subband channels EL(1) through EL(n), and a subband mix right channel ER by combining subband mix subband channels ER(1) through ER(n). The left subband mix channel EL and right subband mix channel ER are used as inputs for the crosstalk simulator 215, the passthrough 220, and/or the high/low frequency booster 225. In some embodiments, the crosstalk simulator 215, the passthrough 220, and/or the high/low frequency booster 225 may receive and process the original audio input channels XL and XR instead of the subband mix channels EL and ER. Here, step 1100 is not performed, and the subsequent processing steps of method 1100 are performed using the audio input channels XL and XR. In some embodiments, the subband band combiner 255 decodes the subband mix left subband channels EL(1) through EL(n) into the left input channel XL, and decodes the subband mix right subband channels ER(1) through ER(n) into the right input channel XR.
The crosstalk simulator 215 of the system 200 applies 1120 a first low-pass filter to the subband mix left channel EL. The first low-pass filter may be the head shadow low-pass filter 502 of the crosstalk simulator 215, which applies a modulation that models the frequency response of the signal after passing through the listener's head. As discussed above, the head shadow low-pass filter 502 may have a cutoff frequency of 2,023 Hz, where frequency components of the subband mix left channel EL that exceed the cutoff frequency are attenuated. Other embodiments of the crosstalk simulator 215 of the system 200 may employ a low-shelf or notch filter for the head shadow low-pass filter. This filter may have a cutoff/center frequency of 2023 Hz, with a Q of between 0.5 and 1.0 and a gain of between −6 and −24 dB.
The crosstalk simulator 215 applies 1130 a first cross-talk delay to output of the first low-pass filter. For example, the cross-delay 504 provides a time delay that models the increased trans-aural distance (and thus increased traveling time) that a contralateral sound component 112L from the left loudspeaker 110A travels relative to the ipsilateral sound component 118R from the right loudspeaker 110B to reach the right ear 125R of the listener 120, as shown in
The crosstalk simulator 215 applies 1140 a second low-pass filter to the subband mix right channel ER. The second low-pass filter may be the head shadow low-pass filter 506 of the crosstalk simulator 215, which applies a modulation that models the frequency response of the signal after passing through the listener's head. In some embodiments, the head shadow low-pass filter 506 may have a cutoff frequency of 2,023 Hz, where frequency components of the subband mix right channel ER that exceed the cutoff frequency are attenuated. Another embodiment of the crosstalk simulator 215 of the system 200 may employ a low-shelf or notch filter for the head shadow low-pass filter. This filter may have a cutoff frequency of 2023 Hz, with a Q of between 0.5 and 1.0 and a gain of between −6 and −24 dB.
The crosstalk simulator 215 applies 1150 a second cross-talk delay to output of the second low-pass filter. The second time delay models the increased trans-aural distance that a contralateral sound component 112R from the right loudspeaker 110B travels relative to the ipsilateral sound component 118L from the left loudspeaker 110B to reach the left ear 125L of the listener 120, as shown in
The cross talk simulator 215 applies 1160 a first gain to the output of the first cross-talk delay to generate a left cross-talk channel CL. The crosstalk simulator 215 applies 1170 a second gain to the output of the second cross-talk delay to generate a right cross-talk channel CR. In some embodiments, the head shadow gain 510 applies a −14.4 dB gain to generate the left cross-talk channel CL and right cross-talk channel CR.
In various embodiments, the steps in method 1100 may be performed in different orders. For example, steps 1120 and 1130 may be performed in parallel with steps 1140 and 1150 to process the left and right channels in parallel, and generate the left cross-talk channel CL and right cross-talk channel CR in parallel.
The passthrough 220 of the audio processing system 200 applies 1210 a gain to the subband mix left channel EL to generate a passthrough channel PL, and a gain to the subband mix right channel ER to generate a passthrough channel PR. In some embodiments, L/R passthrough gain 606 of the passthrough 220 applies an −infinity dB gain to the left subband mix channel EL and the right subband mix channel ER. Here, the passthrough channels PL and PR are fully attenuated and do not contribute to the output signal O. The level of gain can be adjusted to control the amount of the non-spatially enhanced input signal that contributes to the output signal O.
The passthrough 220 combines 1230 the subband mix left channel EL and the subband mix right channel ER to generate a mid (L+R) channel. For example, the L+R combiner 602 of the passthrough 220 adds the left subband mix channel EL with the right subband mix channel ER to a channel having audio data that is common to both the left subband mix channel EL and the right subband mix channel ER.
The passthrough 220 applies 1240 a gain to the mid channel to generate a left mid channel ML, and a gain to the mid channel to generate a right mid channel MR. In some embodiments, the L+R passthrough gain 604 applies a −18 dB gain to the output of the L+R combiner 602 to generate the left and right mid channels ML and MR. The level of gain can be adjusted to control the amount of the non-spatially enhanced mid input signal that contributes to the output signal O. In some embodiments, a single gain is applied to the mid channel, and the gain-applied mid channel is used for the left and right mid channels ML and MR.
In various embodiments, the steps in method 1200 may be performed in different orders. For example, steps 1210 and 1230 may be performed in parallel to generate the passthrough channels and mid channel in parallel.
The high/low frequency booster 225 of the audio processing system 200 applies 1310 a first band-pass filter to subband mix left channel EL and subband mix right channel ER, and a second band-pass filter to output of the first band-pass filter. For example, the LF enhance band-pass filter 702 and LF enhance band-pass filter 704 provide a cascaded resonator for low frequency enhancement. The characteristics of the first and second band-pass filters may be adjustable, such as different settings with predefined Q factor and/or center frequency of the band-pass filters. In some embodiments, the center frequency is set to a predefined level (e.g., 58.175 Hz), and the Q factor is adjustable. In some embodiments, a user can select from a predefined set of settings for the band-pass filters. The cascaded band-pass filter system selectively enhances energy in the signal that would typically be handled via a separate subwoofer in an in field loudspeaker system, but which is often not sufficiently represented when rendered over head-mounted speakers (i.e. headphones). The fourth order filter design (i.e. two cascaded second order band-pass filters) exhibits a crisp temporal response when excited, adding a “punch” to key low frequency elements within the mix such as bass drum and bass guitar attacks, while avoiding an overall “muddiness” that may occur if simply increasing low frequency energy over a wider band in the low frequency spectrum using a second order band-pass, low-shelf, or peaking filter.
The high/low frequency booster 225 applies 1320 a gain to output of the second band-pass filter to generate low frequency channels LFL and LFR. For example, the LF filter gain 706 applies a gain to the output of the LF enhance band-pass filter 704 to generate the left LF channel LFL and the right LF channel LFR. The LF filter gain 706 controls the contribution of the low frequency channels LFL and LFR to the audio output channels OL and OR.
The high/low frequency booster 225 applies 1330 a high-pass filter to the subband mix left channel EL and subband mix right channel ER. For example, the HF enhance high-pass filter 708 applies a modulation that attenuates signal components with frequencies lower than a cutoff frequency of the HF enhance high-pass filter 708. As discussed above, the HF enhance high-pass filter 708 may be a second order Butterworth filter with a cutoff frequency of 4573 Hz. In some embodiments, the characteristics of the high-pass filter are adjustable, such as different settings of the cutoff frequency and gain are applied to the output of the high-pass filter. The overall high frequency amplification achieved through the addition of this high-pass filter serves to accentuate impactful timbral, spectral, and temporal information within typical musical signals (e.g. high frequency percussion such as cymbals, high frequency elements of acoustic room responses, etc). Furthermore, said enhancement serves to increase the perceived effectiveness of spatial signal enhancement, while avoiding undue coloration in low and mid frequency non-spatial signal elements (commonly vocals and bass guitar).
The high/low frequency booster 225 applies 1340 a gain to output of the high-pass filter to generate high frequency channels HFL and HFR. The level of gain can be adjusted to control the contribution of the high frequency channels HFL and HFR to the audio output channels OL and OR. In some embodiments, the HF filter gain 710 applies a 0 dB gain to the output of the HF enhance high-pass filter 708.
In various embodiments, the steps in method 1300 may be performed in different orders. For example, steps 1310 and 1330 may be performed in parallel with steps 1330 and 1340 to generate the low and high frequency channels in parallel.
Upon reading this disclosure, those of skill in the art will appreciate still additional alternative embodiments through the disclosed principles herein. Thus, while particular embodiments and applications have been illustrated and described, it is to be understood that the disclosed embodiments are not limited to the precise construction and components disclosed herein. Various modifications, changes and variations, which will be apparent to those skilled in the art, may be made in the arrangement, operation and details of the method and apparatus disclosed herein without departing from the scope described herein.
Any of the steps, operations, or processes described herein may be performed or implemented with one or more hardware or software modules, alone or in combination with other devices. In one embodiment, a software module is implemented with a computer program product comprising a computer readable medium (e.g., non-transitory computer readable medium) containing computer program code, which can be executed by a computer processor for performing any or all of the steps, operations, or processes described.
This application claims priority under 35 U.S.C. § 119(e) from U.S. Provisional Patent Application No. 62/280,121, entitled “BOA Algorithm Description,” filed on Jan. 19, 2016, and U.S. Provisional Patent Application No. 62/388,367, entitled “BOA Algorithm Description,” filed on Jan. 29, 2016, all of which are incorporated by reference herein in their entirety.
Number | Name | Date | Kind |
---|---|---|---|
3920904 | Blauert | Nov 1975 | A |
20080031462 | Walsh et al. | Feb 2008 | A1 |
20080165975 | Oh | Jul 2008 | A1 |
20080249769 | Baumgarte | Oct 2008 | A1 |
20080273721 | Walsh | Nov 2008 | A1 |
20090262947 | Karlsson et al. | Oct 2009 | A1 |
20090304189 | Vinton | Dec 2009 | A1 |
20110152601 | Puria | Jun 2011 | A1 |
20110188660 | Xu et al. | Aug 2011 | A1 |
20110268281 | Florencio et al. | Nov 2011 | A1 |
20120099733 | Wang et al. | Apr 2012 | A1 |
Number | Date | Country |
---|---|---|
100481722 | Apr 2009 | CN |
101884065 | Jul 2013 | CN |
103765507 | Jan 2016 | CN |
102893331 | Mar 2016 | CN |
2013-013042 | Jan 2013 | JP |
10-2009-0074191 | Jul 2009 | KR |
10-2012-0077763 | Jul 2012 | KR |
1484484 | May 2015 | TW |
1489447 | Jun 2015 | TW |
201532035 | Aug 2015 | TW |
Entry |
---|
PCT International Search Report and Written Opinion, PCT Application No. PCT/US2017/013061, Apr. 18, 2017, 12 pages. |
PCT International Search Report and Written Opinion, PCT Application No. PCT/US2017/013249, Apr. 18, 2017, 20 pages. |
“Bark scale,” Wikipedia.org, Last Modified Jul. 14, 2016, 4 pages, [Online] [Retrieved on Apr. 20, 2017] Retrieved from the Internet<URL:https://en.wikipedia.org/wiki/Bark_scale>. |
Taiwan Office Action, Taiwan Application No. 106101748, Aug. 15, 2017, 6 pages (with concise explanation of relevance). |
Taiwan Office Action, Taiwan Application No. 106101777, Aug. 15, 2017, 6 pages (with concise explanation of relevance). |
Number | Date | Country | |
---|---|---|---|
20170230777 A1 | Aug 2017 | US |
Number | Date | Country | |
---|---|---|---|
62280121 | Jan 2016 | US | |
62388367 | Jan 2016 | US |