An audio quality adjustment method and device, electronic equipment and storage medium
By analyzing and adjusting in-vehicle audio information in real time and optimizing audio playback using sound field compensation parameters, the audio quality problem caused by changes in in-vehicle noise has been solved, improving the stability of in-vehicle sound effects and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- IFLYTEK CO LTD
- Filing Date
- 2022-12-29
- Publication Date
- 2026-04-24
AI Technical Summary
Existing technologies do not provide ideal audio quality when the noise level inside the vehicle is constantly changing, and it is difficult to adjust in real time to provide the best sound effect.
Audio information is acquired through in-vehicle sound acquisition equipment, the current sound field parameters are analyzed, the target sound field parameters are determined, and the audio playback parameters are adjusted based on the sound field compensation parameters to optimize the in-vehicle audio output in real time. The algorithm is optimized and adjusted using neural network models and historical data to adapt to changes in the sound field in real time.
It enables real-time optimization of audio quality when the ambient noise inside the vehicle changes, reducing the sound effect degradation caused by changes in the sound field and improving the user's audio playback experience.
Smart Images

Figure CN116107537B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of audio processing technology, and in particular to an audio quality adjustment method and apparatus, electronic device and storage device. Background Technology
[0002] With the upgrading of automobile consumption, vehicles equipped with more than 10 speakers and in-vehicle audio power amplifiers are gradually becoming popular among users, allowing passengers to enjoy a feature-rich and immersive sound space in the vehicle environment.
[0003] Currently, to improve in-car audio quality, existing technology involves pre-developing some sound effect options, such as optimal listening position and virtual surround sound, allowing users to select the desired effects. However, when the noise level inside the vehicle is constantly changing, the audio quality is not ideal. Therefore, improving in-car audio playback quality has become an urgent problem to be solved. Summary of the Invention
[0004] The main technical problem addressed by this application is to provide an audio quality adjustment method, apparatus, electronic device, and storage medium that can improve the audio playback quality inside a vehicle.
[0005] To address the aforementioned technical problems, the first aspect of this application provides an audio quality adjustment method, comprising: obtaining current audio information acquired by an in-vehicle sound acquisition device, and obtaining current sound field parameters based on the current audio information; determining target sound field parameters based on the current sound field parameters; obtaining sound field compensation parameters based on the current sound field parameters and the target sound field parameters; adjusting audio playback parameters output by an in-vehicle sound output device based on the sound field compensation parameters, so that the sound output device plays audio based on the adjusted audio playback parameters; and returning to the step of obtaining the current audio information acquired by the in-vehicle sound acquisition device.
[0006] To address the aforementioned technical problems, a second aspect of this application provides an audio quality adjustment device, comprising: an acquisition module for acquiring current audio information acquired by an in-vehicle sound acquisition device and obtaining current sound field parameters based on the current audio information; a determination module for determining target sound field parameters based on the current sound field parameters; a compensation module for obtaining sound field compensation parameters based on the current sound field parameters and the target sound field parameters; an adjustment module for adjusting audio playback parameters output by an in-vehicle sound output device based on the sound field compensation parameters, so that the sound output device plays audio based on the adjusted audio playback parameters; and a loop module for returning to the step of acquiring the current audio information acquired by the in-vehicle sound acquisition device.
[0007] To address the aforementioned technical problems, a third aspect of this application provides an electronic device including a memory and a processor coupled to each other. The memory stores program instructions, and the processor executes the program instructions to implement the audio quality adjustment method described in the first aspect.
[0008] To address the aforementioned technical problems, a fourth aspect of this application provides a computer-readable storage medium storing program instructions executable by a processor, the program instructions being used to implement the audio quality adjustment method of the first aspect described above.
[0009] The above solution involves an in-vehicle sound acquisition device collecting audio information from inside the vehicle. This acquired audio includes the audio output from the in-vehicle sound output device and the ambient noise within the vehicle. Based on the current audio information, the current sound field parameters can be analyzed. The acoustic environment level inside the vehicle is then analyzed based on these parameters to determine the target sound field parameters. Sound field compensation parameters, which improve the sound quality, are then derived based on the current and target sound field parameters. The audio playback parameters output by the in-vehicle sound output device are adjusted based on these compensation parameters, enabling the output device to play audio based on the adjusted parameters, thus enhancing the in-vehicle sound output capability. The solution then returns to the step of obtaining the current audio information acquired by the in-vehicle sound acquisition device. By adjusting the audio playback parameters output by the in-vehicle sound output device in real time based on changes in the ambient sound, the system allows users to experience optimal sound quality in real time, reducing the deterioration caused by changes in the in-vehicle sound field and improving the overall audio playback quality. Attached Figure Description
[0010] Figure 1 This is a flowchart illustrating an embodiment of the audio quality adjustment method of this application;
[0011] Figure 2 This is a schematic diagram of the framework of an embodiment of the audio quality adjustment device of this application;
[0012] Figure 3 This is a schematic diagram of the framework of an embodiment of the electronic device of this application;
[0013] Figure 4 This is a schematic diagram of a framework of an embodiment of the computer-readable storage medium of this application. Detailed Implementation
[0014] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0015] In this paper, the terms "system" and "network" are often used interchangeably. The term "and / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. Additionally, the character " / " generally indicates that the preceding and following related objects have an "or" relationship. Furthermore, "many" in this paper means two or more.
[0016] Please see Figure 1 , Figure 1 This is a flowchart illustrating an embodiment of the audio quality adjustment method of this application. Specifically, it may include the following steps:
[0017] Step S10: Obtain the current audio information collected by the in-vehicle sound acquisition device, and obtain the current sound field parameters based on the current audio information.
[0018] In this embodiment of the disclosure, the in-vehicle sound acquisition device can specifically be an in-vehicle microphone, and multiple in-vehicle microphones can be installed in the vehicle, for example, respectively installed on the vehicle roof, door handle, center console, etc., to acquire sound elements such as stereo audio played by the in-vehicle sound output device and in-vehicle ambient sound.
[0019] In one implementation scenario, the current sound field parameters obtained based on the current audio information can fall into several categories, such as the audio frequency components output by the in-vehicle sound output device, the propagation delay of the sound signal from the sound acquisition device to the sound output device, volume, sound pressure level, and reverberation parameters. Using the method described above, the current sound field parameters are obtained by analyzing the acquired audio information. In scenarios where the in-vehicle noise level changes, the current sound field parameters are analyzed based on the changes in the sound field, allowing for real-time assessment of changes in the in-vehicle sound field and thereby improving the in-vehicle sound effect output capability.
[0020] Step S20: Determine the target sound field parameters based on the current sound field parameters.
[0021] In one implementation scenario, before determining the target sound field parameters, a preset parameter category is obtained based on the sound field effect. At least one current sound field parameter matching the preset parameter category is selected from multiple current sound field parameters of the audio information. Then, the corresponding target sound field parameters are determined based on this selected current sound field parameter. By using this method, based on the degree of influence of the audio information's sound field parameters on the sound field effect, pre-obtaining the preset parameter category, and determining the corresponding target sound field parameters from multiple current sound field parameters of the audio information, computational power can be reduced, and the efficiency and accuracy of audio quality adjustment under different sound field environments can be improved.
[0022] In a specific implementation scenario, after deep learning training based on a neural network model, a sound field parameter filtering model is constructed. After inputting multiple current sound field parameters into the sound field parameter filtering model, a preset number of parameter categories that have a significant impact on the sound field effect under the current sound field environment are determined. Then, the sound field parameters are filtered from multiple current sound field parameters. This can reduce computing power and improve the efficiency and accuracy of audio quality adjustment under different sound field environments.
[0023] In another specific implementation scenario, based on the current sound field effect inside the vehicle, a preset parameter category corresponding to the sound effect is pre-set. Based on the current sound field effect, at least one current sound field parameter that matches the preset parameter category is selected from multiple current sound field parameters of the audio information. This can reduce computing power and improve the efficiency and accuracy of audio quality adjustment under different sound field environments.
[0024] In one implementation scenario, the audio quality adjustment result can be obtained based on the current sound field parameters, the historical sound field parameters from the previous adjustment, and the historical target sound field parameters corresponding to the historical sound field parameters. The audio quality adjustment result can be used to characterize the influence of the previous historical target sound field parameters on the current sound field effect. For example, when the audio information is adjusted according to the historical target sound field parameters and output to the current sound field environment, if the acquired current sound field parameters indicate an improvement in audio quality in the current sound field environment, it means that the historical target sound field parameters still meet the parameter adjustment range required by the current sound field environment. Alternatively, if the acquired current sound field parameters indicate a decrease in audio quality in the current sound field environment, it means that the current sound field environment has changed significantly, and the historical target sound field parameters no longer meet the parameter adjustment range required by the current sound field environment. Based on the audio quality adjustment result, the target sound field parameters corresponding to the current sound field parameters can be obtained. By determining the audio quality adjustment result based on the historical sound field parameters and the historical target sound field parameters, and obtaining the target sound field parameters corresponding to the current sound field parameters based on the audio quality adjustment result, the target sound field parameters can be adjusted according to changes in the current sound field environment, improving the accuracy of audio quality adjustment.
[0025] In a specific implementation scenario, the absolute value of the first difference between the current sound field parameters and the historical target sound field parameters, and the absolute value of the second difference between the historical sound field parameters and the historical target sound field parameters from the previous adjustment are obtained. Based on the relationship between the absolute values of the first and second differences, the target sound field parameters corresponding to the current sound field parameters can be determined. When the absolute value of the first difference is less than the absolute value of the second difference, it indicates that after the audio information is adjusted according to the historical target sound field parameters and output to the current sound field environment, the audio quality of the current sound field parameters acquired again in the current sound field environment is improved. This means that the historical target sound field parameters still meet the parameter adjustment range required by the current sound field environment, so the historical target sound field parameters are used as the target sound field parameters corresponding to the current sound field parameters for adjustment. When the absolute value of the first difference is greater than or equal to the absolute value of the second difference, it indicates that the audio quality of the current sound field parameters acquired in the current sound field environment decreases. This means that the current sound field environment has changed significantly, and the historical target sound field parameters do not meet the parameter adjustment range required by the current sound field environment. It is necessary to obtain the corresponding target sound field parameters based on the audio adjustment algorithm and the current sound field parameters. For example, if the sound pressure level (SPL) in the previous historical sound field parameters was 40 dB, and the historical target SPL in the historical target sound field parameters was 50 dB, the SPL of the next output audio is adjusted to 50 dB based on the historical target SPL. The audio information is then output to the vehicle via a sound output device. If the current SPL is 45 dB, it indicates that the sound quality has been improved in the current sound field environment after adjustment based on the historical target SPL. Therefore, the historical target SPL is used as the target SPL corresponding to the current sound field parameters. If the current SPL is 30 dB, the target SPL corresponding to the current sound field parameters needs to be adjusted using an audio adjustment algorithm. Through this method, based on the current sound field parameters and the historical target SPL parameters, the current sound field environment is determined, and the target SPL corresponding to the current sound field parameters is adjusted in real time based on the current sound field environment. The optimal sound field is analyzed and calculated to achieve the best output of sound effects, improving the accuracy of audio quality adjustment.
[0026] In another specific implementation scenario, without relying on historical data, the target sound field parameters can be directly obtained based on the current sound field parameters and the audio adjustment algorithm. The algorithm analyzes the corresponding sound field environment based on the current sound field parameters and adjusts parameters such as frequency filtering, signal delay, volume, and reverberation to obtain the corresponding target sound field parameters. Through this method, the changes in the in-vehicle sound field are judged in real time based on the audio adjustment algorithm, and the corresponding target sound field parameters are determined, improving the accuracy of audio quality adjustment.
[0027] Step S30: Obtain the sound field compensation parameters based on the current sound field parameters and the target sound field parameters.
[0028] In one implementation scenario, each current sound field parameter and its corresponding target sound field parameter are acquired. Based on the difference between the current and target sound field parameters, corresponding sound effect compensation parameters are obtained. For example, if the current sound pressure level (SPL) is 40 dB and the target SPL is 45 dB, the corresponding SPL compensation is 5 dB. The remaining sound field compensation parameters are obtained sequentially based on the differences between the current and target sound field parameters. By using this method, sound field compensation parameters are obtained based on the differences between the current and target sound field parameters. These parameters can be used to adjust the sound field parameters of the next output audio, thus improving the in-vehicle audio playback quality.
[0029] Step S40: Adjust the audio playback parameters output by the in-vehicle sound output device based on the sound field compensation parameters, so that the sound output device plays audio based on the adjusted audio playback parameters.
[0030] In one implementation scenario, the sound field parameters of the output audio are adjusted based on sound field compensation parameters to obtain audio playback parameters. These adjusted playback parameters are more adapted to the current in-vehicle sound field environment, improving the in-vehicle audio effect. The power amplification factor is then calculated based on these playback parameters, and both the playback parameters and the power amplification factor are sent to the audio output device to enable in-vehicle audio playback. Through this method, sound field parameters are automatically reconstructed based on changes in the in-vehicle sound field environment and noise levels, thereby improving the in-vehicle output audio effect and enhancing the in-vehicle audio playback quality.
[0031] Step S50: Return to step S10 to obtain the current audio information collected by the in-vehicle sound acquisition device.
[0032] In one implementation scenario, audio information is collected in real time, and parameters such as the in-vehicle audio output frequency, volume, signal delay, and reverberation are automatically adjusted based on the current sound field environment to complete the optimal sound effect compensation function. It can automatically reconstruct the sound field parameters based on changes in the in-vehicle sound field environment and noise, improve the sound effect, and allow users to experience the best sound effect in real time. It reduces the sound effect degradation caused by changes in the in-vehicle sound field, thus improving the in-vehicle audio playback quality.
[0033] The above solution involves an in-vehicle sound acquisition device collecting audio information from inside the vehicle. This acquired audio includes the audio output from the in-vehicle sound output device and the ambient noise within the vehicle. Based on the current audio information, the current sound field parameters can be analyzed. The acoustic environment level inside the vehicle is then analyzed based on these parameters to determine the target sound field parameters. Sound field compensation parameters, which improve the sound quality, are then derived based on the current and target sound field parameters. The audio playback parameters output by the in-vehicle sound output device are adjusted based on these compensation parameters, enabling the output device to play audio based on the adjusted parameters, thus enhancing the in-vehicle sound output capability. The solution then returns to the step of obtaining the current audio information acquired by the in-vehicle sound acquisition device. By adjusting the audio playback parameters output by the in-vehicle sound output device in real time based on changes in the ambient sound, the system allows users to experience optimal sound quality in real time, reducing the deterioration caused by changes in the in-vehicle sound field and improving the overall audio playback quality.
[0034] Please see Figure 2 , Figure 2 This is a schematic diagram of a framework of an embodiment of the audio quality adjustment device 20 of this application. Figure 2 As shown, the audio quality adjustment device 20 includes: an acquisition module 21, a determination module 22, a compensation module 23, an adjustment module 24, and a loop module 25. The acquisition module 21 is used to acquire the current audio information acquired by the in-vehicle sound acquisition device and obtain the current sound field parameters based on the current audio information; the determination module 22 is used to determine the target sound field parameters based on the current sound field parameters; the compensation module 23 is used to obtain sound field compensation parameters based on the current sound field parameters and the target sound field parameters; the adjustment module 24 is used to adjust the audio playback parameters output by the in-vehicle sound output device based on the sound field compensation parameters, so that the sound output device plays audio based on the adjusted audio playback parameters; the loop module 25 is used to return to the step of acquiring the current audio information acquired by the in-vehicle sound acquisition device.
[0035] The above solution involves an in-vehicle sound acquisition device collecting audio information from inside the vehicle. This acquired audio includes the audio output from the in-vehicle sound output device and the ambient noise within the vehicle. Based on the current audio information, the current sound field parameters can be analyzed. The acoustic environment level inside the vehicle is then analyzed based on these parameters to determine the target sound field parameters. Sound field compensation parameters, which improve the sound quality, are then derived based on the current and target sound field parameters. The audio playback parameters output by the in-vehicle sound output device are adjusted based on these compensation parameters, enabling the output device to play audio based on the adjusted parameters, thus enhancing the in-vehicle sound output capability. The solution then returns to the step of obtaining the current audio information acquired by the in-vehicle sound acquisition device. By adjusting the audio playback parameters output by the in-vehicle sound output device in real time based on changes in the ambient sound, the system allows users to experience optimal sound quality in real time, reducing the deterioration caused by changes in the in-vehicle sound field and improving the overall audio playback quality.
[0036] In some disclosed embodiments, the audio quality adjustment device 20 further includes a target sound field parameter determination module, which is used to obtain an audio quality adjustment result based on the current sound field parameter, the historical sound field parameter during the previous adjustment, and the historical target sound field parameter corresponding to the historical sound field parameter; and to determine the target sound field parameter corresponding to the current sound field parameter based on the audio quality adjustment result.
[0037] Therefore, by determining the audio quality adjustment result based on historical sound field parameters and historical target sound field parameters, and obtaining the target sound field parameters corresponding to the current sound field parameters based on the audio quality adjustment result, the target sound field parameters can be adjusted according to the changes in the current sound field environment, thereby improving the accuracy of audio quality adjustment.
[0038] In some disclosed embodiments, the target sound field parameter determination module further includes a calculation submodule, used to obtain the absolute value of a first difference between the current sound field parameter and the historical target sound field parameter, and the absolute value of a second difference between the historical sound field parameter and the historical target sound field parameter in the previous adjustment; in response to the absolute value of the first difference being less than the absolute value of the second difference, the historical target sound field parameter is used as the target sound field parameter corresponding to the current sound field parameter; in response to the absolute value of the first difference being greater than or equal to the absolute value of the second difference, the corresponding target sound field parameter is obtained based on the audio adjustment algorithm and the current sound field parameter.
[0039] Therefore, based on the current sound field parameters and historical target sound field parameters, the current sound field environment is determined, and the target sound field parameters corresponding to the current sound field parameters are adjusted in real time based on the current sound field environment. The optimal sound field is analyzed and calculated to achieve the best output of sound effect level and improve the accuracy of audio quality adjustment.
[0040] In some disclosed embodiments, the audio quality adjustment device 20 further includes a filtering module, which is used to obtain a preset parameter category based on the sound field effect, filter at least one current sound field parameter that is consistent with the preset parameter category from a plurality of current sound field parameters, and determine the corresponding target sound field parameter based on the at least one current sound field parameter obtained after filtering.
[0041] Therefore, by pre-obtaining preset parameter categories based on the degree of influence of the sound field parameters of audio information on the sound field effect, and determining the corresponding target sound field parameters from the current sound field parameters obtained from multiple current sound field parameters of audio information, the computational power can be reduced, and the efficiency and accuracy of audio quality adjustment under different sound field environments can be improved.
[0042] In some disclosed embodiments, the audio quality adjustment device 20 further includes a power amplification module, which is used to adjust the sound field parameters of the output audio based on the sound field compensation parameters to obtain audio playback parameters; obtain the power amplification factor based on the audio playback parameters; and send the audio playback parameters and the power amplification factor to the sound output device.
[0043] Therefore, the sound field parameters are automatically reconstructed based on changes in the in-vehicle sound field environment and noise, thereby improving the audio output effect in the vehicle and enhancing the in-vehicle audio playback quality.
[0044] In some disclosed embodiments, the audio quality adjustment device 20 further includes a sound field compensation parameter acquisition module, which is used to acquire each current sound field parameter and the corresponding target sound field parameter respectively; and to obtain the corresponding sound effect compensation parameters based on the difference between the current sound field parameter and the corresponding target sound field parameter.
[0045] Therefore, the sound field compensation parameter is obtained based on the difference between the current sound field parameter and the target sound field parameter. Based on the sound field compensation parameter, the sound field parameter information of the next output audio can be adjusted, thus improving the in-vehicle audio playback quality.
[0046] Please see Figure 3 , Figure 3 This is a schematic diagram of a framework of an embodiment of the electronic device 30 of this application. The electronic device 30 includes a memory 31 and a processor 32 coupled to each other. The memory 31 stores program instructions, and the processor 32 is used to execute the program instructions to implement the steps in any of the above-described audio quality adjustment method embodiments. Specifically, the electronic device 30 may include, but is not limited to, servers, desktop computers, laptops, tablets, smartphones, etc., and is not limited thereto.
[0047] Specifically, processor 32 controls itself and memory 31 to implement the steps in any of the above-described audio quality adjustment method embodiments. Processor 32 can also be referred to as a CPU (Central Processing Unit). Processor 32 may be an integrated circuit chip with signal processing capabilities. Processor 32 can also be a general-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor can be a microprocessor or any conventional processor. Furthermore, processor 32 can be implemented using integrated circuit chips.
[0048] The above solution involves an in-vehicle sound acquisition device collecting audio information from inside the vehicle. This acquired audio includes the audio output from the in-vehicle sound output device and the ambient noise within the vehicle. Based on the current audio information, the current sound field parameters can be analyzed. The acoustic environment level inside the vehicle is then analyzed based on these parameters to determine the target sound field parameters. Sound field compensation parameters, which improve the sound quality, are then derived based on the current and target sound field parameters. The audio playback parameters output by the in-vehicle sound output device are adjusted based on these compensation parameters, enabling the output device to play audio based on the adjusted parameters, thus enhancing the in-vehicle sound output capability. The solution then returns to the step of obtaining the current audio information acquired by the in-vehicle sound acquisition device. By adjusting the audio playback parameters output by the in-vehicle sound output device in real time based on changes in the ambient sound, the system allows users to experience optimal sound quality in real time, reducing the deterioration caused by changes in the in-vehicle sound field and improving the overall audio playback quality.
[0049] Please see Figure 4 , Figure 4 This is a schematic diagram of a framework of an embodiment of the computer-readable storage medium 40 of this application. The computer-readable storage medium 40 stores program instructions 41 that can be executed by a processor. The program instructions 41 are used to implement the steps in any of the above-described audio quality adjustment method embodiments.
[0050] In some embodiments, the functions or modules of the apparatus provided in this disclosure can be used to perform the methods described in the above method embodiments. The specific implementation can be referred to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.
[0051] The description of the various embodiments above tends to emphasize the differences between the various embodiments. The similarities or similarities between them can be referred to, and for the sake of brevity, they will not be repeated here.
[0052] In the several embodiments provided in this application, it should be understood that the disclosed methods and apparatus can be implemented in other ways. For example, the apparatus implementations described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.
[0053] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0054] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0055] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods of various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
Claims
1. An audio quality adjustment method, characterized in that, include: Obtain the current audio information collected by the in-vehicle sound acquisition device, and obtain the current sound field parameters based on the current audio information; Based on the absolute value of the second difference between the historical sound field parameters from the previous adjustment and the corresponding historical target sound field parameters, and the absolute value of the first difference between the current sound field parameters and the historical target sound field parameters, the audio quality adjustment result is obtained. The target sound field parameters corresponding to the current sound field parameters are determined based on the audio quality adjustment results; wherein, in response to the absolute value of the first difference being less than the absolute value of the second difference, the historical target sound field parameters are used as the target sound field parameters corresponding to the current sound field parameters; The sound field compensation parameters are obtained based on the current sound field parameters and the target sound field parameters; The audio playback parameters output by the in-vehicle sound output device are adjusted based on the sound field compensation parameters so that the sound output device plays audio based on the adjusted audio playback parameters. Return to the step of obtaining the current audio information collected by the in-vehicle sound acquisition device.
2. The method according to claim 1, characterized in that, The step of determining the target sound field parameters corresponding to the current sound field parameters based on the audio quality adjustment results includes: If the absolute value of the first difference is greater than or equal to the absolute value of the second difference, then the corresponding target sound field parameters are obtained based on the audio adjustment algorithm and the current sound field parameters.
3. The method according to claim 1, characterized in that, The sound field parameters include at least one of the following: audio frequency components, sound signal propagation delay from the sound acquisition device to the sound output device, sound pressure level, and reverberation parameters.
4. The method according to claim 1, characterized in that, The number of current sound field parameters obtained based on the current audio information is multiple; Before the step of obtaining the sound field compensation parameters based on the current sound field parameters and the target sound field parameters, the following steps are included: Based on the sound field effect, a preset parameter category is obtained, and at least one current sound field parameter that is consistent with the preset parameter category is selected from multiple current sound field parameters; The steps for determining the target sound field parameters include: The corresponding target sound field parameters are determined based on at least one current sound field parameter obtained after screening.
5. The method according to claim 1, characterized in that, The step of adjusting the audio playback parameters output by the in-vehicle sound output device based on the sound field compensation parameters includes: Based on the sound field compensation parameters, the sound field parameters of the output audio are adjusted to obtain the audio playback parameters; The power amplification factor is obtained based on the audio playback parameters, and the audio playback parameters and the power amplification factor are sent to the sound output device.
6. The method according to claim 1, characterized in that, The step of obtaining the sound field compensation parameters based on the current sound field parameters and the target sound field parameters includes: Each current sound field parameter and the corresponding target sound field parameter are obtained respectively; Based on the difference between the current sound field parameters and the corresponding target sound field parameters, the corresponding sound field compensation parameters are obtained respectively.
7. An audio quality adjustment device, characterized in that, include: The acquisition module is used to obtain the current audio information collected by the in-vehicle sound acquisition device, and to obtain the current sound field parameters based on the current audio information; The target sound field parameter determination module is used to obtain the audio quality adjustment result based on the absolute value of the second difference between the historical sound field parameters in the previous adjustment and the corresponding historical target sound field parameters, and the absolute value of the first difference between the current sound field parameters and the historical target sound field parameters; A determination submodule is used to determine the target sound field parameters corresponding to the current sound field parameters based on the audio quality adjustment results; wherein, in response to the absolute value of the first difference being less than the absolute value of the second difference, the historical target sound field parameters are used as the target sound field parameters corresponding to the current sound field parameters; The compensation module is used to obtain sound field compensation parameters based on the current sound field parameters and the target sound field parameters; An adjustment module is used to adjust the audio playback parameters output by the in-vehicle sound output device based on the sound field compensation parameters, so that the sound output device plays audio based on the adjusted audio playback parameters; The loop module is used to return to the step of obtaining the current audio information acquired by the in-vehicle sound acquisition device.
8. An electronic device, characterized in that, The device includes a memory and a processor coupled to each other, the memory being used to store a computer program and the processor being used to execute the computer program to implement the audio quality adjustment method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The device contains a computer program that can be executed by a processor to implement the audio quality adjustment method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Audio data processing method, apparatus, electronic device and recording medium
KR1020220123184A