The disclosure relates to the technical field of virtual auditory technology, particularly to a method, device, and storage medium of headphone virtual spatial sound playback after timbre equalization, as well as headphones with virtual spatial sound playback effect.
Virtual spatial sound playback technology simulates the acoustic transmission process from a sound source to both ears. This technology processes original sound signal, which lacks spatial auditory effects, to produce a corresponding spatial auditory sensation during headphone playback. As shown in
However, since the HRTF function must change the frequency response curve of the input original sound signal A0 to convey 3D spatial positioning cues, producing 3D spatial playback effects with the HRTF function inevitably leads to spectral distortion of the sound signal, especially in the mid and high-frequency sections of the sound spectrum. This spectral distortion manifests as a change in timbre during playback. Currently, producing 3D spatial playback effects using the HRTF function while maintaining unchanged timbre is a contradictory technical problem.
The purpose of the disclosure is to overcome the shortcomings and deficiencies of prior art, providing a method of headphone virtual spatial sound playback that can further improve the timbre of spatial sound playback while flexibly adapting to various sound effect requirements.
This disclosure is implemented by the following technical solutions:
A method of headphone virtual spatial sound playback, including:
Performing filtering on an input original sound signal A0 through a timbre equalization function (based on spatial orientation information of an intended virtual sound source, to obtain an equalized sound signal AC; then filtering the equalized sound signal AC through an HRTF function, and outputting a left ear sound signal AL and a right ear sound signal AR.
Wherein, the spatial orientation information of the intended virtual sound source comprises a horizontal orientation angle θ and a vertical orientation angle φ; the relationship between the equalized sound signal AC and the original sound signal A0 is expressed as: AC=AC;
The timbre equalization function C is expressed as:
Wherein f is frequency of the original sound signal A0, f0 is a crossover point, H is amplitude spectrum of the HRTF function, K0 is an equalization gain factor, G0 is an overall gain factor.
Relative to prior art, this disclosure allows an original sound signal with no spatial auditory effect to produce spatial auditory effect through HRTF function filtering while reducing timbre changes in virtual spatial sound playback. The method does not affect or change the spatial positioning performance of the original HRTF.
In an alternative embodiment, wherein the original sound signal comprises at least two parallel sub original sound signals, each of the sub original sound signals corresponding to spatial orientation information of a sub intended virtual sound source; performing filtering on each of the sub original sound signals through the timbre equalization function C to obtain the corresponding sub equalized sound signal; then filtering each sub equalized sound signal through the HRTF function to obtain the corresponding sub left ear sound signal and sub right ear sound signal.
In an alternative embodiment, wherein the value of the crossover point to is any frequency value within a specific range of 400 Hz≤f0≤1.5 kHz.
In an alternative embodiment, wherein the expression of the equalization gain factor K0 is:
Wherein H f0 is the value H (θ,φ,f0) of the amplitude spectrum H of the HRTF function at the crossover point f0, HLf
In an alternative embodiment, wherein the expression of the equalization gain factor K0 is:
The equalization gain factor K0 can be set to a value adjusted by the listener according to their own needs.
Based on the same inventive concept, the disclosure also provides a device of headphone virtual spatial sound playback, including: A timbre equalization filter module and an HRTF filter module; The timbre equalization filter module is configured to obtain an original sound signal A0 and spatial orientation information of an intended virtual sound source, to perform filtering on the original sound signal A0 through a timbre equalization function C based on the spatial orientation information of the intended virtual sound source, and to obtain an equalized sound signal AC; The HRTF filter module is configured to filter the equalized sound signal AC through an HRTF function, and to output a left ear sound signal AL and a right ear sound signal AR.
Wherein, the spatial orientation information of the intended virtual sound source comprises a horizontal orientation angle θ and a vertical orientation angle φ; the relationship between the equalized sound signal AC and the original sound signal A0 is expressed as: AC=A0C; The timbre equalization function (is expressed as:
In an alternative embodiment, wherein the original sound signal comprises at least two parallel sub original sound signals, each of the sub original sound signals corresponding to spatial orientation information of a sub intended virtual sound source; performing filtering on each of the sub original sound signals through the timbre equalization function C to obtain the corresponding sub equalized sound signal; then filtering each sub equalized sound signal through the HRTF function to obtain the corresponding sub left ear sound signal and sub right ear sound signal.
In an alternative embodiment, wherein the expression of the equalization gain factor K0 is:
Wherein Hf
In an alternative embodiment, wherein the expression of the equalization gain factor K0 is
The equalization gain factor K0 can be set to a value adjusted by the listener according to their own needs.
Based on the same inventive concept, the disclosure also provides a storage medium of headphone virtual spatial sound playback. The storage medium serves as a computer-readable storage medium used for storing programs. The programs include: performing filtering on an input original sound signal A0 through a timbre equalization function C based on spatial orientation information of an intended virtual sound source, to obtain an equalized sound signal AC; then filtering the equalized sound signal AC through an HRTF function, and outputting a left ear sound signal AL and a right ear sound signal AR;
Wherein, the spatial orientation information of the intended virtual sound source comprises a horizontal orientation angle θ and a vertical orientation angle φ; the relationship between the equalized sound signal AC and the original sound signal A0 is expressed as: AC=A0C.
The timbre equalization function C is expressed as:
Wherein f is frequency of the original sound signal A0, f0 is a crossover point, H is amplitude spectrum of the HRTF function, K0 is an equalization gain factor, G0 is an overall gain factor.
In an alternative embodiment, wherein the original sound signal comprises at least two parallel sub original sound signals, each of the sub original sound signals corresponding to spatial orientation information of a sub intended virtual sound source; performing filtering on each of the sub original sound signals through the timbre equalization function C to obtain the corresponding sub equalized sound signal; then filtering each sub equalized sound signal through the HRTF function to obtain the corresponding sub left ear sound signal and sub right ear sound signal.
In an alternative embodiment, wherein the value of the crossover point f0 is any frequency value within a specific range of 400 Hz≤f0≤1.5 kHz.
In an alternative embodiment, wherein the expression of the equalization gain factor K0 is:
Wherein Hf
In an alternative embodiment, wherein the expression of the equalization gain factor K0 is
Based on the same inventive concept, the disclosure also provides headphones with virtual spatial sound playback effect. The headphones include a device of headphone virtual spatial sound playback, a left ear speaker, and a right ear speaker. The device of headphone virtual spatial sound playback includes a timbre equalization filter module and an HRTF filter module. The timbre equalization filter module is configured to obtain an original sound signal A0 and spatial orientation information of an intended virtual sound source, to perform filtering on the original sound signal A0 through a timbre equalization function C based on the spatial orientation information of the intended virtual sound source, and to obtain an equalized sound signal AC; the HRTF filter module is configured to filter the equalized sound signal AC through an HRTF function, and to output a left ear sound signal AL and a right ear sound signal AR;
Wherein, the spatial orientation information of the intended virtual sound source comprises a horizontal orientation angle θ and a vertical orientation angle φ; the relationship between the equalized sound signal AC and the original sound signal A0 is expressed as: AC=A0C.
The timbre equalization function (is expressed as:
Wherein f is frequency of the original sound signal A0, f0 is a crossover point, H is amplitude spectrum of the HRTF function, K0 is an equalization gain factor, G0 is an overall gain factor.
In an alternative embodiment, wherein the original sound signal comprises at least two parallel sub original sound signals, each of the sub original sound signals corresponding to spatial orientation information of a sub intended virtual sound source; performing filtering on each of the sub original sound signals through the timbre equalization function C to obtain the corresponding sub equalized sound signal; then filtering each sub equalized sound signal through the HRTF function to obtain the corresponding sub left ear sound signal and sub right ear sound signal.
In an alternative embodiment, wherein the value of the crossover point f0 is any kHz frequency value within a specific range of 400 Hz≤f0≤1.5 kHz.
In an alternative embodiment, wherein the expression of the equalization gain factor K0 is:
Wherein Hf
In an alternative embodiment, wherein the expression of the equalization gain factor K0 is
Based on the same inventive concept, the disclosure also provides a method of timbre equalization in virtual spatial sound playback. The method of timbre equalization in virtual spatial sound playback includes: before filtering a equalized sound signal AC through an HRTF function, filtering an original sound signal A0 through a timbre equalization function C based on spatial orientation information of an intended virtual sound source, to obtain an equalized sound signal AC;
Wherein, the spatial orientation information of the intended virtual sound source comprises a horizontal orientation angle θ and a vertical orientation angle φ; the relationship between the equalized sound signal AC and the original sound signal A0 is expressed as: AC=A0C;
The timbre equalization function C is expressed as:
Wherein f is frequency of the original sound signal A0, f0 is a crossover point, H is amplitude spectrum of the HRTF function, K0 is an equalization gain factor, G0 is an overall gain factor.
In an alternative embodiment, wherein the original sound signal comprises at least two parallel sub original sound signals, each of the sub original sound signals corresponding to spatial orientation information of a sub intended virtual sound source; performing filtering on each of the sub original sound signals through the timbre equalization function (to obtain the corresponding sub equalized sound signal; then filtering each sub equalized sound signal through the HRTF function to obtain the corresponding sub left ear sound signal and sub right ear sound signal.
In an alternative embodiment, wherein the value of the crossover point f0 is any frequency value within a specific range of 400 Hz≤f0≤1.5 kHz.
In an alternative embodiment, wherein the expression of the equalization gain factor K0 is:
Wherein Hf
In an alternative embodiment, wherein the expression of the equalization gain factor K0 is
The following is the detailed description of the technical solution of this disclosure in conjunction with the drawings.
The concept of the disclosure is based on processing the input original sound signal by the head-related transfer function (HRTF) while performing timbre equalization on the original sound signal to adjust its timbral distortion effect. The HRTF function is a database obtained through precise experimental measurements, containing all data related to the HRTF function, such as angle, distance, frequency, etc., of the intended virtual sound source. The HRTF left ear function and HRTF right ear function corresponding to spatial orientation information of the intended virtual sound source can be found in the HRTF database. It has been found in studies on processing the original sound signal with the HRTF function that the HRTF function affects the low-frequency and mid-high-frequency sections of the original sound signal differently and mainly causes spectral distortion in the mid-high-frequency section of the original sound signal. Therefore, this disclosure first divides the sound signal into frequency bands, performing different timbre adjustments for low-frequency band and mid-high-frequency band. For the low-frequency band sound signal, an overall gain factor is used for timbre adjustment, and for the mid-high-frequency band sound signal, an overall gain factor and an equalization gain factor are used to compensate for the timbre loss of the original sound signal after HRTF function filtering, to reduce the change in the timbre of the original sound signal.
Based on this, the disclosure provides a method, device, and storage medium of headphone virtual spatial sound playback, as well as headphones with virtual spatial sound playback effects, which are explained through several embodiments.
Referring to
S1: Acquiring an original sound signal A0 and spatial orientation information of a intended virtual sound source;
in the step of S1, the acquired original sound signal A0 is a sound signal from a player or system input.
The spatial orientation information of the intended virtual sound source is the spatial orientation information of the virtual sound source that listener expects to obtain after the original sound signal A0 is processed through virtual spatial sound playback. For example, if the listener expects the sound effect after virtual spatial sound playback to seem as if the sound source is coming from directly in front of them, then the spatial orientation information of this front position is defined as the spatial orientation information of the intended virtual sound source.
In this disclosure, the spatial orientation information of the intended virtual sound source is characterized by the horizontal orientation angle θ and the vertical orientation angle φ of the intended virtual sound source relative to the listener's head, taking the listener's head as the reference center. In this embodiment, the spatial orientation information of the intended virtual sound source is defined through a spatial coordinate system. Referring to
In this embodiment, the horizontal orientation angle θ and vertical orientation angle φ of the spatial orientation information of the intended virtual sound source can be adjusted and set by the listener based on his needs regarding the spatial orientation effect of the intended virtual sound source.
S2: Performing timbre equalization filtering on the original sound signal A0 to obtain an equalized sound signal AC;
In the step of S2, performing timbre equalization filtering on the original sound signal A0 in its frequency domain through a timbre equalization function C, to obtain an equalized sound signal AC. The relationship between the equalized sound signal AC and the original sound signal A0 is expressed as: AC=A0C.
The expression for the timbre equalization function C is defined as follows:
Wherein f is frequency of the original sound signal A0, f0 is crossover point, H is amplitude spectrum of HRTF function, K0 is equalization gain factor, and G0 is overall gain factor. The original sound signal A0 which contains signals of different frequencies, is first divided by the timbre equalization function C using the crossover point f0 into two bands of signals: low-frequency band and mid-high frequency band. Adjusting the low-frequency band sound signal of the original sound signal A0 by the overall gain factor G0; adjusting the mid-high frequency band sound signal of the original sound signal A0 by the overall gain factor G0, the equalization gain factor K0, and the amplitude spectrum H of the HRTF function.
In fact, the aforementioned crossover point f0, the amplitude spectrum H of the HRTF function, the equalization gain factor K0, and the overall gain factor G0 set in this disclosure are all related to the horizontal orientation angle θ and the vertical orientation angle φ of the spatial orientation information of the intended virtual sound source. Therefore, the timbre equalization function C changes with the horizontal orientation angle θ and the vertical orientation angle φ of the spatial orientation information of the intended virtual sound source. The following will explain these variables one by one.
Since the crossover point f0 is related to frequency response curve of the HRTF function, please refer to
The crossover point f0 should be selected as the point where the HRTF function's impact on the low and mid-high frequencies of the sound source differs. Based on the analysis, the point typically lies between 200 Hz and 1.5 kHz. Additionally, the point where the HRTF function's impact on the low and mid-high frequencies of the sound source differsis influenced by the spatial orientation information of the intended virtual sound source. After analyzing the characteristics of the HRTF function, the preferred range for the value of the crossover point f0 is determined as 400 Hz≤f0≤1.5 kHz. Since the HRTF function is highly individualized and the design of auditory filters involves multi-dimensional considerations, and because the values that satisfy mathematical and physical optimal designs may not necessarily meet auditory perception needs, in this embodiment, the crossover point f0 can also be adjusted and set according to the listener's personal requirements. Moreover, to achieve specific sound effects desired by the listener, such as when only high-frequency band needs to be equalized gained, the listener can choose the crossover point f0 as 1.5 kHz<f0<20 kHz.
In addition, to maintain the continuity of the timbre equalization function C across the two bands divided by the crossover point f0, interpolation and standard smoothing treatment near the crossover point f0 are necessary.
After determining the crossover point f0, for the signal of low-frequency band that the frequency is less than the crossover point f0, multiplying it by the overall gain factor G0 to adjust sound pressure level of the original sound signal. The overall gain factor G0 is an arbitrary constant that can be set as needed.
For the signal of mid-high-frequency band that the frequency is greater than the crossover point f0, multiplying it by the overall gain factor G0, the equalization gain factor K0 and the reciprocal of the amplitude spectrum H of HRTF function. Wherein, the amplitude spectrum H of HRTF function is that of the HRTF function on the same side as the intended virtual sound source, expressed as:
Wherein HL(θ,φ,f) is the HRTF left ear function and HR(θ,φ,f) is the HRTF right ear function. When the intended virtual sound source is located on the left side of the head, i.e. the horizontal orientation angle θ satisfies inequality of 0°<θ<180°, the amplitude spectrum of HRTF function is taken from the amplitude spectrum of the HRTF left ear function, i.e. √{square root over (|HL(θ,φ,f)|2)}. When the intended virtual sound source is located on the right side of the head, i.e. the horizontal orientation angle θ satisfies inequality of −180°<θ<0°, the amplitude spectrum of HRTF function is taken from the amplitude spectrum of the HRTF right ear function, i.e. √{square root over (|HR(θ,φ,f)|2)}. When the intended virtual sound source is located on the median plane of the head, i.e. the horizontal orientation angle θ satisfies θ=±180° or θ=±180°, the amplitude spectrum of HRTF function is taken from either the amplitude spectrum of the HRTF left ear function or the amplitude spectrum of the HRTF right ear function. Since the HRTF functions are symmetrical or nearly symmetrical, when θ=0° or θ=±180° H can be selected based on actual needs in these scenarios without affecting the implementation of this method.
The selection of the equalization gain factor K0 is related to the spatial orientation of the intended virtual sound source, and its expression is defined as:
Wherein Hf
To illustrate the relationship between the equalization gain factor K0 and the horizontal orientation angle θ of the intended virtual sound source, this embodiment divides the spatial coordinate system into zones. Referring to
When the spatial orientation of the intended virtual sound source is set in zone “a” or zone “b”, due to the role of the head, the sound pressure level of the mid-high frequency band of the sound reaches the same side ear is much larger than that of the opposite side ear, i.e. the sound pressure level of the mid-high frequency band of the intended virtual sound source reaching the same side ear is also much larger than that of reaching the opposite side ear. It can be approximated that the sound pressure level of the mid-high frequency band of the intended virtual sound source reaching the same side ear is similar to the original sound signal A0. Therefore, the expression for the equalization gain factor K0; K0=1.
When the spatial orientation of the sound source is set in zone “c” or zone “d”, the sound pressure level of the mid-high frequency band of the sound reaching the opposite side ear gradually approaches that of the same side ear. That is, the sound pressure level of the mid-high frequency band of the intended virtual sound source reaching the opposite side ear also gradually approaches that of the same side ear. At this time, the sound pressure level of the intended virtual sound source reaching the opposite side ear cannot be ignored anymore. To ensure the energy balance between the low frequency band and mid-high frequency band of the intended virtual sound source, it is necessary to make the sound power reaching both ears from the intended virtual sound source equal to the power of the original sound signal A0 at the crossover point f0, which means adhering to the principle of sound power conservation. Therefore, based on the method, the expression of the equalization gain factor K0 can be obtained as:
Furthermore, to adapt to different timbre equalization needs, when the spatial orientation of the intended virtual sound source is chosen in zone “c” or zone “d”, the equalization gain factor K0 can be set to a value adjustable by the listener within a certain range. According to the expression
the value range for the equalization gain factor K0 can be derived as:
Within the value range, the equalization gain factor K0 can achieve the purpose of timbre equalization. When the equalization gain factor K0 is set to be adjustable by the listener, the expression for the equalization gain factor K0 is simplified to: when the spatial orientation of the intended virtual sound source is in zone “a” or zone “b”, K0=1; when in zone “c” or zone “d”, K0 can be any number within the specified range of
so the expression for the freely chosen K0 is:
S3, Filtering the equalized sound signal AC through a HRTF left ear function and a HRTF right ear function respectively, and obtaining a left ear sound signal AL and a right ear sound signal AR respectively.
In the step of S3, the equalized sound signal AC, after being subjected to timbre equalization, is filtered through the HRTF left ear function and the right ear function, eventually obtaining the left ear sound signal AL and the right ear sound signal AR. The left ear sound signal AL, output through the left ear speaker of headphones, is the result of filtering the equalized sound signal AC through the HRTF left ear function. The relationship between the left ear sound signal AL and the equalized signal AC is: AL=ACHL(θ,φ,f). Similarly, the right ear sound signal AR, output through the right earspeaker of headphones, is the result of filtering the equalized sound signal AC through the HRTF right ear function. The relationship between the right ear sound signal AR and the equalized signal AC is: AR=ACHR(θ,φ,f).
Referring to
In summary, during the process of using the method of headphone virtual spatial sound playback with timbre equalization of Embodiment 1, users can first select the spatial orientation (horizontal orientation θ and vertical orientation angle φ) of the intended virtual sound source. The users can also adjust the value of the crossover point f0, the equalization gain factor K0, and the overall gain factor G0 according to their auditory perception needs.
Furthermore, in addition to adjusting for timbre equalization, to meet users' needs for adjusting the pitch, the equalization gain factor K0 can take other values. For instance, when there is a need to raise the pitch of the original sound signal A0, enhancing the sound power of the mid-high frequency band to make the sound brighter, the equalization gain factor K0 can be taken with a certain range of K0>1 Conversely, when there is a need to lower the pitch of the original sound signal A0, attenuating the sound power of the mid-high frequency band to make the sound duller, the equalization gain factor K0 can be taken with another specified range of
Additionally, when there is a need to cut off the mid-high frequency band for some specific effects, the equalization gain factor K0 can be set by K0=0.
After the users have determined the values of each parameter, the timbre equalization function C can be defined. The original sound signal A0, after being filtered through the timbre equalization function C, will have its sound signal of low frequency band enhanced in loudness, while its sound signal of mid-high frequency band will receive timbre equalization gain. Finally, after filtering through the HRTF function, the result will be a virtual spatial sound with timbre equalization.
Based on the method of headphone virtual spatial sound playback of Embodiment 1, this embodiment also provides a device of headphone virtual spatial sound playback. The device includes a timbre equalization filter module and an HRTF filter module. The timbre equalization filter module is configured to acquire original sound signal A0 and spatial orientation information of intended virtual sound source, then to perform timbre equalization filtering on the original sound signal A0 through timbre equalization function C based on the spatial orientation information to obtain equalized sound signal AC The HRTF filter module is configured to receive the equalized sound signal A and filter it through HRTF function, to obtain left ear sound signal AL and right ear sound signal AR.
Compared to prior art, this disclosure adjusts the input original sound signal A0 by dividing it at the crossover point f0, using the overall gain factor G0 to adjust the overall sound pressure level across the entire frequency range, and the equalization gain factor K0 to adjust the overall sound power in the mid-high frequency band. This ensures that the overall sound power of the left ear sound signal AL and right ear sound signal AR, after being filtered through the HRTF function, remains approximately equal to the power of the input original sound signal A0, thus improving the timbre. Additionally, the crossover point f0, overall gain factor G0, and equalization gain factor K0 can be specially set according to specific requirements to adjust the overall loudness, pitch, and cut-off frequency range of the audio, thereby achieving different sound effects and meeting various listeners' needs.
Referring to
S1: Acquiring original sound signals, which include n suboriginal sound signals, A01, A02, . . . , A0n and corresponding n spatial orientation information for n subintended virtual sound sources;
In the step of S1, each suboriginal sound signal A0n represents an input audio, n≥2. The spatial orientation information for the subintended virtual sound sources includes n subhorizontal orientation angles θ1, θ2, . . . , θn and subvertical orientation angles φ1, φ2, . . . , φn; each spatial orientation information corresponding to the suboriginal sound signals A01, A02, . . . , A0n.
The subhorizontal orientation angles θ1, θ2, . . . , θn, and subvertical orientation angles φ1, φ2, . . . , φn are set to different fixed values according to actual scenario. For example, to simulate a 5.1 surround sound system, there are 6 input audios including a central channel, a front left channel, a front right channel, a rear left surround channel, a rear right surround channel and a subwoofer channel. The 6 input audios correspond to 6 suboriginal sound signals A01, A02, A03, A04, A05, A06. The subhorizontal orientation angles θ1, θ2, θ3, θ4, θ5, θ6 corresponding to the 6 sub original sound signals A01, A02, A03, A04, A05, A06 are set to 0°, 30°, −30°, 120°, −120°, 0°; and the subvertical orientation angles φ1, φ2, φ3, φ4, φ5, φ6 corresponding to the 6 sub original sound signals A01, A02, A03, A04, A05, A06 are set to 0°.
S2: Performing timbre equalization filtering on the suboriginal sound signals A01, A02, . . . , A0n to obtain the corresponding n subequalized sound signals AC1, AC2, . . . , ACn;
In the step of S2, performing timbre equalization filtering on each suboriginal sound signal A01, A02, . . . , A0n respectively through timbre equalization function Cn. The relationship between each subequalized sound signal ACn and the suboriginal sound signal A0n is expressed by a formula ACn=A0nCn. The expression for the timbre equalization function Cn is defined as:
wherein the selection of the crossover point f0n, overall gain factor G0n, and equalization gain factor K0n, are similar to those in Embodiment 1 and are not repeated here. The crossover point f0n, overall gain factor G0n and equalization gain factor K0n can be set differently for each suboriginal sound signal A01, A02, . . . , A0n to adjust overall sound power, achieving the desired sound playback effect.
S3: Filtering the each sub equalized sound signal AC1, AC2, . . . , ACn through corresponding HRTF left ear function and HRTF right ear function of spatial orientation information of the n subintended virtual sound sources, and obtaining n subleft ear sound signals AL1, AL2, . . . , ALn and n sub right ear sound signals AR1, AR2, . . . , ARn.
In the step of S3, each subequalized sound signal AC1, AC2, . . . , ACn is filtered through its corresponding HRTF left ear function and HRTF right ear function, resulting in the subleft ear sound signals AL1, AL2, . . . , ALn and the sub right ear sound signals AR1, AR2, . . . , ARn. The expression of the subleft ear sound signal ALn and the sub equalized sound signal ACn is ALn=ACnHLn (θn,φn,fn). The expression of the subright ear sound signal ARn and the sub equalized sound signal ACn is ARn=ACnHRn (θn,φn,fn) In practical implementation, combing the n subleft ear sound signals AL1, AL2, . . . , ALn into a single left ear sound signal and outputting the single left ear sound signal through the left ear speaker of headphones; and combining the n subright ear sound signals AR1, AR2, . . . , ARn into a single right ear sound signal and outputting the single right ear sound signal through the right ear speaker of headphones.
Based on the method of headphone virtual spatial sound playback of Embodiment 2, this embodiment also provides a corresponding device of headphone virtual spatial sound playback. The device of headphone virtual spatial sound playback includes n timbre equalization filter modules and n HRTF filter modules. Wherein the timbre equalization filter modules acquire n suboriginal sound signals A01, A02, . . . , A0n and the corresponding spatial orientation information for n subintended virtual sound sources; then based on the spatial orientation information of the intended virtual sound sources, perform timbre equalization filtering on each corresponding suboriginal sound signal A01, A02, . . . , A0n through timbre equalization function Cn, output subequalized sound signals AC1, AC2, . . . , ACn respectively. The HRTF filter modules acquire the corresponding subequalized sound signals AC1, AC2, . . . , ACn and filter them through HRTF function; then combine the obtained subleft ear sound signals AL1, AL2, . . . , ALn into a single left ear signal for output; and similarly, combine obtained subright ear sound signals AR1, AR2, . . . , ARn into a single right ear signal for output.
In Embodiment 2, this disclosure simultaneously processes multiple original sound signals, each of original sound signals corresponding to different spatial orientation information of intended virtual sound sources. The embodiment produces binaural sound signals with spatial playback effects after timbre equalization, allowing the listener to perceive multiple sounds originating from specific spatial locations. Based on this, the disclosure can be applied in scenario simulating multi-channel surround sound, achieving a surround sound effect that would typically require multiple speakers through headphones. Especially when the original sound signals are of high-quality audio, the disclosure can create an immersive experience akin to being in a cinema.
Based on the method of headphone virtual spatial sound playback of Embodiments 1 and 2, this disclosure also provides a storage medium of headphone virtual spatial sound playback. This storage medium, as a computer-readable storage medium, is mainly used to store programs, which can be the program codes corresponding to the methods in Embodiments 1 and 2.
Furthermore, based on the method of headphone virtual spatial sound playback of Embodiments 1 and 2, this disclosure also provides headphones with virtual spatial sound playback effects. The headphones include a device of headphone virtual spatial sound playback, a left ear speaker, and a right ear speaker. The device of headphone virtual spatial sound playback corresponds to the devices in Embodiments 1 and 2, and the left ear speaker and right ear speaker are configured to output the left ear sound signal and right ear sound signal from the device of headphone virtual spatial sound playback to the outside of the headphones.
In line with the same inventive concept, this disclosure also provides a method of timbre equalization in virtual spatial sound playback. This method includes performing timbre equalization filtering on the original sound signal A0 through timbre equalization function C based on spatial orientation information of intended virtual sound source before filtering through HRTF function, to obtain equalized sound signal AC. The timbre equalization function C is the same as in Embodiments 1 and 2 and is not repeated here.
This disclosure can be implemented using general DSP hardware circuits or software code, or as part of a head-related transfer function database in HRTF/HRIR data files. The methods of this disclosure can be applied in headphones and in free-field conditions using HRTF/HRIR. This disclosure is not limited to the aforementioned embodiments. If various modifications or transformations of this disclosure do not depart from the spirit and scope of the disclosure, and if these modifications and transformations fall within the claims and equivalent technical scope of this disclosure, they are also intended to be included within this disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202110896744.6 | Aug 2021 | CN | national |
This application claims priority to PCT Application No. PCT/CN2021/125220 filed on Oct. 21, 2021, which claims priority to Chinese Patent Application No. 202110896744.6 filed on Aug. 5, 2021, the entire contents of both of which are hereby incorporated by reference.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/125220 | 10/21/2021 | WO |