Dual-track audio processing method and device and audio playing equipment

By dividing the dual-channel audio data into mid-channel data and side-channel data, and performing phase modulation and equalization processing, the problems of high computing volume and large hardware overhead in the prior art are solved, and better listening effect and hardware efficiency are achieved.

CN120034817APending Publication Date: 2025-05-23BESTECHNIC SHANGHAI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510226631.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-27
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

When processing dual-channel audio data, the prior art has high computing volume and high hardware overhead, resulting in the problem of strong sense of direction and poor listening experience when playing sounds.

Method used

By dividing the two-channel audio data into the middle channel data and the side channel data, and performing phase modulation and equalization processing respectively, the changes in sound in each direction are weakened, thereby reducing the calculation amount and hardware overhead.

Benefits of technology

It realizes the directionality of two-channel audio data, improves listening effects, reduces hardware performance requirements and costs, and avoids complex computing and hardware configuration requirements in traditional beamforming technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120034817A_ABST
    Figure CN120034817A_ABST
Patent Text Reader

Abstract

The invention provides a dual-track audio processing method and device and audio playing equipment, and relates to the field of audio processing. The dual-track audio processing method comprises the following steps: acquiring dual-track audio data; dividing the dual-track audio data into middle path data and side path data; respectively carrying out phase modulation on the middle path data and the side path data so as to change the spatial distribution of each frequency in the dual-track audio data; the middle path data and the side path data after phase modulation are subjected to equalization processing, target middle path data and target side path data are obtained, and equalization processing is used for weakening changes of sound corresponding to the dual-track audio data in all directions; and restoring the target middle path data and the target side path data into the target dual-track audio data. According to the method, on the basis of weakening the directivity of the dual-track audio data, the calculation amount and the hardware overhead are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of audio processing, and specifically, provides a dual-channel audio processing method, device and audio playback device. Background Art

[0002] When two-channel audio data is played by a two-channel speaker, the sound emitted is usually highly directional in the left and right directions, while the sound in other directions is weaker. This makes the sound of the audio playback stronger in one direction and weaker in other directions, affecting the listening experience.

[0003] Currently, beamforming technology is usually used to adjust the amplitude and phase of the audio signal emitted by the sound unit so that the sound waves of the audio signal form a specific beam shape, thereby improving the directivity of the sound and reducing the difference of the sound in different directions.

[0004] However, beamforming technology requires a lot of computation and a lot of signal processing and algorithm operations, such as matrix operations and optimization algorithms. In some adaptive beamforming and machine learning-based scenarios, audio devices require a higher amount of computation, and the real-time nature of sound playback requires audio devices to have higher computing power for timely calculation and output. In addition, beamforming requires the configuration of corresponding hardware, such as amplifiers, filters, and high-speed digital signal processors, which will increase the circuit complexity and cost of audio devices. Summary of the invention

[0005] In view of this, the present application aims to provide a two-channel audio processing method, apparatus and audio playback device, so as to reduce the computational complexity and hardware overhead of two-channel audio data processing on the basis of weakening the sound directivity corresponding to the two-channel audio data.

[0006] First, an embodiment of the present application provides a two-channel audio processing method, which is applied to an audio playback device. The two-channel audio processing method includes: obtaining two-channel audio data; dividing the two-channel audio data into center channel data and side channel data; phase modulating the center channel data and the side channel data respectively to change the spatial distribution of data corresponding to each frequency in the two-channel audio data; equalizing the center channel data and the side channel data after phase modulation respectively to obtain target center channel data and target side channel data, wherein the equalization processing is used to weaken the changes in the sound corresponding to the two-channel audio data in each direction; and restoring the target center channel data and the target side channel data to target two-channel audio data.

[0007] In the embodiment of the present application, the two-channel audio data is divided into center channel data and side channel data. The center channel data can represent the same information of the left channel and the right channel data, that is, the sound information located in the center of the sound field. The side channel data can represent the difference between the left channel and the right channel data. The side channel data is related to the sound on both sides of the sound field. For example, processing the center channel data is conducive to accurately positioning the sound image and flexibly adjusting the listener's spatial perception of the sound. By processing the side channel data, the width of the sound field can be expanded, so that the sound elements located on both sides are more clearly distributed on the left and right sides, so that the audience can accurately distinguish the left and right directions of these sounds, and enhance the stereoscopic and spatial sense of the sound. Among them, the center channel data and the side channel data are phase modulated and balanced. The phase modulation can change the spatial distribution of the data corresponding to each frequency in the two-channel audio data, reduce the directivity of the two-channel audio data, and blur the sense of direction. The balanced processing can weaken the change of the sound corresponding to the two-channel audio data in each direction, reduce the sense of direction change, and thus reduce the directivity of the sound. In this way, the sense of direction of the sound corresponding to the two-channel audio data can be weakened, the directivity can be reduced, and the listening effect can be improved. Compared with beamforming, the above process does not require the use of sensors or speaker arrays, nor does it require complex calculations on a large number of signals. On the basis of reducing the directivity of the sound, it reduces the hardware performance requirements and hardware overhead.

[0008] In one embodiment, the side channel data are phase modulated respectively, including: dividing the side channel data into low-frequency side data, medium-frequency side data and high-frequency side data based on a preset first cutoff frequency and a second cutoff frequency; obtaining modulation parameters corresponding to the low-frequency side data, the medium-frequency side data and the high-frequency side data; performing phase modulation on the low-frequency side data based on the modulation parameters corresponding to the low-frequency side data, a preset first phase modulation relationship and the center channel data to obtain side modulation sub-data corresponding to the low-frequency side data; the first phase modulation relationship includes the side modulation sub-data and the data before modulation, the modulation parameters and the The conversion relationship between the center channel data; based on the modulation parameters corresponding to the intermediate frequency side data, the preset first phase modulation relationship, and the center channel data, the intermediate frequency side data is phase modulated to obtain the side modulation sub-data corresponding to the intermediate frequency side data; based on the modulation parameters corresponding to the high frequency side data, the preset first phase modulation relationship, and the center channel data, the high frequency side data is phase modulated to obtain the side modulation sub-data corresponding to the high frequency side data; the side modulation sub-data corresponding to the low frequency side data, the intermediate frequency side data, and the high frequency side data are merged to obtain the side channel data after phase modulation.

[0009] In the embodiment of the present application, the side path data has a wider frequency range, and the sounds corresponding to different frequency band data have different characteristics. By dividing the side path data into low-frequency side data, medium-frequency side data and high-frequency side data and modulating them respectively, targeted processing is performed on the sound characteristics of each frequency band data, which helps to improve the modulation effect, further weaken the sense of direction of the dual-channel audio data, and reduce the directivity.

[0010] In one embodiment, before dividing the side channel data into low-frequency side data, medium-frequency side data and high-frequency side data based on a preset first cutoff frequency and a second cutoff frequency, the method further includes: obtaining a target audio data type of the dual-channel audio data or a target device type of the audio playback device; determining the first cutoff frequency and the second cutoff frequency based on the target audio data type, a first relationship between the audio data type and the cutoff frequency; or determining the first cutoff frequency and the second cutoff frequency based on the target device type, a second relationship between the device type and the cutoff frequency.

[0011] In the embodiment of the present application, different types of audio playback devices or different types of dual-channel audio data played may result in different distributions of data in each frequency band in the dual-channel audio data, thereby affecting the spatial distribution of data corresponding to each frequency. Therefore, the first cutoff frequency and the second cutoff frequency can be determined by the target audio data type or the target device type, so that the division of the side channel data is more in line with the playback scene, thereby modulating data that is more in line with the playback scene, so as to have a better playback effect in the corresponding playback scene.

[0012] In one embodiment, the modulation parameters are determined by modulation frequency and modulation amplitude; the modulation frequency corresponding to the low-frequency side data ranges from 0.1 Hz to 2 Hz, and the modulation amplitude ranges from 0.1 radians to 0.5 radians; the modulation frequency corresponding to the middle side data ranges from 2 Hz to 10 Hz, and the modulation amplitude ranges from 0.2 radians to 0.5 radians.

[0013] The modulation amplitude affects the intensity of the phase fluctuation, and the modulation frequency affects the speed of the phase fluctuation. In the embodiment of the present application, the low-frequency side data has a stronger spatial diffusion. The above corresponding modulation frequency range helps to make the sound corresponding to the low-frequency side data slowly and smoothly produce phase changes between the left and right channels. The corresponding use of a smaller arc modulation amplitude helps to slow down the intensity of the phase change, thereby reducing distortion or unnatural jumps. As for the mid-side data, which covers the fundamental frequencies of various musical instruments and the main frequency bands of human voices, the above modulation frequency helps to make the sound produce relatively flexible and rhythmic position changes between the left and right channels, reducing the sense of direction of the sound, and the above modulation amplitude can help improve the spatial effect.

[0014] In one embodiment, phase modulation is performed on the center channel data, including: phase modulation is performed on the center channel data based on a preset modulation parameter corresponding to the center channel data, a preset second phase modulation relationship, and the side channel data; the second phase modulation relationship includes a conversion relationship between the modulated center channel data and the data before modulation, the modulation parameters, and the side channel data; the modulation parameters corresponding to the center channel data are determined by the modulation frequency and modulation amplitude corresponding to the center channel data, the modulation frequency corresponding to the center channel data ranges from 0.5 Hz to 2 Hz, and the corresponding modulation amplitude ranges from 0.1 radians to 0.5 radians.

[0015] In the embodiment of the present application, the center channel data is mainly low-frequency data, so frequency-band modulation may not be performed. By modulating the center channel data, it is helpful to change the spatial distribution of each frequency data of the dual-channel audio data and reduce the directivity. The sound of the center channel data is located in the center of the sound field, which is relatively stable and has little effect on the expansion and directivity of the sound field. Therefore, when performing phase processing, a smaller modulation frequency and modulation amplitude can be selected.

[0016] In one embodiment, equalizing the center channel data includes: reducing the gain of preset high-frequency band data in the modulated center channel data; and / or increasing the gain of preset low-frequency band data in the modulated center channel data.

[0017] In the embodiment of the present application, reducing the gain of the high-frequency band data in the center channel data can reduce the sharpness and directivity of the sound corresponding to the high-frequency band data, making the sound sound softer and less prominent at the center position, thereby weakening the overall sense of direction. Increasing the gain of the preset low-frequency band data in the center channel data can make the sound corresponding to the low-frequency band data fuller and thicker at the center position, blur the sense of direction of the sound, and make the sound concentrated in the middle area.

[0018] In one embodiment, the side path data is equalized, including at least one of the following: increasing the attenuation slope of the high-frequency side data in the modulated side path data; reducing the gain of the low-frequency side data in the modulated side path data; attenuating the intermediate-frequency side data in the modulated side path data; and performing narrowband gain adjustment at preset frequency points in the low-frequency side data, the intermediate-frequency side data, and the high-frequency side data in the modulated side path data.

[0019] In the embodiment of the present application, reducing the attenuation slope of the high-frequency side data can reduce the edge clarity and directionality of the sound, making the surround sound softer and more diffuse, thereby weakening the sense of direction of the sound. Reducing the gain of the low-frequency side data can prevent the low-frequency sound from being too prominent on the left and right sides. Attenuating the intermediate-frequency side data can reduce the presence of the sound corresponding to this part of the data, thereby weakening the sense of direction. Adjusting the narrowband gain at the preset frequency point can fine-tune the timbre and spatial sense of the sound, further weakening the sense of direction.

[0020] In one embodiment, before restoring the target center channel data and the target side channel data to target two-channel audio data through MS decoding, the method further includes: adding reverberation or delay to the target side channel data.

[0021] The center channel data is mainly low-frequency data. If reverberation is added to the low-frequency data, the sound may become too heavy and affect the overall clarity and sense of direction. Therefore, in an embodiment of the present application, only reverberation components or time delays are added to the side channel data so that the sounds on both sides can be better diffused into the surrounding space and the sense of direction can be reduced.

[0022] In one embodiment, the reverberation includes plate reverberation and / or convolution reverberation.

[0023] In the embodiment of the present application, the plate reverberation and the convolution reverberation are diffusive and can better reduce the directivity of the sound. Among them, the plate reverberation can provide a relatively soft and wide reverberation effect, so that the sound of the side channel data can be more evenly diffused on both sides. The convolution reverberation can simulate the reverberation characteristics of various real or virtual spaces by loading various different spatial impulse response files, so that the sound of the side channel data can be better integrated into the overall space and reduce the sense of direction on both sides.

[0024] In one embodiment, the splitting of the stereo audio data into center channel data and side channel data includes: encoding the left channel data and the right channel data in the stereo audio data through a preset MS encoding relationship; the restoring of the target center channel data and the target side channel data to target stereo audio data includes: decoding the left channel data and the right channel data in the stereo audio data through a preset MS decoding relationship to restore the stereo audio data to target stereo audio data; the MS encoding relationship includes: m(t)=0.5*(l(t)+r(t)); s(t)=0.5*(l(t)-r(t)); the MS decoding relationship includes: l′(t)=m′(t)+s′(t); r′(t)=m′(t)-s′(t); m(t) is the center channel data, s(t) is the side channel data, l(t) is the left channel data, r(t) is the right channel data; l′(t) is the left channel data of the target stereo audio data, r′(t) is the right channel data of the target stereo audio data; m′(t) is the target center channel data, s′(t) is the target side channel data.

[0025] In the embodiments of the present application, the center channel data and the side channel data obtained by MS encoding can reflect the direction characteristics of the sound corresponding to the stereo audio data. Therefore, the center channel data and the side channel data can be processed. Moreover, the calculations of MS encoding and decoding are simple, which helps to reduce the amount of calculation and lower the hardware requirements.

[0026] In a second aspect, an embodiment of the present application further provides a stereo audio processing device, which is applied to an audio playback device. The stereo audio processing device includes: an acquisition module, configured to acquire stereo audio data; an encoding module, configured to split the stereo audio data into center channel data and side channel data; a modulation module, configured to perform phase modulation on the center channel data and the side channel data respectively to change the spatial distribution of each frequency in the stereo audio data; an equalization module, configured to perform equalization processing on the center channel data and the side channel data after phase modulation respectively to obtain target center channel data and target side channel data, where the equalization processing is used to weaken the change of the sound corresponding to the stereo audio data in each direction; a decoding module, configured to restore the target center channel data and the target side channel data to target stereo audio data.

[0027] In a third aspect, an embodiment of the present application further provides an audio playback device, including: a processor, configured to execute the stereo audio processing method according to any one of the first aspect; a speaker, connected to the processor, configured to acquire the target stereo audio data processed by the processor and play it. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0029] Figure 1 A flowchart of a two-channel audio processing method provided by an embodiment of the present application;

[0030] Figure 2 A schematic diagram of frequency-band phase modulation provided by an embodiment of the present application;

[0031] Figure 3 A flowchart of processing two-channel audio data provided by an embodiment of the present application;

[0032] Figure 4 A schematic diagram of a dual-channel audio processing device provided in one embodiment of the present application.

[0033] Icon: dual-channel audio processing device 400; acquisition module 410; encoding module 420; modulation module 430; equalization module 440; decoding module 450. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and advantages of the embodiments of the present application more clear, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application and are not used to limit the present application.

[0035] First, an embodiment of the present application provides a two-channel audio processing method, which can be applied to an audio playback device, the audio playback device includes a processor and a speaker, the processor is used to execute the two-channel audio processing method provided by the embodiment of the present application, and the two-channel audio processing method will be described later. The speaker is connected to the processor, and is used to obtain and play the target two-channel audio data processed by the processor.

[0036] In the embodiment of the present application, the audio playback device includes but is not limited to headphones, speakers and other devices dedicated to audio playback, and may also be mobile phones, tablet computers and other devices equipped with processors and speakers, which are not limited here.

[0037] See also Figure 1 , Figure 1A flowchart of a two-channel audio processing method provided in an embodiment of the present application, the two-channel audio processing method comprising:

[0038] S110, obtaining dual-channel audio data.

[0039] Two-channel audio means that the audio signal contains two independent left and right channels, which correspond to the left and right audio signals respectively, and are output through two speakers or headphones. After the two-channel audio data is played, the sound corresponding to the two-channel audio data can come from different directions, and the directivity is strongest in the left and right directions. For details, please refer to the existing technology and will not be elaborated here.

[0040] In an embodiment of the present application, the two-channel audio data includes left channel data l(t) and right channel data r(t).

[0041] In the embodiment of the present application, the two-channel audio data is not limited to being stored in the audio playback device itself or being sent to the audio playback device by other devices.

[0042] S120, dividing the two-channel audio data into center channel data and side channel data.

[0043] In the embodiment of the present application, the center channel data (or "center signal", "center signal") represents the sum of the left and right channels, and can characterize the same information of the left and right channel data, that is, characterize the sound information located in the center of the sound field. Processing the center channel data will affect the balance and clarity of the sound, which is conducive to accurately positioning the sound image and flexibly adjusting the listener's spatial perception of the sound. The side channel signal (or "side signal", "side signal") is used to characterize the difference between the left and right channels, is related to the sound on both sides of the sound field, contains the width and depth information of the sound, and can provide the audience with a wider sound field experience. Processing the side channel data can expand the width of the sound field, so that the sound elements on both sides are more clearly distributed on the left and right sides, so that the audience can accurately distinguish the left and right directions of these sounds, and enhance the stereoscopic and spatial sense of the sound. The center channel data and the side channel data can refer to the existing technology and will not be repeated here.

[0044] In one embodiment, the two-channel audio data is divided into center channel data and side channel data. The left channel data and the right channel data in the two-channel audio data can be encoded using a preset MS encoding relationship to divide the two-channel audio data into the center channel data and the side channel data.

[0045] In an embodiment of the present application, the MS coding relationship may include:

[0046] m(t)=0.5*(l(t)+r(t));

[0047] s(t)=0.5*(l(t)-r(t));

[0048] m(t) is the center channel data, s(t) is the side channel data, l(t) is the left channel data, and r(t) is the right channel data.

[0049] The two-channel audio data may be divided into the center channel data and the side channel data by referring to other existing methods. The above MS coding relationship is only an example and is not limited here.

[0050] S130, phase modulating the center channel data and the side channel data respectively.

[0051] The two-channel audio data includes data of different frequencies, and the spatial distribution of the different frequency data is different, so that the directions corresponding to the sounds of the different frequency data may be different. Among them, the directionality of the sound of the two-channel audio data in the left and right directions is the strongest. Therefore, the spatial distribution of each frequency data in the two-channel audio data can be changed to weaken the directionality of the sound in the left and right directions, so as to weaken and blur the relatively fixed sense of direction of the sound and enhance the overall sense of hearing of the sound.

[0052] Compared to beamforming processing using sensor arrays, speaker arrays, etc., in an embodiment of the present application, the center channel data represents the common characteristics of the two channel data in the two-channel audio data, and the side channel data represents the difference between the two channel data in the two-channel audio data. The center channel data and the side channel data are phase modulated respectively to change the spatial distribution of each frequency data in the two-channel audio data. The amount of signal processing required is lower, which helps to reduce the amount of calculation.

[0053] Among them, the sounds that are often heard are mainly mid- and low-frequency sounds. The center channel data represents the common characteristics of the two channel data in the dual-channel audio data. After the dual-channel audio data is divided into center channel data and side channel data, the center channel data will mainly include low-frequency data, while the side channel data includes data in a wider frequency band, such as data that can be divided into three frequency bands: low, medium, and high.

[0054] Different frequency bands have different sound characteristics, and the same phase modulation has different effects on data in different frequency bands. Therefore, in the embodiment of the present application, the side channel data is phase modulated by performing frequency-divided phase modulation on the side channel data.

[0055] See also Figure 2 , Figure 2 A schematic diagram of frequency-band phase modulation provided by an embodiment of the present application. The side channel data is phase modulated, and the process may include:

[0056] The side channel data is divided into low-frequency side data, medium-frequency side data and high-frequency side data based on a preset first cutoff frequency and a second cutoff frequency; the modulation parameters corresponding to the low-frequency side data, the medium-frequency side data and the high-frequency side data are obtained; the low-frequency side data is phase-modulated based on the modulation parameters corresponding to the low-frequency side data, a preset first phase modulation relationship and the center channel data to obtain the side modulation sub-data corresponding to the low-frequency side data; the medium-frequency side data is phase-modulated based on the modulation parameters corresponding to the medium-frequency side data, a preset first phase modulation relationship and the center channel data to obtain the side modulation sub-data corresponding to the medium-frequency side data; the high-frequency side data is phase-modulated based on the modulation parameters corresponding to the high-frequency side data, the preset first phase modulation relationship and the center channel data to obtain the side modulation sub-data corresponding to the high-frequency side data; finally, the side modulation sub-data corresponding to the low-frequency side data, the medium-frequency side data and the high-frequency side data are merged to obtain the phase-modulated side channel data.

[0057] In an embodiment of the present application, the side channel data can be divided into three sections, namely, low-frequency side data, medium-frequency side data and high-frequency side data, by using the first cutoff frequency f1 and the second cutoff frequency f2.

[0058] Taking the case where the first cutoff frequency is less than the second cutoff frequency as an example, the data in the side channel data with a frequency between 20 Hz and the first cutoff frequency is divided into low-frequency side data, the data with a frequency between the first cutoff frequency and the second cutoff frequency is divided into medium-frequency side data, and the data with a frequency above the second cutoff frequency is divided into high-frequency side data. Among them, the sound below 20 Hz is infrasound, which is not audible to the human ear and is not considered here. Among them, the size of the first cutoff frequency and the second cutoff frequency is not limited, and the first cutoff frequency can also be greater than the second cutoff frequency.

[0059] In the embodiment of the present application, the side channel data can be divided into frequency bands by a frequency divider. Figure 2 As shown, divider 1 and divider 2 can be configured, divider 1 is configured with a first cutoff frequency, and divider 2 is configured with a second cutoff frequency. Through divider 1, side channel data can be divided into low-frequency side data and non-low-frequency side data, and through divider 2, non-low-frequency side data can be divided into high-frequency side data and medium-frequency side data.

[0060] In the embodiment of the present application, the frequency divider can be a software program or implemented by hardware, and the software or hardware implementation can be selected according to cost or hardware conditions, etc. It can be composed of filters, and the implementation method can refer to the prior art, which will not be expanded here.

[0061] In some embodiments of the present application, the first cutoff frequency f1 and the second cutoff frequency f2 may be empirical values, for example, the first cutoff frequency f1 is 200 Hz, and the second cutoff frequency f2 is 2000 Hz.

[0062] In some other embodiments of the present application, before dividing the side channel data into low-frequency side data, medium-frequency side data and high-frequency side data based on a preset first cutoff frequency and a second cutoff frequency, the method may also include: obtaining a target audio data type of the dual-channel audio data or a target device type of the audio playback device; determining a first cutoff frequency and a second cutoff frequency based on the target audio data type, a first relationship between the audio data type and the cutoff frequency; or determining the first cutoff frequency and the second cutoff frequency based on the target device type, a second relationship between the device type and the cutoff frequency.

[0063] Different types of audio data correspond to sounds in different frequency bands. For example, the frequency bands of human voices and musical instruments are different, and the frequency bands targeted in solo and chorus are also different. Sounds of different types and frequency bands have different characteristics, such as some are sharp, some are steady, some have strong penetration, and some have weak penetration, etc., and the processing methods required for each may be different. Therefore, in some embodiments of the present application, the first cutoff frequency and the second cutoff frequency can be determined according to the target audio data type of the two-channel audio data.

[0064] Similarly, in the embodiments of the present application, the target device type includes but is not limited to the device function type, usage type, application scenario type, etc. of the audio playback device. Different functions, usages, or application scenarios will result in differences in the audio data mainly played by the audio playback device, and different audio data have different main frequency ranges, which also results in different processing methods required for audio data in different frequency ranges. Therefore, in some embodiments of the present application, the target device type of the audio playback device that can play the two-channel audio data determines the first cutoff frequency and the second cutoff frequency.

[0065] In the above embodiment, the first relationship and the second relationship are pre-configured, and specific contents may be configured according to requirements, scenarios, etc., and are not limited here.

[0066] By determining the first truncation frequency and the second truncation frequency by the target audio data type or the target device type, the division of the side channel data can be made more in line with the playback scenario, thereby modulating data that is more in line with the playback scenario, so as to achieve a better playback effect in the corresponding playback scenario.

[0067] In the embodiment of the present application, the first phase modulation relationship includes the conversion relationship between the side modulation sub-data and the data before modulation, the modulation parameters and the center channel data. The modulation parameters corresponding to the low-frequency side data, the medium-frequency side data and the high-frequency side data are different.

[0068] by Figure 2 For example, phase modulation is performed through phase modulators 1, 2, and 3 respectively. The modulation parameters configured in phase modulators 1, 2, and 3 are different. Phase modulator 1 is configured with modulation parameters corresponding to low-frequency side data, phase modulator 2 is configured with modulation parameters corresponding to medium-frequency side data, and phase modulator 3 is configured with modulation parameters corresponding to high-frequency side data. Among them, the phase modulator can also be implemented by software or hardware, which is not limited here.

[0069] In one embodiment, the first phase modulation relationship can be expressed as:

[0070] s m (t)=s(t)cos(φ(t))+m(t)sin(φ(t))

[0071] Among them, s m (t) is the side modulation data, φ(t) is the modulation parameter, s(t) is the side channel data before modulation, s(t) can be low-frequency side data, medium-frequency side data or high-frequency side data, and m(t) is the center channel data before modulation.

[0072] Among them, for the low-frequency side data, the medium-frequency side data and the high-frequency side data, each is modulated as s(t) through the above-mentioned first phase modulation relationship, and the modulation parameters φ(t) corresponding to the low-frequency side data, the medium-frequency side data and the high-frequency side data are different. After modulation, the corresponding side modulation data s m (t).

[0073] When phase modulation is performed on the frequency bands of the side channel data, the amplitude and phase of the audio data will affect the spatial distribution of the data corresponding to each frequency. Therefore, in the embodiment of the present application, the modulation parameters are determined by the modulation frequency and the modulation amplitude (or "modulation depth"). Among them, the modulation amplitude affects the intensity of the phase fluctuation, and the modulation frequency affects the speed / intensity of the phase fluctuation.

[0074] For example, in one embodiment of the present application, the modulation parameter can be expressed as:

[0075] φ(t)=A m sin(2πf m t)

[0076] Where φ(t) represents the modulation parameter, A m is the modulation amplitude, f mis the modulation frequency.

[0077] For low-frequency side data, the sound corresponding to the frequency band data has a strong diffusion, and the larger the modulation frequency, the faster the sound will change in the left and right directions, and the larger the modulation amplitude, the more it will make.

[0078] Therefore, in the embodiment of the present application, the modulation frequency corresponding to the low-frequency side data can range from 0.1Hz to 2Hz. The lower modulation frequency can allow the low-frequency side data to slowly and smoothly produce phase changes between the left and right channels, thereby creating a feeling that the sound is coming from different directions in a wider space. The modulation amplitude can range from 0.1 radians to 0.5 radians. The sound of the center channel data is located in the center of the sound field and is relatively stable. It has little effect on the expansion and directionality of the sound field. Therefore, when performing phase processing, a smaller modulation frequency and modulation amplitude can be selected. The modulation amplitude in the above range can ensure that the phase change will not be too drastic and cause unnatural jumps or distortions in the sound. For example, for some music types with heavy low frequencies, such as bass drums, bass and other elements in electronic music, the modulation parameters can make the low-frequency side data have a stronger sense of envelopment in the entire space, weakening its originally relatively fixed sense of direction.

[0079] The intermediate frequency side data covers the fundamental frequencies of many musical instruments and the main frequency bands of human voices, and the range of adjustment required is relatively large. Therefore, in the embodiment of the present application, the modulation frequency corresponding to the intermediate frequency side data can range from 2Hz to 10Hz. Through the modulation frequency of the frequency range, the sound of the intermediate frequency side data can produce relatively flexible and rhythmic position changes between the left and right channels, so that the musical instruments and human voices sound distributed within a certain spatial range.

[0080] Accordingly, the modulation amplitude corresponding to the intermediate frequency side data ranges from 0.2 radians to 0.5 radians, and can be adjusted according to the actual sound in the two-channel audio data or the desired spatial effect. For example, when processing the two-channel audio data corresponding to a song, when the intermediate frequency side data where the lead singer's voice is located is phase modulated, taking the modulation amplitude within this range can make it more dispersed in the stereo sound field, as if the singer is standing in a space with a surround effect.

[0081] As for high-frequency side data, the data in this frequency band has little effect on the sense of direction and can be ignored. If modulation is required, the range of modulation parameters can be: the modulation frequency corresponding to the high-frequency side data ranges from 5Hz to 20Hz, and the modulation amplitude ranges from 0.3 radians to 1 radian.

[0082] Among them, the human ear is relatively insensitive to the phase change of low-frequency sound, but is more sensitive to the phase change of high-frequency sound. Therefore, when performing phase modulation, the phase offset can be appropriately increased for the low-frequency part to obtain a more obvious sound field expansion effect, while the high-frequency part needs to be appropriately adjusted to avoid sound distortion or unnaturalness caused by excessive phase change. The value of the modulation amplitude can be selected according to the actual scenario and is not limited here.

[0083] Finally, since the low-frequency side data, the medium-frequency side data and the high-frequency side data are obtained by dividing the high-frequency side data, after the modulation is completed, the modulated low-frequency side data, the medium-frequency side data and the high-frequency side data need to be summed and merged.

[0084] In an embodiment of the present application, phase modulating the center path data may include: phase modulating the center path data based on preset modulation parameters corresponding to the center path data, a preset second phase modulation relationship, and the edge path data.

[0085] The center channel data mainly consists of low-frequency data, with less high-frequency and medium-frequency data, and has a weaker impact on the sense of direction. Therefore, during phase modulation, it is not necessary to divide the center channel data into frequency bands.

[0086] In this embodiment, the second phase modulation relationship includes a conversion relationship between the modulated center channel data and the data before modulation, the modulation parameters and the side channel data;

[0087] The second phase modulation relationship can be expressed as:

[0088] m m (t)=s(t)cos(φ(t))-m(t)sin(φ(t))

[0089] Among them, m m (t) is the side channel data after modulation, m(t) is the center channel data before modulation, s(t) is the side channel data before modulation, φ(t) is the modulation parameter, wherein the calculation method of the modulation parameter φ(t) is the same as the calculation method of the modulation parameter of the aforementioned side channel data.

[0090] In the embodiment of the present application, the modulation parameters corresponding to the center channel data are determined by the modulation frequency and modulation amplitude corresponding to the center channel data. The modulation frequency corresponding to the center channel data ranges from 0.5 Hz to 2 Hz, and the corresponding modulation amplitude ranges from 0.1 radians to 0.5 radians.

[0091] S140, performing equalization processing on the phase-modulated center channel data and the side channel data respectively to obtain target center channel data and target side channel data.

[0092] In an embodiment of the present application, equalization processing is used to weaken the changes in various directions of the sound corresponding to the two-channel audio data.

[0093] In one embodiment, performing equalization processing on the mid-channel data may include: reducing the gain of preset high-frequency band data in the modulated mid-channel data.

[0094] In this embodiment, the preset high frequency band data in the center channel data may be data of 8kHz to 16kHz. Although the high frequency band data in the center channel data is small, its sound will have a strong sense of sharpness and directivity. Therefore, the gain of the preset high frequency band data may be reduced to weaken its sharpness and directivity, so that the sound sounds softer and less prominent in the center direction, thereby weakening the overall sense of direction. The reduced gain may range from 3dB to 6dB.

[0095] In one embodiment, performing equalization processing on the center channel data may further include: increasing the gain of preset low-frequency band data in the modulated center channel data.

[0096] The audio data of the center channel data is mainly low-frequency data. Increasing the gain of the low-frequency data can make the sound in the center direction fuller and thicker, blur the sense of direction of the sound to a certain extent, make the sound sound more concentrated in the middle area, and reduce the sense of deviation in the left and right directions. The increased gain range can be 2dB to 4dB.

[0097] Among them, the above-mentioned methods of equalizing the mid-path data can be used alone or in combination, which is not limited here.

[0098] In an embodiment of the present application, performing equalization processing on the side path data may include at least one of the following:

[0099] Improving the attenuation slope of high-frequency side data in the modulated side channel data;

[0100] reducing the gain of low-frequency side data in the modulated side channel data;

[0101] Attenuating the intermediate frequency side data in the modulated side channel data;

[0102] Narrowband gain adjustment is performed at preset frequency points in low-frequency side data, intermediate-frequency side data and high-frequency side data in the modulated side channel data.

[0103] In this embodiment, a steeper attenuation slope is used for the high-frequency side data. For example, starting from a frequency of 4kHz, the attenuation is performed at a slope of 12dB or more per octave. This method can effectively reduce the edge clarity and directionality of the sound, making the surround sound softer and more diffuse, and weakening the sense of positioning on the left and right sides.

[0104] As for the low-frequency side data, reducing the gain can prevent the sound of the low-frequency side data from being too prominent on the left and right sides, so that the low-frequency sound is output from the center channel data, thereby reducing the directionality of the overall music. For example, the gain of the low-frequency side data in the 20Hz-100Hz frequency band is reduced by 2dB to 4dB.

[0105] For the mid-frequency band data, appropriate overall attenuation can make the sound corresponding to the mid-frequency side data relatively weakened on the left and right sides, reduce the overall presence of the sound, and thus weaken the sense of direction.

[0106] Setting narrowband gain boost or attenuation at some preset frequency points to fine-tune the timbre and spatial sense of the side channel data can further weaken the sense of direction. The preset frequency points can be configured according to the scene or needs, which will not be expanded here.

[0107] S150: restore the target center channel data and the target side channel data to target two-channel audio data.

[0108] In an embodiment of the present application, the target center channel data and the target side channel data are restored to target two-channel audio data, so that the speaker can play the processed audio data.

[0109] The restoration method may be opposite to the aforementioned method of dividing the two-channel audio data into the center channel data and the side channel data.

[0110] For example, the above embodiment provides a method of splitting by MS encoding, and correspondingly, the method can also be restored by MS decoding. That is, restoring the target center channel data and the target side channel data to the target two-channel audio data may include: decoding the left channel data and the right channel data in the two-channel audio data by a preset MS decoding relationship, so as to restore the two-channel audio data to the target two-channel audio data.

[0111] Correspondingly, the MS decoding relationship may include:

[0112] l′(t)=m′(t)+s′(t);

[0113] r′(t)=m′(t)-s′(t);

[0114] Among them, l′(t) is the left channel data of the target two-channel audio data, r′(t) is the right channel data of the target two-channel audio data; m′(t) is the target center channel data, and s′(t) is the target side channel data.

[0115] In an embodiment of the present application, after obtaining the target two-channel audio data, the target two-channel audio data can be played by the audio playback device itself, or sent to other devices for storage or playback, which is not limited here.

[0116] In some embodiments, before restoring the target center channel data and the target side channel data to the target two-channel audio data, the method also includes: adding reverberation or delay to the target side channel data, and accordingly, the target center channel data and the target side channel data after adding reverberation or delay can be restored to the target two-channel audio data.

[0117] In this embodiment, excessively heavy low-frequency reverberation will affect the overall clarity and directionality of the sound, and the center channel data is mostly low-frequency data, so the center channel data does not need to adjust the reverberation or delay.

[0118] Compared with the traditional reverberation based on left and right channels, adding reverberation components only to the side channel data can make the sounds on both sides diffuse better into the surrounding space and reduce the sense of direction.

[0119] In some embodiments of the present application, the added reverberation may include plate reverberation and / or convolution reverberation. Plate reverberation can provide a relatively soft and wide reverberation effect, so that the sound of the side channel data is more evenly diffused on both sides. Convolution reverberation can simulate the reverberation characteristics of various real or virtual spaces by loading various different spatial impulse response files, so that the sound of the side channel data can be better integrated into the overall space and reduce the sense of direction on both sides.

[0120] For ease of understanding, an example is provided here to illustrate the method provided in this application. Figure 3 , Figure 3 A flowchart of processing two-channel audio data provided by an embodiment of the present application. The processing process of two-channel audio processing data includes:

[0121] First, two-channel audio data is obtained, and the two-channel audio data is divided into center channel data and side channel data through MS coding.

[0122] Then, the center channel data and the side channel data are processed separately. For the center channel data, phase modulation is first performed, and then equalization is performed. For the side channel data, phase modulation is first performed, and then equalization is performed, and then reverberation is adjusted.

[0123] Finally, the processed center channel data and side channel data are subjected to MS decoding to obtain processed dual-channel audio data.

[0124] Among them, the specific implementation methods of phase modulation, equalization processing, reverberation adjustment, MS encoding and MS decoding can be referred to in the previous text and will not be expanded here.

[0125] Based on the same inventive concept, the present application embodiment also provides a two-channel audio processing device 400, see Figure 4 , Figure 4 The schematic diagram of a two-channel audio processing device 400 provided in an embodiment of the present application is as follows. The two-channel audio processing device 400 includes: an acquisition module 410 , an encoding module 420 , a modulation module 430 , an equalization module 440 and a decoding module 450 .

[0126] The acquisition module 410 is used to acquire dual-channel audio data.

[0127] The encoding module 420 is used to divide the two-channel audio data into center channel data and side channel data.

[0128] The modulation module 430 is used to perform phase modulation on the center channel data and the side channel data respectively, so as to change the spatial distribution of each frequency in the two-channel audio data.

[0129] The equalization module 440 is used to perform equalization processing on the center channel data and the side channel data after phase modulation to obtain target center channel data and target side channel data. The equalization processing is used to weaken the changes in the sound corresponding to the two-channel audio data in various directions.

[0130] The decoding module 450 is used to restore the target center channel data and the target side channel data into target two-channel audio data.

[0131] In one embodiment, the modulation module 430 is used to: divide the side channel data into low-frequency side data, medium-frequency side data and high-frequency side data based on a preset first cutoff frequency and a second cutoff frequency; obtain modulation parameters corresponding to the low-frequency side data, the medium-frequency side data and the high-frequency side data; perform phase modulation on the low-frequency side data based on the modulation parameters corresponding to the low-frequency side data, a preset first phase modulation relationship, and the center channel data to obtain side modulation sub-data corresponding to the low-frequency side data; the first phase modulation relationship includes the side modulation sub-data and the data before modulation, the modulation parameters and the center channel data. The method comprises the following steps: performing phase modulation on the intermediate frequency side data based on the modulation parameters corresponding to the intermediate frequency side data, the preset first phase modulation relationship, and the center channel data to obtain the side modulation sub-data corresponding to the intermediate frequency side data; performing phase modulation on the high frequency side data based on the modulation parameters corresponding to the high frequency side data, the preset first phase modulation relationship, and the center channel data to obtain the side modulation sub-data corresponding to the high frequency side data; merging the side modulation sub-data corresponding to the low frequency side data, the intermediate frequency side data, and the high frequency side data to obtain the side channel data after phase modulation.

[0132] In one embodiment, the modulation module 430 is also used to obtain the target audio data type of the dual-channel audio data or the target device type of the audio playback device; determine the first cutoff frequency and the second cutoff frequency based on the target audio data type, the first relationship between the audio data type and the cutoff frequency; or determine the first cutoff frequency and the second cutoff frequency based on the target device type, the second relationship between the device type and the cutoff frequency.

[0133] In one embodiment, the modulation parameters in the modulation module 430 are determined by the modulation frequency and the modulation amplitude. The modulation frequency corresponding to the low-frequency side data ranges from 0.1 Hz to 2 Hz, and the modulation amplitude ranges from 0.1 radians to 0.5 radians; the modulation frequency corresponding to the middle side data ranges from 2 Hz to 10 Hz, and the modulation amplitude ranges from 0.2 radians to 0.5 radians.

[0134] In one embodiment, the modulation module 430 is used to perform phase modulation on the center channel data based on the modulation parameters corresponding to the preset center channel data, the preset second phase modulation relationship, and the side channel data; the second phase modulation relationship includes the conversion relationship between the center channel data after modulation and the center channel data before modulation, the modulation parameters and the side channel data; the modulation parameters corresponding to the center channel data are determined by the modulation frequency and modulation amplitude corresponding to the center channel data, and the modulation frequency corresponding to the center channel data ranges from 0.5 Hz to 2 Hz, and the corresponding modulation amplitude ranges from 0.1 radians to 0.5 radians.

[0135] In one embodiment, the equalization module 440 is used to: reduce the gain of the preset high frequency band data in the modulated center channel data; and / or increase the gain of the preset low frequency band data in the modulated center channel data.

[0136] In one embodiment, the equalization module 440 is used to: increase the attenuation slope of the high-frequency side data in the modulated side path data; reduce the gain of the low-frequency side data in the modulated side path data; attenuate the intermediate-frequency side data in the modulated side path data; and perform narrowband gain adjustment at preset frequency points in the low-frequency side data, intermediate-frequency side data, and high-frequency side data in the modulated side path data.

[0137] In one embodiment, the two-channel audio processing further includes a reverberation module, which is used to add reverberation or delay to the target side channel data before restoring the target center channel data and the target side channel data to the target two-channel audio data. The reverberation may include plate reverberation and / or convolution reverberation.

[0138] Based on the same inventive concept, an embodiment of the present application also provides an audio playback device, including: a processor and a speaker.

[0139] The processor is used to execute the dual-channel audio processing method provided in the aforementioned embodiment of the present application, and the speaker is connected to the processor to obtain and play the target dual-channel audio data processed by the processor.

[0140] The audio playback device can be headphones, mobile phones, tablet computers, smart speakers, or other devices with built-in speakers and processors, without limitation.

[0141] Based on the same inventive concept, an embodiment of the present application further provides a readable storage medium, in which instructions are stored. The instructions can be executed by one or more processors to implement the dual-channel audio processing method provided in the above embodiment.

[0142] The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD (digital video disc)), or a semiconductor medium (e.g., an SSD (Solid State Disk)).

[0143] If the head movement recognition method is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

[0144] In the embodiments provided in the present application, it should be understood that the disclosed method can also be implemented in other ways. The functional modules in the various embodiments of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part.

[0145] The above embodiments can be freely combined without conflict, and the embodiments obtained by the combination are included in the protection scope of this application.

[0146] The above detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0147] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0148] In the description of this application, it is also necessary to explain that, unless otherwise clearly specified and limited, the term "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0149] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A two-channel audio processing method, characterized in that: Applied to an audio playback device, the dual-channel audio processing method includes: Get two-channel audio data; The two-channel audio data is divided into center channel data and side channel data; Phase modulating the center channel data and the side channel data respectively to change the spatial distribution of the data corresponding to each frequency in the two-channel audio data; Performing equalization processing on the phase-modulated center channel data and the side channel data respectively to obtain target center channel data and target side channel data, wherein the equalization processing is used to weaken the change of the sound corresponding to the two-channel audio data in each direction; The target center channel data and the target side channel data are restored to target two-channel audio data.

2. The two-channel audio processing method according to claim 1, characterized in that: Phase modulating the side channel data includes: Dividing the side channel data into low-frequency side data, medium-frequency side data and high-frequency side data based on a preset first cutoff frequency and a second cutoff frequency; Acquire modulation parameters corresponding to the low-frequency side data, the medium-frequency side data, and the high-frequency side data respectively; Phase modulation is performed on the low-frequency side data based on the modulation parameters corresponding to the low-frequency side data, the preset first phase modulation relationship, and the center channel data to obtain side modulation sub-data corresponding to the low-frequency side data; the first phase modulation relationship includes a conversion relationship between the side modulation sub-data and the data before modulation, the modulation parameters, and the center channel data; Phase modulate the intermediate frequency side data based on the modulation parameter corresponding to the intermediate frequency side data, the preset first phase modulation relationship, and the center channel data to obtain side modulation sub-data corresponding to the intermediate frequency side data; Phase modulate the high-frequency side data based on the modulation parameters corresponding to the high-frequency side data, the preset first phase modulation relationship, and the center path data to obtain side modulation sub-data corresponding to the high-frequency side data; The side modulation sub-data corresponding to the low-frequency side data, the intermediate-frequency side data and the high-frequency side data are merged to obtain the side channel data after phase modulation.

3. The two-channel audio processing method according to claim 2, characterized in that: Before dividing the side channel data into low-frequency side data, medium-frequency side data and high-frequency side data based on the preset first cutoff frequency and the second cutoff frequency, the method further includes: Acquire a target audio data type of the two-channel audio data or a target device type of the audio playback device; Determining the first cutoff frequency and the second cutoff frequency based on the target audio data type, a first relationship between the audio data type and the cutoff frequency; Or, based on the target device type, a second relationship between the device type and the cutoff frequency, the first cutoff frequency and the second cutoff frequency are determined.

4. The two-channel audio processing method according to claim 2, characterized in that: The modulation parameters are determined by the modulation frequency and the modulation amplitude; The modulation frequency corresponding to the low-frequency side data ranges from 0.1 Hz to 2 Hz, and the modulation amplitude ranges from 0.1 radians to 0.5 radians; The modulation frequency corresponding to the middle side data ranges from 2 Hz to 10 Hz, and the modulation amplitude ranges from 0.2 radians to 0.5 radians.

5. The two-channel audio processing method according to claim 2, characterized in that: Phase modulation is performed on the center channel data, comprising: Phase modulation is performed on the center channel data based on a preset modulation parameter corresponding to the center channel data, a preset second phase modulation relationship, and the side channel data; the second phase modulation relationship includes a conversion relationship between the center channel data after modulation and the center channel data before modulation, the modulation parameter, and the side channel data; The modulation parameters corresponding to the center channel data are determined by the modulation frequency and modulation amplitude corresponding to the center channel data. The modulation frequency corresponding to the center channel data ranges from 0.5 Hz to 2 Hz, and the corresponding modulation amplitude ranges from 0.1 radians to 0.5 radians.

6. The two-channel audio processing method according to claim 5, characterized in that: The middle path data is subjected to equalization processing, comprising: reducing the gain of the preset high frequency band data in the modulated center channel data; And / or, increasing the gain of the preset low frequency band data in the modulated mid-channel data.

7. The two-channel audio processing method according to claim 2, characterized in that: The side path data is subjected to equalization processing, including at least one of the following: increasing the attenuation slope of high-frequency side data in the modulated side channel data; reducing the gain of low-frequency side data in the modulated side channel data; Attenuating the intermediate frequency side data in the modulated side channel data; Narrowband gain adjustment is performed at preset frequency points in the low-frequency side data, the intermediate-frequency side data and the high-frequency side data in the modulated side channel data.

8. The two-channel audio processing method according to any one of claims 1 to 7, characterized in that: Before restoring the target center channel data and the target side channel data to target two-channel audio data, the method further includes: Adding reverberation or delay to the target side channel data; The step of restoring the target center channel data and the target side channel data to target two-channel audio data comprises: The target center channel data and the target side channel data after adding reverberation or delay are restored to target two-channel audio data.

9. The two-channel audio processing method according to claim 8, characterized in that: The reverberation includes plate reverberation and / or convolution reverberation.

10. The two-channel audio processing method according to any one of claims 1 to 7, characterized in that: The step of dividing the two-channel audio data into center channel data and side channel data comprises: Encoding the left channel data and the right channel data in the dual-channel audio data by using a preset MS encoding relationship; The step of restoring the target center channel data and the target side channel data to target two-channel audio data comprises: Decoding the left channel data and the right channel data in the two-channel audio data by using a preset MS decoding relationship to restore the two-channel audio data to target two-channel audio data; The MS coding relationship includes: m(t)=0.5*(l(t)+r(t)); s(t)=0.5*(l(t)-r(t)); The MS decoding relationship includes: l′(t)=m′(t)+s′(t); r′(t)=m′(t)-s′(t); m(t) is the center channel data, s(t) is the side channel data, l(t) is the left channel data, and r(t) is the right channel data; l′(t) is the left channel data of the target two-channel audio data, and r′(t) is the right channel data of the target two-channel audio data; m′(t) is the target center channel data, and s′(t) is the target side channel data.

11. A two-channel audio processing device, characterized in that: Applied to an audio playback device, the dual-channel audio processing device comprises: An acquisition module, used to acquire dual-channel audio data; An encoding module, used for dividing the two-channel audio data into center channel data and side channel data; A modulation module, used for phase modulating the center channel data and the side channel data respectively, so as to change the spatial distribution of each frequency in the two-channel audio data; An equalization module, used for performing equalization processing on the center channel data and the side channel data after phase modulation respectively, to obtain target center channel data and target side channel data, wherein the equalization processing is used for weakening the change of the sound corresponding to the two-channel audio data in each direction; A decoding module is used to restore the target center channel data and the target side channel data into target two-channel audio data.

12. An audio playback device, characterized in that: include: A processor, configured to execute the dual-channel audio processing method according to any one of claims 1 to 10; The speaker is connected to the processor and is used to obtain and play the target two-channel audio data processed by the processor.