Method, device and computer storage medium for calibrating sound effects of left and right speakers in home theater

Through ultra-wideband signal positioning and sound effect adjustment, the problem of poor sound effects caused by changes in user position or speaker position in the home theater system is solved, and the function of automatically adjusting sound effects to adapt to changes is realized to ensure the best sound experience.

CN117676420BActive Publication Date: 2024-10-01SHENZHEN FENGHEYUAN TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410137839.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-01
Publication Date
2024-10-01
Estimated Expiration
2044-02-01

AI Technical Summary

Technical Problem

In a home theater system, changes in the user's position or the position of the speakers cause the sound effects to no longer be optimal. It is difficult with existing technology to automatically adjust the speaker sound effects to adapt to the changes.

Method used

Ultra-wideband signals are used for speaker positioning, and ultra-wideband signals are transmitted to the left and right speakers of the audio transceiver device through the transmitting module. The positioning module is used to determine the distance to the user's target position based on feedback information, and the sound effects are reset through the adjustment module or adjusted by simulating virtual sound sources. Calibrate sound effects.

Benefits of technology

Regardless of changes in the user's position or the position of the speaker, precise positioning of ultra-wideband signals and sound effect adjustment ensure that users always enjoy the best sound experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117676420B_ABST
    Figure CN117676420B_ABST
Patent Text Reader

Abstract

The present application relates to the field of audio and video data processing, and provides a method, device and computer storage medium for calibrating the sound effects of left and right speakers of a home theater. The method comprises: when the position of the left and right speakers of the audio transceiver device of the home theater system and / or the user at the best viewing point of the home theater system changes, an ultra-wideband signal is transmitted to the left and right speakers of the audio transceiver device, wherein the left and right speakers of the audio transceiver device are located on the left and right sides of the line connecting the best viewing point and the audio transceiver device; the left and right speakers of the audio transceiver device are positioned based on the feedback information of the ultra-wideband signal to obtain the distance between the left and right speakers and the target position of the user; the sound effects of the left and right speakers are reset according to the distance between the left and right speakers and the target position of the user, or the original sound effects of the left and right speakers are adjusted by simulating a virtual sound source according to the target position of the user. The technical solution of the present application can automatically set the best sound effects for users of the home theater system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of audio and video data processing, and in particular to a method, device and computer storage medium for calibrating the sound effects of left and right speakers of a home theater. Background Art

[0002] A home theater system is a theater system that is delivered to a room in a home so that users can enjoy programs at home. A home theater system consists of image devices such as projectors, projection screens (such as large-screen TVs), plasma screens, and digital TVs, as well as various audio equipment. A home theater system can achieve high image quality on the screen and reproduce the same grand scenes and sound effects as those enjoyed in the theater, so it is favored by more and more ordinary families.

[0003] The audio transceiver of the home theater system is generally placed below the video display device and exchanges data with the video display device. Relative to the various speakers around the audio transceiver (for example, front speakers, center speakers, rear speakers, subwoofers, etc.), the audio transceiver is equivalent to a main control module or a built-in main control module, which is used to adjust the sound effects of the various speakers around the audio transceiver. Generally speaking, for a certain specification of a video display device in a home theater system, it has an optimal viewing point, that is, the user has the best experience watching the video of the video display device at this position. On both sides of the center line formed by the optimal viewing point and the audio transceiver, the sound effects of the left and right speakers are particularly important to the user's auditory experience.

[0004] In the initial setting, the user can feel the best sound effects provided by the left and right speakers when the user is at the best viewing point. However, due to the movement of furniture such as the sofa at the best viewing point, the user is no longer at the best viewing point, or due to the movement of the left and / or right speakers, the user no longer enjoys the best sound effects. Summary of the invention

[0005] The present application provides a method, device and computer storage medium for calibrating the sound effects of left and right speakers of a home theater, which can automatically set the best sound effects for users of the home theater system.

[0006] On the one hand, the present application provides a method for calibrating the sound effects of left and right speakers in a home theater, the method comprising:

[0007] When the position of the user at the best viewing point of the home theater system and / or the left and right speakers of the audio transceiver device of the home theater system changes, an ultra-wideband signal is transmitted to the left and right speakers of the audio transceiver device, the left and right speakers of the audio transceiver device being located on the left and right sides of a line connecting the best viewing point and the audio transceiver device;

[0008] Positioning the left and right speakers of the audio transceiver device based on feedback information of the ultra-wideband signal to obtain distances between the left and right speakers and a target position of the user, wherein the target position of the user is a position after a position of the user at the best viewing point of the home theater system has changed;

[0009] The sound effects of the left and right speakers are reset according to the distance between the left and right speakers and the target position of the user, or the original sound effects of the left and right speakers are adjusted by simulating a virtual sound source according to the target position of the user.

[0010] On the other hand, the present application provides a device for calibrating the sound effects of left and right speakers in a home theater, the device comprising:

[0011] A transmitting module, used for transmitting an ultra-wideband signal to the left and right speakers of the audio transceiver device when the position of the user at the best viewing point of the home theater system and / or the left and right speakers of the audio transceiver device of the home theater system changes, and the left and right speakers of the audio transceiver device are located on the left and right sides of the line connecting the best viewing point and the audio transceiver device;

[0012] a positioning module, configured to position the left and right speakers of the audio transceiver device based on the feedback information of the ultra-wideband signal, and obtain the distance between the left and right speakers and the target position of the user, wherein the target position of the user is the position after the position of the user at the best viewing point of the home theater system changes;

[0013] The adjustment module is used to reset the sound effects of the left and right speakers according to the distance between the left and right speakers and the target position of the user, or to adjust the original sound effects of the left and right speakers by simulating a virtual sound source according to the target position of the user.

[0014] In a third aspect, the present application provides a device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the technical solution of the above-mentioned method for calibrating the sound effects of left and right speakers of a home theater are implemented.

[0015] In a fourth aspect, the present application provides a computer storage medium storing a computer program, which, when executed by a processor, implements the steps of the technical solution of the above-mentioned method for calibrating the sound effects of left and right speakers of a home theater.

[0016] From the technical solution provided by the present application, it can be seen that when the position of the left and right speakers of the audio transceiver device of the home theater system and / or the user at the best viewing point of the home theater system changes, an ultra-wideband signal is transmitted to the left and right speakers of the audio transceiver device, and the left and right speakers of the audio transceiver device are positioned based on the feedback information of the ultra-wideband signal to obtain the distance between the left and right speakers and the target position, and the sound effects of the left and right speakers are reset according to the distance between the left and right speakers and the target position of the user, or the original sound effects of the left and right speakers are adjusted by simulating a virtual sound source according to the target position of the user. Since the left and right speakers of the audio transceiver device can be accurately positioned by the ultra-wideband signal, whether the sound effects of the left and right speakers are reset or the original sound effects of the left and right speakers are adjusted by simulating a virtual sound source, the user can still enjoy the best sound effect when the user position changes or the position of the left and right speakers changes. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 is a flow chart of a method for calibrating the sound effects of left and right speakers in a home theater provided by an embodiment of the present application;

[0019] Figure 2 is a schematic diagram of a home theater system provided by an embodiment of the present application;

[0020] Figure 3 This is a schematic diagram of the layout of left and right speakers of an audio transceiver device of a home theater system provided by an embodiment of the present application;

[0021] Figure 4 is a schematic diagram of a change in the best viewing point of a home theater system provided by an embodiment of the present application;

[0022] Figure 5 It is a schematic diagram of the position change of the left speaker of the home theater system audio transceiver device provided in an embodiment of the present application;

[0023] Figure 6 It is a structural schematic diagram of a home theater left and right speaker sound effect calibration device provided in an embodiment of the present application;

[0024] Figure 7 It is a schematic diagram of the structure of the device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0026] In this specification, adjectives such as first and second may be used only to distinguish one element or action from another element or action, without necessarily requiring or implying any actual such relationship or order. Where circumstances permit, reference to an element or component or step (etc.) should not be interpreted as being limited to only one of the elements, components, or steps, but may be one or more of the elements, components, or steps, etc.

[0027] In this specification, for the convenience of description, the sizes of various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0028] The audio transceiver of the home theater system is generally placed below the video display device and exchanges data with the video display device. Relative to the various speakers around the audio transceiver (e.g., front speakers, center speakers, rear speakers, and subwoofers, etc.), the audio transceiver is equivalent to a main control module or a built-in main control module, which is used to adjust the sound effects of the various speakers around the audio transceiver. Generally speaking, for a certain specification of a video display device in a home theater system, it has an optimal viewing point, that is, the user has the best experience watching the video of the video display device at this position. On both sides of the center line formed by the optimal viewing point and the audio transceiver, the sound effects of the left and right speakers are particularly important for the user's auditory experience. In the initial setting, the user can feel the best sound effects provided by the left and right speakers when he is at the best viewing point. However, due to the movement of furniture such as sofas at the best viewing point, the user is no longer at the best viewing point, or due to the movement of the left and / or right speakers, the user no longer enjoys the best sound effects.

[0029] against Figure 1 In order to solve the above problems of the prior art, the present application proposes a method for calibrating the sound effects of the left and right speakers of a home theater. The method can be performed by an audio transceiver device of a home theater system. The flow chart is shown in the attached figure. Figure 1 As shown, it mainly includes steps S101 to S103, which are described in detail as follows:

[0030] Step S101: When the position of the left and right speakers of the audio transceiver device of the home theater system and / or the user at the best viewing point of the home theater system changes, an ultra-wideband signal is transmitted to the left and right speakers of the audio transceiver device, wherein the left and right speakers of the audio transceiver device are located on the left and right sides of the line connecting the best viewing point and the audio transceiver device.

[0031] like Figure 2 As shown, it is a schematic diagram of the application scenario of the technical solution of the present application, namely, a home theater system, which mainly includes a video display device, an audio transceiver device, and various speakers, among which the video device can be a TV or projector for decoding video signals and displaying video images, and the audio transceiver device is responsible for decoding the received audio data and sending it to the speakers around the audio transceiver device, which amplify the audio signal and play it to the user. Furthermore, the audio transceiver device can be a sound bar device with a built-in positioning module based on Ultra Wide Band (UWB) technology; the speakers around the audio transceiver device also have a built-in positioning module based on UWB technology, and the two can interact through UWB signals. Since UWB signals have the characteristic of high time resolution, that is, UWB signals are a series of very short pulses, they are very suitable for scenarios such as ordinary families where the area is not large but the device needs to be accurately positioned.

[0032] exist Figure 2 In the example home theater system, there is a so-called optimal viewing point, which is the position in the space where the home theater system is deployed where the user can enjoy the best audio-visual effect. Generally speaking, this optimal viewing point is calibrated when the home theater system leaves the factory or is set according to the space where the home theater system is to be deployed. For example, the optimal viewing point can be 3.5 meters in front of the video equipment of the home theater system. Figure 3 As shown in FIG. 1 , when the best viewing point and the audio transceiver device of the home theater system are connected in a line, the speakers located on the left and right sides of the line connecting the best viewing point and the audio transceiver device are the left and right speakers of the audio transceiver device. Due to various reasons, the position of the user at the best viewing point of the home theater system has changed. For example, Figure 4 As shown in FIG. 1 , the sofa at the best viewing point is moved. After the user sits back on the sofa, the best viewing point may change from position A to position B. Alternatively, the positions of the left and right speakers of the audio transceiver device of the home theater system may change. For example, the audio transceiver device may be moved accidentally while cleaning. Figure 5As shown, the left speaker of the audio transceiver device changes from position C to position D, or both of the above situations occur, which will cause the relative position of the left and right speakers of the audio transceiver device of the home theater system and the best viewing point of the home theater system to change (the distance, angle and other data after the change are shown as the dotted line in the figure), so that the user no longer enjoys the best audio-visual effect. At this time, the first thing to do is to reposition the left and right speakers of the audio transceiver device, that is, the speakers on the left and right sides of the line connecting the best viewing point and the audio transceiver device. As mentioned above, the audio transceiver device and its surrounding speakers are built-in with a positioning module based on UWB technology, that is, a UWB module. Therefore, when the user at the best viewing point of the home theater system and / or the position of the left and right speakers of the audio transceiver device of the home theater system changes, an ultra-wideband signal can be transmitted to the left and right speakers of the audio transceiver device.

[0033] Step S102: positioning the left and right speakers of the audio transceiver device based on the feedback information of the ultra-wideband signal to obtain the distance between the left and right speakers and the target position of the user, wherein the target position of the user is the position after the position of the user at the best viewing point of the home theater system has changed.

[0034] As an embodiment of the present application, positioning the left and right speakers of the audio transceiver device based on the feedback information of the ultra-wideband signal, and obtaining the distance between the left and right speakers and the target position of the user can be achieved through steps S1021 to S1023, which are described in detail as follows:

[0035] Step S1021: Synchronize the clocks of the audio transceiver and the left and right speakers.

[0036] If you want to get the precise distance between the left and right speakers and the target position where the user is located, the sending time of the ultra-wideband signal and the sending and receiving time of the response signal of the ultra-wideband signal required for subsequent calculations must be accurate, and the accuracy of these times needs to be based on the same clock, or the clock of the audio transceiver device and the clock of the speakers around the audio transceiver device need to be synchronized. Therefore, in order to improve the accuracy of positioning the left and right speakers of the audio transceiver device, that is, to get the precise distance between the left and right speakers and the target position where the user is located, in an embodiment of the present application, the clocks of the audio transceiver device and the left and right speakers can be synchronized first.

[0037] As an embodiment of the present application, the clocks of the synchronized audio transceiver device and the left and right speakers may be: the audio transceiver device periodically sends synchronization information to the left and right speakers, such as a time synchronization signal or a beacon, and the synchronization information includes the system time information of the audio transceiver device; the left and right speakers receive the synchronization information and record the time of receiving the synchronization information, i.e., the reception time; the left and right speakers calculate the clock deviation from the audio transceiver device based on the received system time information, and adjust their own clocks to synchronize with the clock of the audio transceiver device; further, when calculating the clock deviation from the audio transceiver device, the left and right speakers may send a response signal to the audio transceiver device to further correct the round-trip propagation time; the audio transceiver device and the left and right speakers both record timestamps when sending and receiving signals; more accurate propagation time and clock deviation may be calculated by comparing timestamps.

[0038] In order to further improve the accuracy of clock synchronization, as an embodiment of the present application, the clocks of the synchronized audio transceiver device and the left and right speakers can also be: initialize the state estimate of the timestamp, including setting the initial values ​​of the clock deviation and drift rate and the initial error covariance matrix, etc., which information reflects the uncertainty of the initial estimate; measure the timestamp based on the UWB signal interacting between the audio transceiver device and the left and right speakers, and record the communication time between the audio transceiver device and the left and right speakers; use the state transition model to predict the state of the next timestamp (that is, the clock deviation and drift of the audio transceiver device and the left and right speakers), and update the error covariance matrix to reflect The uncertainty in the prediction process increases; when a new timestamp measurement is received, the measurement residual, that is, the difference between the actual measurement value and the predicted value, is calculated, and the weight factor used to adjust the confidence level of the prediction and the confidence level of the measurement residual is calculated, and the state estimate is updated, and the above weight factor and the measurement residual are applied to the predicted state, and the error covariance matrix is ​​updated to reflect the new estimated error; the above prediction and update steps are continuously performed, and the estimate of the timestamp state (that is, the clock deviation and drift between the audio transceiver and the left and right speakers) is continuously adjusted with each new timestamp measurement until the estimated error reaches a preset value or the number of recursive loops reaches a set value.

[0039] Step S1022: Based on the sending time of the ultra-wideband signal and the sending and receiving time of the response signal of the ultra-wideband signal, the distance between the audio transceiver device and the left and right speakers after clock synchronization is calculated.

[0040] Specifically, based on the sending time of the ultra-wideband signal and the sending and receiving time of the response signal of the ultra-wideband signal, the distance between the audio transceiver device and the left and right speakers after clock synchronization can be calculated: according to the time when the audio transceiver device sends the ultra-wideband signal, the time when the left and right speakers receive the ultra-wideband signal, and the time when the audio transceiver device receives the response signal sent by the left and right speakers to the ultra-wideband signal, the one-way propagation time of the ultra-wideband signal is calculated, and then the one-way propagation time is multiplied by the propagation speed of the ultra-wideband signal, that is, the speed of light, and the product is the distance between the audio transceiver device and the left and right speakers.

[0041] Step S1023: Calculate the distance between the left and right speakers and the target position of the user according to the distance between the audio transceiver device and the left and right speakers.

[0042] In an embodiment of the present application, the user can hold a remote control with a built-in positioning module based on UWB technology. By interacting with the audio transceiver device and using a method similar to the above-mentioned positioning of the left and right speakers, the distance between the user's target position and the audio transceiver device can also be calculated. Then, based on the distance between the audio transceiver device and the left and right speakers and the distance between the audio transceiver device and the user's target position, the distance between the left and right speakers and the user's target position can be calculated.

[0043] Step S103: Reset the sound effects of the left and right speakers according to the distance between the left and right speakers and the target position of the user, or adjust the original sound effects of the left and right speakers by simulating a virtual sound source according to the target position.

[0044] As an embodiment of the present application, according to the distance between the left and right speakers and the target position of the user, resetting the sound effects of the left and right speakers can be achieved through steps S1031 to S1033, which are described in detail as follows:

[0045] Step S1031: readjust the volume of the left and right speakers and the time delay of the sound signal reaching the target position of the user according to the distance between the left and right speakers and the target position of the user.

[0046] Generally, the adjustment of volume follows the principle that the closer the distance, the smaller the volume. Similarly, the adjustment of delay also follows the principle that the closer the distance, the smaller the delay. For example, if the distance between the left speaker and the user's target position is closer than the distance between the right speaker and the user's target position, the volume of the left speaker is appropriately reduced, so that the intensity of the sound signals of the left and right speakers at the user's target position is close, so as not to cause discomfort to the user's ears; for another example, if the distance between the left speaker and the user's target position is closer than the distance between the right speaker and the user's target position, the delay of the sound signal of the left speaker reaching the user's target position is appropriately reduced, so that the sound signals of the left and right speakers can reach the user's target position synchronously.

[0047] Step S1032: by playing a preset test signal, collecting response data of the test signal in the space where the user is located, wherein the response data of the test signal in the space where the user is located includes the response data of the test signal at the target position where the user is located.

[0048] Specifically, preset test signals are played, and the sound pickup device (such as a microphone) collects responses to these preset test signals at multiple locations in the space where the user is located. It should be noted that the preset test signal is a specially designed audio track, which usually includes a series of frequency sweeps (from low frequency to high frequency) and possible common signals such as white noise or pink noise used for acoustic testing, which can stimulate various acoustic phenomena in the space where the user is located. In order to capture the acoustic response of each location in the space where the user is located (including direct sound and reflected sound, etc.) and the frequency response changes caused by different objects and surfaces in the space where the user is located, the response of these preset test signals can be collected at multiple locations in the space where the user is located through a sound pickup device (such as a built-in microphone in the system or an external microphone).

[0049] Step S1033: Analyze the response data of the test signal in the space where the user is located, and readjust the parameters of the equalizers of the left and right speakers according to the analysis results.

[0050] Specifically, the response data of the test signal in the user's space can be transmitted to an analysis engine (usually a digital signal processor or specialized software), which evaluates the response data of the preset test signal captured at various locations in the user's space and determines the unevenness of the frequency response. The analysis results of the analysis engine are used to generate an equalizer curve, which aims to compensate for the room effect by increasing or decreasing the gain of specific frequencies, thereby achieving a more balanced and natural sound playback; the generated equalizer curve is automatically applied to the left and right speakers, and the output is adjusted to optimize the acoustic performance of the user's space; the above process can be repeated, that is, the preset test signal is replayed and the response data of the preset test signal in the user's space is recaptured to verify whether the parameter settings of the equalizer have achieved the expected effect, and further adjustments are made until the best effect is achieved.

[0051] As an embodiment of the present application, according to the target position of the user, adjusting the original sound effects of the left and right speakers by simulating a virtual sound source can be achieved through steps S'1031 to S'1033, which are described in detail as follows:

[0052] Step S'1031: According to the target position of the user, determine a virtual sound source corresponding to the target position of the user.

[0053] It should be noted that the virtual sound source refers to the sound source point created in the listener's perception through audio processing technology, which does not necessarily correspond to the physical position of the speaker. The position of the virtual sound source can be set according to the needs of the audio content. For example, in a movie, if a car passes by the right side of the screen, even if there are only two speakers on the left and right physically, the algorithm processing can create a feeling that the sound seems to move from the right side of the screen to the left side. Since the position of the virtual sound source is usually based on the principle of sound positioning by the human ear, that is, the time difference (the human ear can detect the time difference between the sound reaching the two ears, and this time difference enables us to locate the direction of the sound source) and the intensity difference (due to the blocking effect of the head, the sound received by the ear far away from the sound source will be weaker than the ear on the near side, resulting in an intensity difference), the position of the virtual sound source can be reconstructed by simulating these two effects using an algorithm. Therefore, in the embodiment of the present application, the corresponding relationship between each position of the user's space and the virtual sound source can be preset in advance. In this way, according to the user's target position and the above-mentioned corresponding relationship, the virtual sound source corresponding to the user's target position can be determined.

[0054] Step S'1032: Select a digital filter corresponding to the virtual sound source.

[0055] The digital filter corresponding to the virtual sound source is a function used for audio signal processing, which simulates the filtering effect caused by the head, ear shape, shoulders and other body parts before the sound reaches the left and right ears of a person. Specifically, the digital filter corresponding to the virtual sound source can be selected from a standard digital filter database.

[0056] Step S'1033: Apply the digital filter corresponding to the virtual sound source to the audio signals output by the left and right speakers to adjust the original sound effects of the left and right speakers.

[0057] It should be noted that applying the digital filter corresponding to the virtual sound source to the audio signals output by the left and right speakers is essentially a convolution operation of the filter data with the audio signals output by the left and right speakers to simulate the impact of the sound waves before reaching the ears, thereby adjusting the original sound effects of the left and right speakers. The filter data refers to the sound propagation characteristics specific to the user's individual head and ear shape, usually in the form of impulse responses. These data describe how the sound is filtered and changed when it reaches the user's ears from different directions due to occlusion and reflection by the head, ears and other parts of the body.

[0058] Considering that speakers, i.e., left and right speakers, are deployed on both sides of the line connecting the best viewing point and the audio transceiver device, the acoustic signals of the left and right speakers may generate crosstalk or echo at the target position where the user is located. In an embodiment of the present application, the method of the above embodiment may also include: according to the target position where the user is located, eliminating the crosstalk of the audio signals output by the left and right speakers at the target position where the user is located through sound beamforming; and / or according to the target position where the user is located, eliminating the echo of the audio signals output by the left and right speakers at the target position where the user is located through acoustic echo. Specifically, according to the target position where the user is located, eliminating the crosstalk of the audio signals output by the left and right speakers at the target position where the user is located through sound beamforming can be: according to the target position where the user is located, calculating the distance between the left and right speakers and the left and right ears of the user; according to the distance between the left and right speakers and the left and right ears of the user, adjusting the phase and amplitude of the audio signals output by the left and right speakers to eliminate the crosstalk of the audio signals output by the left and right speakers at the target position where the user is located. According to the target position of the user, the echo of the audio signals output by the left and right speakers at the target position of the user can be eliminated by acoustic echo. Specifically, the following methods can be used: according to the target position of the user, the echo path of the space where the user is located is simulated by an adaptive filter; according to the echo path of the space where the user is located, the echo of the audio signals output by the left and right speakers at the target position of the user is estimated; and the echo of the target position of the user is subtracted from the audio signals output by the left and right speakers.

[0059] From the above attached Figure 1 It can be seen from the example of the home theater left and right speaker sound effect calibration method that when the user at the best viewing point of the home theater system and / or the position of the left and right speakers of the audio transceiver device of the home theater system changes, an ultra-wideband signal is transmitted to the left and right speakers of the audio transceiver device, and the left and right speakers of the audio transceiver device are positioned based on the feedback information of the ultra-wideband signal to obtain the distance between the left and right speakers and the target position, and the sound effects of the left and right speakers are reset according to the distance between the left and right speakers and the target position of the user, or the original sound effects of the left and right speakers are adjusted by simulating a virtual sound source according to the target position of the user. Since the left and right speakers of the audio transceiver device can be accurately positioned by the ultra-wideband signal, whether the sound effects of the left and right speakers are reset or the original sound effects of the left and right speakers are adjusted by simulating a virtual sound source, the user can still enjoy the best sound effect when the user position changes or the position of the left and right speakers changes.

[0060] Please see attached Figure 6 , is a home theater left and right speaker sound effect calibration device provided by an embodiment of the present application, the device may include a transmitting module 601, a positioning module 602 and an adjustment module 603, which are described in detail as follows:

[0061] The transmitting module 601 is used to transmit an ultra-wideband signal to the left and right speakers of the audio transceiver device when the position of the user at the best viewing point of the home theater system and / or the left and right speakers of the audio transceiver device of the home theater system changes, wherein the left and right speakers of the audio transceiver device are located on the left and right sides of the line connecting the best viewing point and the audio transceiver device;

[0062] The positioning module 602 is used to position the left and right speakers of the audio transceiver device based on the feedback information of the ultra-wideband signal, and obtain the distance between the left and right speakers and the target position of the user, wherein the target position of the user is the position after the position of the user at the best viewing point of the home theater system changes;

[0063] The adjustment module 603 is used to reset the sound effects of the left and right speakers according to the distance between the left and right speakers and the target position of the user, or to adjust the original sound effects of the left and right speakers by simulating a virtual sound source according to the target position of the user.

[0064] From the above attached Figure 6 It can be seen from the example of the home theater left and right speaker sound effect calibration device that when the user at the best viewing point of the home theater system and / or the position of the left and right speakers of the audio transceiver device of the home theater system changes, an ultra-wideband signal is transmitted to the left and right speakers of the audio transceiver device, and the left and right speakers of the audio transceiver device are positioned based on the feedback information of the ultra-wideband signal to obtain the distance between the left and right speakers and the target position, and the sound effects of the left and right speakers are reset according to the distance between the left and right speakers and the target position of the user, or the original sound effects of the left and right speakers are adjusted by simulating a virtual sound source according to the target position of the user. Since the left and right speakers of the audio transceiver device can be accurately positioned by the ultra-wideband signal, whether the sound effects of the left and right speakers are reset or the original sound effects of the left and right speakers are adjusted by simulating a virtual sound source, the user can still enjoy the best sound effect when the user position changes or the position of the left and right speakers changes.

[0065] Figure 7 Schematic diagram of the structure of the device provided by an embodiment of the present application. Figure 7 As shown, the device 7 of this embodiment mainly includes: a processor 70, a memory 71, and a computer program 72 stored in the memory 71 and executable on the processor 70, such as a program for the home theater left and right speaker sound effect calibration method. When the processor 70 executes the computer program 72, the steps in the above-mentioned home theater left and right speaker sound effect calibration method embodiment are implemented, such as Figure 1 Alternatively, when the processor 70 executes the computer program 72, the functions of each module / unit in the above-mentioned device embodiments are implemented, for example Figure 6 The functions of the transmitting module 601, the positioning module 602 and the adjusting module 603 are shown.

[0066] Exemplarily, the computer program 72 of the home theater left and right speaker sound effect calibration method mainly includes: when the position of the left and right speakers of the audio transceiver device of the home theater system and / or the user at the best viewing point of the home theater system changes, an ultra-wideband signal is transmitted to the left and right speakers of the audio transceiver device, wherein the left and right speakers of the audio transceiver device are located on the left and right sides of the line connecting the best viewing point and the audio transceiver device; the left and right speakers of the audio transceiver device are positioned based on the feedback information of the ultra-wideband signal to obtain the distance between the left and right speakers and the target position of the user, wherein the target position of the user is the position after the position of the user at the best viewing point of the home theater system changes; according to the distance between the left and right speakers and the target position of the user, the sound effects of the left and right speakers are reset, or according to the target position of the user, the original sound effects of the left and right speakers are adjusted by simulating a virtual sound source. The computer program 72 can be divided into one or more modules / units, one or more modules / units are stored in the memory 71, and are executed by the processor 70 to complete the present application. One or more modules / units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program 72 in the device 7 . For example, the computer program 72 may be divided into the functions of a transmitting module 601, a positioning module 602, and an adjustment module 603 (modules in the virtual device), and the specific functions of each module are as follows: the transmitting module 601 is used to transmit an ultra-wideband signal to the left and right speakers of the audio transceiver device when the position of the user at the best viewing point of the home theater system and / or the left and right speakers of the audio transceiver device of the home theater system changes, wherein the left and right speakers of the audio transceiver device are located on the left and right sides of a line connecting the best viewing point and the audio transceiver device; the positioning module 602 is used to position the left and right speakers of the audio transceiver device based on the feedback information of the ultra-wideband signal to obtain the distance between the left and right speakers and the target position of the user, wherein the target position of the user is the position after the position of the user at the best viewing point of the home theater system changes; the adjustment module 603 is used to reset the sound effects of the left and right speakers according to the distance between the left and right speakers and the target position of the user, or to adjust the original sound effects of the left and right speakers by simulating a virtual sound source according to the target position of the user.

[0067] The device 7 may include but is not limited to a processor 70 and a memory 71. Those skilled in the art will appreciate that Figure 7 It is only an example of device 7 and does not constitute a limitation of device 7. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, a computing device may also include input and output devices, network access devices, buses, etc.

[0068] The processor 70 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0069] The memory 71 may be an internal storage unit of the device 7, such as a hard disk or memory of the device 7. The memory 71 may also be an external storage device of the device 7, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the device 7. Further, the memory 71 may also include both an internal storage unit of the device 7 and an external storage device. The memory 71 is used to store computer programs and other programs and data required by the device. The memory 71 may also be used to temporarily store data that has been output or is to be output.

[0070] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0071] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0072] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0073] In the embodiments provided in the present application, it should be understood that the disclosed devices / equipment and methods can be implemented in other ways. For example, the device / equipment embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0074] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0075] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0076] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program of the home theater left and right speaker sound effect calibration method can be stored in a computer storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiments can be implemented, that is, based on the feedback information of the ultra-wideband signal, the peripheral speakers of the audio transceiver device of the home theater system are positioned to obtain the positioning data of each speaker in the peripheral speakers of the audio transceiver device; when the user is at the best viewing point of the home theater system, the relative position data of each speaker and the best viewing point are calculated according to the positioning data of each speaker in the peripheral speakers of the audio transceiver device; according to the relative position data of each speaker and the best viewing point, the sound effect of each speaker is adjusted. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form. Computer storage media may include: any entity or device capable of carrying computer program code, recording media, USB flash drives, mobile hard disks, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content contained in the computer storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer storage media do not include electric carrier signals and telecommunication signals. The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application is described in detail with reference to the aforementioned embodiments, ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some of the technical features therein by equivalent; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only the specific implementation method of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present invention.

Claims

1. A method for calibrating the sound effects of left and right speakers of a home theater system, characterized in that: The method comprises: When the positions of the left and right speakers of the audio transceiver device of the home theater system change, an ultra-wideband signal is transmitted to the left and right speakers of the audio transceiver device, the left and right speakers of the audio transceiver device being located on the left and right sides of a line formed by an optimal viewing point and the audio transceiver device, the optimal viewing point being a position in the space where the home theater system is deployed where the user can enjoy the best audio-visual effect; Positioning the left and right speakers of the audio transceiver device based on feedback information of the ultra-wideband signal to obtain distances between the left and right speakers and a target position of the user, wherein the target position of the user is a position after a position of the user at the best viewing point of the home theater system has changed; Resetting the sound effects of the left and right speakers according to the distance between the left and right speakers and the target position of the user, or adjusting the original sound effects of the left and right speakers by simulating a virtual sound source according to the target position of the user, where the virtual sound source refers to a sound source point created in the listener's perception through audio processing technology; The positioning of the left and right speakers of the audio transceiver device based on the feedback information of the ultra-wideband signal to obtain the distance between the left and right speakers and the target position of the user includes: synchronizing the clocks of the audio transceiver device and the left and right speakers; calculating the distance between the audio transceiver device and the left and right speakers after clock synchronization based on the sending time of the ultra-wideband signal and the sending and receiving time of the response signal of the ultra-wideband signal; and calculating the distance between the left and right speakers and the target position of the user according to the distance between the audio transceiver device and the left and right speakers. The synchronization of the clocks of the audio transceiver device and the left and right speakers includes: initializing the state estimate of the timestamp, including setting the initial values ​​of the clock deviation and drift rate and the initial error covariance matrix; measuring the timestamp based on the ultra-wideband signal interacting between the audio transceiver device and the left and right speakers, and recording the communication time between the audio transceiver device and the left and right speakers; using the state transition model to predict the state of the next timestamp, and updating the error covariance matrix to reflect the increase in uncertainty in the prediction process; when a new timestamp measurement is received, calculating the measurement residual, that is, the difference between the actual measurement value and the predicted value; calculating the weight factor for adjusting the predicted trust level and the trust level of the measurement residual, updating the state estimate, applying the weight factor and the measurement residual to the predicted state, and updating the error covariance matrix to reflect the new estimated error; continuously performing the above prediction and update steps, and continuously adjusting the estimate of the timestamp state with each new timestamp measurement until the estimated error reaches a preset value or the number of recursive loops reaches a set value; The method of resetting the sound effects of the left and right speakers according to the distance between the left and right speakers and the target position of the user includes: re-adjusting the volume of the left and right speakers and the time delay of the sound signal reaching the target position of the user according to the distance between the left and right speakers and the target position of the user; collecting response data of the preset test signal in the space where the user is located by playing a preset test signal, wherein the response data of the preset test signal in the space where the user is located includes the response data of the preset test signal at the target position of the user; analyzing the response data, and re-adjusting the parameters of the equalizer of the left and right speakers according to the analysis results; and The parameters of the equalizer of the speaker include: transmitting the response data of the preset test signal in the space where the user is located to the analysis engine, the analysis engine evaluates the response data of the preset test signal in the space where the user is located captured at various positions in the space where the user is located, and determines the unevenness of the frequency response. The analysis result of the analysis engine is used to generate an equalizer curve, and the equalizer curve is automatically applied to the left and right speakers to adjust the output to optimize the acoustic performance of the space where the user is located; the above process is repeated, that is, the preset test signal is replayed and the response data of the preset test signal in the space where the user is located is recaptured to verify whether the parameter setting of the equalizer has achieved the expected effect, and further adjustments are made until the best effect is achieved.

2. The method for calibrating the sound effects of left and right speakers of a home theater system as claimed in claim 1, characterized in that: The adjusting the original sound effects of the left and right speakers by simulating a virtual sound source according to the target position of the user includes: According to the target position of the user, determining a virtual sound source corresponding to the target position of the user; Selecting a digital filter corresponding to the virtual sound source; A digital filter corresponding to the virtual sound source is applied to the audio signals output by the left and right speakers to adjust the original sound effects of the left and right speakers.

3. The method for calibrating the sound effects of left and right speakers of a home theater system according to any one of claims 1 to 2, characterized in that: The method further comprises: According to the target position of the user, eliminating the crosstalk of the audio signals output by the left and right speakers at the target position of the user through sound beamforming; and / or According to the target position of the user, the echo of the audio signal output by the left and right speakers at the target position of the user is eliminated by acoustic echo.

4. The method for calibrating the sound effects of left and right speakers of a home theater system as claimed in claim 3, characterized in that: The eliminating the crosstalk of the audio signals output by the left and right speakers at the target position of the user by sound beamforming according to the target position of the user comprises: Calculating the distances between the left and right speakers and the left and right ears of the user according to the target position of the user; According to the distance between the left and right speakers and the left and right ears of the user, the phase and amplitude of the audio signals output by the left and right speakers are adjusted to eliminate the crosstalk of the audio signals output by the left and right speakers at the target position of the user.

5. The method for calibrating the sound effects of left and right speakers of a home theater system as claimed in claim 3, characterized in that: The method of eliminating the echo of the audio signal output by the left and right speakers at the target position of the user by acoustic echo according to the target position of the user comprises: According to the target position of the user, simulating the echo path of the space where the user is located by using an adaptive filter; According to the echo path of the space where the user is located, estimating the echo of the audio signal output by the left and right speakers at the target position where the user is located; The audio signals output by the left and right speakers are subtracted from the echo at the target position where the user is located.

6. A device for calibrating the sound effects of left and right speakers of a home theater system, characterized in that: The device comprises: A transmitting module, used for transmitting an ultra-wideband signal to the left and right speakers of the audio transceiver device of the home theater system when the positions of the left and right speakers of the audio transceiver device change, the left and right speakers of the audio transceiver device being located on the left and right sides of a line formed by an optimal viewing point and the audio transceiver device, the optimal viewing point being a position in the space where the home theater system is deployed where the user can enjoy the best audio-visual effect; a positioning module, configured to position the left and right speakers of the audio transceiver device based on the feedback information of the ultra-wideband signal, and obtain the distance between the left and right speakers and the target position of the user, wherein the target position of the user is the position after the position of the user at the best viewing point of the home theater system changes; an adjustment module, configured to reset the sound effects of the left and right speakers according to the distance between the left and right speakers and the target position of the user, or adjust the original sound effects of the left and right speakers by simulating a virtual sound source according to the target position of the user, wherein the virtual sound source refers to a sound source point created in the listener's perception by audio processing technology; The positioning of the left and right speakers of the audio transceiver device based on the feedback information of the ultra-wideband signal to obtain the distance between the left and right speakers and the target position of the user includes: synchronizing the clocks of the audio transceiver device and the left and right speakers; calculating the distance between the audio transceiver device and the left and right speakers after clock synchronization based on the sending time of the ultra-wideband signal and the sending and receiving time of the response signal of the ultra-wideband signal; calculating the distance between the left and right speakers and the target position of the user according to the distance between the audio transceiver device and the left and right speakers; synchronizing the clocks of the audio transceiver device and the left and right speakers includes: initializing the state estimation value of the timestamp, including setting the initial values ​​of the clock deviation and the drift rate and the initial error covariance matrix; calculating the distance between the audio transceiver device and the left and right speakers based on the distance between the audio transceiver device and the left and right speakers. The method comprises the following steps: measuring the timestamp of the ultra-wideband signal interacting between the audio transceiver and the left and right speakers, recording the communication time between the audio transceiver and the left and right speakers; predicting the state of the next timestamp using the state transition model, and updating the error covariance matrix to reflect the increased uncertainty in the prediction process; calculating the measurement residual, that is, the difference between the actual measurement value and the predicted value, when a new timestamp measurement is received; calculating the weight factor for adjusting the trust level of the prediction and the trust level of the measurement residual, updating the state estimate, applying the weight factor and the measurement residual to the predicted state, and updating the error covariance matrix to reflect the new estimated error; continuously performing the above-mentioned prediction and update steps, and continuously adjusting the estimate of the state of the timestamp with each new timestamp measurement, until the estimated error reaches a preset value or the number of recursive loops reaches a set value; The resetting of the sound effects of the left and right speakers according to the distances between the left and right speakers and the target position where the user is located includes: re-adjusting the volume of the left and right speakers and the time delay for the sound signal to reach the target position where the user is located according to the distances between the left and right speakers and the target position where the user is located; collecting response data of the preset test signal in the space where the user is located by playing a preset test signal, wherein the response data of the preset test signal in the space where the user is located includes the response data of the preset test signal at the target position where the user is located; analyzing the response data, and re-adjusting the parameters of the equalizer of the left and right speakers according to the analysis results; and The parameters of the equalizer of the right speaker include: transmitting the response data of the preset test signal in the user's space to the analysis engine, the analysis engine evaluates the response data of the preset test signal in the user's space captured at various positions in the user's space, and determines the unevenness of the frequency response. The analysis result of the analysis engine is used to generate an equalizer curve, and the equalizer curve is automatically applied to the left and right speakers to adjust the output to optimize the acoustic performance of the user's space; the above process is repeated, that is, the preset test signal is replayed and the response data of the preset test signal in the user's space is recaptured to verify whether the parameter setting of the equalizer has achieved the expected effect, and further adjustments are made until the best effect is achieved.

7. A 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, the steps of the method according to any one of claims 1 to 5 are implemented.

8. A computer storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.