Sound image calibration method and apparatus

By adjusting the frequency response of the playback device in the terminal device through user-triggered audio-visual calibration, and processing the audio signal using HRTF and filtering parameters, the problem of the playback device's audio-visual image being off-center is solved, thereby improving the audio playback effect and sound field expansion.

CN117596539BActive Publication Date: 2026-11-27HONOR DEVICE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311249019.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-15
Publication Date
2026-11-27
Estimated Expiration
2042-08-15

AI Technical Summary

Technical Problem

The sound image corresponding to the audio reproduced by at least two playback devices in the terminal device is off-center, resulting in poor audio reproduction.

Method used

By adjusting the frequency response of the playback device in the terminal device through user-triggered audio-visual calibration, and using head-related transfer function (HRTF) and filtering parameters for audio signal processing, audio-visual calibration and sound field expansion are achieved.

Benefits of technology

Adjusting the sound image to be closer to the center of the terminal device improves audio playback and expands the sound field and enhances sound quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117596539B_ABST
    Figure CN117596539B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a kind of sound image calibration method and device, method includes: terminal equipment utilizes first playing device and outputs first target audio signal, and utilizes second playing device and outputs second target audio signal;Wherein, when first target audio signal and second target audio signal play, sound image is at first position;Terminal equipment receives second operation for second control;In response to second operation, terminal equipment utilizes first playing device and outputs third target audio signal, and utilizes second playing device and outputs fourth target audio signal;Wherein, when third target audio signal and fourth target audio signal play, sound image is at second position;The distance between second position and the center position of terminal equipment is less than the distance between first position and center position.It is like this, so that terminal equipment can start the control of sound image calibration and adjust sound image to be close to the center position of terminal equipment, and improve audio playback effect, and realize the expansion of sound field.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application filed with the Chinese Patent Office with application number 202210977326.4, filing date August 15, 2022, entitled "Audio-visual calibration method and apparatus". Technical Field

[0002] This application relates to the field of terminal technology, and in particular to an audio-visual calibration method and apparatus. Background Technology

[0003] With the popularization and development of the Internet, people's functional needs for terminal devices are becoming increasingly diversified. For example, users have higher and higher requirements for the sound playback of terminal devices.

[0004] Typically, a terminal device may include at least two playback devices, enabling the terminal device to reproduce sound using these at least two playback devices.

[0005] However, the sound image corresponding to the audio reproduced by the at least two playback devices is off-center, resulting in poor audio reproduction. For example, when the terminal device plays any video, the sound image of the video is located in the center of the terminal device, but the user can indicate that the sound image is located in the lower left corner or other off-center position of the terminal device based on the audio signal they hear. Summary of the Invention

[0006] This application provides a sound image calibration method and apparatus, enabling a terminal device to calibrate the sound image based on a user's trigger operation of a control to initiate sound image calibration, adjusting the sound image to a position closer to the center of the terminal device, improving audio playback effect, and expanding the sound field.

[0007] In a first aspect, embodiments of this application provide an audio-visual calibration method applied to a terminal device. The terminal device includes a first playback device and a second playback device. The method includes: the terminal device displaying a first interface; wherein the first interface includes a first control for playing a target video; the terminal device receiving a first operation on the first control; in response to the first operation, the terminal device displaying a second interface, and the terminal device outputting a first target audio signal using the first playback device and a second target audio signal using the second playback device; wherein the audio-visual image is at a first position when the first target audio signal and the second target audio signal are played; the second interface includes a second control for initiating audio-visual calibration; the terminal device receiving a second operation on the second control; in response to the second operation, the terminal device outputting a third target audio signal using the first playback device and a fourth target audio signal using the second playback device; wherein the audio-visual image is at a second position when the third target audio signal and the fourth target audio signal are played; the distance between the second position and the center position of the terminal device is less than the distance between the first position and the center position. This allows the terminal device to calibrate the audio image based on the user's trigger operation of the control to start audio image calibration, adjusting the audio image to a position closer to the center of the terminal device, improving the audio playback effect, and expanding the sound field.

[0008] In one possible implementation, in response to a second operation, the terminal device outputs a third target audio signal using a first playback device and a fourth target audio signal using a second playback device, including: in response to the second operation, the terminal device corrects a first frequency response of the first playback device to obtain a third frequency response, and corrects a second frequency response of the second playback device to obtain a fourth frequency response; wherein, in the third frequency response, the amplitude corresponding to a preset frequency band satisfies a preset amplitude range, and in the fourth frequency response, the amplitude corresponding to the preset frequency band satisfies a preset amplitude range; the terminal device outputs the third target audio signal using the third frequency response and the fourth target audio signal using the fourth frequency response. In this way, the terminal device can correct the frequency response within the preset frequency band, allowing the frequency-corrected speaker to output an audio signal that better meets the user's needs.

[0009] In one possible implementation, the terminal device corrects the first frequency response of the first playback device to obtain a third frequency response, and corrects the second frequency response of the second playback device to obtain a fourth frequency response. This includes: the terminal device acquiring a first frequency response compensation function corresponding to the first frequency response and a second frequency response compensation function corresponding to the second frequency response; the terminal device using the first frequency response compensation function to correct the first frequency response within a preset frequency band to obtain a third frequency response, and using the second frequency response compensation function to correct the second frequency response within the preset frequency band to obtain a fourth frequency response. In this way, the terminal device can use the frequency response compensation functions to correct the frequency response, making the amplitude of the frequency response of the playback devices flattened and ensuring that the frequency response trends of multiple playback devices are similar, thereby solving the problem of sound image deviating from the center caused by inconsistent frequency responses.

[0010] In one possible implementation, the preset frequency band is a frequency band above the target cutoff frequency in the entire frequency range; or, the preset frequency band is the same frequency band between the first frequency band and the second frequency band; wherein, the first frequency band is the frequency band corresponding to the rate of change of the binaural sound pressure difference (ILD) satisfying the first target range; and the second frequency band is the frequency band corresponding to the rate of change of the sound pressure level (SPL) satisfying the second target range. In this way, the terminal device can reduce the complexity of the algorithm by processing the frequency response within the preset frequency band; and enable the frequency-response corrected speaker to output an audio signal that better meets the user's needs.

[0011] In one possible implementation, the preset frequency band is a frequency band in the entire frequency band that is higher than the target cutoff frequency, including: when the target device is included in the first playback device or the second playback device, the preset frequency band is a frequency band in the entire frequency band that is higher than the target cutoff frequency, and the target cutoff frequency is the cutoff frequency of the target device; or, the preset frequency band is the same frequency band between the first frequency band and the second frequency band, including: when the target device is not included in the first playback device or the second playback device, the preset frequency band is the same frequency band between the first frequency band and the second frequency band.

[0012] In one possible implementation, the terminal device outputs a third target audio signal using a third frequency response and a fourth target audio signal using a fourth frequency response, including: the terminal device outputs a fifth target audio signal using the third frequency response and a sixth target audio signal using the fourth frequency response; within the target frequency band, the terminal device uses the third frequency response to obtain a first playback signal corresponding to a first sweep signal and uses the fourth frequency response to obtain a second playback signal corresponding to the first sweep signal; wherein, the target frequency band is a frequency band where the similarity between the third and fourth frequency responses is greater than a preset threshold; the amplitudes of the first sweep signals are the same, and the frequency band of the first sweep signals satisfies the target frequency band; the terminal device processes the fifth target audio signal and / or the sixth target audio signal based on the difference between the first playback signal and the second playback signal to obtain the third target audio signal and the fourth target audio signal. In this way, the terminal device can utilize the difference between the first playback signal and the second playback signal to process the fifth target audio signal and / or the sixth target audio signal, thereby achieving vertical adjustment of the sound image.

[0013] In one possible implementation, the terminal device processes the fifth target audio signal and / or the sixth target audio signal based on the difference between the first and second playback signals to obtain the third and fourth target audio signals. This includes: the terminal device processing the fifth and / or sixth target audio signals based on the difference between the first and second playback signals to obtain the seventh and eighth target audio signals; the terminal device processing the seventh target audio signal using the first HRTF in the Target Head Related Transfer Function (HRTF) to obtain the third target audio signal, and processing the eighth target audio signal using the second HRTF in the HRTF to obtain the fourth target audio signal. In this way, the terminal device can simulate a pair of virtual speakers using an HRTF-based virtual speaker method, so that when the pair of virtual speakers outputs audio signals, the sound image can be located at the center point of the terminal device, thereby expanding the sound field width and achieving horizontal adjustment of the sound image.

[0014] In one possible implementation, the second interface further includes a progress bar for adjusting the sound field, where any position on the progress bar corresponds to a set of HRTFs. The method further includes: the terminal device receiving a third operation to slide the progress bar for adjusting the sound field; the terminal device processing a seventh target audio signal using a first HRTF in the target header related transfer function HRTF to obtain a third target audio signal, and processing an eighth target audio signal using a second HRTF in the HRTF to obtain a fourth target audio signal, including: in response to the third operation, the terminal device acquiring the target HRTF corresponding to the position of the third operation, processing the seventh target audio signal using the first HRTF in the target HRTF to obtain the third target audio signal, and processing the eighth target audio signal using the second HRTF in the HRTF to obtain the fourth target audio signal. In this way, the terminal device can provide users with a sound field adjustment method, improving the user's experience when playing back videos.

[0015] In one possible implementation, the terminal device processes the seventh target audio signal using the first HRTF in the Target Head Related Transfer Function (HRTF) to obtain the third target audio signal, and processes the eighth target audio signal using the second HRTF to obtain the fourth target audio signal. This includes: processing the seventh target audio signal using the first HRTF to obtain the ninth target audio signal, and processing the eighth target audio signal using the second HRTF to obtain the tenth target audio signal; and then processing the ninth target audio signal using target filtering parameters to obtain the third target audio signal, and processing the tenth target audio signal using target filtering parameters to obtain the fourth target audio signal. In this way, since the audio signal may undergo timbre changes due to speaker correction and virtual speaker rendering, the terminal device can adjust the timbre using target filtering parameters to improve the audio timbre and thus enhance the audio quality.

[0016] In one possible implementation, the method for adjusting the timbre of the control further includes: a terminal device receiving a fourth operation on the control for adjusting the timbre; in response to the fourth operation, the terminal device displaying a third interface; wherein the third interface includes: multiple timbre controls for selecting timbre, each timbre control corresponding to a set of filtering parameters; the terminal device receiving a fifth operation on a target timbre control among the multiple timbre controls; in response to the fifth operation, the terminal device performing timbre processing on a ninth target audio signal using the target filtering parameters corresponding to the target timbre control to obtain a third target audio signal, and performing timbre processing on a tenth target audio signal using the target filtering parameters to obtain a fourth target audio signal. In this way, the terminal device can provide users with timbre adjustment methods, improving the user's experience when playing back videos.

[0017] In one possible implementation, the terminal device performs timbre processing on the ninth target audio signal using target filtering parameters to obtain a third target audio signal, and performs timbre processing on the tenth target audio signal using target filtering parameters to obtain a fourth target audio signal. This includes: the terminal device performs timbre processing on the ninth target audio signal using target filtering parameters to obtain an eleventh target audio signal, and performs timbre processing on the tenth target audio signal using target filtering parameters to obtain a twelfth target audio signal; the terminal device adjusts the volume of the eleventh target audio signal based on the gain change between the initial audio signal corresponding to the first playback device and the initial audio signal corresponding to the second playback device, as well as the gain change between the eleventh and twelfth target audio signals, to obtain the third target audio signal; and the terminal device adjusts the volume of the twelfth target audio signal based on the gain change between the initial audio signal corresponding to the first playback device and the initial audio signal corresponding to the second playback device, as well as the gain change between the eleventh and twelfth target audio signals, to obtain the fourth target audio signal. In this way, the terminal device can achieve volume adjustment of the audio signals, making the volume of the output dual-channel audio signal more suitable for the user experience.

[0018] Secondly, embodiments of this application provide an audio-visual calibration device, comprising: a first playback device and a second playback device, a display unit for a first interface; wherein the first interface includes a first control for playing a target video; a processing unit for receiving a first operation on the first control; in response to the first operation, the display unit is configured for a second interface, and the processing unit is further configured to output a first target audio signal using the first playback device and a second target audio signal using the second playback device; wherein the audio-visual image is at a first position when the first target audio signal and the second target audio signal are played; the second interface includes: a second control for initiating audio-visual calibration; the processing unit is further configured to receive a second operation on the second control; in response to the second operation, the processing unit is further configured to output a third target audio signal using the first playback device and a fourth target audio signal using the second playback device; wherein the audio-visual image is at a second position when the third target audio signal and the fourth target audio signal are played; the distance between the second position and the center position of the terminal device is less than the distance between the first position and the center position.

[0019] In one possible implementation, in response to the second operation, the processing unit is further configured to correct the first frequency response of the first playback device to obtain a third frequency response, and to correct the second frequency response of the second playback device to obtain a fourth frequency response; wherein, in the third frequency response, the amplitude corresponding to the preset frequency band satisfies a preset amplitude range, and in the fourth frequency response, the amplitude corresponding to the preset frequency band satisfies a preset amplitude range; the processing unit is further configured to output a third target audio signal using the third frequency response, and to output a fourth target audio signal using the fourth frequency response.

[0020] In one possible implementation, the processing unit is further configured to obtain a first frequency response compensation function corresponding to the first frequency response and a second frequency response compensation function corresponding to the second frequency response; the processing unit is further configured to use the first frequency response compensation function to correct the first frequency response in the preset frequency band to obtain a third frequency response, and use the second frequency response compensation function to correct the second frequency response in the preset frequency band to obtain a fourth frequency response.

[0021] In one possible implementation, the preset frequency band is a frequency band in the entire frequency band that is greater than the target cutoff frequency; or, the preset frequency band is the same frequency band between the first frequency band and the second frequency band; wherein, the first frequency band is the frequency band corresponding to the rate of change of the binaural sound pressure difference ILD that meets the first target range; and the second frequency band is the frequency band corresponding to the rate of change of the sound pressure level SPL that meets the second target range.

[0022] In one possible implementation, the preset frequency band is a frequency band in the entire frequency band that is higher than the target cutoff frequency, including: when the target device is included in the first playback device or the second playback device, the preset frequency band is a frequency band in the entire frequency band that is higher than the target cutoff frequency, and the target cutoff frequency is the cutoff frequency of the target device; or, the preset frequency band is the same frequency band between the first frequency band and the second frequency band, including: when the target device is not included in the first playback device or the second playback device, the preset frequency band is the same frequency band between the first frequency band and the second frequency band.

[0023] In one possible implementation, the processing unit is further configured to output a fifth target audio signal using a third frequency response and a sixth target audio signal using a fourth frequency response; within the target frequency band, the processing unit is further configured to obtain a first playback signal corresponding to a first sweep signal using the third frequency response and a second playback signal corresponding to the first sweep signal using the fourth frequency response; wherein, the target frequency band is a frequency band where the similarity between the third and fourth frequency responses is greater than a preset threshold; the amplitudes of the first sweep signals are the same, and the frequency band of the first sweep signals satisfies the target frequency band; the processing unit is further configured to process the fifth target audio signal and / or the sixth target audio signal based on the difference between the first playback signal and the second playback signal to obtain the third target audio signal and the fourth target audio signal.

[0024] In one possible implementation, the processing unit is further configured to process the fifth target audio signal and / or the sixth target audio signal based on the difference between the first playback signal and the second playback signal to obtain the seventh target audio signal and the eighth target audio signal; the processing unit is further configured to process the seventh target audio signal using the first HRTF in the target head correlated transfer function HRTF to obtain the third target audio signal, and to process the eighth target audio signal using the second HRTF in the HRTF to obtain the fourth target audio signal.

[0025] In one possible implementation, the second interface further includes: a progress bar for adjusting the sound field, wherein any position in the progress bar corresponds to a set of HRTFs; the processing unit is also configured to receive a third operation of sliding the progress bar for adjusting the sound field; in response to the third operation, the processing unit is also configured to obtain the target HRTF corresponding to the position of the third operation, and process the seventh target audio signal using the first HRTF in the target HRTF to obtain the third target audio signal, and process the eighth target audio signal using the second HRTF in the HRTF to obtain the fourth target audio signal.

[0026] In one possible implementation, the processing unit is further configured to process the seventh target audio signal using the first HRTF to obtain the ninth target audio signal, and to process the eighth target audio signal using the second HRTF to obtain the tenth target audio signal; the processing unit is further configured to perform timbre processing on the ninth target audio signal using target filtering parameters to obtain the third target audio signal, and to perform timbre processing on the tenth target audio signal using target filtering parameters to obtain the fourth target audio signal.

[0027] In one possible implementation, the control for adjusting timbre, the processing unit, is further configured to receive a fourth operation on the control for adjusting timbre; in response to the fourth operation, a display unit is configured for a third interface; wherein the third interface includes: multiple timbre controls for selecting timbre, each timbre control corresponding to a set of filtering parameters; the processing unit is further configured to receive a fifth operation on a target timbre control among the multiple timbre controls; in response to the fifth operation, the processing unit is further configured to perform timbre processing on a ninth target audio signal using the target filtering parameters corresponding to the target timbre control to obtain a third target audio signal, and to perform timbre processing on a tenth target audio signal using the target filtering parameters to obtain a fourth target audio signal.

[0028] In one possible implementation, the processing unit is further configured to perform timbre processing on the ninth target audio signal using target filtering parameters to obtain the eleventh target audio signal, and to perform timbre processing on the tenth target audio signal using target filtering parameters to obtain the twelfth target audio signal; the processing unit is further configured to adjust the volume of the eleventh target audio signal based on the gain change between the initial audio signal corresponding to the first playback device and the initial audio signal corresponding to the second playback device, and the gain change between the eleventh target audio signal and the twelfth target audio signal, to obtain the third target audio signal; and the processing unit is further configured to adjust the volume of the twelfth target audio signal based on the gain change between the initial audio signal corresponding to the first playback device and the initial audio signal corresponding to the second playback device, and the gain change between the eleventh target audio signal and the twelfth target audio signal, to obtain the fourth target audio signal.

[0029] Thirdly, embodiments of this application provide a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it causes the terminal device to perform the audio-visual calibration method as described in the first aspect or any implementation thereof.

[0030] Fourthly, embodiments of this application provide a computer-readable storage medium storing instructions that, when executed, cause a computer to perform the audio-visual calibration method as described in the first aspect or any implementation thereof.

[0031] Fifthly, a computer program product includes a computer program that, when run, causes a computer to perform the audio-visual calibration method as described in the first aspect or any implementation thereof.

[0032] It should be understood that the second to fifth aspects of this application correspond to the technical solutions of the first aspect of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be repeated here. Attached Figure Description

[0033] Figure 1 A scenario diagram provided for an embodiment of this application;

[0034] Figure 2 A schematic diagram illustrating the configuration of a playback device in a terminal device according to an embodiment of this application;

[0035] Figure 3 This is a schematic diagram of the hardware structure of a terminal device provided in an embodiment of this application;

[0036] Figure 4A schematic flowchart of an audio-visual calibration method provided in an embodiment of this application;

[0037] Figure 5 A schematic diagram of an interface for initiating audio-visual calibration provided in an embodiment of this application;

[0038] Figure 6 A schematic diagram of an interface for vertical adjustment of sound image provided in an embodiment of this application;

[0039] Figure 7 A schematic diagram of an interface for sound field adjustment provided in an embodiment of this application;

[0040] Figure 8 A schematic diagram illustrating the principle of crosstalk cancellation provided in an embodiment of this application;

[0041] Figure 9 A schematic diagram of a tone adjustment interface provided for an embodiment of this application;

[0042] Figure 10 This application provides a schematic diagram of a frequency response correction process based on psychological and physiological factors for its embodiments.

[0043] Figure 11 A schematic diagram of a frequency response calibration model for a playback device provided in an embodiment of this application;

[0044] Figure 12 A schematic diagram illustrating the relationship between frequency and ILD provided in an embodiment of this application;

[0045] Figure 13 A schematic diagram illustrating the relationship between frequency domain and sound pressure level is provided in an embodiment of this application.

[0046] Figure 14 This is a schematic diagram of the structure of an audio-visual calibration device provided in an embodiment of this application;

[0047] Figure 15 This is a schematic diagram of the hardware structure of another terminal device provided in an embodiment of this application. Detailed Implementation

[0048] To facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and effect. For example, the first value and the second value are only used to distinguish different values ​​and do not limit their order. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.

[0049] It should be noted that, in this application, the terms "exemplary" or "for example" are used to indicate that something is being described as an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0050] In this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple.

[0051] The following description of the terminology used in the embodiments of this application is provided for clarity. It should be understood that this description is intended to provide a clearer explanation of the embodiments of this application and does not necessarily constitute a limitation thereof.

[0052] (1) Frequency response

[0053] Frequency response, also known as frequency response curve, describes the difference in an instrument's ability to process signals of different frequencies. Typically, the frequency response of an instrument can be determined using a frequency response curve. In a frequency response curve, the horizontal axis represents frequency (Hz), and the vertical axis represents loudness (or sound pressure level, or amplitude, etc.) (dB). It can be understood that the frequency response curve characterizes the maximum loudness of a sound at any given frequency.

[0054] (2) Audio-visual

[0055] A sound image can be understood as the location of a sound source within a sound field, or as the direction of sound. For example, a terminal device can determine the location of a sound image based on the sound emitted by a playback device. For instance, if the terminal device determines that the loudness of the first playback device is greater than the loudness of the second playback device, then the terminal device can determine that the sound image is located near the first playback device. The sound field can be understood as the region in a medium where sound waves exist.

[0056] For example, Figure 1 This is a schematic diagram of a scenario provided for an embodiment of this application. Figure 1In the corresponding embodiments, a mobile phone is used as an example for illustration. This example does not constitute a limitation on the embodiments of this application.

[0057] When a terminal device plays any video externally using at least two playback devices, the terminal device can display, as shown below. Figure 1 The interface shown. (As shown) Figure 1 As shown, the interface may include: video 100, video recording information, a control for exiting video viewing, a control in the upper right corner of the interface for viewing more information about the video, a pause control, a progress bar for indicating video progress, a control for switching between portrait and landscape modes, a thumbnail of video 100, and thumbnails of other videos. The video 100 may include two targets, 101 and 102, that are speaking, and targets 101 and 102 may be located at the center of the terminal device.

[0058] The terminal device may include at least two playback devices, which may be a speaker and / or a receiver. The at least two playback devices may be asymmetrically arranged, and / or the at least two playback devices may be of different types.

[0059] For example, Figure 2 This is a schematic diagram illustrating the configuration of a playback device in a terminal device according to an embodiment of this application.

[0060] like Figure 2 The terminal device shown in Figure 'a' can be equipped with two different types of playback devices, which are symmetrically arranged. For example, a receiver can be placed at the center of the top of the terminal device, and a speaker can be placed at the center of the bottom of the terminal device. Because the two playback devices are of different types, when the two playback devices play audio, the sound image can be deviated from the center of the terminal device; for example, the sound image can be closer to the speaker or other positions.

[0061] like Figure 2 The terminal device shown in b can have two identical playback devices arranged asymmetrically. For example, speaker 1 can be located at the top center of the terminal device, and speaker 2 can be located at the bottom left of the terminal device. Because the two playback devices are asymmetrically arranged, when the two playback devices play audio, the sound image is deviated from the center of the terminal device; for example, the sound image may be closer to speaker 2 or other locations.

[0062] Among the possible implementations, the asymmetrical positioning of the two playback devices in the terminal device is not limited to... Figure 2The description shown in b is as follows. For example, a speaker 1 can be installed at the top right position of the terminal device, and a speaker 2 can be installed at the bottom middle position of the terminal device; or, a speaker 1 can be installed at the top right position of the terminal device, and a speaker 2 can be installed at the bottom left position of the terminal device, etc. This application does not limit this.

[0063] Another possible implementation is that the terminal device can be equipped with two different types of playback devices, and these two playback devices can be set asymmetrically. In this scenario, the sound image can also be deviated from the center position of the terminal device.

[0064] like Figure 2 The terminal device shown as 'c' can be a foldable screen phone. This terminal device can have two playback devices of the same (or different) type, and these two playback devices are asymmetrically arranged. For example, speaker 1 can be placed at the top center of the left half of the terminal device's screen, and speaker 2 can be placed at the bottom left of the left half of the screen; or, a receiver can be placed at the top center of the left half of the terminal device's screen, and speaker 2 can be placed at the bottom left of the left half of the screen. In this scenario, the sound image can be close to speaker 2 or other locations.

[0065] It is understandable that the asymmetrical positioning of the two playback devices in a terminal device is not limited to... Figure 2 The description shown in b is as follows. Furthermore, when the terminal device is a foldable screen phone, the positions of the two playback devices are not limited to the left half of the screen; this application embodiment does not impose such limitations.

[0066] It is understood that when a terminal device includes multiple playback devices, the types of these multiple playback devices may be different, and the arrangement of these multiple playback devices may be symmetrical or asymmetrical. This application does not limit this aspect in the embodiments.

[0067] based on Figure 2 As described in the text, due to the types of at least two playback devices in the terminal device and the asymmetrical arrangement of the at least two playback devices, when the terminal device plays back video using the at least two players, the sound image deviates from the center position of the terminal device, causing problems of audio-visual separation and narrow sound field.

[0068] like Figure 1 As shown, when the terminal device replays video 100, the loudness of the audio signal output by the playback device at the bottom of the terminal device can be greater than the loudness of the audio signal output by the playback device at the top of the terminal device, causing the sound image to be closer to the bottom of the terminal device and deviate from the center position of the terminal device. At this time, the target 100 and target 102 in the video 100 picture are still located at the center position, causing the problem of audio-visual separation.

[0069] In view of this, embodiments of this application provide an audio-visual calibration method, wherein a terminal device displays a first interface; wherein the first interface includes a first control for playing a target video; when the terminal device receives a first operation on the first control, the terminal device displays a second interface, and the terminal device outputs a first target audio signal using a first playback device and a second target audio signal using a second playback device. The first and second target audio signals indicate that the audio-visual image of the target video is in a first position, and the first position may be offset from the center position of the terminal device. Further, when the terminal device receives a second operation on the second control for initiating audio-visual calibration, the terminal device corrects the audio-visual image and outputs a third target audio signal using the first playback device and a fourth target audio signal using the second playback device. The first and second target audio signals indicate that the audio-visual image of the target video is in a second position; compared to the first position, the second position is closer to the center position of the terminal device, thereby improving the audio playback effect and expanding the sound field.

[0070] It is understood that the audio-visual calibration method provided in the embodiments of this application can be used not only for, but also for, Figure 1 The scenario shown in the example of a terminal device playing video externally can also be applied to scenarios where a terminal device plays video externally in any application. The application scenario of the audio-visual calibration method is not limited in the embodiments of this application.

[0071] It is understood that the aforementioned terminal devices can also be referred to as terminals, user equipment (UE), mobile stations (MS), mobile terminals (MT), etc. Terminal devices can be mobile phones with at least two playback devices, smart TVs, wearable devices, tablets, computers with wireless transceiver capabilities, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and so on. The embodiments of this application do not limit the specific technologies or device forms used in the terminal devices.

[0072] Therefore, in order to better understand the embodiments of this application, the structure of the terminal device of the embodiments of this application will be described below. For example, Figure 3 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application.

[0073] The terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, an indicator 192, a camera 193, and a display screen 194, etc.

[0074] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the terminal device. In other embodiments of this application, the terminal device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0075] The processor 110 may include one or more processing units. These processing units may be independent devices or integrated within one or more processors. The processor 110 may also include memory for storing instructions and data.

[0076] USB port 130 is a USB standard compliant interface, which can be a Mini USB port, Micro USB port, USB Type-C port, etc. USB port 130 can be used to connect a charger to charge terminal devices, and can also be used for data transfer between terminal devices and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other terminal devices, such as AR devices.

[0077] The charging management module 140 receives charging input from the charger. The charger can be a wireless charger or a wired charger. The power management module 141 connects the charging management module 140 to the processor 110.

[0078] The wireless communication function of the terminal device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor.

[0079] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Antennas in terminal equipment can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization.

[0080] The mobile communication module 150 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G on terminal devices. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation.

[0081] The wireless communication module 160 can provide solutions for wireless communication applications on terminal devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), etc.

[0082] The terminal device implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering.

[0083] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the terminal device may include one or N display screens 194, where N is a positive integer greater than 1.

[0084] Terminal devices can achieve shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.

[0085] Camera 193 is used to capture still images or videos. In some embodiments, the terminal device may include one or N cameras 193, where N is a positive integer greater than 1.

[0086] The external storage interface 120 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the terminal device. The external storage card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external storage card.

[0087] Internal memory 121 can be used to store executable program code, including instructions. Internal memory 121 may include a program storage area and a data storage area.

[0088] The terminal device can implement audio functions, such as audio playback or recording, through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, and an application processor.

[0089] Audio module 170 is used to convert digital audio information into analog audio signal output, and also to convert analog audio input into digital audio signal. Speaker 170A, also called a "loudspeaker," is used to convert audio electrical signals into sound signals; the terminal device includes at least one speaker 170A. The terminal device can listen to music or receive hands-free calls through speaker 170A. Receiver 170B, also called a "handset," is used to convert audio electrical signals into sound signals. When the terminal device receives a phone call or voice message, the receiver 170B can be brought close to the user's ear to hear the voice.

[0090] In this embodiment, the terminal device may be equipped with multiple playback devices, which may include a speaker 170A and / or a receiver 170B. In a scenario where the terminal device plays video, at least one speaker 170A and / or at least one receiver 170B simultaneously plays audio signals.

[0091] The headphone jack 170D is used to connect wired headphones. The microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. In this embodiment, the terminal device can receive a sound signal used to wake up the terminal device based on the microphone 170C, and convert the sound signal into an electrical signal that can be further processed, such as the voiceprint data described in this embodiment. The terminal device can have at least one microphone 170C.

[0092] Sensor module 180 may include one or more of the following sensors: pressure sensor, gyroscope sensor, barometric pressure sensor, magnetic sensor, accelerometer, distance sensor, proximity sensor, fingerprint sensor, temperature sensor, touch sensor, ambient light sensor, or bone conduction sensor, etc. Figure 3 (Not shown in the image).

[0093] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. The terminal device can receive button input and generate key signal inputs related to user settings and function control of the terminal device. Indicator 192 can be an indicator light, used to indicate charging status, power level changes, messages, missed calls, notifications, etc.

[0094] The software system of terminal devices can adopt layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture, etc., which will not be elaborated here.

[0095] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be implemented independently or in combination with each other. The same or similar concepts or processes may not be described again in some embodiments.

[0096] For example, Figure 4 This is a schematic flowchart illustrating an audio-visual calibration method provided in an embodiment of this application. Figure 4 As shown, the acoustic calibration method may include the following steps:

[0097] S401. When the terminal device receives an operation for the target control, the terminal device corrects the frequency response of the first playback device and the frequency response of the second playback device according to the type of playback device, so as to obtain the first target frequency response of the first player after frequency response correction and the second target frequency response of the second player after frequency response correction.

[0098] In this embodiment, the target control can be a control for initiating audio-visual calibration, and the target control can be set in the interface for playing video.

[0099] In this embodiment, both the first playback device and the second playback device can be speakers (or receivers) in the terminal device. For example, both the first playback device and the second playback device can be speakers in the terminal device; or, the first playback device can be any speaker in the terminal device and the second playback device can be any receiver in the terminal device; or, the first playback device can be any receiver in the terminal device and the second playback device can be any speaker in the terminal device, etc. In this embodiment, the types of the first playback device and the second playback device are not specifically limited.

[0100] It is understood that when a video is played externally by a terminal device, the first playback device and the second playback device can play audio from different channels respectively. For example, the audio signal played by the first playback device can be a left channel audio signal (or a right channel audio signal), and the audio signal played by the second playback device can be a right channel audio signal (or a left channel audio signal). This is not limited in the embodiments of this application.

[0101] For example, Figure 5 This is a schematic diagram of an interface for initiating audio-visual calibration, provided as an embodiment of this application. Figure 5In the corresponding embodiments, a mobile phone is used as an example for illustration. This example does not constitute a limitation on the embodiments of this application.

[0102] When the terminal device receives a user's command to open any video, the terminal device can display something like this: Figure 5 The interface shown in 'a' may include: a control 501 for playing video, information for indicating video information, a control for exiting video playback, a control for viewing more video information, a control for sharing video, a control for saving video, a control for editing video, a control for deleting video, and a control for viewing more functions, etc.

[0103] In such Figure 5 In the interface shown in Figure 'a', when the terminal device receives a user's trigger operation on the control 501 used for playing video, the terminal device can display as follows: Figure 5 The interface shown in b. Figure 5 The interface shown in b can include a control 502 for initiating audio-visual calibration, which is currently in a closed state. Other content displayed on this interface can be found in [reference needed]. Figure 1 The descriptions in the corresponding embodiments will not be repeated here.

[0104] In such Figure 5 In the interface shown in b, when the terminal device receives a user's trigger operation on the control 502 for starting audio-visual calibration, the terminal device can start the audio-visual calibration process, causing the terminal device to execute the steps shown in S402-S406.

[0105] In one possible implementation, the terminal device could also provide a switch in its settings for automatically initiating audio-visual calibration when playing video. With this switch enabled, when the terminal device receives a user's message... Figure 5 When the interface shown in 'a' triggers the control 501 used for playing video, the terminal device can start the audio-visual calibration process by default, causing the terminal device to execute the steps shown in S402-S406.

[0106] It is understood that the embodiments of this application do not specifically limit the method of initiating audio-visual calibration when playing video externally.

[0107] Understandably, since the frequency response differences between playback devices manifest as differences in the reproduction of audio signals of different frequencies, thus affecting the position of the sound image, terminal devices can correct the frequency response of playback devices to flatten the amplitude of the frequency response and make the frequency response trends of multiple playback devices similar, thereby solving the problem of sound image deviating from the center caused by inconsistent frequency response.

[0108] Based on this, the terminal device can use frequency response correction to gradually move the position of the sound image from its original bias towards one speaker to a position between the two speakers. Furthermore, due to the error generated during frequency response correction and the limitations of the speaker components, the sound image still deviates from the center position. Therefore, the terminal device can further adjust the sound image based on the steps shown in S403-S406.

[0109] S402, the terminal device performs audio processing on the first audio signal using the first target frequency response to obtain the first audio signal after frequency response correction, and performs audio processing on the second audio signal using the second target audio to obtain the second audio signal after frequency response correction.

[0110] The first audio signal (or the initial audio signal corresponding to the first playback device) can be the audio signal that the terminal device needs to input into the first playback device for playback before performing frequency response correction on the first playback device, or it can also be understood as the original mono audio signal; the second audio signal (or the initial audio signal corresponding to the second playback device) can be the audio signal that the terminal device needs to input into the second playback device for playback before performing frequency response correction on the second playback device, or it can also be understood as another original mono audio signal.

[0111] For example, the terminal device can perform convolution processing on the first target frequency response and the first audio signal to obtain the first audio signal (or the fifth target audio signal) after frequency response correction, and perform convolution processing on the second target frequency response and the second audio signal to obtain the second audio signal (or the sixth target audio signal) after frequency response correction.

[0112] S403. The terminal device adjusts the first audio signal and the second audio signal after frequency response correction according to the offset control factor to obtain the first audio signal and the second audio signal after vertical adjustment of the sound image.

[0113] The offset control factor is used to indicate the frequency response difference between the first audio signal output after frequency response correction and the second audio signal output after frequency response correction.

[0114] In one implementation, the terminal device can determine an offset control factor in the target frequency band and adjust the first audio signal and the second audio signal output after frequency response correction in the target frequency band to obtain the first audio signal and the second audio signal after vertical sound image adjustment.

[0115] For example, the terminal device can obtain target frequency bands [k1, k2] between the first target frequency response and the second target frequency response that have similar frequency responses. The number of frequency points between these target frequency bands [k1, k2] can be N. These target frequency bands that have similar frequency responses can be the frequency bands corresponding to the first target frequency response and the second target frequency response having a similarity greater than a preset threshold.

[0116] The terminal device inputs the equal-loudness sweep signal (or the first sweep signal) into the first playback device and the second playback device respectively to obtain the first playback signal Y. L (f) and the second replay signal Y R (f). The equal-response sweep frequency signal can be a signal with the same amplitude and a frequency of [k1, k2].

[0117] The terminal device determines the offset control factor α based on the frequency response difference between the first and second echo signals:

[0118]

[0119] Furthermore, when the terminal device determines Y L (k)-Y R When (k) is greater than 0, the terminal device can apply α to the second audio signal output after frequency response correction corresponding to the second playback signal. For example, the second audio signal after vertical adjustment of the sound image can be: α * the second audio signal output after frequency response correction. In this case, the first audio signal output after frequency response correction does not need to be processed. Alternatively, when the terminal device determines Y... L (k)-Y R When (k) is less than 0, the terminal device can apply α to the first audio signal output after frequency response correction corresponding to the first playback signal. For example, the first audio signal after vertical adjustment of the sound image can be: α * the first audio signal output after frequency response correction. At this time, the second audio signal output after frequency response correction does not need to be processed.

[0120] In another implementation, the terminal device can divide the entire frequency band into M sub-bands and determine an offset control factor in each sub-band to obtain M offset control factors. Then, using the M offset control factors, the first audio signal output after frequency response correction of the entire frequency band and the second audio signal output after frequency response correction of the entire frequency band are adjusted to obtain the first audio signal and the second audio signal after vertical adjustment of the sound image.

[0121] For example, the terminal device inputs the full-band sweep signal (or the second sweep signal) into the first playback device and the second playback device respectively to obtain the third playback signal Y. L (f) and the fourth replay signal Y R(f). The full-band sweep signal can be a signal with the same amplitude.

[0122] The terminal device divides the third replay signal into M sub-signals to obtain the M sub-signals corresponding to the third replay signal; and divides the fourth replay signal into M sub-signals to obtain the M sub-signals corresponding to the fourth replay signal.

[0123] The terminal device can control the frequency response difference of any pair of sub-signals among the M sub-signals corresponding to the third echo signal and the M sub-signals corresponding to the fourth echo signal. It can be understood that the terminal device can obtain M sub-signal pairs, and any pair of these M sub-signal pairs can be: the i-th sub-signal among the M sub-signals corresponding to the third echo signal, and the i-th sub-signal among the M sub-signals corresponding to the fourth echo signal.

[0124] It is understandable that, based on the i-th sub-signal Y among the M sub-signals corresponding to the third replay signal, Li (k), and the i-th sub-signal Y among the M sub-signals corresponding to the fourth replay signal. Ri (k), the i-th offset control factor α is obtained i It can be:

[0125]

[0126] Where [k3,k4] can be the i-th sub-signal Y Li (k) and the i-th sub-signal Y Ri The frequency band corresponding to (k) can have N frequency points in [k3,k4].

[0127] It is understandable that the terminal device can obtain M offset control factors, process the audio signals in the M sub-signal pairs corresponding to the M offset control factors, and splice the M processing results into a full-band signal according to frequency to obtain the first audio signal after vertical adjustment of the sound image and the second audio signal after vertical adjustment of the sound image.

[0128] Based on this, the terminal device can adjust the vertical direction of the sound image based on the offset control factor, so that the direction jointly indicated by the first audio signal after vertical adjustment and the second audio signal after vertical adjustment is closer to the middle of the two playback devices in the vertical direction.

[0129] S404. The terminal device uses a virtual speaker method or crosstalk cancellation method based on head-related transfer function (HRTF) to perform audio processing on the first audio signal after vertical adjustment of the sound image, to obtain the first audio signal after horizontal adjustment of the sound image; and performs audio processing on the second audio signal after vertical adjustment of the sound image, and obtains the second audio signal after horizontal adjustment of the sound image.

[0130] In this embodiment, the terminal device can determine whether it is in landscape mode or portrait mode. When the terminal device is in portrait mode, it uses a virtual speaker based on HRTF to process the first audio signal (or the seventh target audio signal) and the second audio signal (or the eighth target audio signal) after vertical adjustment of the sound image. Alternatively, when the terminal device is in landscape mode, it uses a crosstalk cancellation method to process the first audio signal and the second audio signal after vertical adjustment of the sound image.

[0131] In one implementation, when the terminal device is in portrait mode, the terminal device processes the first audio signal and the second audio signal after vertical adjustment of the sound image based on the HRTF virtual speaker method.

[0132] The terminal device can pre-store multiple pairs of HRTF values, which are typically set in pairs according to left and right virtual speakers. For example, the multiple pairs of HRTF values ​​may include the HRTF values ​​of multiple left virtual speakers and the HRTF value of the right virtual speaker corresponding to the HRTF value of any left virtual speaker.

[0133] For example, Figure 6 This is a schematic diagram of an interface for vertical adjustment of sound image provided in an embodiment of this application. Figure 6 The interface shown can be understood as the sound image 601 after the vertical adjustment of the sound image in step S403, and the sound image 602 can be understood as the target sound image at the center point.

[0134] For example, the terminal device can set a pair of preset HRTF values ​​for the left and right virtual speakers at the center point position, or it can be understood that the terminal device creates virtual speaker 1 and virtual speaker 2 at the center point position, so that when the audio signal played by the virtual speaker 1 and virtual speaker 2 is played, the sound image position can be the position of the sound image 602.

[0135] Furthermore, an example is given where the first playback device is located closer to the user's left side and the second playback device is located closer to the user's right side. For instance, the terminal device uses the HRTF value corresponding to the left virtual speaker to convolve the first audio signal after vertical image adjustment to obtain the first audio signal after horizontal image adjustment (or the ninth target audio signal), and uses the HRTF value corresponding to the right virtual speaker to convolve the second audio signal after vertical image adjustment to obtain the second audio signal after horizontal image adjustment (or the tenth target audio signal).

[0136] Understandably, a terminal device can use an HRTF-based virtual speaker method to simulate a pair of virtual speakers, so that when the pair of virtual speakers outputs audio signals, the sound image can be located at the center point of the terminal device, thereby expanding the sound field width and thus achieving horizontal adjustment of the sound image.

[0137] In one possible implementation, the terminal device can also set multiple pairs of HRTF values ​​for the left and right virtual speakers at the center point. These multiple pairs of left and right virtual speaker HRTF values ​​can correspond to different azimuth angles (or can also be understood as corresponding to different sound fields or different sound field identifiers displayed in the terminal device). Furthermore, the terminal device can match a suitable pair of left and right virtual speaker HRTF values ​​based on the user's requirements for the sound field.

[0138] For example, Figure 7 This is a schematic diagram of an interface for sound field adjustment provided in an embodiment of this application.

[0139] Terminal device display as follows Figure 7 The interface shown in Figure 'a' may include a progress bar 701 for adjusting the sound field. Other content displayed on this interface may be related to... Figure 5 The interface shown in b is similar and will not be described again here. The progress bar 701 used to adjust the sound field can display a sound field indicator, for example, the sound field indicator can be displayed as 0; these different sound field indicators can be used to indicate the HRTF values ​​of the left and right virtual speakers corresponding to different sound fields.

[0140] In such Figure 7 In the interface shown in Figure a, when the terminal device receives the user's operation of sliding the progress bar 701 used to adjust the sound field, so that the sound field indicator is displayed as 1, the terminal device can use the HRTF value of the left virtual speaker corresponding to the sound field indicator being displayed as 1 to perform convolution processing on the first audio signal after vertical sound image adjustment to obtain the first audio signal after horizontal sound image adjustment, and use the HRTF value of the right virtual speaker corresponding to the sound field indicator being displayed as 1 to perform convolution processing on the second audio signal after vertical sound image adjustment to obtain the second audio signal after horizontal sound image adjustment.

[0141] Understandably, when the sound field indicator is displayed as 0, the terminal device can obtain the HRTF values ​​of the left and right virtual speakers corresponding to a sound field indicator of 0; when the sound field indicator is displayed as 1, the terminal device can obtain the HRTF values ​​of the left and right virtual speakers corresponding to a sound field indicator of 1. Understandably, the larger the value displayed by the sound field indicator, the wider the range of sound that the user can perceive.

[0142] In a possible implementation, the terminal device can also process the first audio signal and the second audio signal after vertical image adjustment based on the HRTF virtual speaker method in landscape mode; furthermore, the terminal device can also process the first audio signal and the second audio signal after vertical image adjustment based on the HRTF virtual speaker method in landscape mode. Figure 7 The corresponding embodiments implement sound field adjustment, but this application does not limit this aspect.

[0143] In another implementation, when the terminal device is in landscape mode, the terminal device uses crosstalk cancellation to process the first audio signal and the second audio signal after vertical audio-visual adjustment.

[0144] For example, the first playback device is a left speaker located near the user's left ear, and the second playback device is a right speaker located near the user's right ear. Crosstalk cancellation can be understood as eliminating the audio signal propagated from the left speaker to the right ear, and the audio signal propagated from the right speaker to the left ear, thereby expanding the sound field.

[0145] For example, Figure 8 This is a schematic diagram illustrating the principle of crosstalk cancellation provided in an embodiment of this application. Figure 8 As shown, the left speaker can not only pass through H LL Sending the ideal audio signal to the user's left ear, also after passing through H... LR It sends interfering audio signals to the user's right ear; similarly, the right speaker not only receives H... RR Sending the ideal audio signal to the user's right ear, and also passing through H RL It sends interfering audio signals to the user's left ear.

[0146] Therefore, in order to ensure that the audio signals received by the user's ears are both ideal audio signals, the terminal device can set crosstalk cancellation matrices C for the left and right speakers. These crosstalk cancellation matrices C can be used to eliminate interfering audio signals. Furthermore, the actual signal I input to the user's ears after crosstalk cancellation can be:

[0147]

[0148] Here, matrix H can be understood as the acoustic transfer function of the audio signals emitted by the left and right speakers being transmitted to both ears respectively.

[0149] Specifically, the terminal device can use a crosstalk cancellation matrix to cancel crosstalk on the first audio signal after vertical audio-visual adjustment and the second audio signal after vertical audio-visual adjustment, respectively, to obtain the first audio signal after horizontal audio-visual adjustment and the second audio signal after horizontal audio-visual adjustment.

[0150] Understandably, terminal devices can also achieve this based on crosstalk cancellation and at least one pair of HRTF values. Figure 7 The sound field adjustment in the corresponding embodiments is not limited in this application embodiment.

[0151] It is understood that the terminal device can expand the sound field based on crosstalk cancellation, causing the sound image to shift horizontally towards the center. In possible implementations, the terminal device can also expand the sound field using other methods, which are not limited in this embodiment.

[0152] S405. The terminal device performs timbre adjustment on the first audio signal and the second audio signal after the audio-visual level adjustment, to obtain the first audio signal and the second audio signal after timbre adjustment.

[0153] In one implementation, a filter for adjusting timbre can be preset in the terminal device. For example, the terminal device can input the first audio signal after the sound image level adjustment and the second audio signal after the sound image level adjustment into the filter to obtain the first audio signal after timbre adjustment (or the eleventh target audio signal) and the second audio signal after timbre adjustment (or the twelfth target audio signal).

[0154] This filter can include peak filters, shelving filters, high-pass filters, or low-pass filters, etc. It is understood that different filters can correspond to different filtering parameters, such as gain, center frequency, and Q value.

[0155] In another implementation, the terminal device has multiple preset correspondences between typical timbres and filter parameters, allowing the terminal device to select different filters according to the user's timbre requirements.

[0156] For example, Figure 9 This is a schematic diagram of a tone adjustment interface provided in an embodiment of this application.

[0157] Terminal device display as follows Figure 9The interface shown in figure 'a' may include: a control 901 for tone adjustment; other content displayed on this interface may be related to... Figure 7 The interface shown in 'a' is similar and will not be described again here.

[0158] like Figure 9 As shown in Figure 'a', when the terminal device receives a user's trigger operation on the control 901 used for tone adjustment, the terminal device can display the following: Figure 9 The interface shown in b. Figure 9 The interface shown in b can include multiple typical tone controls, such as: an acoustic tone control 902 indicating that the tone has not been adjusted, a pop tone control, a country tone control, a classical tone control 903, a rock tone control, an electronic tone control, and a metal tone control, etc.

[0159] In such Figure 9 In the interface shown in b, when the terminal device receives a user's trigger operation on the classical tone control 903, the terminal device can use the filtering parameters corresponding to the classical tone to filter the first audio signal after the sound image level adjustment and the second audio signal after the sound image level adjustment, so as to obtain the first audio signal and the second audio signal after tone adjustment.

[0160] Understandably, since audio signals may change in timbre after speaker correction and rendering by virtual speakers, terminal devices can improve the timbre of audio by adjusting the timbre, thereby improving the audio quality.

[0161] S406. The terminal device uses the first audio signal with adjusted timbre, the second audio signal with adjusted timbre, the first audio signal, and the second audio signal to adjust the volume of the first audio signal and the second audio signal with adjusted timbre, thereby obtaining the third audio signal corresponding to the first audio signal and the fourth audio signal corresponding to the second audio signal.

[0162] The third audio signal may also be referred to as the third target audio signal, and the fourth audio signal may also be referred to as the fourth target audio signal.

[0163] For example, when the first audio signal is x L(k) The second audio signal is x R(k) The first audio signal after timbre adjustment is z L(k) The second audio signal after timbre adjustment is z R(k) Then the terminal device is based on the first audio signal x L(k) and the second audio signal x R(k) The obtained smooth energy E x It can be:

[0164]

[0165] Where β can be a smoothing coefficient, and P can be the frequency point of the first audio signal or the second audio signal.

[0166] Similarly, the terminal device is based on the first audio signal z after timbre adjustment. L(k) And the second audio signal z after timbre adjustment R(k) The obtained smooth energy E y It can be:

[0167]

[0168] Terminal devices can be based on E x and E y The dual-channel gain control factor δ can be determined as follows:

[0169]

[0170] Furthermore, the terminal device can use δ to adjust the timbre of the first audio signal z. L(k) And the second audio signal z after timbre adjustment R(k) After adjustment, the third audio signal δz is obtained. L(k) and the fourth audio signal δz R(k) .

[0171] It is understandable that, due to the series of processes shown in steps S401-S406 of the terminal device, there is a gain difference between the first audio signal after timbre adjustment and the second audio signal after timbre adjustment. Therefore, the volume of any audio signal can be adjusted according to the smooth energy of any audio signal, so that the volume of the output dual-channel audio signal is more in line with the user's experience.

[0172] Understandably, when the user does not activate the control 502 for initiating audio-visual calibration, the terminal device can indicate the audio-visual deviation from the center position of the terminal device based on the audio signals played by the first and second playback devices. However, when the user activates the control 502 for initiating audio-visual calibration, the terminal device can, based on... Figure 4 The corresponding embodiment adjusts the audio-visual image so that it is closer to the center of the terminal device.

[0173] It is understood that the terminal device can improve the position of the audio and video when playing video externally based on one or more of the steps shown in S401, S403, S404, S405 and S406, and this application embodiment does not limit this.

[0174] Based on this, the terminal device can adjust the audio and video to a position closer to the center of the terminal device through speaker correction, audio-visual shift control, and audio-visual level control, thereby improving the user's video viewing experience.

[0175] Among the possible implementations, in Figure 4 Based on the corresponding embodiment, the method for the terminal device to correct the frequency response of the first playback device and the second playback device in step S401 can be found in [reference needed]. Figure 10 Corresponding implementation examples.

[0176] For example, Figure 10 This application provides a schematic diagram of a frequency response correction process based on psychological and physiological factors, as illustrated in the embodiments of this application. Figure 10 In the corresponding embodiment, the first playback device is the left speaker, the second playback device is the right speaker, the first audio signal is the left channel audio signal, and the second audio signal is the right channel audio signal, which is used as an example for illustration. This example is not intended to limit the embodiments of this application.

[0177] like Figure 10 As shown, the frequency response correction method may include the following steps:

[0178] S1001. The terminal device acquires the first frequency response compensation curve corresponding to the first playback device and the second frequency response compensation curve corresponding to the second playback device.

[0179] The frequency response compensation curve is used to adjust the frequency response curve of the playback device to a curve that is closer to a flat curve.

[0180] For example, Figure 11 This is a schematic diagram of a frequency response calibration model for a playback device provided in an embodiment of this application. Figure 11 As shown, the left speaker can be a speaker closer to the user's left ear, and the right speaker can be a speaker closer to the user's right ear.

[0181] For example, the left speaker plays the left channel audio signal x. L(n) The left channel audio signal x L(n) After environmental H LL The signal reaches the user's left ear, and the signal received by the left ear can be y. LL The left channel audio signal x L(n) After environmental H LR The signal reaches the user's right ear, and the signal received by the right ear can be y. LR Similarly, the right speaker plays the right channel audio signal x. R(n) The left channel audio signal x R(n) After environmental H LR The signal reaches the user's left ear, and the signal received by the left ear can be y. LRThe right channel audio signal x R(n) After environmental H RR The signal reaches the user's right ear, and the signal received by the right ear can be y. RR .

[0182] The signal received by the user's left ear y L(n) and the signal y received by the user's right ear R(n) See the description in formula (7).

[0183]

[0184] Among them, H spkL This can be understood as the frequency response of the left speaker, H. spkR This can be understood as the frequency response of the right speaker, and * can be understood as convolution.

[0185] Left channel audio signal x L(n) The signal y reaches the user's left and right ears after passing through the left speaker; the signal received by the left ear is... LL See the description in formula (8), the signal y received by the right ear LR See the description in formula (9).

[0186] y LL (n)=x L(n) *H spkL *H LL Formula (8)

[0187] y LR (n)=x L(n) *H spkL *H LR Formula (9)

[0188] It is understandable that the frequency response H of the left speaker... spkL Environmental factors can be taken into account during calibration, therefore H can be... spkL *H LL Equivalent to the frequency response of the left speaker, and H spkL *H LR This is also equivalent to the frequency response of the left speaker. Equation (8) can be converted to:

[0189] y LL (n)=x L(n) *E LL Formula (10)

[0190] Formula (9) can be converted to:

[0191] y LR (n)=x L(n) *E LR Formula (11)

[0192] Furthermore, the frequency response H of the left speaker... spkL Equalization is converted into the mean E of the frequency response superimposed at the two locations of the left and right ears. spkL :

[0193] E spkL =0.5*(E LL +E LR ) Formula (12)

[0194] Understandably, in order to make the frequency response curve of the calibrated left speaker approximate a smooth curve, E can be estimated. spkL The compensation curve (or first frequency response compensation curve, or first frequency response compensation function) E spkL -1 , so that:

[0195] E spkL *E spkL -1 =1 Formula (13)

[0196] Similarly, the frequency response H of the right speaker can also be obtained. spkR The corresponding compensation curve (or second frequency response compensation curve, or second frequency response compensation function) E spkR -1 Furthermore, the method for obtaining the compensation curve corresponding to the frequency response of the right speaker is similar to the method for obtaining the compensation curve corresponding to the frequency response of the left speaker, and will not be described in detail here.

[0197] S1002, The terminal device determines whether a receiver exists.

[0198] Specifically, when the terminal device determines that a receiver exists (or is understood as including a speaker and a receiver in the terminal device), the terminal device can execute the steps shown in S1003-S1004; or, when the terminal device determines that a receiver does not exist (or is understood as including a speaker and a speaker in the terminal device), the terminal device can execute the steps shown in S1005-S1006.

[0199] Understandably, receivers typically cannot reproduce low-frequency signals compared to speakers. Therefore, when correcting the frequency response of a receiver, the mid-to-high frequency response can be corrected, thereby reducing the complexity of the correction. This mid-to-high frequency response can be any frequency in the receiver's frequency response that is higher than the cutoff frequency.

[0200] In possible implementations, the terminal device may also omit the steps shown in S1002 and perform frequency response calibration based on the sound field offset cutoff frequency according to the steps shown in S1003-S1005, or perform frequency response calibration based on psychological and physiological factors according to the steps shown in S1006-S1007; alternatively, the terminal device may omit the steps shown in S1002 and perform frequency response calibration based on the sound field offset cutoff frequency according to the steps shown in S1003-S1005, and perform frequency response calibration based on psychological and physiological factors according to the steps shown in S1006-S1007, all in combination. This application embodiment does not limit this.

[0201] S1003, The terminal device obtains the sound field offset cutoff frequency.

[0202] The sound field offset cutoff frequency (or cutoff frequency, or target cutoff frequency) can be k0, and can be preset. For example, the sound field offset cutoff frequency can be the cutoff frequency of the receiver.

[0203] Understandably, because the receiver has poor reproduction capability for low-frequency signals below the cutoff frequency of this sound field, therefore, in situations such as... Figure 2 If the receiver (as shown in 'a') is located at the top center of the terminal device, and the speaker is located at the bottom left corner of the terminal device, the sound image will be biased towards the bottom left speaker.

[0204] S1004. The terminal equipment corrects the frequency response corresponding to the frequency band above the sound field offset cutoff frequency to obtain the third target frequency response and the fourth target frequency response.

[0205] Understandably, the terminal device can estimate the compensation function for a frequency band greater than the sound field offset cutoff frequency (this frequency band can also be called a preset frequency band). For example, when the system function used to indicate the frequency response of the first playback device is E... spkL When (k), the first frequency response compensation function E of the first playback device spkL -1 (k) can be:

[0206]

[0207] When the frequency domain system function used to indicate the frequency response of the second playback device is E spkR (k), then the second frequency response compensation function E of the second playback device spkR -1 (k) can be:

[0208]

[0209] Furthermore, the terminal device utilizes the first frequency response compensation function E of the first playback device obtained in S1004. spkL -1 (k) Correct the frequency response of the first playback device to obtain the third target frequency response; use the second frequency response compensation function E of the second playback device obtained in S1004. spkR -1 (k) Correct the frequency response of the second playback device to obtain the fourth target frequency response.

[0210] S1005. The terminal device uses an equalizer (EQ) to adjust the frequency response of the third target audio and the fourth target audio to obtain the frequency response of the first target and the frequency response of the second target.

[0211] Specifically, this EQ can adjust the data with higher amplitude in the third target frequency response to be similar to the amplitude at other frequencies to obtain the first target frequency response, and adjust the data with higher amplitude in the fourth target frequency response to be similar to the amplitude at other frequencies to obtain the second target frequency response.

[0212] Understandably, terminal devices can reduce algorithm complexity by correcting the frequency response of playback devices with sound field offset cutoff frequencies above k0.

[0213] S1006, The terminal device obtains the first frequency band and the second frequency band.

[0214] In this embodiment, the first frequency band can be understood as the frequency band in which the layout of different asymmetric playback devices affects the binaural sound pressure difference, or it can be understood as the frequency band that affects the user's physiological level. For example, a commonly used frequency band in the full frequency range can be obtained, such as 1000Hz-8000Hz, and the frequency band corresponding to the ILD change rate within this commonly used frequency band when it meets a certain range (or exceeds a certain threshold) can be obtained. For example, the first frequency band can be [k1 low ,k1 high ].

[0215] For example, Figure 12 This is a schematic diagram illustrating the relationship between frequency and interaural level difference (ILD) provided in an embodiment of this application. Figure 12 Different lines can be used to indicate the impact on binaural sound pressure levels when the left and right speakers are at different distances. Understandably, the frequency ranges that have a significant impact on binaural sound pressure level differences can be [2000Hz, 5000Hz], etc.

[0216] The second frequency band can be understood as the frequency band to which the human ear is most sensitive to loudness, or it can be understood as the frequency band that has an impact on the user's psychology. For example, a commonly used frequency band in the entire frequency range can be obtained, such as 1000Hz-8000Hz, and within this commonly used frequency band, the frequency band corresponding to the rate of change of sound pressure level (SPL) meeting a certain range (or exceeding a certain threshold) can be obtained. This second frequency band can be [k2] low k2 high ].

[0217] For example, Figure 13 This is a schematic diagram illustrating the relationship between the frequency domain and SPL, provided as an embodiment of this application. Figure 13 As shown, the frequency bands that are most sensitive to the human ear can be in the range of [4000Hz, 8000Hz].

[0218] Furthermore, the preset frequency band [k low ,k high ] can be:

[0219] [k low ,k high ]= [k1 low ,k1 high ]∩[k2 low k2 high ] Formula (16)

[0220] For example, the preset frequency band can be in the range of [4000Hz, 5000Hz], and the embodiments of this application do not specifically limit the value of the preset frequency band.

[0221] S1007. The terminal device adjusts the frequency response within the preset frequency band to obtain the first target frequency response and the second target frequency response.

[0222] It is understandable that when the system function used to indicate the frequency response of the first playback device is E spkL (k), then the first frequency response compensation function E of the first playback device spkL -1 (k) can be:

[0223]

[0224] When the system function used to indicate the frequency response of the playback device shown in the figure is E spkR (k), then the second frequency response compensation function E of the second playback device spkR -1 (k) can be:

[0225]

[0226] Furthermore, the terminal device utilizes the first frequency response compensation function E of the first playback device obtained in S1007. spkL -1 (k) Correct the frequency response of the first playback device to obtain the first target frequency response; use the second frequency response compensation function E of the second playback device obtained in S1007. spkR -1 (k) Correct the frequency response of the second playback device to obtain the second target frequency response.

[0227] It is understood that, within the preset frequency band, the amplitude corresponding to the first target frequency response satisfies the preset amplitude range, and the amplitude corresponding to the second target frequency response also satisfies the preset amplitude range. The preset amplitude range can be [-1 / 1000dB - 1 / 1000dB], or it can be a range such as [-1 / 100dB - 1 / 100dB], etc., and is not limited to this range in the embodiments of this application.

[0228] Understandably, terminal devices can reduce the complexity of algorithms by correcting the frequency response of playback devices in preset frequency bands, thereby reducing noise distortion introduced during the frequency response correction process and making the corrected frequency response more in line with the user's usage habits of speakers.

[0229] Based on this, the terminal device can process the frequency response of the playback device differently according to the type of playback device, so that the frequency response corrected speaker can output an audio signal that better meets the user's needs.

[0230] It is understood that the interface described in the embodiments of this application is only an example and does not constitute a limitation on the embodiments of this application.

[0231] The above combination Figures 3-13 The methods provided in the embodiments of this application have been described. The apparatus for executing the above methods, provided in the embodiments of this application, is described below. Figure 14 As shown, Figure 14 This is a schematic diagram of the structure of an audio-visual calibration device provided in an embodiment of this application. The audio-visual calibration device can be a terminal device in the embodiment of this application, or a chip or chip system within the terminal device.

[0232] like Figure 14 As shown, the audio-visual calibration device 1400 can be used in communication equipment, circuits, hardware components, or chips. The audio-visual calibration device includes a display unit 1401 and a processing unit 1402. The display unit 1401 supports the display steps performed by the audio-visual calibration device 1400; the processing unit 1402 supports the information processing steps performed by the audio-visual calibration device 1400.

[0233] Specifically, this application provides an audio-visual calibration device 1400, which includes a terminal device comprising: a first playback device and a second playback device; a display unit 1401 for a first interface; wherein the first interface includes a first control for playing a target video; a processing unit 1402 for receiving a first operation on the first control; in response to the first operation, the display unit 1401 is configured to use a second interface, and the processing unit 1402 is further configured to output a first target audio signal using the first playback device and a second target audio signal using the second playback device; wherein the audio-visual image is at a first position when the first and second target audio signals are played; the second interface includes: a second control for initiating audio-visual calibration; the processing unit 1402 is further configured to receive a second operation on the second control; in response to the second operation, the processing unit 1402 is further configured to output a third target audio signal using the first playback device and a fourth target audio signal using the second playback device; wherein the audio-visual image is at a second position when the third and fourth target audio signals are played; the distance between the second position and the center position of the terminal device is less than the distance between the first position and the center position.

[0234] In a possible implementation, the audio-visual calibration device 1400 may also include a communication unit 1403. Specifically, the communication unit supports the audio-visual calibration device 1400 in performing data transmission and data reception steps. The communication unit 1403 may be an input or output interface, pins, or circuitry, etc.

[0235] In a possible embodiment, the audio-visual calibration device may further include a storage unit 1404. The processing unit 1402 and the storage unit 1404 are connected via a line. The storage unit 1404 may include one or more memories, which may be devices in one or more devices or circuits used for storing programs or data. The storage unit 1404 may exist independently and be connected to the processing unit 1402 of the audio-visual calibration device via a communication line. Alternatively, the storage unit 1404 may be integrated with the processing unit 1402.

[0236] Storage unit 1404 may store computer-executable instructions for the methods in the terminal device, so that processing unit 1402 executes the methods in the above embodiments. Storage unit 1404 may be a register, cache, or RAM, etc., and storage unit 1404 may be integrated with processing unit 1402. Storage unit 1404 may be a read-only memory (ROM) or other types of static storage devices capable of storing static information and instructions, and storage unit 1404 may be independent of processing unit 1402.

[0237] Figure 15This is a schematic diagram of the hardware structure of another terminal device provided in an embodiment of this application, such as... Figure 15 As shown, the terminal device includes a processor 1501, a communication line 1504, and at least one communication interface. Figure 15 (The example described uses communication interface 1503 as an example).

[0238] The processor 1501 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present application.

[0239] Communication line 1504 may include circuitry for transmitting information between the aforementioned components.

[0240] Communication interface 1503 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, wireless local area networks (WLAN), etc.

[0241] The terminal device may also include a memory 1502.

[0242] The memory 1502 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory may exist independently and be connected to the processor via communication line 1504. The memory may also be integrated with the processor.

[0243] The memory 1502 stores computer execution instructions for implementing the scheme of this application, and the processor 1501 controls the execution of these instructions. The processor 1501 executes the computer execution instructions stored in the memory 1502 to implement the method provided in the embodiments of this application.

[0244] It is possible that the computer execution instructions in the embodiments of this application may also be referred to as application code, and the embodiments of this application do not specifically limit this.

[0245] In a specific implementation, as one example, the processor 1501 may include one or more CPUs, for example... Figure 15 CPU0 and CPU1 in the CPU.

[0246] In a specific implementation, as one example, the terminal device may include multiple processors, for example... Figure 15 Processors 1501 and 1505 are mentioned. Each of these processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor here can refer to one or more devices, circuits, and / or processing cores used to process data (such as computer program instructions).

[0247] A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that integrates one or more available media. For example, available media may include magnetic media (e.g., floppy disks, hard disks, or magnetic tapes), optical media (e.g., digital versatile discs (DVDs)), or semiconductor media (e.g., solid-state disks (SSDs)).

[0248] This application also provides a computer-readable storage medium. The methods described in the above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any combination thereof. The computer-readable medium may include computer storage media and communication media, and may also include any medium capable of transferring a computer program from one place to another. The storage medium can be any target medium accessible by a computer.

[0249] As one possible design, computer-readable media may include compact disc read-only memory (CD-ROM), RAM, ROM, EEPROM, or other optical disc storage; computer-readable media may also include disk storage or other disk storage devices. Furthermore, any connecting cable may also be appropriately referred to as computer-readable media. For example, if software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of media. As used herein, disks and optical discs include optical discs (CD), laser discs, optical discs, digital versatile discs (DVD), floppy disks, and Blu-ray discs, where disks typically reproduce data magnetically, while optical discs optically reproduce data using lasers.

[0250] The above combinations should also be included within the scope of computer-readable media. The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for audio-visual calibration, characterized in that, Applied to a terminal device, the terminal device including: an asymmetrically arranged first playback device and a second playback device, the method including: Obtain the first target frequency response corresponding to the first playback device and the second target frequency response corresponding to the second playback device; When playing a video, the terminal device outputs a first target audio signal using the first target frequency response and outputs a second target audio signal using the second target frequency response. In the target frequency band, the first echo signal corresponding to the first sweep signal is obtained using the first target frequency response, and the second echo signal corresponding to the first sweep signal is obtained using the second target frequency response; wherein, the target frequency band is the frequency band in which the similarity between the first target frequency response and the second target frequency response is greater than a preset threshold; the amplitude of the first sweep signal is the same, and the frequency band of the first sweep signal satisfies the target frequency band; Based on the difference between the first playback signal and the second playback signal, the first target audio signal and / or the second target audio signal are processed to obtain the first audio signal and the second audio signal in the video. The sound image generated by superimposing the first audio signal and the second audio signal is located at a first position, and the distance between the first position and the center position of the terminal device is less than a preset value.

2. The method according to claim 1, characterized in that, The method further includes: The terminal device acquires the first initial frequency response of the first playback device and the second initial frequency response of the second playback device; The terminal device corrects the first initial frequency response to obtain the first target frequency response; The terminal device corrects the second initial frequency response to obtain the second target frequency response.

3. The method according to claim 2, characterized in that, The terminal device corrects the first initial frequency response to obtain a first target frequency response, and the terminal device corrects the second initial frequency response to obtain a second target frequency response, including: The terminal device obtains the first frequency response compensation function corresponding to the first initial frequency response and the second frequency response compensation function corresponding to the second initial frequency response. The terminal device uses the first frequency response compensation function to correct the first initial frequency response within the preset frequency band to obtain the first target frequency response, and uses the second frequency response compensation function to correct the second initial frequency response within the preset frequency band to obtain the second target frequency response.

4. The method according to claim 3, characterized in that, The preset frequency band is a frequency band in the entire frequency band that is greater than the target cutoff frequency; or, the preset frequency band is the same frequency band between the first frequency band and the second frequency band; wherein, the first frequency band is the frequency band corresponding to the rate of change of the binaural sound pressure difference ILD that meets the first target range; and the second frequency band is the frequency band corresponding to the rate of change of the sound pressure level SPL that meets the second target range.

5. The method according to claim 4, characterized in that, The preset frequency band is a frequency band in the entire frequency band that is greater than the target cutoff frequency, including: when the first playback device or the second playback device includes a target device, the preset frequency band is a frequency band in the entire frequency band that is greater than the target cutoff frequency, and the target cutoff frequency is the cutoff frequency of the target device; Alternatively, the preset frequency band may be the same frequency band between the first frequency band and the second frequency band, including: when the target device is not included in the first playback device or the second playback device, the preset frequency band may be the same frequency band between the first frequency band and the second frequency band.

6. The method according to claim 1, characterized in that, The terminal device processes the first target audio signal and / or the second target audio signal based on the difference between the first playback signal and the second playback signal to obtain the first audio signal and the second audio signal, including: The terminal device processes the first target audio signal and / or the second target audio signal based on the difference between the first playback signal and the second playback signal to obtain a third target audio signal and a fourth target audio signal. The terminal device processes the third target audio signal using the first HRTF in the Target Head Related Transfer Function (HRTF) to obtain the first audio signal, and processes the fourth target audio signal using the second HRTF in the HRTF to obtain the second audio signal.

7. The method according to claim 6, characterized in that, The terminal device processes the third target audio signal using the first HRTF in the Target Head Related Transfer Function (HRTF) to obtain the first audio signal, and processes the fourth target audio signal using the second HRTF in the HRTF to obtain the second audio signal, including: The terminal device acquires the target HRTF; The terminal device processes the third target audio signal using the first HRTF in the target HRTF to obtain the fifth target audio signal, and processes the fourth target audio signal using the second HRTF in the target HRTF corresponding to the first HRTF to obtain the sixth target audio signal. The terminal device performs timbre processing on the fifth target audio signal using the target filtering parameters to obtain the first audio signal, and performs timbre processing on the sixth target audio signal using the target filtering parameters to obtain the second audio signal.

8. The method according to claim 7, characterized in that, The method further includes: The terminal device receives the user's selection of the target timbre; In response to the operation, the terminal device performs timbre processing on the fifth target audio signal using target filtering parameters corresponding to the target timbre to obtain the first audio signal, and performs timbre processing on the sixth target audio signal using the target filtering parameters to obtain the second audio signal.

9. The method according to claim 8, characterized in that, The terminal device performs timbre processing on the fifth target audio signal using target filtering parameters to obtain the first audio signal, and performs timbre processing on the sixth target audio signal using the target filtering parameters to obtain the second audio signal, including: The terminal device uses the target filtering parameters to process the timbre of the fifth target audio signal to obtain the seventh target audio signal, and uses the target filtering parameters to process the timbre of the sixth target audio signal to obtain the eighth target audio signal; The terminal device adjusts the volume of the seventh target audio signal based on the gain change between the initial audio signal corresponding to the first playback device and the initial audio signal corresponding to the second playback device, as well as the gain change between the seventh target audio signal and the eighth target audio signal, to obtain the first audio signal; and the terminal device adjusts the volume of the eighth target audio signal based on the gain change between the initial audio signal corresponding to the first playback device and the initial audio signal corresponding to the second playback device, as well as the gain change between the seventh target audio signal and the eighth target audio signal, to obtain the second audio signal.

10. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it causes the terminal device to perform the method as described in any one of claims 1 to 9.

11. The terminal device according to claim 10, characterized in that, The terminal device also includes a flexible screen.

12. The terminal device according to claim 10, characterized in that, The first playback device is a speaker or a receiver; the second playback device is a speaker or a receiver.

13. The terminal device according to claim 10, characterized in that, The terminal device further includes a third playback device, and the first playback device, the second playback device, and the third playback device are arranged asymmetrically.

14. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the terminal device, it causes the terminal device to perform the method as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Sound effect adjustment method and mobile terminal

    CN107547987A