Sound effect setting method, device and computer storage medium for home theater system
Through ultra-wideband signal positioning technology and the best viewing point data input by the user, the speaker position in the home theater system is automatically adjusted, solving the problems of low speaker position accuracy and inconvenient sound effect adjustment, and achieving the optimal viewing point at any viewing point. Best sound experience.
Patent Information
- Application Number
- CN202410132140.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-31
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-01-31
AI Technical Summary
The accuracy of the speaker positions in home theater systems is not high, which makes it inconvenient to adjust the sound effects. Especially when the best viewing point changes, the speaker positions need to be readjusted to maintain the best sound effects.
Ultra-wideband signals are used for speaker positioning, combined with the best viewing point data input by the user, to calculate the relative position data of each speaker and the viewing point, and automatically adjust the speaker sound effects to achieve precise sound effect settings.
Through high-precision ultra-wideband signal positioning technology, the speaker position is automatically adjusted to ensure that users can obtain the best sound effects at any viewing point, avoiding the inconvenience of manual adjustment and sound effect degradation.
Smart Images

Figure CN117729472B
Abstract
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 setting sound effects for a home theater system. Background Art
[0002] A home theater system is a theater system that is delivered to a room in a home, allowing users to 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-quality images 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 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 when watching the video of the video display device at this position, so it is necessary to deploy the placement of various speakers around this position so that the sound effect is best when the user is in this position. However, the accuracy of deploying various speakers based on the optimal viewing point is not high, and when the optimal viewing point or the speaker position changes, the speaker sound effect needs to be adjusted again, which is extremely inconvenient. Summary of the invention
[0004] The present application provides a method, device and computer storage medium for setting the sound effects of a home theater system, which can automatically set the best sound effects for users of the home theater system.
[0005] On the one hand, the present application provides a method for setting sound effects of a home theater system, the method comprising:
[0006] Transmit ultra-wideband signals to speakers surrounding the audio transceiver of the home theater system;
[0007] 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;
[0008] Receive the best viewing point of the home theater system input by the user, and calculate the relative position data of each speaker and the best viewing point according to the positioning data of each speaker in the surrounding speakers of the audio transceiver device;
[0009] The sound effect of each speaker is adjusted according to the relative position data of each speaker and the optimal viewing point.
[0010] On the other hand, the present application provides a device for setting sound effects of a home theater system, the device comprising:
[0011] A transmitting module, used to transmit ultra-wideband signals to speakers surrounding the audio transceiver device of the home theater system;
[0012] A positioning module, used for positioning the peripheral speakers of the audio transceiver device of the home theater system based on the feedback information of the ultra-wideband signal, and obtaining positioning data of each speaker in the peripheral speakers of the audio transceiver device;
[0013] A calculation module, configured to receive the best viewing point of the home theater system input by a user, and calculate the relative position data of each speaker and the best viewing point according to the positioning data of each speaker in the surrounding speakers of the audio transceiver device;
[0014] The adjustment module is used to adjust the sound effect of each speaker according to the relative position data of each speaker and the optimal viewing point.
[0015] 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 method for setting up sound effects for a home theater system as described above are implemented.
[0016] 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 method for setting up sound effects for a home theater system as described above.
[0017] From the technical solution provided by the present application, it can be seen that the peripheral speakers of the audio transceiver device of the home theater system are positioned based on the feedback information of the ultra-wideband signal, and the positioning data of each speaker in the peripheral speakers of the audio transceiver device is obtained, and the optimal viewing point data of the home theater system input by the user is received, and the relative position data of each speaker and the optimal viewing point are calculated according to the positioning data of each speaker in the peripheral speakers of the audio transceiver device. Since ultra-wideband technology has the characteristics of high positioning accuracy, the relative position data of each speaker and the optimal viewing point will be accurate data. Therefore, no matter what the reason for the change of the speaker position, the optimal sound effect can be automatically set for the user of the home theater system according to the relative position data of each speaker and the optimal viewing point. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] 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.
[0019] Figure 1 is a flow chart of a method for setting the sound effects of a home theater system provided by an embodiment of the present application;
[0020] Figure 2 is a schematic diagram of a home theater system provided by an embodiment of the present application;
[0021] Figure 3 is a structural schematic diagram of a sound effect setting device for a home theater system provided in an embodiment of the present application;
[0022] Figure 4 It is a schematic diagram of the structure of the device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0023] 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.
[0024] 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.
[0025] 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.
[0026] The audio transceiver of a 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 when watching the video of the video display device at this position. However, when it is necessary to deploy the placement positions of various speakers around this position so that the user is in this position to obtain the best sound effect, the following two problems may be faced:
[0027] 1) After the best viewing point is determined, the accuracy of arranging various speakers based on the best viewing point is not high, that is, the sound effects of various speakers around the audio transceiver may not be the best at this time;
[0028] 2) When the best viewing spot changes, the positions of various speakers need to be adjusted again, which is extremely inconvenient; or sometimes other users intentionally or unintentionally change the position of the speakers, which will cause the sound quality to deteriorate when the user sits at the best viewing spot, and the speaker sound quality needs to be adjusted again.
[0029] against Figure 1 In order to solve the above problems of the prior art, the present application proposes a method for setting the sound effect of a home theater system. The method can be performed by an audio transceiver device of the home theater system. The flow chart is shown in the attached figure. Figure 1 As shown, it mainly includes steps S101 to S104, which are described in detail as follows:
[0030] Step S101: transmitting an ultra-wideband signal to speakers surrounding an audio transceiver device of a home theater system.
[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, wherein the video device can be a TV or a 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.
[0032] exist Figure 2In the example of a home theater system, the audio transceiver device may be a bar audio device with a built-in positioning module based on ultra-wideband (UWB) technology. Since UWB signals have the characteristic of high time resolution, i.e., UWB signals are a series of very short pulses, they are very suitable for scenarios such as ordinary homes where the area is not large but the device needs to be accurately positioned. Therefore, transmitting ultra-wideband signals to the surrounding speakers of the audio transceiver device of the home theater system can be used to accurately position the surrounding speakers of the audio transceiver device, such as at the centimeter level.
[0033] Step S102: positioning the peripheral speakers of the audio transceiver device of the home theater system based on the feedback information of the ultra-wideband signal, and obtaining positioning data of each speaker in the peripheral speakers of the audio transceiver device.
[0034] In an embodiment of the present application, the positioning data of each speaker in the surrounding speakers of the audio transceiver device includes information such as the distance and angle between each speaker and the audio transceiver device. It should be noted that not only the audio transceiver device of the home theater system has a built-in positioning module based on UWB technology, but the speaker also has a built-in positioning module based on UWB technology, and the two can interact through UWB signals. Then, based on the feedback information of the ultra-wideband signal, the surrounding speakers of the audio transceiver device of the home theater system are positioned to obtain the positioning data of each speaker in the surrounding speakers of the audio transceiver device.
[0035] Taking into account that sometimes poor UWB signals or other reasons may lead to inaccurate positioning based on ultra-wideband signals, in an embodiment of the present application, the two positioning schemes can be merged. Before fusion, it is necessary to obtain positioning data obtained by other positioning schemes different from those based on ultra-wideband signals, that is, the method of the above embodiment also includes: calculating the first distance information between the audio transceiver device and each speaker in the surrounding speakers of the audio transceiver device according to the indoor wireless signal strength values received by the audio transceiver device and each speaker. In the above embodiment, the reason why the speaker can be positioned according to the indoor wireless signal strength values received by the audio transceiver device and each speaker is that the principle is to use the characteristic that the wireless signal is attenuated during spatial propagation, and to determine the position of the target by measuring the received signal strength. With respect to the above-mentioned embodiment, the first distance information between the audio transceiver device and each speaker in the surrounding speakers of the audio transceiver device is calculated based on the indoor wireless signal strength value received by the audio transceiver device and each speaker. The specific technical solution may be: deploying some reference points with known positions in the area where the home theater system is located, such as a Wi-Fi router or other wireless device; the audio transceiver device receives the wireless signal from the reference point, and calculates the position of the audio transceiver device based on the relationship between the wireless signal strength value and the distance. Similarly, the position of each speaker can also be calculated based on the relationship between the wireless signal strength value received by each speaker from the reference point and the distance; finally, the first distance information between the audio transceiver device and each speaker is obtained based on the position of the audio transceiver device and the position of each speaker.
[0036] After obtaining the first distance information between the audio transceiver device and each speaker, as an embodiment of the present application, the peripheral speakers of the audio transceiver device of the home theater system are positioned based on the feedback information of the ultra-wideband signal, and the positioning data of each speaker in the peripheral speakers of the audio transceiver device can be obtained by: calculating the second distance information between the audio transceiver device and each speaker in the peripheral speakers of the audio transceiver device 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; fusing the first distance information and the second distance information to obtain the final distance between the audio transceiver device and each speaker in the peripheral speakers of the audio transceiver device; taking the position of the audio transceiver device as a reference point, calculating the angle between each speaker and the audio transceiver device based on the final distance between the audio transceiver device and each speaker in the peripheral speakers of the audio transceiver device. In the above embodiment, 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 second distance information between the audio transceiver device and each speaker in the surrounding speakers of the audio transceiver device is calculated as follows: according to the time when the audio transceiver device sends the ultra-wideband signal, the time when the speaker receives the ultra-wideband signal, and the time when the audio transceiver device receives the response signal sent by the speaker to the ultra-wideband signal, the one-way propagation time of the ultra-wideband signal is calculated; the product of multiplying the one-way propagation time by the propagation speed of the ultra-wideband signal, that is, the speed of light, is the second distance information between the audio transceiver device and the speaker.
[0037] As for fusing the first distance information and the second distance information, the specific technical solution may be: first, based on the first distance information set and the second distance information set obtained at the previous moment (the first distance information set includes a plurality of first distance information obtained by calculation, and the second distance information set includes a plurality of second distance information obtained by calculation), predict the first distance information and the second distance information at the next moment, and obtain the first distance information prediction value and the second distance information prediction value at the next moment respectively; when the signal is received at the next moment, calculate the first distance information and the second distance information of the audio transceiver device and each speaker at the current moment according to the method of the above embodiment, and obtain the first distance information measurement value and the second distance information measurement value respectively; evaluate the degree of consistency between the first distance information measurement value and the first distance information prediction value and the degree of consistency between the second distance information measurement value and the second distance information prediction value, and assign weights to each first distance information prediction value and each second distance information prediction value accordingly, and the weight assignment rule is as follows: The higher the degree of consistency between the first distance information prediction value and the first distance information measurement value (for example, the smaller the error), the greater the weight. Similarly, the higher the degree of consistency between the second distance information prediction value and the second distance information measurement value (for example, the smaller the error), the higher the weight, and vice versa. When all the first distance information prediction values and the second distance information prediction values have new weights, resampling is performed according to these weights, that is, the first distance information prediction values and the second distance information prediction values with high weights are selected. In this way, the first distance information prediction values or the second distance information prediction values with a low degree of consistency with the measurement value (that is, low weight) will be eliminated, and the first distance information prediction values or the second distance information prediction values with a high degree of consistency with the measurement value (that is, high weight) will be retained, and a new prediction value will be generated accordingly. The final distance between the audio transceiver device and each speaker in the surrounding speakers of the audio transceiver device is estimated based on all the first distance information prediction values or the second distance information prediction values and their weights, for example, by calculating the weighted average.
[0038] After obtaining the final distance between the audio transceiver device and each speaker in the surrounding speakers of the audio transceiver device, taking the position of the audio transceiver device as a reference point, the angle between each speaker and the audio transceiver device is calculated based on the final distance between the audio transceiver device and each speaker in the surrounding speakers of the audio transceiver device. The angle can be: a triangle in a two-dimensional coordinate system is constructed with the position of the audio transceiver device as a vertex of the triangle and any two speakers at known positions as two vertices of the triangle; since the final distance between the audio transceiver device and each speaker in the surrounding speakers of the audio transceiver device is known, that is, the coordinates of the position of each speaker in the two-dimensional coordinate system are known, the angle between each speaker and the audio transceiver device can be calculated by solving trigonometric functions.
[0039] Step S103: receiving the best viewing point of the home theater system input by the user, and calculating the relative position data of each speaker and the best viewing point according to the positioning data of each speaker in the surrounding speakers of the audio transceiver device.
[0040] In the embodiment of the present application, the best viewing point 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 best viewing point has been calibrated when the home theater system leaves the factory or is set according to the space where the home theater system is about to be deployed. The user can input the calibrated best viewing point (for example, 3.5 meters directly in front of the video device of the home theater system) into an audio transceiver device such as a bar sound according to the instructions for use of the home theater system, or the user estimates an optimal viewing point based on the space where the home theater system is about to be deployed, and then inputs the estimated best viewing point into an audio transceiver device such as a bar sound. After obtaining the best viewing point, the audio transceiver device can calculate the relative position data of each speaker and the best viewing point based on the positioning data of each speaker in the surrounding speakers of the audio transceiver device, including the distance, angle and other information of each speaker and the best viewing point. The specific calculation method is similar to the method for positioning the surrounding speakers of the audio transceiver device of the home theater system based on the feedback information of the ultra-wideband signal. Please refer to the relevant description of the aforementioned embodiment, and no further description will be given here.
[0041] It should be noted that the best viewing point of the home theater system input by the user is the first input. When the first input is made, the audio transceiver calculates the relative position data of each speaker and the best viewing point input for the first time based on the positioning data of each speaker in the surrounding speakers of the audio transceiver, and accurately sets the sound effect of each speaker.
[0042] Step S104: adjusting the sound effect of each speaker according to the relative position data of each speaker and the best viewing point.
[0043] As mentioned above, when the user places various speakers around the audio transceiver device and sits at the best viewing point to watch the video, although the visual experience is the best, the sound effects of the various speakers around the audio transceiver device may not be the best at this time. The reason is that sometimes other users intentionally or unintentionally change the position of the speakers. Although the original best viewing point has not changed, the relative position data of the speakers and the best viewing point has changed, which will cause the sound effect to deteriorate when the user sits at the original best viewing point to watch the movie, or the best viewing point has changed. For example, the best viewing point entered before is 3.5 meters, and the audio transceiver device sets the best sound effect based on the relative position data of each speaker in the surrounding speakers of the audio transceiver device and the best viewing point. However, the user thinks that the distance is too close when watching at this best viewing point, so he moves the sofa at the originally set best viewing point back and re-enters a best viewing point, such as 4 meters. In the above two situations, the originally set sound effects may not be the best sound effects. It is necessary to adjust the sound effects of each speaker according to the relative position data of each speaker and the re-input optimal viewing point.
[0044] As an embodiment of the present application, according to the relative position data of each speaker and the best viewing point, adjusting the sound effect of each speaker can be: according to the relative position data of each speaker and the best viewing point, obtaining the sound effect target function of the speakers around the audio transceiver device; minimizing the value of the sound effect target function so that the overall sound effect of the speakers around the audio transceiver device reaches the expected effect. Considering the volume of the speaker, the time delay of the sound signal of each speaker to reach the best viewing point, and the equalizer value of each speaker, etc., are the main factors affecting the sound effect. Therefore, in the embodiment of the present application, the sound effect target function can be a function with volume, sound signal delay and equalizer as variables, and according to the relative position data of each speaker and the best viewing point, obtaining the sound effect target function of the speakers around the audio transceiver device can be: according to the distance between each speaker and the best viewing point, obtaining the volume variance function of each speaker and the mean square error function of the sound signal delay; according to the angle between each speaker and the best viewing point, obtaining the equalizer variance function of each speaker. Since there are multiple speakers around the audio transceiver device, adjusting the volume, sound signal delay or equalizer for each speaker individually cannot achieve the best audio-visual effect for the user. Instead, it is necessary to consider how to work with other speakers. Therefore, after obtaining the volume variance function, sound signal delay mean square error function and equalizer variance function, the value of the sound effect objective function with volume, sound signal delay and equalizer as variables should be minimized so that the overall sound effect of the speakers around the audio transceiver device can achieve the expected effect.
[0045] In order to reduce the computational workload and save resources, the value of the sound effect objective function is quickly minimized so that the overall sound effect of the speakers around the audio transceiver device can achieve the expected effect. In the embodiment of the present application, the value of the sound effect objective function is minimized so that the overall sound effect of the speakers around the audio transceiver device can achieve the expected effect. One implementation method is: determine the optimization starting point parameters of the sound effect objective function; calculate the gradient of the sound effect objective function according to the current parameters of the sound effect objective function; update the parameters of the sound effect objective function according to the preset learning rate and the gradient of the sound effect objective function; repeatedly calculate the gradient and update the parameters until the convergence condition is reached so that the overall sound effect of the speakers around the audio transceiver device can achieve the expected effect. In the above embodiment, the parameters of the sound effect objective function include the volume of the speakers mentioned in the above embodiment, the time delay of the sound signal of each speaker to reach the best viewing point, and the equalizer value of each speaker, etc. These parameters can constitute the parameter set of the sound effect objective function, the current parameters of the sound effect objective function are a set of parameters currently selected or determined from the parameter set of the sound effect objective function, and the optimization starting point parameters are a set of parameters randomly selected from the parameter set of the sound effect objective function.
[0046] Furthermore, the implementation method of minimizing the value of the sound effect objective function can be further optimized, that is, in another embodiment of the present application, minimizing the value of the sound effect objective function so that the overall sound effect of the speakers around the audio transceiver device reaches the expected effect can also be: generating an initial population, each individual in the population represents a set of parameters, the parameters can be the volume of the speaker, the time delay for the sound signal of each speaker to reach the optimal viewing point, and the equalizer value of each speaker, etc.; iterating through the genetic algorithm, that is, in each generation of the genetic algorithm, performing standard selection, crossover and mutation operations, calculating the fitness of each individual in the population, that is, the objective function; selecting the individual with the highest fitness in each generation of the population, and applying The gradient descent algorithm performs local search to fine-tune their parameters; the individuals optimized by gradient descent are placed back into the population to replace their original versions; the genetic algorithm iteration is continued, that is, the updated population is used during the iteration process to allow the genetic algorithm to use the information discovered by the gradient descent algorithm in the local area, thereby improving the efficiency and quality of the search; the entire optimization process (including the progress of the genetic algorithm and gradient descent) is monitored and iterated continuously until the maximum number of iterations is reached or the improvement of the sound effect objective function is below a certain threshold; the individual with the highest fitness found in the entire search process is output, that is, the parameter set that minimizes the sound effect objective function.
[0047] Furthermore, the method of the above embodiment also includes collecting user preference information of the home theater system, so as to adaptively adjust the sound effect of each speaker according to the user preference information, so that the overall sound effect of the speakers around the audio transceiver device can achieve the expected effect. For example, the user preference information (for example, preference for heavy sound, bass, etc.) can be used as a variable of the sound effect target function, and then the value of the sound effect target function is minimized according to the method mentioned in the above embodiment, so that the overall sound effect of the speakers around the audio transceiver device can achieve the expected effect.
[0048] From the above attached Figure 1 It can be seen from the example of the sound effect setting method of the home theater system that the peripheral speakers of the audio transceiver device of the home theater system are positioned based on the feedback information of the ultra-wideband signal, and the positioning data of each speaker in the peripheral speakers of the audio transceiver device is obtained. 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 based on the positioning data of each speaker in the peripheral speakers of the audio transceiver device. Since ultra-wideband technology has the characteristics of high positioning accuracy, the relative position data of each speaker and the best viewing point will be accurate data. Therefore, no matter what the reason for the change of the speaker position, the best sound effect can be automatically set for the user of the home theater system based on the relative position data of each speaker and the best viewing point.
[0049] Please refer to the attached Figure 3 , is a sound effect setting device for a home theater system provided in an embodiment of the present application, the device may include a transmitting module 301, a positioning module 302, a calculating module 303 and an adjusting module 304, which are described in detail as follows:
[0050] The transmitting module 301 is used to transmit an ultra-wideband signal to the peripheral speakers of the audio transceiver device of the home theater system;
[0051] A positioning module 302 is used to locate the peripheral speakers of the audio transceiver device of the home theater system based on the feedback information of the ultra-wideband signal, and obtain the positioning data of each speaker in the peripheral speakers of the audio transceiver device;
[0052] The calculation module 303 is used to receive the best viewing point of the home theater system input by the user, and calculate the relative position data of each speaker and the best viewing point according to the positioning data of each speaker in the surrounding speakers of the audio transceiver device;
[0053] The adjustment module 304 is used to adjust the sound effect of each speaker according to the relative position data of each speaker and the best viewing point.
[0054] From the above attached Figure 3It can be seen from the example of the sound effect setting device of the home theater system that the peripheral speakers of the audio transceiver device of the home theater system are positioned based on the feedback information of the ultra-wideband signal, the positioning data of each speaker in the peripheral speakers of the audio transceiver device is obtained, the best viewing point of the home theater system input by the user is received, and 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. Since the ultra-wideband technology has the characteristics of high positioning accuracy, the relative position data of each speaker and the best viewing point will be accurate data. Therefore, no matter what the reason for the change of the speaker position, the best sound effect can be automatically set for the user of the home theater system according to the relative position data of each speaker and the best viewing point.
[0055] Figure 4 Schematic diagram of the structure of the device provided by an embodiment of the present application. Figure 4 As shown, the device 4 of this embodiment mainly includes: a processor 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processor 40, such as a program of a method for setting the sound effect of a home theater system. When the processor 40 executes the computer program 42, the steps in the embodiment of the method for setting the sound effect of a home theater system are implemented, such as Figure 1 Alternatively, when the processor 40 executes the computer program 42, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 3 The functions of the transmitting module 301, the positioning module 302, the calculating module 303 and the adjusting module 304 are shown.
[0056] Exemplarily, the computer program 42 of the sound effect setting method of the home theater system mainly includes: transmitting an ultra-wideband signal to the peripheral speakers of the audio transceiver device of the home theater system; positioning the peripheral speakers of the audio transceiver device of the home theater system based on the feedback information of the ultra-wideband signal, and obtaining the positioning data of each speaker in the peripheral speakers of the audio transceiver device; receiving the best viewing point of the home theater system input by the user, and calculating the relative position data of each speaker and the best viewing point according to the positioning data of each speaker in the peripheral speakers of the audio transceiver device; adjusting the sound effect of each speaker according to the relative position data of each speaker and the best viewing point. The computer program 42 can be divided into one or more modules / units, one or more modules / units are stored in the memory 41, and executed by the processor 40 to complete the present application. One or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program 42 in the device 4. For example, the computer program 42 can be divided into the functions of a transmitting module 301, a positioning module 302, a computing module 303 and an adjusting module 304 (modules in the virtual device), and the specific functions of each module are as follows: the transmitting module 301 is used to transmit an ultra-wideband signal to the peripheral speakers of the audio transceiver device of the home theater system; the positioning module 302 is used to locate the peripheral speakers of the audio transceiver device of the home theater system based on the feedback information of the ultra-wideband signal, and obtain the positioning data of each speaker in the peripheral speakers of the audio transceiver device; the computing module 303 is used to receive the best viewing point of the home theater system input by the user, and calculate the relative position data of each speaker and the best viewing point according to the positioning data of each speaker in the peripheral speakers of the audio transceiver device; the adjusting module 304 is used to adjust the sound effect of each speaker according to the relative position data of each speaker and the best viewing point.
[0057] The device 4 may include but is not limited to a processor 40 and a memory 41. Those skilled in the art will appreciate that Figure 4 It is only an example of device 4 and does not constitute a limitation of device 4. 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.
[0058] The processor 40 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.
[0059] The memory 41 may be an internal storage unit of the device 4, such as a hard disk or memory of the device 4. The memory 41 may also be an external storage device of the device 4, 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 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the device 4. The memory 41 is used to store computer programs and other programs and data required by the device. The memory 41 may also be used to temporarily store data that has been output or is to be output.
[0060] 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.
[0061] 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.
[0062] 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.
[0063] 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.
[0064] 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.
[0065] 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.
[0066] 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 sound effect setting method of the home theater system 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; the best viewing point of the home theater system input by the user is received, and 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; the sound effect of each speaker is adjusted according to the relative position data of each speaker and the best viewing point. 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 computer storage media 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.
[0067] 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, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some of the technical features therein by equivalents; 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 describe 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 used to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present invention.
Claims
1. A method for setting the sound effects of a home theater system, characterized in that: The method comprises: Transmit ultra-wideband signals to speakers surrounding the audio transceiver of the home theater system; 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; Receive the best viewing point of the home theater system input by the user, and calculate the relative position data of each speaker and the best viewing point according to the positioning data of each speaker in the surrounding speakers of the audio transceiver device, where the best viewing point is a calibrated best viewing point or a best viewing point estimated by the user; Adjust the sound effect of each speaker according to the relative position data between each speaker and the optimal viewing point; Collecting user preference information of the home theater system, so as to adaptively adjust the sound effect of each speaker according to the user preference information, so that the overall sound effect of the speakers around the audio transceiver device reaches the expected effect; The method further includes: deploying some reference points with known positions in the area where the home theater system is located, and calculating first distance information between the audio transceiver device and each speaker in the surrounding speakers of the audio transceiver device according to the strength values of wireless signals from the reference points received by the audio transceiver device and each speaker; The method of positioning the peripheral speakers of the audio transceiver device of the home theater system based on the feedback information of the ultra-wideband signal to obtain the positioning data of each speaker in the peripheral speakers of the audio transceiver device includes: calculating the second distance information between the audio transceiver device and each speaker in the peripheral speakers of the audio transceiver device 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; fusing the first distance information and the second distance information to obtain the final distance between the audio transceiver device and each speaker in the peripheral speakers of the audio transceiver device; taking the position of the audio transceiver device as a reference point, calculating the angle between each speaker and the audio transceiver device based on the final distance between the audio transceiver device and each speaker in the peripheral speakers of the audio transceiver device; The fusing of the first distance information and the second distance information to obtain the final distance between the audio transceiver device and each speaker in the surrounding speakers of the audio transceiver device includes: predicting the first distance information and the second distance information set obtained at the previous moment, and obtaining the first distance information prediction value and the second distance information prediction value at the next moment respectively; when receiving the signal at the next moment, calculating the first distance information and the second distance information between the audio transceiver device and each speaker at the current moment, and obtaining the first distance information measurement value and the second distance information measurement value respectively; evaluating the consistency between the first distance information measurement value and the first distance information prediction value and the second distance information measurement value. and the second distance information prediction value, and accordingly assign weights to each first distance information prediction value and each second distance information prediction value, the rule for weight assignment is that the higher the degree of consistency between the first distance information prediction value and the first distance information measurement value, the higher the weight, and the higher the degree of consistency between the second distance information prediction value and the second distance information measurement value, the higher the weight, and vice versa; when all the first distance information prediction values and the second distance information prediction values have new weights respectively, resampling is performed according to these weights, and new prediction values are generated accordingly; the final distance between the audio transceiver device and each speaker in the surrounding speakers of the audio transceiver device is estimated according to all the first distance information prediction values or the second distance information prediction values and their weights.
2. The method for setting the sound effect of a home theater system according to claim 1, characterized in that: The step of adjusting the sound effect of each speaker according to the relative position data between each speaker and the optimal viewing point includes: Acquire the sound effect target function of the speakers around the audio transceiver device according to the relative position data of each speaker and the optimal viewing point; Minimize the value of the sound effect objective function so that the overall sound effect of the speakers around the audio transceiver device reaches the expected effect.
3. The method for setting the sound effect of a home theater system as claimed in claim 2, characterized in that: The step of obtaining the sound effect target function of the speakers around the audio transceiver device according to the relative position data of each speaker and the optimal viewing point includes: According to the distance between each speaker and the optimal viewing point, obtaining the volume variance function of each speaker and the sound signal delay mean square error function; According to the angle between each speaker and the optimal viewing point, the equalizer variance function of each speaker is obtained.
4. The method for setting the sound effect of a home theater system as claimed in claim 2, characterized in that: The minimizing the value of the sound effect objective function so that the overall sound effect of the speakers around the audio transceiver device reaches the expected effect includes: Determine an optimization starting point parameter of the sound effect objective function, wherein the optimization starting point parameter is a set of parameters randomly selected from a parameter set of the sound effect objective function; Calculating the gradient of the sound effect objective function according to the current parameters of the sound effect objective function, where the current parameters of the sound effect objective function are a set of parameters currently selected or determined from the parameter set; Updating the parameters of the sound effect objective function according to a preset learning rate and the gradient of the sound effect objective function; The gradient is calculated repeatedly and the parameters are updated until a convergence condition is reached so that the overall sound effect of the speakers around the audio transceiver device reaches the expected effect.
5. A sound effect setting device for a home theater system, characterized in that: The device comprises: A transmitting module, used to transmit ultra-wideband signals to speakers surrounding the audio transceiver device of the home theater system; A positioning module, used for positioning the peripheral speakers of the audio transceiver device of the home theater system based on the feedback information of the ultra-wideband signal, and obtaining positioning data of each speaker in the peripheral speakers of the audio transceiver device; a calculation module, configured to receive an optimal viewing point of a home theater system input by a user, and calculate relative position data of each speaker and the optimal viewing point according to positioning data of each speaker in the surrounding speakers of the audio transceiver device, wherein the optimal viewing point is a calibrated optimal viewing point or an optimal viewing point estimated by the user; An adjustment module, used for adjusting the sound effect of each speaker according to the relative position data of each speaker and the optimal viewing point; A module for collecting user preference information of the home theater system, so as to adaptively adjust the sound effect of each speaker according to the user preference information, so that the overall sound effect of the speakers around the audio transceiver device reaches the expected effect; The device also includes a module for deploying some reference points of known positions in the area where the home theater system is located, and calculating first distance information between the audio transceiver device and each of the speakers in the surrounding area of the audio transceiver device according to the strength values of wireless signals from the reference points received by the audio transceiver device and each of the speakers; The method of positioning the peripheral speakers of the audio transceiver device of the home theater system based on the feedback information of the ultra-wideband signal to obtain the positioning data of each speaker in the peripheral speakers of the audio transceiver device includes: calculating the second distance information between the audio transceiver device and each speaker in the peripheral speakers of the audio transceiver device 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; fusing the first distance information and the second distance information to obtain the final distance between the audio transceiver device and each speaker in the peripheral speakers of the audio transceiver device; taking the position of the audio transceiver device as a reference point, calculating the angle between each speaker and the audio transceiver device based on the final distance between the audio transceiver device and each speaker in the peripheral speakers of the audio transceiver device; The fusing of the first distance information and the second distance information to obtain the final distance between the audio transceiver device and each speaker in the surrounding speakers of the audio transceiver device includes: predicting the first distance information and the second distance information set obtained at the previous moment, and obtaining the first distance information prediction value and the second distance information prediction value at the next moment respectively; when receiving the signal at the next moment, calculating the first distance information and the second distance information between the audio transceiver device and each speaker at the current moment, and obtaining the first distance information measurement value and the second distance information measurement value respectively; evaluating the consistency between the first distance information measurement value and the first distance information prediction value and the second distance information measurement value. and the second distance information prediction value, and accordingly assign weights to each first distance information prediction value and each second distance information prediction value, the rule for weight assignment is that the higher the degree of consistency between the first distance information prediction value and the first distance information measurement value, the higher the weight, and the higher the degree of consistency between the second distance information prediction value and the second distance information measurement value, the higher the weight, and vice versa; when all the first distance information prediction values and the second distance information prediction values have new weights respectively, resampling is performed according to these weights, and new prediction values are generated accordingly; the final distance between the audio transceiver device and each speaker in the surrounding speakers of the audio transceiver device is estimated according to all the first distance information prediction values or the second distance information prediction values and their weights.
6. 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 4 are implemented.
7. 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 4 are implemented.
