Audio device and control method of audio device
By setting up drive components and controllers in the audio device, the target angle of the housing is calculated based on audio data and equalizer parameters, and the speaker orientation is dynamically adjusted, solving the problem of insufficient stereo surround effect in existing audio systems and improving the stereo surround effect of music.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HISENSE VISUAL TECH CO LTD
- Filing Date
- 2023-01-31
- Publication Date
- 2026-04-28
AI Technical Summary
Existing audio systems, due to their fixed speaker orientation, struggle to adapt to different types of music, resulting in insufficient surround sound effects.
By setting up drive components and controllers in the audio device, the target angle of the housing is calculated based on audio data and equalizer parameters, and the orientation of the speaker is dynamically adjusted to enhance the stereo surround effect.
It enables dynamic adjustment of speaker orientation based on different audio data, enhancing the stereo surround sound effect of music.
Smart Images

Figure CN116170719B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart home technology. More specifically, it relates to an audio device and a method for controlling the audio device. Background Technology
[0002] As people's living standards gradually improve, their requirements for sound quality when listening to music and watching movies are also increasing.
[0003] Currently, existing technologies can produce audio systems composed of multiple speakers, each facing a different direction, thereby creating stereo surround sound through the reflection of sound waves in space.
[0004] However, the inventors discovered that the existing technology has at least the following technical problems: current audio systems, due to the fixed direction of the speakers, are difficult to adapt to different types of music, resulting in insufficient stereo surround sound effects. Summary of the Invention
[0005] The exemplary embodiments of this application provide an audio device and a method for controlling the audio device, which solves the problem of insufficient stereo surround sound effect.
[0006] In a first aspect, embodiments of this application provide an audio device, comprising: a device body, a housing, a sound-emitting unit installed within the housing; a driving component, one end of which is connected to the device body and the other end of which is connected to the housing, for driving the housing to rotate relative to the device body; an audio input port for receiving audio data sent by an audio output device; a controller configured to, in response to receiving an angle adjustment command, read the equalizer parameters of each channel and acquire the audio data input to the audio input port and the real-time orientation angle of the housing, wherein the audio data includes lateral audio; the controller is further configured to calculate a standard value for the lateral audio; the controller is further configured to calculate a target angle of the housing based on the standard value and the equalizer parameters of each channel; the controller is further configured to determine a rotation angle based on the target angle and the real-time orientation angle; the controller is further configured to control the driving component to rotate based on the rotation angle, causing the housing to rotate to the target angle; and control the sound-emitting unit to emit a corresponding sound based on the lateral audio.
[0007] In one possible implementation, the drive assembly includes a left drive assembly and a right drive assembly, and the housing includes a left housing and a right housing; one end of the left drive assembly is drivenly connected to the left housing, and the other end of the left drive assembly is drivenly connected to the device body, for driving the left housing to rotate relative to the device body; one end of the right drive assembly is drivenly connected to the right housing, and the other end of the right drive assembly is drivenly connected to the device body, for driving the right housing to rotate relative to the device body; standard values include left surround sound amplitude, left sky sound amplitude, right surround sound amplitude, and right sky sound amplitude. The controller is configured to calculate the target angle of the left side housing based on the left surround sound amplitude, left surround equalizer parameters, left sky sound amplitude, right sky sound amplitude, left sky equalizer parameters, and right sky equalizer parameters; the controller is also configured to calculate the target angle of the right side housing based on the right surround sound amplitude, right surround equalizer parameters, right sky sound amplitude, left sky sound amplitude, right sky equalizer parameters, and left sky equalizer parameters.
[0008] In one possible implementation, the controller is configured to calculate the total amplitude of the left surround sound based on the left surround sound amplitude, the left surround equalizer parameters, and a preset formula for calculating the total amplitude of the left surround sound; the controller is also configured to calculate the total amplitude of the left sky sound based on the left sky sound amplitude, the right sky sound amplitude, the left sky equalizer parameters, the right sky equalizer parameters, and a preset formula for calculating the total amplitude of the left sky sound; the controller is also configured to calculate the target angle of the left side shell based on the total amplitude of the left surround sound and the total amplitude of the left sky sound.
[0009] In one possible implementation, the target angle includes a target vertical angle and a target horizontal angle; the controller is configured to add the total amplitude of the left surround sound and the total amplitude of the left sky sound to obtain a total amplitude; the controller is also configured to calculate the target vertical angle based on the total amplitude, the total amplitude of the left sky sound and a preset target vertical angle calculation formula; the controller is also configured to calculate the target horizontal angle based on the total amplitude, the total amplitude of the left surround sound and a preset target horizontal angle calculation formula.
[0010] In one possible implementation, the controller is further configured to calculate the target vertical angle based on the total amplitude, the total amplitude of the left sky sound, and a preset target vertical angle calculation formula, as follows:
[0011]
[0012] Where, θ V Let A represent the target vertical angle, 'a' represent a constant, and 'A' represent the vertical angle. 天空 A represents the total amplitude of the left sky tone. Mix Represents the total amplitude, θ′V This indicates the preset vertical correction angle.
[0013] In one possible implementation, the controller is further configured to calculate the target horizontal angle based on the total amplitude, the total amplitude of the left sky sound, and a preset target horizontal angle calculation formula, as follows:
[0014]
[0015] Where, θ H Let A represent the target horizontal angle, b represent a constant, and A represent the target horizontal angle. 环绕 A represents the total amplitude of the left surround tone. Mix Represents the total amplitude, θ′ H This indicates the preset horizontal correction angle.
[0016] In one possible implementation, the preset target vertical angle calculation formula includes a preset vertical correction angle, and the preset target horizontal angle calculation formula includes a preset horizontal correction angle; the controller is further configured to, in response to receiving an environmental adaptation adjustment command, control the drive component to rotate to at least two preset angles, and control the sound unit to play preset test audio at each preset angle; the controller is further configured to receive analysis audio corresponding to each preset angle sent by the microphone, wherein the analysis audio is sent by the microphone after receiving spatial audio, wherein the spatial audio is obtained after the test audio propagates through the environment; the controller is further configured to determine the vertical correction angle and the horizontal correction angle based on the test audio and each analysis audio.
[0017] In one possible implementation, the controller is configured to calculate the similarity between each analyzed audio and the test audio; the controller is configured to determine the analyzed audio with the highest similarity among the analyzed audios as the target analyzed audio; the controller is further configured to determine the preset angle corresponding to the target analyzed audio as the target correction angle; the controller is further configured to determine the vertical angle of the target correction angle as the vertical correction angle, and the horizontal angle of the target correction angle as the horizontal correction angle.
[0018] In one possible implementation, the controller is further configured to input audio data into a preset audio type analysis model to obtain the target type of the audio data; the controller is further configured to find the correspondence between audio type and angle based on the target type to obtain the target angle.
[0019] Secondly, embodiments of this application provide a control method for an audio device. The audio device includes a device body, a housing, a sound-generating unit installed inside the housing; a driving component, one end of which is connected to the device body and the other end of which is connected to the housing, for driving the housing to rotate relative to the device body; an audio input port for receiving audio data sent by an audio output device; and a controller. The method is applied to the controller and includes:
[0020] In response to receiving an angle adjustment command, the system reads the equalizer parameters of each channel and obtains the audio data input from the audio input port and the real-time orientation angle of the housing, including side audio. It calculates the standard value of the side audio, calculates the target angle of the housing based on the standard value and the equalizer parameters of each channel, determines the rotation angle based on the target angle and the real-time orientation angle, controls the drive component to rotate according to the rotation angle, causing the housing to rotate to the target angle, and controls the sound-emitting unit to emit the corresponding sound based on the side audio.
[0021] The audio device and its control method provided in this application embodiment, after receiving an angle adjustment command, respond to the angle adjustment command, read the equalizer parameters of each channel, obtain the audio data input from the audio input port and the real-time orientation angle of the housing, calculate the standard value of the lateral audio, calculate the target angle of the housing based on the standard value and the equalizer parameters, determine the rotation angle based on the target angle and the real-time angle, and control the drive component to rotate according to the value of the rotation angle, so that the housing rotates to the target angle, and control the sound-emitting unit to emit sound according to the lateral audio, thereby realizing the control of the housing orientation according to different audio data, thereby improving the stereo surround effect of music. Attached Figure Description
[0022] To more clearly illustrate the implementation methods in the embodiments of this application or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings.
[0023] Figure 1 This is a schematic diagram illustrating an operational scenario between an audio device, a display device, and a control device according to one or more embodiments of this application;
[0024] Figure 2 An exemplary block diagram of the configuration of the control device 100 according to an exemplary embodiment is shown;
[0025] Figure 3 A hardware configuration block diagram of an audio device 300 according to an exemplary embodiment is shown;
[0026] Figure 4A schematic diagram of the structure of the audio device 300 according to an exemplary embodiment is shown;
[0027] Figure 5 A schematic diagram of horizontal and vertical angles provided for embodiments of this application;
[0028] Figure 6 This is a schematic diagram of the correction angle acquisition method provided in the embodiments of this application;
[0029] Figure 7 This is a schematic diagram illustrating the process of obtaining and adjusting the correction angle provided in an embodiment of this application.
[0030] Figure 8 This is a schematic diagram of a mixing method provided in an embodiment of this application;
[0031] Figure 9 This is a flowchart illustrating the control method for an audio device provided in an embodiment of this application. Detailed Implementation
[0032] To make the objectives, implementation methods and advantages of this application clearer, the exemplary implementation methods of this application will be clearly and completely described below with reference to the accompanying drawings of the exemplary embodiments of this application. Obviously, the described exemplary embodiments are only some embodiments of this application, and not all embodiments.
[0033] Based on the exemplary embodiments described in this application, all other embodiments obtained by those skilled in the art without inventive effort are within the scope of protection of the appended claims. Furthermore, although the disclosures in this application are presented by way of one or more exemplary examples, it should be understood that each aspect of these disclosures can constitute a complete implementation on its own. It should be noted that the brief descriptions of terminology in this application are merely for the convenience of understanding the embodiments described below, and are not intended to limit the implementation of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.
[0034] Figure 1 This is a schematic diagram illustrating an operational scenario between an audio device, a display device, and a control device according to one or more embodiments of this application, such as... Figure 1As shown, the audio device 400 is communicatively connected to the display device 200 and is used to play the audio output by the display device 200. The display device 200 is an audio output device, and can also be replaced by a mobile phone, tablet computer, computer, etc. Users can operate the display device 200 through a mobile terminal 300 and a control device 100. The control device 100 can be a remote control, and communication between the remote control and the display device includes infrared protocol communication, Bluetooth protocol communication, wireless or other wired methods to control the display device 200. Users can input user commands through buttons on the remote control, voice input, control panel input, etc., to control the display device 200. In some embodiments, mobile terminals, tablet computers, computers, laptop computers, and other smart devices can also be used to control the display device 200.
[0035] In some embodiments, the mobile terminal 300 may install software applications with the display device 200 to establish a connection and communication via a network communication protocol, achieving one-to-one control operation and data communication. It can also transmit audio and video content displayed on the mobile terminal 300 to the display device 200, and transmit audio played on the mobile terminal 300 to the audio device 400, achieving synchronous display. In one possible implementation, the mobile terminal 300 can also communicate with the audio device 400, directly transmitting audio information to the audio device 400, thereby enabling the audio device 400 to play the corresponding audio. The display device 200 may be allowed to communicate via a local area network (LAN), wireless local area network (WLAN), and other networks. The display device 200 may be a liquid crystal display, an OLED display, or a projection display device. In addition to providing broadcast television reception functions, the display device 200 may also include a smart network television function providing computer support.
[0036] Figure 2 An exemplary block diagram of the configuration of the control device 100 according to an exemplary embodiment is shown. Figure 2 As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 can receive user input commands and convert them into commands that the display device 200 can recognize and respond to, acting as an intermediary for interaction between the user and the display device 200. The communication interface 130 is used for external communication and includes at least one of a Wi-Fi chip, a Bluetooth module, NFC, or a replacement module. The user input / output interface 140 includes at least one of a microphone, a touchpad, a sensor, buttons, or a replacement module.
[0037] Figure 3 A hardware configuration block diagram of an audio device 300 according to an exemplary embodiment is shown. Figure 3The display device 300 shown includes at least one of the following: a communicator 301, an external device interface 302, a controller 303, a speaker 304, a driver assembly 305, and a power supply 306. The communicator 301 includes at least one of a Wi-Fi module, a Bluetooth module, and a wired Ethernet module, used to receive signals sent to audio devices via a network. The external device interface 302 includes a Universal Serial Bus interface, an RCA connector, an XLR connector, etc., used to receive audio data sent by external devices via a wired connection. The controller 303 includes a random access memory, a read-only memory, an audio processor, a central processing unit, and multiple interfaces. The controller processes audio data and controls the speaker 304, the driver assembly 305, and the power supply 306.
[0038] In one possible implementation, the controller 303 receives audio data input from the communicator 301 or an external device interface, and controls the drive component 305 to rotate according to the audio data, so that the drive component 305 adjusts the orientation of the left and right rotating speakers. It also adjusts the delay time of the audio data, the equalizer parameters of each channel, the gain of the audio data of each channel, and the mixing, and inputs the processed audio data into the corresponding speakers so that each speaker plays the corresponding sound.
[0039] Figure 4 A schematic diagram of the structure of an audio device 300 according to an exemplary embodiment is shown. Figure 4 As shown, the audio device 300 includes: a device body 307, a housing 308, a sound-emitting unit installed inside the housing 308, the sound-emitting unit being the aforementioned speaker 304; a drive assembly 305, one end of which is connected to the device body 307 and the other end of which is connected to the housing 308, for driving the housing 308 to rotate relative to the device body 307; and an audio input port 309 for receiving audio data sent by an audio output device.
[0040] The controller 303 can be a processor, circuit board, control board, etc. The drive assembly 305 can be composed of components such as a motor, gears, and connecting parts. The drive assembly drives the housing to rotate relative to the main body of the equipment. It can receive signals from the controller, and the controller signals cause the motor to rotate, which in turn drives the gears and other components to rotate, thereby causing the housing to rotate. The main body of the equipment 307 can be a cavity enclosed by any material, and a horn can also be installed in the main body of the equipment 307.
[0041] Continue to refer to Figure 4The controller 303 can be installed in the main body 307 or in the housing 308. The speaker 304 can be installed in both the main body 307 and the housing 308. There can be two housings; with the speaker facing forward, the one on the left is the left housing, and the one on the right is the right housing. The speaker installed in the left housing is a left-side rotating speaker, and the speaker installed in the right housing is a right-side rotating speaker. The speaker installed in the main body 307 can be a left main channel speaker, a right main channel speaker, a center main channel speaker, a subwoofer, etc. The audio input port 309 can include the aforementioned communicator 301 and external device interface 302. The audio input port 309 can be installed on the main body 307 or in the housing 308.
[0042] The controller is configured to perform steps S201 to S205.
[0043] S201: In response to receiving an angle adjustment command, read the equalizer parameters of each channel, and obtain the audio data input from the audio input port and the real-time orientation angle of the housing, wherein the audio data includes lateral audio.
[0044] In this step, the angle adjustment command can be sent by the user through a terminal device. The angle adjustment command can be a preset string. The equalizer parameters for each channel can be stored in the controller's memory. The audio data input to the audio input port can include audio data for each channel. The real-time orientation angle of the housing can be the target angle when the housing angle was last adjusted, or it can be the angle stored after the last housing angle adjustment. The real-time orientation angle can also be the difference between the current angle of the drive component and the preset angle.
[0045] Terminal devices include, for example, remote controls, mobile phones, computers, and tablets. The memory can be the aforementioned random access memory or read-only memory. Lateral audio can include left channel audio, right channel audio, left surround audio, right surround audio, left sky audio, and right sky audio.
[0046] S202: Calculate the standard value of lateral audio.
[0047] In this step, the standard values for calculating the lateral audio can be the mean amplitude, median amplitude, mode amplitude, etc.
[0048] For example, calculate the average amplitude of the entire lateral audio segment, or calculate the average amplitude of the lateral audio over a preset time period.
[0049] The preset time can be set in advance, such as 1 minute, 5 minutes, 10 minutes, etc. The side audio can be audio from the side channels, such as left surround audio, left sky audio, right surround audio, etc.
[0050] S203: Calculate the target angle of the housing based on the standard value and the equalizer parameters of each channel.
[0051] In this step, you can either input the standard value and the equalizer parameters for each channel into a preset formula to obtain the target angle, or you can convert the equalizer parameters for each channel into corresponding amplitudes, and then input the amplitudes corresponding to the equalizer parameters and the standard value into a preset function to obtain the target angle.
[0052] S204: Determine the rotation angle based on the target angle and the real-time orientation angle.
[0053] In this step, the rotation angle can be obtained by subtracting the target angle from the real-time orientation angle.
[0054] For example, if the target angle is (30°, 10°) and the real-time orientation angle is (20°, 30°), then the rotation angle is (10°, -20°). As another example, if the target angle is (41°, 15°) and the real-time orientation angle is (45°, 20°), then the rotation angle is (-4°, -5°). This application does not limit the specific values of the target angle, real-time orientation angle, and rotation angle.
[0055] In one possible implementation, the target angle includes the target vertical angle and the target horizontal angle, and the real-time orientation angle includes the real-time vertical angle and the real-time horizontal angle. The rotation angle includes the vertical rotation angle and the horizontal rotation angle.
[0056] The vertical and horizontal angles can be determined by the orientation of the housing and the sound-generating unit inside the housing.
[0057] The controller is configured to subtract the real-time vertical angle from the target vertical angle to obtain the vertical rotation angle.
[0058] For example, if the target vertical angle is 10° and the real-time vertical angle is 30°, then the vertical rotation angle is -20°. This application does not limit the specific numerical value of the angle.
[0059] The controller is also configured to subtract the real-time horizontal angle from the target horizontal angle to obtain the horizontal rotation angle.
[0060] For example, if the target horizontal angle is 10° and the real-time horizontal angle is 30°, then the horizontal rotation angle is -20°. This application does not limit the specific numerical value of the angle.
[0061] S205: Control the rotation of the drive component according to the rotation angle, so that the housing rotates to the target angle.
[0062] In this step, an electrical signal corresponding to the rotation angle can be sent to the drive component, causing the drive component to rotate by the corresponding angle. Since the drive component is connected to the housing, the housing will also rotate, thereby allowing the housing to reach the target angle.
[0063] For example, with a rotation angle of (10°, 15°), a corresponding electrical signal is sent to the drive assembly, causing the first motor of the drive assembly to rotate the number of revolutions corresponding to 10°, and the second motor of the drive assembly to rotate the number of revolutions corresponding to 15°, thereby causing the housing to rotate 10° vertically and 15° horizontally. This application does not limit the specific value of the rotation angle in its embodiments.
[0064] S206: Control the sound-emitting unit to emit the corresponding sound based on the lateral audio.
[0065] In this step, the lateral audio can be delayed, amplified, and then input into the sound-emitting unit inside the housing, causing the sound-emitting unit to emit the corresponding sound. Alternatively, the lateral audio can be mixed to obtain a mixed lateral audio, which is then input into the sound-emitting unit to make the sound-emitting unit emit the corresponding sound.
[0066] As can be seen from the description of the above embodiments, in this application embodiment, after receiving an angle adjustment command, the controller responds to the angle adjustment command, reads the equalizer parameters of each channel, obtains the audio data input from the audio input port and the real-time orientation angle of the housing, calculates the standard value of the lateral audio, calculates the target angle of the housing based on the standard value and the equalizer parameters, and determines the rotation angle based on the target angle and the real-time angle. Based on the value of the rotation angle, the controller controls the drive component to rotate, allowing the housing to rotate to the target angle, and controls the sound-emitting unit to emit sound based on the lateral audio. This realizes the control of the housing orientation based on different audio data, thereby improving the stereo surround effect of the music.
[0067] Continue to refer to Figure 4 In one possible implementation, the drive assembly 305 includes a left drive assembly 3051 and a right drive assembly 3052, and the housing 308 includes a left housing 3081 and a right housing 3082. One end of the left drive assembly is drivenly connected to the left housing, and the other end is drivenly connected to the device body, for driving the left housing to rotate relative to the device body. One end of the right drive assembly is drivenly connected to the right housing, and the other end is drivenly connected to the device body, for driving the right housing to rotate relative to the device body. Standard values include left surround sound amplitude, left sky sound amplitude, right surround sound amplitude, and right sky sound amplitude. Equalizer parameters for each channel include: left sky equalizer parameters, left surround equalizer parameters, right sky equalizer parameters, and right surround equalizer parameters.
[0068] The connection method between the drive component and the housing and main body of the device is similar to that described in the above embodiments, and will not be repeated here. The distinction between the left and right housings can be based on the orientation of the speaker relative to the audio device. The standard values correspond to the channels for side surround sound and side sky sound.
[0069] The controller, in the process of calculating the target angle in step S203 above, is configured to calculate the target angle of the left side shell based on the left surround sound amplitude, the left surround equalizer parameters, the left sky sound amplitude, the right sky sound amplitude, the left sky equalizer parameters, and the right sky equalizer parameters.
[0070] Specifically, the target vertical angle can be determined by combining surround sound parameters (left surround sound amplitude, left surround equalizer parameters) with all other parameters. The target horizontal angle can be determined by combining sky sound parameters (left sky sound amplitude, right sky sound amplitude, left sky equalizer parameters, and right sky equalizer parameters) with all other parameters.
[0071] The controller is also configured to calculate the target angle of the right side housing based on the right surround sound amplitude, right surround equalizer parameters, right sky sound amplitude, left sky sound amplitude, right sky equalizer parameters, and left sky equalizer parameters.
[0072] The target angle calculation method for the right side shell is similar to that for the left side shell, and can be achieved by swapping the left and right sides, so it will not be elaborated here.
[0073] As can be seen from the description of the above embodiments, the embodiments of this application calculate the target angle of the housing on one side by using the surround sound amplitude on one side, the surround sound equalizer parameters on this side, the sky sound amplitude on both sides, and the sky equalizer parameters on both sides. This enables the target angle of the housing on both sides to be adjusted separately for the different surround sounds on both sides, and the target angle is obtained from the sky sound and the surround sound, making the surround sound effect stronger.
[0074] In one possible implementation, the controller is configured to calculate the total amplitude of the left surround sound based on the left surround sound amplitude, the left surround equalizer parameters, and a preset formula for calculating the total amplitude of the left surround sound.
[0075] The formula for calculating the total amplitude of the left surround tone is as follows:
[0076] A 左环绕总 =A LS +f A (EQ LS )
[0077] In the formula, A 左环绕总 A represents the total amplitude of the left surround tone. LS Indicates the amplitude of the left surround tone, EQ LS This represents the left surround equalizer parameter, f. A This represents a preset conversion function. In this embodiment of the application, f... A The specific content is not limited, f A The specific content can be pre-set by the staff.
[0078] The controller is also configured to obtain the total amplitude of the left sky tone based on the amplitude of the left sky tone, the amplitude of the right sky tone, the parameters of the left sky equalizer, the parameters of the right sky equalizer, and a preset formula for calculating the total amplitude of the left sky tone.
[0079] The formula for calculating the total amplitude of the left sky tone is as follows:
[0080] A 左旋转总 =A LT +A RT +f A (EQ LT )+f A (EQ RT )
[0081] In the formula, A 左旋转总 A represents the total amplitude of the left sky tone. LT A represents the amplitude of the left sky tone. RT f represents the amplitude of the right sky tone. A This represents the preset transition function, EQ. LT This represents the parameters of the left sky equalizer, EQ. RT This indicates the parameters of the right sky equalizer.
[0082] The controller is also configured to calculate the target angle of the left side housing based on the total amplitude of the left surround sound and the total amplitude of the left sky sound.
[0083] Specifically, one could calculate the sum of the total amplitude of the left surround sound and the total amplitude of the left sky sound, and define this sum as the left amplitude sum. The horizontal angle of the left shell could be determined based on the proportion of the total amplitude of the left surround sound to the amplitude sum, and the vertical angle of the left shell could be determined based on the proportion of the total amplitude of the left sky sound to the amplitude sum.
[0084] The calculation method for the target angle of the right side shell is similar to that of the left side shell; simply interchange the left and right sides in the above formulas and parameters. It will not be elaborated here.
[0085] As can be seen from the description of the above embodiments, the embodiments of this application calculate the total surround sound amplitude on one side by inputting the surround sound amplitude on one side and the surround equalizer parameters on that side into a preset surround sound amplitude calculation formula. The total sky sound amplitude on this side is obtained by inputting the sky sound amplitude on one side, the sky sound amplitude on the other side, the sky equalizer parameters on this side, and the sky equalizer parameters on the other side into a preset total sky sound amplitude calculation formula. The target angle of the shell on this side is calculated from the total surround sound amplitude and the total sky sound amplitude on this side, thereby realizing the dynamic adjustment of the target angle by the total surround sound amplitude and the total sky sound amplitude, and increasing the surround sound effect of the audio.
[0086] In one possible implementation, the target angle includes the target vertical angle and the target horizontal angle.
[0087] The target vertical angle and target horizontal angle can be determined by the angle relative to the horn in the housing, or by the direction of the main body of the equipment.
[0088] Figure 5 A schematic diagram of horizontal and vertical angles provided for embodiments of this application. (See attached diagram.) Figure 5 As shown, the shell is a cube in the figure, and the horizontal angle is represented by θ in the figure. H Vertical angles are represented by θ. V express.
[0089] The controller is configured to add the total amplitude of the left surround sound and the total amplitude of the left sky sound to obtain the total amplitude.
[0090] Specifically, for example, if the total amplitude of the left surround sound is 10dB and the total amplitude of the left sky sound is 15dB, then the total amplitude is 25dB. For example, if the total amplitude of the left surround sound is 20dB and the total amplitude of the left sky sound is 3dB, then the total amplitude is 23dB. This application does not limit the specific values of the total amplitude of the left surround sound, the total amplitude of the left sky sound, or the total amplitude in its embodiments.
[0091] The controller is also configured to calculate the target vertical angle based on the total amplitude, the total amplitude of the left sky sound, and a preset target vertical angle calculation formula.
[0092] The preset target vertical angle calculation formula can be pre-configured by the staff and can correspond to the specific model of the audio equipment.
[0093] In one possible implementation, the controller is further configured to calculate the target vertical angle based on the total amplitude, the total amplitude of the left sky sound, and a preset target vertical angle calculation formula, as follows:
[0094]
[0095] Where, θ V Let A represent the target vertical angle, 'a' represent a constant, and 'A' represent the vertical angle. 天空 A represents the total amplitude of the left sky tone. Mix Represents the total amplitude, θ′ V This indicates the preset vertical correction angle. The vertical correction angle can be obtained through prior testing or a pre-calibrated fixed value. The value of 'a' is, for example, -1 to 1, and can be adjusted according to different audio device models. The preset vertical correction angle range can be 0° to 90°, and can also be adjusted according to different audio device models.
[0096] The controller is also configured to obtain the target horizontal angle based on the total amplitude, the total amplitude of the left surround sound, and a preset target horizontal angle calculation formula.
[0097] In one possible implementation, the controller is further configured to calculate the target horizontal angle based on the total amplitude, the total amplitude of the left sky sound, and a preset target horizontal angle calculation formula, as follows:
[0098]
[0099] Where, θ H Let A represent the target horizontal angle, b represent a constant, and A represent the target horizontal angle. 环绕 A represents the total amplitude of the left surround tone. Mix Represents the total amplitude, θ′ H This indicates the preset horizontal correction angle. The horizontal correction angle can be obtained through prior testing or a pre-calibrated fixed value. The value of 'b' is, for example, -1 to 1, and can be adjusted according to different audio device models. The preset horizontal correction angle range can be 0° to 90°, and can also be adjusted according to different audio device models.
[0100] In one possible implementation, the method for calculating the target angle of the right side shell is similar to that in the embodiments of this application. It is only necessary to interchange the left and right sides in the formula and description, which will not be repeated here.
[0101] As can be seen from the description of the above embodiments, the embodiments of this application obtain the total amplitude by adding the total amplitude of the left surround sound and the total amplitude of the left sky sound, inputting the total amplitude and the total amplitude of the left sky sound into a preset target vertical angle calculation formula to obtain the target vertical angle, and inputting the total amplitude and the total amplitude of the left surround sound into a preset target horizontal angle calculation formula to obtain the target horizontal angle, thereby obtaining the target angle. This realizes the calculation of different vertical and horizontal angles based on the amplitude, thereby improving the stereo effect of the audio.
[0102] In one possible implementation, the preset target vertical angle calculation formula includes a preset vertical correction angle, and the preset target horizontal angle calculation formula includes a preset horizontal correction angle.
[0103] The vertical correction angle and the horizontal correction angle are as described in the above embodiments, and the sound-generating unit can be the above-described speaker.
[0104] The controller is also configured to, in response to receiving an environmental adaptation adjustment command, control the drive components to rotate to at least two preset angles, and control the sound unit to play preset test audio at each preset angle.
[0105] Specifically, the preset angle can be an angle corresponding to the preset angle of the housing, such as (0°, 45°) or (45°, 0°). 0° is to reduce sound generation in the vertical or horizontal direction, and 0° can also be replaced with other smaller angles.
[0106] The controller is also configured to receive analytical audio signals sent by the microphone corresponding to each preset angle, wherein the analytical audio signals are sent by the microphone after receiving spatial audio, and the spatial audio is obtained after the test audio has been propagated through the environment.
[0107] Specifically, the microphone can be pre-installed in the audio system, the remote control, or a mobile phone microphone used in conjunction with a related application. Spatial audio can be obtained by analyzing changes in audio after reflection from the environment. This analytical audio is obtained by the microphone performing signal preprocessing on the spatial audio. The preprocessing process can be executed by a program already present in the microphone; this embodiment does not impose specific limitations on the preprocessing process. Before receiving the analytical audio, a prompt message is played, which may be a message reminding the user to remain quiet. Since the analytical audio is obtained after the sound-emitting unit emits test audio, the analytical audio corresponds to the preset angle at which the test audio is emitted.
[0108] The controller is also configured to determine the vertical and horizontal correction angles based on the test audio and each analysis audio.
[0109] Specifically, the vertical and horizontal correction angles can be determined based on the frequency and energy differences between the test audio and each analysis audio.
[0110] In one possible implementation, the controller is configured to calculate the similarity between each analyzed audio and the test audio.
[0111] Specifically, the similarity of each audio sample can be obtained by inputting the analysis audio and test audio into a pre-configured similarity determination algorithm.
[0112] The similarity determination algorithm can be pre-configured by staff, and this application embodiment does not impose specific restrictions on it.
[0113] The controller is also configured to determine the preset angle corresponding to the target analysis audio as the target correction angle.
[0114] Specifically, the target analysis audio is obtained when the driving component rotates to a preset angle, and the target analysis audio corresponds to the preset angle.
[0115] The controller is configured to identify the audio with the highest similarity among the analyzed audios as the target audio for analysis.
[0116] For example, if the similarity of the three analyzed audios is 70%, 75%, and 95% respectively, then the analyzed audio with a similarity of 95% is identified as the target analyzed audio.
[0117] The controller is also configured to determine the vertical angle of the target correction angle as the vertical correction angle and the horizontal angle of the target correction angle as the horizontal correction angle.
[0118] Specifically, the target correction angle can be composed of vertical angles and horizontal angles. The vertical correction angle and the horizontal correction angle can be combined as an array or a string with a preset format to form the target correction angle.
[0119] As can be seen from the description of the above embodiments, the embodiments of this application control the drive component to rotate to at least two preset angles after receiving the welcome adaptation adjustment command, and control the sound unit to play preset test audio at each preset angle, receive the analysis audio sent by the microphone, and determine the vertical correction angle and the horizontal correction angle from the test audio and each analysis audio, so that the calculation of the vertical angle and the horizontal angle has a benchmark, and the surround effect of the audio playback is better.
[0120] Figure 6 This is a schematic flowchart of the correction angle acquisition method provided in an embodiment of this application. Figure 6 As shown, the method for obtaining the correction angle includes the following steps: S601: Controlling the drive component to rotate to a first preset angle, then playing a test signal and receiving a first analysis audio. S602: Controlling the drive component to rotate to a second preset angle, then playing a test signal and receiving a second analysis audio. S603: Controlling the drive component to rotate to a third preset angle, then playing a test signal and receiving a third analysis audio. S604: Calculating the horizontal correction angle from the second and first analysis audios, and calculating the vertical correction angle from the third and first analysis audios.
[0121] In one possible implementation, the preset angles include a first preset angle, a second preset angle, and a third preset angle.
[0122] The controller is configured to determine the analysis audio corresponding to a first preset angle as the first analysis audio, the analysis audio corresponding to a second preset angle as the second analysis audio, and the analysis audio corresponding to a third preset angle as the third analysis audio.
[0123] The first preset angle is, for example, (45°, 45°) or (45°, 30°), the second preset angle is, for example, (0°, 45°) or (-1°, 60°), and the third preset angle is, for example, (55°, -5°) or (45°, 0°). This application does not limit the specific values of the preset angles, but the vertical angle of the second preset angle can be relatively small, for example, less than 10° or less than 20°, to reduce the influence of sky noise. The horizontal angle of the third preset angle can be relatively small, for example, less than 10° or less than 20°, to reduce the influence of surround sound.
[0124] The controller is also configured to divide the second analyzed audio by the first analyzed audio and multiply it by a first preset parameter to obtain a horizontal correction angle.
[0125] Specifically, the horizontal correction angle can be calculated using the following formula:
[0126]
[0127] In the formula, θ′ H S1 represents the horizontal correction angle, α represents a constant, S2 represents the second analysis audio, and S1 represents the first analysis audio.
[0128] The controller is also configured to divide the third analytical audio by the first analytical audio and multiply it by a second preset parameter to obtain a vertical correction angle. The analytical audio can be the amplitude or frequency of the analytical audio, or the energy of the analytical audio calculated from its amplitude and frequency.
[0129] Specifically, the vertical correction angle can be calculated using the following formula:
[0130]
[0131] In the formula, θ′ V S represents the vertical correction angle, β represents a constant, S3 represents the second analysis audio, and S1 represents the first analysis audio.
[0132] As can be seen from the description of the above embodiments, the embodiments of this application calculate the horizontal correction angle and the vertical correction angle by analyzing the audio from three different angles, thereby making the vertical and horizontal angles of the final target angle more accurate and thus enhancing the stereo effect of the audio.
[0133] Taking the vertical angle as an example, the empty box receiver first reads a certain length of audio data, and then calculates the A value of the sky tone component based on the previously introduced calculation. 环绕 The deviation is compared to the total amplitude, and the resulting deviation is weighted by a coefficient α, adjusting the model based on a fixed deflection angle. When equal to the reference amplitude, the fixed deflection angle is maintained; when greater than the reference amplitude, the angle is increased to reduce the direct sound component and enhance the reflected sound component. Designers can flexibly adjust α and β to achieve different adjustment effects. Considering the system's response time, this analysis and calculation are performed as preprocessing. That is, before the system emits sound and the angle is adjusted, data is pre-read for mixing, analysis, and angle calculation. After the angle is obtained, it is compared with the current model to determine and adjust the rotation angle. α and β can make the adjustment effect more pronounced or less pronounced.
[0134] Figure 7 This is a schematic diagram illustrating the process of obtaining and adjusting the correction angle as provided in an embodiment of this application. Figure 7 As shown, after receiving the audio signal, the microphone preprocesses the signal and inputs it into the audio device. The controller of the audio device performs frequency analysis and energy analysis, and generates calibration parameters (horizontal correction angle and vertical correction angle) based on pre-stored standard parameters. The signal input module can be the aforementioned communicator or the aforementioned external device interface. The controller may also include an audio decoding module, a sound effect post-processing module, a rotation control module, and a sound field rendering module. The audio decoding module decodes the input audio data, and the decoded audio data is input into the sound effect post-processing module. The sound effect post-processing module mixes the audio and inputs it into the sound field rendering module. The sound field rendering module inputs the audio from each channel into the corresponding channel's sound unit. The rotation control module controls the drive components to rotate the housing.
[0135] Figure 8 This is a schematic diagram illustrating the mixing method provided in an embodiment of this application. Figure 8 As shown, the audio device modulates the input audio using EQ, adjusts the delay time, and then mixes it. The left channel, right channel, bass, and center channel are not mixed. The left overhead channel, left surround channel, and right overhead channel are mixed and then sent to the sound unit in the left housing, while the right overhead channel, right surround channel, and left overhead channel are mixed and then sent to the sound unit in the right housing.
[0136] In one possible implementation, when performing step S206 above, the controller is also configured to acquire the delay values for each channel.
[0137] The delay value can be pre-stored in the controller or pre-stored in the storage unit.
[0138] The controller is also configured to add the delay value of each channel to the delay time of each channel in the audio data to obtain the total delay time of each channel.
[0139] Specifically, for example, if the left surround channel delay is 50ms and the total delay time of the left surround channel is 5ms, then the total delay time of the left surround channel is 55ms. As another example, if the right sky channel delay is 20ms and the total delay time of the right sky channel is 3ms, then the total delay time of the right sky channel is 23ms. Yet another example, if the right surround channel delay is 33ms and the total delay time of the right surround channel is 8ms, then the total delay time of the right surround channel is 41ms.
[0140] The controller is also configured to mix the side audio based on the amplitude of each channel in the delayed audio data and the equalizer parameters of each channel to obtain the mixed side audio.
[0141] Specifically, the left surround amplitude, left surround equalizer parameters, and left surround channel audio in the delayed audio data can be multiplied to obtain the left surround value; the left sky amplitude, left sky equalizer parameters, and left sky channel audio in the delayed audio data can be multiplied to obtain the left sky value; the right sky amplitude, right sky equalizer parameters, and right sky channel audio in the delayed audio data can be multiplied to obtain the right sky value; and the left surround value, left sky value, and right sky value are added together to obtain the mixed left-side audio. The calculation method for the mixed right-side audio is similar to that for the mixed left-side audio, except that the above parameters are reversed, and will not be elaborated here.
[0142] The controller is also configured to input the mixed lateral audio into the sound unit so that the sound unit emits the corresponding sound.
[0143] Specifically, the right-side audio after mixing can be input into the sound unit in the right-side housing, causing the sound unit in the right-side housing to play the right-side audio after mixing, and the left-side audio after mixing can be input into the sound unit in the left-side housing, causing the sound unit in the left-side housing to play the left-side audio after mixing.
[0144] As can be seen from the description of the above embodiments, the embodiments of this application obtain the delay value of the audio device and add the delay value to the delay time in the audio to obtain the total delay time, thereby replacing the original delay time in the audio data to obtain delayed audio data. The amplitude of each channel and the equalizer parameters of each channel in the delayed audio data are used for mixing, and the side audio obtained after mixing is input into the corresponding side sound unit to play the mixed sound, making the sound more three-dimensional.
[0145] In one possible implementation, the controller is also configured to input audio data into a preset audio type analysis model to obtain the target type of the audio data.
[0146] The audio type analysis model can be pre-trained or can be a neural network model.
[0147] The controller is also configured to look up the correspondence between audio type and angle based on the target type to obtain the target angle.
[0148] The correspondence between audio type and angle can be predefined, and its storage format can be a table or key-value pairs, etc. This application embodiment does not impose specific restrictions on the storage method of the correspondence.
[0149] For example, if the target type is "movie," then the target angle has a vertical angle of 70° and a horizontal angle of 45°. If the target type is "music," then the target angle has a vertical angle of 60° and a horizontal angle of 35°. If the target type is "news," then the target angle has a vertical angle of 30° and a horizontal angle of -30°. If the target type is "sports," then the target angle has a vertical angle of 60° and a horizontal angle of 40°.
[0150] As can be seen from the description of the above embodiments, the embodiments of this application obtain the target type of the audio data by inputting the audio data into the audio type analysis model, thereby finding the target angle corresponding to the target type, and realizing the use of different angles for different types of audio data, thereby producing different environmental sound effects for different types of audio.
[0151] Figure 9 This is a flowchart illustrating the control method for an audio device provided in an embodiment of this application. The audio device includes a main body, a housing, a sound-generating unit installed within the housing, a driving assembly with one end connected to the main body and the other end connected to the housing, used to drive the housing to rotate relative to the main body, an audio input port for receiving audio data sent by an audio output device, and a controller. The control method for the audio device is applied to the controller and includes:
[0152] S901: In response to receiving an angle adjustment command, it reads the equalizer parameters of each channel and obtains the audio data input from the audio input port and the real-time orientation angle of the housing, wherein the audio data includes side audio.
[0153] S902: Calculate the standard value for lateral audio.
[0154] S903: Calculate the target angle of the housing based on the standard value and the equalizer parameters of each channel.
[0155] S904: Determine the rotation angle based on the target angle and the real-time orientation angle.
[0156] S905: Controls the rotation of the drive assembly according to the rotation angle, so that the housing rotates to the target angle.
[0157] S906: Controls the sound-emitting unit to emit corresponding sounds based on the lateral audio.
[0158] In one possible implementation, the drive assembly includes a left drive assembly and a right drive assembly, and the housing includes a left housing and a right housing. One end of the left drive assembly is drivenly connected to the left housing, and the other end is drivenly connected to the device body, for driving the left housing to rotate relative to the device body. One end of the right drive assembly is drivenly connected to the right housing, and the other end is drivenly connected to the device body, for driving the right housing to rotate relative to the device body. Standard values include left surround sound amplitude, left sky sound amplitude, right surround sound amplitude, and right sky sound amplitude. Equalizer parameters for each channel include: left sky equalizer parameters, left surround equalizer parameters, right sky equalizer parameters, and right surround equalizer parameters.
[0159] Step S903 above specifically includes: S9031: Calculating the target angle of the left side shell based on the left surround sound amplitude, left surround equalizer parameters, left sky sound amplitude, right sky sound amplitude, left sky equalizer parameters, and right sky equalizer parameters. S9032: Calculating the target angle of the right side shell based on the right surround sound amplitude, right surround equalizer parameters, right sky sound amplitude, left sky sound amplitude, right sky equalizer parameters, and left sky equalizer parameters.
[0160] In one possible implementation, step S9031 above, calculating the target angle of the left side shell based on the left surround sound amplitude, left surround equalizer parameters, left sky sound amplitude, right sky sound amplitude, left sky equalizer parameters, and right sky equalizer parameters, specifically includes: S90311: Calculating the total amplitude of the left surround sound based on the left surround sound amplitude, left surround equalizer parameters, and a preset formula for calculating the total amplitude of the left surround sound. S90312: Calculating the total amplitude of the left sky sound based on the left sky sound amplitude, right sky sound amplitude, left sky equalizer parameters, right sky equalizer parameters, and a preset formula for calculating the total amplitude of the left sky sound. S90313: Calculating the target angle of the left side shell based on the total amplitude of the left surround sound and the total amplitude of the left sky sound.
[0161] In one possible implementation, the target angle includes the target vertical angle and the target horizontal angle. Step S90313 specifically includes:
[0162] S903131: Add the total amplitude of the left surround tone and the total amplitude of the left sky tone to obtain the total amplitude.
[0163] S903132: Calculate the target vertical angle based on the total amplitude, the total amplitude of the left sky tone, and the preset target vertical angle calculation formula.
[0164] S903133: Calculate the target horizontal angle based on the total amplitude, the total amplitude of the left surround sound, and the preset target horizontal angle calculation formula.
[0165] The formula for calculating the target vertical angle in step S903132 above is as follows:
[0166]
[0167] Where, θ V Let A represent the target vertical angle, 'a' represent a constant, and 'A' represent the vertical angle. 天空 A represents the total amplitude of the left sky tone. 9ix Represents the total amplitude, θ′ V This indicates the preset vertical correction angle.
[0168] The formula for calculating the target horizontal angle in step S903133 above is as follows:
[0169]
[0170] Where, θ H Let A represent the target horizontal angle, b represent a constant, and A represent the target horizontal angle. 环绕 A represents the total amplitude of the left surround tone. 9ix Represents the total amplitude, θ′ H This indicates the preset horizontal correction angle.
[0171] In one possible implementation, the preset target vertical angle calculation formula includes a preset vertical correction angle, and the preset target horizontal angle calculation formula includes a preset horizontal correction angle.
[0172] Before step S901 above, the method further includes: S911: In response to receiving an environmental adaptation adjustment command, controlling the drive component to rotate to at least two preset angles, and controlling the sound unit to play preset test audio at each preset angle. S912: Receiving analysis audio corresponding to each preset angle sent by the microphone, wherein the analysis audio is sent by the microphone after receiving spatial audio, wherein the spatial audio is obtained after the test audio propagates through the environment. S913: Determining the vertical correction angle and the horizontal correction angle based on the test audio and each analysis audio.
[0173] In one possible implementation, step S913 specifically includes calculating the similarity between each analyzed audio and the test audio. The analyzed audio with the highest similarity among all analyzed audios is determined as the target analyzed audio. A preset angle corresponding to the target analyzed audio is determined as the target correction angle. The vertical angle of the target correction angle is determined as the vertical correction angle, and the horizontal angle of the target correction angle is determined as the horizontal correction angle.
[0174] In one possible implementation, the preset angles include a first preset angle, a second preset angle, and a third preset angle. The controller is configured to determine the analysis audio corresponding to the first preset angle as the first analysis audio, the analysis audio corresponding to the second preset angle as the second analysis audio, and the analysis audio corresponding to the third preset angle as the third analysis audio. The controller is also configured to divide the second analysis audio by the first analysis audio and multiply it by a first preset parameter to obtain a horizontal correction angle. The controller is further configured to divide the third analysis audio by the first analysis audio and multiply it by a second preset parameter to obtain a vertical correction angle.
[0175] In one possible implementation, in step S906 above, the sound-emitting unit is controlled to emit a corresponding sound based on the lateral audio, including obtaining the delay value of each channel. The delay value of each channel is added to the delay time of each channel in the audio data to obtain the total delay time of each channel. The total delay time of each channel is determined as the new delay time of each channel to obtain the delayed audio data. The lateral audio is mixed according to the amplitude of each channel and the equalizer parameters of each channel in the delayed audio data to obtain the mixed lateral audio. The mixed lateral audio is input to the sound-emitting unit so that the sound-emitting unit emits the corresponding sound.
[0176] In one possible implementation, the target angle includes a target vertical angle and a target horizontal angle, and the real-time orientation angle includes a real-time vertical angle and a real-time horizontal angle. The rotation angle includes a vertical rotation angle and a horizontal rotation angle. Step 904 specifically includes: subtracting the real-time vertical angle from the target vertical angle to obtain the vertical rotation angle; and subtracting the real-time horizontal angle from the target horizontal angle to obtain the horizontal rotation angle.
[0177] In one possible implementation, after step 901 above, the audio data is further input into a preset audio type analysis model to obtain the target type of the audio data. Based on the target type, the correspondence between the audio type and the angle is found to obtain the target angle.
[0178] The methods provided in the above embodiments can be used to execute the technical solutions of the above device embodiments. Their implementation principles and technical effects are similar, and will not be repeated here.
[0179] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
[0180] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, thereby enabling those skilled in the art to better utilize the embodiments and various different variations of embodiments suitable for specific application considerations.
Claims
1. An audio device, characterized in that, include: Equipment body, A housing, wherein a sound-generating unit is installed inside the housing; A drive assembly, one end of which is connected to the main body of the device and the other end of which is connected to the housing, is used to drive the housing to rotate relative to the main body of the device; The audio input port is used to receive audio data sent by the audio output device. The controller is configured to, in response to receiving an angle adjustment command, read the equalizer parameters of each channel and obtain the audio data input from the audio input port and the real-time orientation angle of the housing, wherein the audio data includes lateral audio, which includes left surround audio, left sky audio, right surround audio, and right sky audio. Calculate the standard values of the lateral audio; the standard values include the amplitude of the left surround sound, the amplitude of the left sky sound, the amplitude of the right surround sound, and the amplitude of the right sky sound; The target angle of the housing is calculated based on the standard value and the equalizer parameters of each channel; the equalizer parameters of each channel include: left sky equalizer parameters, left surround equalizer parameters, right sky equalizer parameters, and right surround equalizer parameters. The rotation angle is determined based on the target angle and the real-time orientation angle; The drive assembly is controlled to rotate according to the rotation angle, so that the housing rotates to the target angle; Based on the lateral audio, the sound-emitting unit is controlled to emit a corresponding sound.
2. The audio device according to claim 1, characterized in that, The drive assembly includes a left drive assembly and a right drive assembly, and the housing includes a left housing and a right housing; One end of the left drive assembly is connected to the left housing in a transmission connection, and the other end of the left drive assembly is connected to the main body of the device in a transmission connection, for driving the left housing to rotate relative to the main body of the device; One end of the right-side drive assembly is connected to the right-side housing in a transmission connection, and the other end of the right-side drive assembly is connected to the main body of the equipment in a transmission connection, for driving the right-side housing to rotate relative to the main body of the equipment; The controller is configured to calculate the target angle of the left side housing based on the left surround sound amplitude, the left surround equalizer parameters, the left sky sound amplitude, the right sky sound amplitude, the left sky equalizer parameters, and the right sky equalizer parameters. The controller is also configured to calculate the target angle of the right side housing based on the right surround sound amplitude, the right surround equalizer parameters, the right sky sound amplitude, the left sky sound amplitude, the right sky equalizer parameters, and the left sky equalizer parameters.
3. The audio device according to claim 2, characterized in that, The controller is configured to calculate the total amplitude of the left surround sound based on the left surround sound amplitude, the left surround equalizer parameters, and a preset formula for calculating the total amplitude of the left surround sound. The controller is also configured to calculate the total amplitude of the left sky tone based on the amplitude of the left sky tone, the amplitude of the right sky tone, the parameters of the left sky equalizer, the parameters of the right sky equalizer, and a preset formula for calculating the total amplitude of the left sky tone. The controller is also configured to calculate the target angle of the left side housing based on the total amplitude of the left surround sound and the total amplitude of the left sky sound.
4. The audio device according to claim 3, characterized in that, The target angle includes the target vertical angle and the target horizontal angle; The controller is configured to add the total amplitude of the left surround sound and the total amplitude of the left sky sound to obtain the total amplitude; The controller is also configured to calculate the target vertical angle based on the total amplitude, the total amplitude of the left sky sound, and a preset target vertical angle calculation formula; The controller is also configured to calculate the target horizontal angle based on the total amplitude and the total amplitude of the left surround sound, using a preset target horizontal angle calculation formula.
5. The audio device according to claim 4, characterized in that, The controller is further configured to calculate the target vertical angle based on the total amplitude, the total amplitude of the left sky sound, and a preset target vertical angle calculation formula, as follows: in, The vertical angle of the target is represented by 'a', where 'a' is a constant. This indicates the total amplitude of the left sky tone. This represents the total amplitude. This indicates the preset vertical correction angle.
6. The audio device according to claim 4, characterized in that, The controller is further configured to calculate the target horizontal angle based on the total amplitude, the total amplitude of the left sky sound, and a preset target horizontal angle calculation formula, as follows: in, Let b represent the target horizontal angle, and b represent a constant. This indicates the total amplitude of the left surround tone. This represents the total amplitude. This indicates the preset horizontal correction angle.
7. The audio device according to any one of claims 4 to 6, characterized in that, The preset target vertical angle calculation formula includes a preset vertical correction angle, and the preset target horizontal angle calculation formula includes a preset horizontal correction angle; The controller is also configured to, in response to receiving an environmental adaptation adjustment command, control the drive component to rotate to at least two preset angles, and control the sound-emitting unit to play preset test audio at each preset angle; The controller is also configured to receive analysis audio corresponding to each preset angle sent by the microphone, wherein the analysis audio is sent by the microphone after receiving spatial audio, wherein the spatial audio is obtained after the test audio is propagated through the environment; The controller is also configured to determine the vertical correction angle and the horizontal correction angle based on the test audio and each analysis audio.
8. The audio device according to claim 7, characterized in that, The controller is configured to calculate the similarity between each analyzed audio and the test audio; The controller is configured to identify the audio with the highest similarity among the analyzed audios as the target audio for analysis. The controller is also configured to determine the preset angle corresponding to the target analyzed audio as the target correction angle; The controller is further configured to determine the vertical angle of the target correction angle as the vertical correction angle and the horizontal angle of the target correction angle as the horizontal correction angle.
9. The audio device according to any one of claims 1 to 6, characterized in that, The controller is also configured to input the audio data into a preset audio type analysis model to obtain the target type of the audio data; The controller is also configured to look up the correspondence between audio type and angle based on the target type to obtain the target angle.
10. A method for controlling an audio device, characterized in that, The audio device includes: Equipment body, A housing, wherein a sound-generating unit is installed inside the housing; A drive assembly, one end of which is connected to the main body of the device and the other end of which is connected to the housing, is used to drive the housing to rotate relative to the main body of the device; The audio input port is used to receive audio data sent by the audio output device. Controller; The method is applied to the controller, including: In response to receiving an angle adjustment command, the equalizer parameters of each channel are read, and the audio data input from the audio input port and the real-time orientation angle of the housing are obtained. The audio data includes lateral audio, which includes left surround audio, left sky audio, right surround audio, and right sky audio. Calculate the standard values of the lateral audio; the standard values include the amplitude of the left surround sound, the amplitude of the left sky sound, the amplitude of the right surround sound, and the amplitude of the right sky sound; The target angle of the housing is calculated based on the standard value and the equalizer parameters of each channel; the equalizer parameters of each channel include: left sky equalizer parameters, left surround equalizer parameters, right sky equalizer parameters, and right surround equalizer parameters. The rotation angle is determined based on the target angle and the real-time orientation angle; The drive assembly is controlled to rotate according to the rotation angle, so that the housing rotates to the target angle; Based on the lateral audio, the sound-emitting unit is controlled to emit a corresponding sound.
Citation Information
Patent Citations
Display equipment and audio playing method
CN111757171A
Surround system
JP2006211206A