Audio adjustment method, audio device, and computer-readable storage medium
By sending a positioning audio signal on the remote control and using the microphone to calculate the volume correction value of the channel speaker assembly and make corrections, the problem that traditional audio equipment cannot adjust the sound effects in real time is solved, the volume balance and environmental adaptability are optimized, and the sound effects and user experience are improved.
Patent Information
- Application Number
- CN202211339212.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-28
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2042-10-28
AI Technical Summary
Traditional audio equipment cannot adjust the sound effects in real time according to the user's position, resulting in large differences in listening experience and affecting the user's audio-visual experience.
By sending a positioning audio signal on the remote control, using at least two microphones to receive the audio propagation time, calculating the sound volume correction value of the channel speaker assembly, and performing sound volume correction, combined with environmental interference correction, the sound effect is optimized.
This ensures that when the user holds the remote control, the volume of the speaker components in each channel is balanced, providing high-quality sound effects, adapting to different usage environments, reducing noise interference, and improving user experience.
Smart Images

Figure CN115776631B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of control technology, and in particular to an audio adjustment method, an audio device, and a computer-readable storage medium. Background Art
[0002] In the acoustic environment of audio-playing devices (such as projectors and televisions), users are constantly moving, yet the devices lack real-time control of their specific location. This leads to inconsistent listening experience across the entire device, and consequently, the sound effects don't adapt to the user's movements. This is especially true for algorithmic sound effects, as inconsistent optimal listening positions lead to significant differences in listening experience, severely impacting the user's audiovisual experience.
[0003] Most audio-playing devices currently on the market already have far-field voice capabilities as standard, using either linear or circular microphone designs. However, this far-field voice feature only enables far-field voice human-computer interaction. Furthermore, for audio-playing devices equipped with external remote controls, the remote controls simply serve as an accessory for controlling the entire device. Some remote controls include microphones for near-field voice control, but these are completely unrelated to the far-field voice accessories and cannot adjust the device's listening experience. Therefore, during the implementation process, the inventors discovered that conventional technologies have at least the following problems: conventional audio-playing devices cannot provide users with high-quality sound effects. Summary of the Invention
[0004] Based on this, it is necessary to provide an audio adjustment method, audio device and computer-readable storage medium that can improve sound effects in response to the above technical problems.
[0005] An audio adjustment method comprises the following steps:
[0006] Sending a play instruction to the remote control at a first moment to instruct the remote control to play the positioning audio signal;
[0007] Receive the positioning audio signal through at least two microphones, and obtain the audio propagation duration of the moment when the microphone receives the positioning audio signal relative to the first moment;
[0008] Obtaining a sound volume correction value for each channel speaker assembly based on the propagation duration of the audio received by at least two microphones;
[0009] Based on the volume correction value, the volume of the channel speaker assembly is corrected.
[0010] In one embodiment, the step of obtaining a volume correction value of each channel speaker assembly based on the propagation duration of the audio received by at least two microphones includes the steps of:
[0011] Based on the audio transmission duration, obtain the transmission distance between the microphone and the remote control;
[0012] Obtaining the channel distance between each channel speaker assembly and the remote control based on the propagation distance, the distance between the microphones, and the distance between the channel speaker assemblies;
[0013] Based on the channel distance, a sound volume correction value corresponding to each channel speaker assembly is obtained.
[0014] In one embodiment, the step of correcting the volume of the channel speaker assembly based on the volume correction value includes the steps of:
[0015] Based on the sound volume correction value, obtaining a sound volume correction value of the channel speaker assembly corresponding to the maximum value in the channel distance;
[0016] Based on the sound volume correction value, performing sound volume correction on the channel speaker assembly corresponding to the maximum value in the channel distance; or
[0017] Based on the sound volume correction value, obtaining the sound volume correction value of the channel speaker assembly corresponding to the minimum value of the channel distance;
[0018] Based on the sound volume correction value, performing sound volume correction on the channel speaker assembly corresponding to the minimum value of the channel distance; or
[0019] Based on the sound volume correction value, obtaining the sound volume correction value of the speaker assembly of each channel;
[0020] Based on the sound volume correction value, the sound volume of each channel speaker assembly is corrected respectively.
[0021] In one embodiment, in the step of sending a play instruction to the remote control at a first moment to instruct the remote control to play the positioning audio signal:
[0022] A start instruction is received, and in response to the start instruction, a play instruction is sent to the remote controller at the first moment to instruct the remote controller to play the positioning audio signal.
[0023] In one embodiment, after the step of correcting the volume of the channel speaker assembly based on the volume correction value, the method further includes the following steps:
[0024] Controlling the channel speaker assembly to play original standard audio signals;
[0025] Acquire the ambient audio signal sent back by the remote control; the ambient audio signal is the original standard audio signal transmitted by the remote control in response to the recording command and transmitted through the propagation environment;
[0026] Based on the environmental audio signal and the original standard audio signal, the environmental interference correction is performed on the original standard audio signal.
[0027] In one embodiment, the step of correcting the environmental interference of the original standard audio signal based on the environmental audio signal and the corresponding original standard audio signal includes the steps of:
[0028] Comparing the ambient audio signal with the original standard audio signal to obtain a noise signal between the ambient audio signal and the original standard audio signal;
[0029] Based on the acquired noise signal, the original standard audio signal is corrected for environmental interference.
[0030] In one embodiment, after the step of correcting the original standard audio signal for environmental interference based on the environmental audio signal and the original standard audio signal, the method further includes the following steps:
[0031] Controlling the channel speaker assembly to play the corrected signal; the corrected signal is obtained by correcting the environmental interference of the original standard audio signal;
[0032] Acquire a second ambient audio signal transmitted back by the remote control; the second ambient audio signal is a modified signal transmitted by the propagation environment and recorded by the remote control in response to the recording command;
[0033] comparing the second environment audio signal with the original standard audio signal;
[0034] If the second ambient audio signal is consistent with the original standard audio signal, the correction is completed;
[0035] If the second ambient audio signal is inconsistent with the original standard audio signal, the corrected signal is corrected for environmental interference based on the second ambient audio signal and the original standard audio signal, and the process is repeated until the ambient audio signal is consistent with the original standard audio signal N times.
[0036] In one embodiment, the step of controlling the channel speaker assembly to play the original standard audio signal includes the steps of:
[0037] Based on the audio transmission duration, obtain the transmission distance between the microphone and the remote control;
[0038] obtaining a relative position of the remote control based on propagation distances between the at least two microphones and the remote control;
[0039] Based on the relative orientation, an original standard audio signal corresponding to the relative orientation is selected, and the channel speaker assembly is controlled to play.
[0040] An audio device includes a memory and a processor, wherein the memory stores a computer program and the processor implements the steps of the above method when executing the computer program.
[0041] A computer-readable storage medium stores a computer program, which implements the steps of the above method when executed by a processor.
[0042] One of the above technical solutions has the following advantages and beneficial effects:
[0043] The audio adjustment method provided in each embodiment of the present application sends a play instruction to the remote control at a first moment, instructing the remote control to play the positioning audio signal, and then uses the microphone on it to receive the positioning audio signal, obtains the audio propagation duration of the moment when the microphone receives the positioning audio signal relative to the first moment, obtains the volume correction value of each channel speaker assembly based on the audio propagation duration received by at least two microphones, and performs volume correction on the channel speaker assembly based on the volume correction value. The audio adjustment method of the present application determines the distance of the remote control relative to each channel speaker assembly by receiving the duration of the positioning audio signal sent by the remote control, thereby correcting the sound volume of each channel speaker assembly. When the user holds the remote control, the sound volume of each channel speaker assembly received by the user can be balanced, providing the user with high-quality sound effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 This is a diagram of the application environment of the audio adjustment method in an embodiment of the present application.
[0045] Figure 2 This is a flow chart of the audio adjustment method in an embodiment of the present application.
[0046] Figure 3 Schematic diagram of the process of obtaining the sound channel distance in an embodiment of the present application.
[0047] Figure 4 Schematic diagram of the structure of the linear four-microphone in the embodiment of the present application.
[0048] Figure 5 Schematic diagram of the structure of the four-ring microphone in the embodiment of the present application.
[0049] Figure 6 This is another flowchart of the audio adjustment method in an embodiment of the present application.
[0050] Figure 7 Schematic diagram of the flow of the step of selecting an audio signal in an embodiment of the present application.
[0051] Figure 8 This is a schematic diagram of selecting an audio signal in an embodiment of the present application.
[0052] Figure 9 Schematic diagram of the process of the correction step in the embodiment of the present application.
[0053] Figure 10Schematic diagram of the process of the cyclic correction step in the embodiment of the present application.
[0054] Figure 11 This is a structural block diagram of the audio adjustment device in an embodiment of the present application.
[0055] Figure 12 This is a diagram of the internal structure of the audio device in an embodiment of the present application. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0057] The audio adjustment method provided in this application can be applied to Figure 1 In the application environment shown. The audio device 102 is wirelessly connected to the remote control 104. The audio device 102 can be, but is not limited to, various televisions, home theaters, projectors, etc. The audio device 102 includes at least a microphone and a channel speaker assembly. The number of microphones and channel speaker assemblies is at least two, respectively, to implement the audio adjustment method of the present application. The channel speaker assembly can be understood as a speaker assembly corresponding to each channel. In one example, the number of microphones is four, and the four microphones are arranged linearly. In another example, the number of microphones is four, and the microphones are arranged in a ring. The remote control 10 includes at least a speaker assembly and a microphone. The audio device 102 is a dual-channel device, that is, the audio device 102 includes two channel speaker assemblies, and the two channel speaker assemblies are installed on opposite sides of the device. The audio parameters of each channel speaker assembly can be adjusted independently, such as the volume.
[0058] In one embodiment, Figure 2 As shown, an audio adjustment method is provided, which is applied to Figure 1 The following steps are used as an example to illustrate the audio device in the example:
[0059] Step S210: Send a play instruction to the remote control at a first moment to instruct the remote control to play the positioning audio signal.
[0060] After the audio device is powered on, or while the audio device is playing audio, a play command can be sent to the remote control. In one example, the audio device is configured to send a play command to the remote control when powered on. In another example, the audio device is configured to periodically send a play command to the remote control while playing audio, for example, every 3, 5, or 10 minutes. Of course, the audio device can also be controlled to send a play command to the remote control. In yet another example, in the step of sending a play command to the remote control at a first moment to instruct the remote control to play a positioning audio signal: receiving a start command, and in response to the start command, sending a play command to the remote control at a first moment to instruct the remote control to play the positioning audio signal. The user can send a start command to the audio device via voice. The audio device has a built-in keyword, such as "start calibration". When the user shouts a voice command to the remote control, the audio device analyzes the voice command. If the voice command contains the keyword "start calibration", the audio device receives the start command. The user can also send a start command to the remote control via the remote control, for example, by setting a key on the remote control to control the audio device to start executing the audio adjustment method of the present application.
[0061] It should be noted that the first moment is the moment when the audio device issues a play command, that is, the audio device starts timing when the play command is issued. In one example, the play command can be a light signal or an audio signal. The remote control is provided with a sound generator, such as a buzzer. When the remote control receives the play command, it plays the positioning audio signal. In one example, the positioning audio signal can be a text broadcast, a song, a long tone, or a buzzer, and can be set according to actual requirements.
[0062] Step S220: Receive the positioning audio signal through at least two microphones, and obtain the audio propagation duration of the moment when the microphone receives the positioning audio signal relative to the first moment.
[0063] Because audio propagates at a constant speed in all media, the only factor affecting reception duration is distance. The farther the microphone is from the remote control, the longer the audio propagation duration relative to the first moment. Conversely, the closer the microphone is to the remote control, the shorter the audio propagation duration relative to the first moment. For example, if there are two microphones, two audio propagation durations are obtained. If there are three microphones, three audio propagation durations are obtained.
[0064] Step S230 : obtaining a volume correction value of each channel speaker assembly based on the propagation duration of the audio received by at least two microphones.
[0065] Generally, audio equipment includes at least a left channel speaker assembly and a right channel speaker assembly. For example, in a television, the left channel speaker and the right channel speaker are also placed at a certain distance. For a home theater, in order to produce surround sound, multiple channel speaker assemblies may be arranged.
[0066] For example, a television set with a left-channel speaker assembly and a right-channel speaker assembly, including a first microphone and a second microphone, has a first audio propagation time greater than a second audio propagation time. This indicates that the remote control is far from the first microphone but close to the second microphone. Therefore, the remote control is far from the channel speaker assembly closer to the first microphone and close to the channel speaker assembly closer to the second microphone. If the volume of the left-channel speaker assembly and the right-channel speaker assembly are the same, when a user stands at the remote control's position, the volume of the channel speaker assembly farther away from the audio device will be lower, while the volume of the channel speaker assembly closer to the second microphone will be higher. This results in an unbalanced sound quality and poor audio quality. Therefore, a volume correction value for each channel speaker assembly can be obtained based on the respective audio propagation times to correct the volume of the channel speaker assembly. Specifically, the volume of the channel speaker assembly perceived as louder by the user is reduced, while the volume of the channel speaker assembly perceived as quieter by the user is increased.
[0067] In one example, a feasible method for obtaining a sound volume correction value is provided, such as Figure 3 As shown, the step of obtaining the sound volume correction value of each channel speaker assembly based on the audio propagation time received by at least two microphones includes the steps of:
[0068] Step S330: Based on the audio propagation duration, the propagation distance between the microphone and the remote control is obtained. The propagation speed of audio in the medium is known, and the propagation distance can be calculated by knowing the audio propagation duration.
[0069] Step S330 : Acquire the channel distance between each channel speaker assembly and the remote control based on the propagation distance, the distance between the microphones, and the distance between the channel speaker assemblies.
[0070] like Figure 4 As shown, the linear four-microphone model is used as an example:
[0071] The position of the remote control in space is defined as point P′, the positions of microphone mic1, microphone mic2, microphone mic3 and microphone mic4 in space are defined as t1, t2, t3 and t4 respectively, the spacing between each microphone is a fixed value a, the center point of the four microphones is defined as O′, the positions of the two channel speaker assemblies in space are defined as K1′ and K2′ respectively, and the distance from the channel speaker assembly to the center point O′ is m.
[0072] According to the formula: duration * speed = distance, we know that the distance from mic1 to P' is S1 = t1 * C (C is the speed of sound, a constant). Similarly, the distance from mic2 to P' is S2. Similarly, we can calculate the values of various distances. Furthermore, we define S0 as the distance from P' to O'.
[0073] SL and SR are calculated based on S1 to Sn and preset parameters. These two parameters reflect the user's position. SL is the distance from one channel to the remote control, and SR is the distance from the other channel to the remote control. The calculation process is as follows:
[0074] Depend on Figure 4 It can be seen that a, S1, S2 are known conditions, θ=∠P′t1t2=∠P′t1O′, according to the triangle cosine theorem:
[0075]
[0076] Derived:
[0077]
[0078] Similarly, according to ∠P′O′t1=∠P′O′K1′, ∠P′K2′O′=∠P′K2′t1, we can deduce the distance SL between P′ and K1′, and the distance SR between P′ and K2′:
[0079]
[0080]
[0081] like Figure 5 As shown, the ring four-microphone model is used as an example for explanation:
[0082] Define the remote control's position as point P', the positions of microphones mic1, mic2, mic3, and mic4 as t1, t2, t3, and t4, respectively. Define the center point of the four microphones as O', the positions of the two channel speaker assemblies as K1' and K2', and the distance from the channel speaker assembly to the center point as m. The spacing between each microphone and the center point is a fixed value a.
[0083] According to the formula: duration * speed = distance, we know that the distance from mic1 to P' is S1 = t1 * C (C is the speed of sound, a constant, and t1, t2, etc. also represent the audio propagation time corresponding to the corresponding microphone). Similarly, the distance from mic2 to P' is S2. Similarly, we can calculate the values of various distances. Furthermore, we define S0 as the distance from P' to O'.
[0084] SL and SR are calculated based on S1 to Sn and preset parameters. These two parameters reflect the user's position. SL is the distance from the speaker assembly on one channel of the audio device to the remote control, and SR is the distance from the speaker assembly on the other channel to the remote control. The calculation process is as follows:
[0085] It can be seen from the figure that point P' and the four ring microphones form an oblique cone, so point P' is unique. Since θ = ∠P't1t3 = ∠P't1O', according to the triangle cosine theorem:
[0086]
[0087] Derived:
[0088]
[0089] Similarly, according to ∠P′t3t1=∠P′t3K1′, ∠P′t1K2′=∠P′t1t3, the distance SL between P′ and K1′ and the distance SR between P′ and K1′ can be derived:
[0090]
[0091]
[0092] Step S330 : obtaining the sound volume correction value corresponding to each channel speaker assembly based on the channel distance.
[0093] Taking a two-channel speaker assembly as an example, in one embodiment, a volume correction value △ is calculated based on a preset formula and the previously obtained SL and SR.
[0094] The volume correction value △ (dB) of the two-channel speaker assemblies is calculated according to the following formula, and the audio device then adjusts the two-channel speaker assemblies:
[0095]
[0096] Step S240 , performing volume correction on the channel speaker assembly based on the volume correction value.
[0097] After obtaining the sound volume correction value, the sound volume of at least one channel speaker assembly is corrected to achieve sound volume balance for each channel speaker assembly. In some embodiments, the sound volume of all channel speaker assemblies of the audio device can be corrected, or the sound volume of one channel speaker assembly can be corrected. The channel speaker assembly that needs sound volume correction can be determined based on a comparison between the propagation time of the audio received by at least two microphones on the audio device, and then the sound volume of the channel speaker assembly to be adjusted is corrected based on the determined sound volume correction value. For example, the distance values S1 to Sn obtained by the propagation time of the audio received by each microphone are compared, where S1 and Sn correspond to the distances between the two farthest microphones and the remote control. If S1 < Sn, then ①: the channel speaker assembly closest to S1 is determined to be the channel speaker assembly to be adjusted, and then the sound volume of the channel speaker assembly is reduced based on the sound volume correction value; or ②: the channel speaker assembly farthest from S1 is determined to be the channel speaker assembly to be adjusted, and then the sound volume of the channel speaker assembly is increased based on the sound volume correction value.
[0098] During the correction process, the correction can be divided into the following situations:
[0099] In the first scenario, based on the volume correction value, a volume correction value is obtained for the channel speaker assembly corresponding to the maximum channel distance. Then, based on the volume correction value, the volume of the channel speaker assembly corresponding to the maximum channel distance is corrected. In this scenario, the volume correction is performed on the channel speaker assembly farthest from the remote control, which in turn increases the volume of the channel speaker assembly farthest from the remote control.
[0100] In the second scenario, based on the volume correction value, a volume correction value is obtained for the channel speaker assembly corresponding to the minimum channel distance. Then, based on the volume correction value, the volume of the channel speaker assembly corresponding to the minimum channel distance is corrected. In this scenario, the volume correction is performed on the channel speaker assembly closest to the remote control, which means the volume of the channel speaker assembly closest to the remote control is reduced.
[0101] The third scenario: Based on the volume calibration value, a volume correction value is obtained for each channel speaker assembly. Based on the volume correction value, the volume of each channel speaker assembly is corrected separately. In this scenario, the volume of each channel speaker assembly is corrected, increasing the volume of distant channel speaker assemblies and decreasing the volume of nearby channel speaker assemblies.
[0102] The audio adjustment method provided in each embodiment of the present application sends a play instruction to the remote control at a first moment, instructing the remote control to play the positioning audio signal, and then uses the microphone on it to receive the positioning audio signal, obtains the audio propagation duration of the moment when the microphone receives the positioning audio signal relative to the first moment, obtains the volume correction value of each channel speaker assembly based on the audio propagation duration received by at least two microphones, and performs volume correction on the channel speaker assembly based on the volume correction value. The audio adjustment method of the present application determines the distance of the remote control relative to each channel speaker assembly by receiving the duration of the positioning audio signal sent by the remote control, thereby correcting the sound volume of each channel speaker assembly. When the user holds the remote control, the sound volume of each channel speaker assembly received by the user can be balanced, providing the user with high-quality sound effects.
[0103] When audio propagates in a medium, it will be interfered with by impurities in the medium on the one hand, and will be reflected by various objects on the other hand, which will cause the audio received by the user to be distorted and result in poor sound quality.
[0104] To this end, in one embodiment, Figure 6 As shown, after the step of correcting the volume of the channel speaker assembly based on the volume correction value, the step further includes:
[0105] Step S650: Control the channel speaker assembly to play the original standard audio signal.
[0106] It should be noted that the original standard audio signal can be audio with a continuously changing frequency from high to low, or it can be audio with a continuously changing frequency from low to high. The original standard audio signal includes at least parameters such as frequency, volume amplitude, and direction. Specifically, in one example, the audio device transmits the original standard audio signal to the power amplifier DSP via the main control. After the power amplifier DSP analyzes the original standard audio signal, it transmits the analyzed signal to the channel speaker assembly. The main control and DSP can be provided on the same chip or separate chips.
[0107] After the audio device completes the step of correcting the volume of the channel speaker assembly based on the volume correction value, it can immediately control the channel speaker assembly to play the original standard audio signal, or it can control the channel speaker assembly to play the original standard audio signal at a predetermined interval. If the audio device includes two or more channel speaker assemblies, it can control one of the channel speaker assemblies to play the original standard audio signal, or it can control all the channel speaker assemblies to play the original standard audio signal simultaneously.
[0108] In order to implement the audio adjustment method of the present application, the audio device stores multiple original standard audio signals, each original standard audio signal corresponds to a frequency-volume amplitude parameter, and each original standard audio signal corresponds to a direction, which is the direction of the audio device relative to the user.
[0109] In order to select from a plurality of original standard audio signals, the original standard audio signal needs to be played.
[0110] In one example, if Figure 7 As shown, the steps of controlling the channel speaker assembly to play the original standard audio signal include the following steps:
[0111] Step S710: Acquire the propagation distance between the microphone and the remote control based on the audio propagation duration.
[0112] Step S720: Acquire the relative position of the remote control based on the propagation distances between the at least two microphones and the remote control.
[0113] Step S730: Based on the relative orientation, select the original standard audio signal corresponding to the relative orientation, and control the channel speaker assembly to play it.
[0114] by Figure 4 Taking the linear four-microphone system in the example, the distance S0 from the remote control to the center point is calculated based on the above-mentioned S1~Sn. Then, based on the corresponding values of S0 and S1~Sn, the relative position w of the remote control relative to the center point of the audio device is calculated by trigonometric function. The angles corresponding to w and several original standard audio signals preset by the system are compared, and the original standard audio signal with the closest angle to the two is used as the original standard audio signal to be corrected. For example, Figure 8 Where P′ is the user's position, we can get Figure 8 The original standard audio signal 6 in is used as the original standard audio signal to be corrected.
[0115] refer to Figure 4 and Figure 8 , S1 2 =S0 2 +(a+a / 2) 2 -2(a+a / 2)*S0*cosw. In this formula, w is the desired orientation. This is just an example, but there are many ways to find w.
[0116] Step S660: Acquire the ambient audio signal transmitted back by the remote control; the ambient audio signal is the original standard audio signal transmitted through the propagation environment and recorded by the remote control in response to the recording command.
[0117] After the audio device controls the channel speaker assembly to play the original standard audio signal, it sends a recording command to the remote control. The remote control responds to the recording command and controls its microphone to record the audio. It should be noted that the remote control records audio transmitted from all directions, including audio directly sent by the audio device and audio reflected by objects such as walls, floors, and tables. Therefore, the remote control does not directly record the original standard audio signal. Instead, the original standard audio signal is transmitted through the environment to form an ambient audio signal. The ambient audio signal includes the noise signal and the original standard audio signal.
[0118] Step S670 : performing environmental interference correction on the original standard audio signal based on the environmental audio signal and the original standard audio signal.
[0119] Since the ambient audio signal includes a noise signal and an original standard audio signal, the noise signal can be obtained by processing the ambient audio signal and the original standard audio signal, and the original standard audio signal can be corrected for environmental interference based on the noise signal.
[0120] Specifically, in one embodiment, the audio device transmits the original standard audio signal to the sound signal of the power amplifier DSP through the main control. The power amplifier DSP outputs a corrected signal based on the weighted original standard audio signal and the noise signal, and transmits the corrected signal to the power amplifier AMP. The power amplifier AMP corrects the audio signal to be played based on the corrected signal and outputs it to the speaker. The speaker then plays the corrected audio to the user, thereby correcting the environmental interference of each channel speaker assembly. It should be noted that each channel speaker assembly can include a power amplifier DSP, a power amplifier AMP, and a speaker, or can only include a power amplifier AMP and a speaker. The power amplifier DSP and power amplifier AMP can be shared between the channel speaker assemblies, or the power amplifier DSP can be shared without sharing the power amplifier AMP.
[0121] In one example, if Figure 9 As shown, the step of correcting the environmental interference of the original standard audio signal based on the environmental audio signal and the corresponding original standard audio signal includes the following steps:
[0122] Step S910 : Compare the ambient audio signal with the original standard audio signal to obtain a noise signal between the ambient audio signal and the original standard audio signal.
[0123] Step S920: Based on the acquired noise signal, perform environmental interference correction on the original standard audio signal.
[0124] Since the ambient audio signal includes a noise signal and an original standard audio signal, the noise signal can be obtained by subtracting the original standard audio signal from the ambient audio signal. In one example, the noise signal is obtained by subtracting the original standard audio signal from the ambient audio signal, and the inverse of the noise signal is used to correct the ambient interference of the original standard audio signal. In another example, the noise signal is obtained by subtracting the ambient audio signal from the original standard audio signal, and the noise signal is directly used to correct the ambient interference of the original standard audio signal.
[0125] In order to ensure that the audio signal is adequately corrected to fully enhance the sound quality of the audio device. In one example, Figure 10 As shown, after the step of correcting the environmental interference of the original standard audio signal based on the environmental audio signal and the original standard audio signal, the step further includes:
[0126] Step S1010, controlling the channel speaker assembly to play the corrected signal; the corrected signal is obtained by correcting the original standard audio signal for environmental interference;
[0127] Step S1020, obtaining a second ambient audio signal transmitted back by the remote control; the second ambient audio signal is a modified signal transmitted by the propagation environment and recorded by the remote control in response to the recording instruction;
[0128] Step S1030, comparing the second ambient audio signal with the original standard audio signal;
[0129] Step S1040: If the second ambient audio signal is consistent with the original standard audio signal, the correction is completed;
[0130] Step S1050: If the second ambient audio signal is inconsistent with the original standard audio signal, then based on the second ambient audio signal and the original standard audio signal, the corrected signal is corrected for environmental interference, and the process is repeated until the ambient audio signal is consistent with the original standard audio signal N times.
[0131] It should be noted that after completing the first environmental correction, the audio device obtains the corrected signal, continues to play the corrected signal, and then controls the remote control to record the second environmental audio signal for environmental transmission of the corrected signal. The second environmental audio signal is compared with the original standard audio signal. If they are consistent, it means that the first correction effect is good. If they are inconsistent, the second environmental audio signal will continue to be corrected.
[0132] This audio adjustment method effectively compensates for imperfections in the user's listening environment (such as reflected sound and standing waves) by filtering out noise signals after the audio has propagated through the environment. It also automatically reduces noise, adapting to the complexity and diversity of various audio equipment usage environments and providing users with a natural, pure projector sound. This allows users to hear the same ideal sound as during anechoic chamber tuning.
[0133] It should be understood that although Figure 1-3 The steps in the flowcharts of , 6, 7, 9, and 10 are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1-3 At least part of steps 6, 7, 9, and 10 may include multiple sub-steps or multiple stages. These sub-steps or stages do not necessarily have to be performed at the same time, but can be performed at different times. The order of execution of these sub-steps or stages is not necessarily one by one, but can be performed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0134] In one embodiment, Figure 11 As shown, an audio adjustment device is provided, comprising:
[0135] The instruction sending module 111 is used to send a play instruction to the remote control at a first moment to instruct the remote control to play the positioning audio signal;
[0136] The duration acquisition module 113 is configured to receive the positioning audio signal through at least two microphones and obtain the audio propagation duration from the moment when the microphone receives the positioning audio signal relative to the first moment;
[0137] A correction value acquisition module 115 is configured to obtain a sound volume correction value for each channel speaker assembly based on the propagation duration of the audio received by at least two microphones;
[0138] The correction module 117 is configured to perform volume correction on the channel speaker assembly based on the volume correction value.
[0139] In one example, an audio adjustment device further includes:
[0140] A control module, used for controlling the channel speaker assembly to play the original standard audio signal;
[0141] The signal acquisition module is used to obtain the ambient audio signal sent back by the remote control; the ambient audio signal is the original standard audio signal transmitted by the remote control in response to the recording command.
[0142] The correction module is used to correct the environmental interference of the original standard audio signal based on the environmental audio signal and the original standard audio signal.
[0143] For the specific definition of the audio adjustment device, please refer to the definition of the audio adjustment method above, which will not be repeated here. The various modules in the above-mentioned audio adjustment device can be implemented in whole or in part by software, hardware, or a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of the above-mentioned modules.
[0144] In one embodiment, an audio device is provided, whose internal structure diagram can be as follows: Figure 12 As shown. The audio device includes a processor, a memory, a network interface, a database, a microphone assembly and a channel speaker assembly connected via a system bus. The processor of the audio device is used to provide computing and control capabilities. The memory of the audio device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the audio device is used for storage. The network interface of the audio device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, an audio adjustment method is implemented. The microphone assembly is used to collect audio. The channel speaker assembly is used to play audio.
[0145] Those skilled in the art will understand that Figure 12 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0146] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0147] Sending a play instruction to the remote control at a first moment to instruct the remote control to play the positioning audio signal;
[0148] Receive the positioning audio signal through at least two microphones, and obtain the audio propagation duration of the moment when the microphone receives the positioning audio signal relative to the first moment;
[0149] Obtaining a sound volume correction value for each channel speaker assembly based on the propagation duration of the audio received by at least two microphones;
[0150] Based on the volume correction value, the volume of the channel speaker assembly is corrected.
[0151] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0152] Based on the audio transmission duration, obtain the transmission distance between the microphone and the remote control;
[0153] Obtaining the channel distance between each channel speaker assembly and the remote control based on the propagation distance, the distance between the microphones, and the distance between the channel speaker assemblies;
[0154] Based on the channel distance, a sound volume correction value corresponding to each channel speaker assembly is obtained.
[0155] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0156] Based on the sound volume correction value, obtaining a sound volume correction value of the channel speaker assembly corresponding to the maximum value in the channel distance;
[0157] Based on the sound volume correction value, performing sound volume correction on the channel speaker assembly corresponding to the maximum value in the channel distance; or
[0158] Based on the sound volume correction value, obtaining the sound volume correction value of the channel speaker assembly corresponding to the minimum value of the channel distance;
[0159] Based on the sound volume correction value, performing sound volume correction on the channel speaker assembly corresponding to the minimum value of the channel distance; or
[0160] Based on the sound volume correction value, obtaining the sound volume correction value of the speaker assembly of each channel;
[0161] Based on the sound volume correction value, the sound volume of each channel speaker assembly is corrected respectively.
[0162] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0163] A start instruction is received, and in response to the start instruction, a play instruction is sent to the remote controller at the first moment to instruct the remote controller to play the positioning audio signal.
[0164] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0165] Controlling the channel speaker assembly to play original standard audio signals;
[0166] Acquire the ambient audio signal sent back by the remote control; the ambient audio signal is the original standard audio signal transmitted by the remote control in response to the recording command and transmitted through the propagation environment;
[0167] Based on the environmental audio signal and the original standard audio signal, the environmental interference correction is performed on the original standard audio signal.
[0168] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0169] Comparing the ambient audio signal with the original standard audio signal to obtain a noise signal between the ambient audio signal and the original standard audio signal;
[0170] Based on the acquired noise signal, the original standard audio signal is corrected for environmental interference.
[0171] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0172] Controlling the channel speaker assembly to play the corrected signal; the corrected signal is obtained by correcting the environmental interference of the original standard audio signal;
[0173] Acquire a second ambient audio signal transmitted back by the remote control; the second ambient audio signal is a modified signal transmitted by the propagation environment and recorded by the remote control in response to the recording command;
[0174] comparing the second environment audio signal with the original standard audio signal;
[0175] If the second ambient audio signal is consistent with the original standard audio signal, the correction is completed;
[0176] If the second ambient audio signal is inconsistent with the original standard audio signal, the corrected signal is corrected for environmental interference based on the second ambient audio signal and the original standard audio signal, and the process is repeated until the ambient audio signal is consistent with the original standard audio signal N times.
[0177] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0178] Based on the audio transmission duration, obtain the transmission distance between the microphone and the remote control;
[0179] obtaining a relative position of the remote control based on propagation distances between the at least two microphones and the remote control;
[0180] Based on the relative orientation, an original standard audio signal corresponding to the relative orientation is selected, and the channel speaker assembly is controlled to play.
[0181] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0182] Sending a play instruction to the remote control at a first moment to instruct the remote control to play the positioning audio signal;
[0183] Receive the positioning audio signal through at least two microphones, and obtain the audio propagation duration of the moment when the microphone receives the positioning audio signal relative to the first moment;
[0184] Obtaining a sound volume correction value for each channel speaker assembly based on the propagation duration of the audio received by at least two microphones;
[0185] Based on the volume correction value, the volume of the channel speaker assembly is corrected.
[0186] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0187] Based on the audio transmission duration, obtain the transmission distance between the microphone and the remote control;
[0188] Obtaining the channel distance between each channel speaker assembly and the remote control based on the propagation distance, the distance between the microphones, and the distance between the channel speaker assemblies;
[0189] Based on the channel distance, a sound volume correction value corresponding to each channel speaker assembly is obtained.
[0190] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0191] Based on the sound volume correction value, obtaining a sound volume correction value of the channel speaker assembly corresponding to the maximum value in the channel distance;
[0192] Based on the sound volume correction value, performing sound volume correction on the channel speaker assembly corresponding to the maximum value in the channel distance; or
[0193] Based on the sound volume correction value, obtaining the sound volume correction value of the channel speaker assembly corresponding to the minimum value of the channel distance;
[0194] Based on the sound volume correction value, performing sound volume correction on the channel speaker assembly corresponding to the minimum value of the channel distance; or
[0195] Based on the sound volume correction value, obtaining the sound volume correction value of the speaker assembly of each channel;
[0196] Based on the sound volume correction value, the sound volume of each channel speaker assembly is corrected respectively.
[0197] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0198] A start instruction is received, and in response to the start instruction, a play instruction is sent to the remote controller at the first moment to instruct the remote controller to play the positioning audio signal.
[0199] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0200] Controlling the channel speaker assembly to play original standard audio signals;
[0201] Acquire the ambient audio signal sent back by the remote control; the ambient audio signal is the original standard audio signal transmitted by the remote control in response to the recording command and transmitted through the propagation environment;
[0202] Based on the environmental audio signal and the original standard audio signal, the environmental interference correction is performed on the original standard audio signal.
[0203] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0204] Comparing the ambient audio signal with the original standard audio signal to obtain a noise signal between the ambient audio signal and the original standard audio signal;
[0205] Based on the acquired noise signal, the original standard audio signal is corrected for environmental interference.
[0206] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0207] Controlling the channel speaker assembly to play the corrected signal; the corrected signal is obtained by correcting the environmental interference of the original standard audio signal;
[0208] Acquire a second ambient audio signal transmitted back by the remote control; the second ambient audio signal is a modified signal transmitted by the propagation environment and recorded by the remote control in response to the recording command;
[0209] comparing the second environment audio signal with the original standard audio signal;
[0210] If the second ambient audio signal is consistent with the original standard audio signal, the correction is completed;
[0211] If the second ambient audio signal is inconsistent with the original standard audio signal, the corrected signal is corrected for environmental interference based on the second ambient audio signal and the original standard audio signal, and the process is repeated until the ambient audio signal is consistent with the original standard audio signal N times.
[0212] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0213] Based on the audio transmission duration, obtain the transmission distance between the microphone and the remote control;
[0214] obtaining a relative position of the remote control based on propagation distances between the at least two microphones and the remote control;
[0215] Based on the relative orientation, an original standard audio signal corresponding to the relative orientation is selected, and the channel speaker assembly is controlled to play.
[0216] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0217] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0218] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. An audio adjustment method, characterized in that: The following steps are involved: Sending a play instruction to the remote control at a first moment to instruct the remote control to play the positioning audio signal; receiving the positioning audio signal through at least two microphones, and obtaining an audio propagation duration between a moment when the microphone receives the positioning audio signal and the first moment; Obtaining a sound volume correction value of each channel speaker assembly based on the audio propagation duration received by at least two of the microphones; Based on the sound volume correction value, performing sound volume correction on the channel speaker assembly; Controlling the channel speaker assembly to play the original standard audio signal; Acquire an ambient audio signal transmitted back by the remote control; the ambient audio signal is the original standard audio signal transmitted through the propagation environment and recorded by the remote control in response to a recording command; Based on the environmental audio signal and the original standard audio signal, environmental interference correction is performed on the original standard audio signal.
2. The audio adjustment method according to claim 1, wherein: The step of obtaining the sound volume correction value of each channel speaker assembly based on the audio propagation duration received by at least two microphones includes the steps of: Based on the audio transmission duration, obtaining a transmission distance between the microphone and the remote control; acquiring a channel distance between each channel speaker assembly and the remote control based on the propagation distance, the distance between the microphones, and the distance between the channel speaker assemblies; Based on the channel distance, a sound volume correction value corresponding to each of the channel speaker assemblies is obtained.
3. The audio adjustment method according to claim 2, characterized in that: The step of correcting the volume of the channel speaker assembly based on the volume correction value includes the following steps: Based on the sound volume correction value, obtaining a sound volume correction value of the channel speaker assembly corresponding to the maximum value of the channel distance; Based on the sound volume correction value, performing sound volume correction on the channel speaker assembly corresponding to the maximum value of the channel distance; or Based on the sound volume correction value, obtaining a sound volume correction value of the channel speaker assembly corresponding to the minimum value of the channel distance; Based on the sound volume correction value, performing sound volume correction on the channel speaker assembly corresponding to the minimum value of the channel distance; or Based on the sound volume correction value, obtaining a sound volume correction value of each of the channel speaker assemblies; Based on the sound volume correction value, sound volume correction is performed on each of the channel speaker assemblies.
4. The audio adjustment method according to claim 1, wherein: In the step of sending a play instruction to the remote controller at the first moment to instruct the remote controller to play the positioning audio signal: A start instruction is received, and in response to the start instruction, the play instruction is sent to the remote controller at the first moment to instruct the remote controller to play the positioning audio signal.
5. The audio adjustment method according to claim 1, wherein: The step of correcting the environmental interference of the original standard audio signal based on the environmental audio signal and the corresponding original standard audio signal includes the steps of: Comparing the ambient audio signal with the original standard audio signal to obtain a noise signal between the ambient audio signal and the original standard audio signal; Based on the acquired noise signal, environmental interference correction is performed on the original standard audio signal.
6. The audio adjustment method according to claim 1, wherein: After the step of correcting the environmental interference of the original standard audio signal based on the environmental audio signal and the original standard audio signal, the method further includes the following steps: Controlling the channel speaker assembly to play a corrected signal; the corrected signal is obtained by correcting the original standard audio signal for environmental interference; Acquire a second ambient audio signal transmitted back by the remote control; the second ambient audio signal is the corrected signal transmitted by the propagation environment and recorded by the remote control in response to the recording instruction; comparing the second ambient audio signal with the original standard audio signal; If the second ambient audio signal is consistent with the original standard audio signal, the correction is completed; If the second ambient audio signal is inconsistent with the original standard audio signal, the corrected signal is corrected for environmental interference based on the second ambient audio signal and the original standard audio signal, and the process is repeated until the ambient audio signal is consistent with the original standard audio signal N times.
7. The audio adjustment method according to claim 1, wherein: The step of controlling the channel speaker assembly to play the original standard audio signal includes the following steps: Based on the audio transmission duration, obtaining a transmission distance between the microphone and the remote control; acquiring a relative position of the remote control based on the propagation distances between at least two of the microphones and the remote control; Based on the relative orientation, the original standard audio signal corresponding to the relative orientation is selected, and the channel speaker assembly is controlled to play.
8. An audio device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, 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 7 are implemented.
Citation Information
Patent Citations
Sound field equalization realization system and method
CN115103266A