Audio parameter adjustment method, device, equipment and storage medium
By obtaining the acoustic characteristics data of the audio system and ambient, calculating optimization parameters and adjusting the audio parameters in real time, the problem of sound quality degradation in smart speakers in open spaces is solved, personalized audio effect optimization is achieved, and user experience and adjustment efficiency is improved.
Patent Information
- Application Number
- CN202410328190.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-21
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-03-21
AI Technical Summary
Existing smart speaker products cannot intelligently adjust audio parameters according to the layout and acoustic characteristics of different environments, resulting in a degradation of sound quality in open spaces and unable to provide personalized audio effect optimization.
By obtaining the target audio effect and acoustic characteristics data of the audio system, the optimization parameters are calculated, and the audio parameters are adjusted in real time using the digital filtering algorithm to achieve adaptive adjustment and adapt to the acoustic characteristics of different environments.
It realizes personalized audio effect optimization in open space, improves user experience, reduces the cost of audio parameter adjustment, and improves adjustment efficiency and convenience.
Smart Images

Figure CN118250603B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent audio terminal control, and in particular to an audio parameter adjustment method, device, equipment and storage medium. Background Art
[0002] With the development of audio processing technology, each smart product in the audio system can process audio by changing parameters to produce various audio effects. For example, when the terminal plays the original audio, the terminal's playback parameters can be set based on the audio effect you want to achieve. Each audio effect corresponds to different audio parameters, and an audio effect corresponding to the audio parameters is obtained on the basis of the original audio. However, each smart product in the audio system can only process audio according to fixed audio parameters, and the audio parameters in each smart product in the audio system can only be pre-set. The preset audio parameters of existing smart speaker products cannot be intelligently adjusted according to the layout and volume of different environments, and cannot achieve personalized audio effect optimization for different environmental scenes. In addition, most of the speaker products under the existing technology use fixed and reasonable tuning parameters, which can obtain relatively good sound quality in a generally closed small space, but for open spaces with large areas or special structures, due to the inability to intelligently adjust according to different spatial acoustic characteristics, the problem of sound quality degradation is prone to occur. Summary of the invention
[0003] The main purpose of the present invention is to solve the technical problem that the existing audio parameter adjustment method cannot be intelligently adjusted according to the layout of different environments and the impact on the propagation of sound.
[0004] A first aspect of the present invention provides an audio parameter adjustment method, comprising: obtaining a target audio effect of an audio system, and analyzing the target audio effect to obtain corresponding audio index parameters; determining the target environment in which the audio system is currently located, and calculating environmental optimization parameters of the target environment; calculating optimization parameters of the audio system based on the audio index parameters and the environmental optimization parameters; and adaptively adjusting the audio system based on the optimization parameters.
[0005] Optionally, in a first implementation method of the first aspect of the present invention, a target audio effect of the audio system is obtained, and the target audio effect is analyzed to obtain corresponding audio index parameters, including: obtaining the target audio effect of the audio system based on performance indicators of the audio system; analyzing the target audio effect to determine an equalizer configuration of the audio system corresponding to the target audio effect; and obtaining audio index parameters of the audio system under the target audio effect according to the equalizer configuration.
[0006] Optionally, in a second implementation method of the first aspect of the present invention, parsing the target audio effect and determining the equalizer configuration of the audio system corresponding to the target audio effect includes: performing spectral analysis on the target audio effect to obtain the audio distribution under the target audio effect; obtaining the equalizer type of the audio system, and determining the equalizer configuration of the audio system corresponding to the target audio effect based on the equalizer type and the audio distribution.
[0007] Optionally, in a third implementation method of the first aspect of the present invention, determining the target environment in which the audio system is currently located and calculating the environmental optimization parameters of the target environment include: determining the environmental layout of the target environment in which the audio system is currently located, and sampling the acoustic characteristic data of the target environment based on the environmental layout to obtain the environmental optimization parameters of the target environment.
[0008] Optionally, in a fourth implementation method of the first aspect of the present invention, determining the environmental layout of the target environment where the audio system is currently located, and sampling the acoustic characteristic data of the target environment based on the environmental layout to obtain environmental optimization parameters of the target environment, includes: obtaining the environmental layout of the target environment, and determining the layout position of an audio test device based on the environmental layout; performing an audio test on the target environment based on a full-band audio signal, and obtaining test data of each layout position to obtain acoustic characteristic data of the target environment; drawing a frequency response curve of the target environment based on the acoustic characteristic data, and obtaining the environmental optimization parameters of the target environment based on the frequency response curve.
[0009] Optionally, in a fifth implementation method of the first aspect of the present invention, the environmental layout of the target environment where the audio system is currently located is determined, and acoustic characteristic data of the target environment is sampled based on the environmental layout to obtain environmental optimization parameters of the target environment, including: obtaining the environmental layout of the target environment, and determining the layout position of an audio test device based on the environmental layout; performing an audio test on the target environment based on a full-band audio signal, and obtaining test data of each layout position to obtain acoustic characteristic data of the target environment; establishing an acoustic transfer model of the target environment based on the acoustic characteristic data, and iteratively adjusting the audio parameters of the audio system, and obtaining the environmental optimization parameters of the target environment based on a comparison result of the audio effects corresponding to each audio parameter after the iterative adjustment with the target audio effect.
[0010] Optionally, in a sixth implementation method of the first aspect of the present invention, establishing the acoustic transfer model of the target environment based on the acoustic characteristic data includes: acquiring audio data of a full-band audio signal for an audio test, and extracting test data for each layout position from the acoustic characteristic data; performing machine training and learning based on the audio data and the test data to establish the acoustic transfer model of the target environment.
[0011] Optionally, in a seventh implementation method of the first aspect of the present invention, the audio parameters of the audio system are iteratively adjusted, and the environmental optimization parameters of the target environment are obtained based on a comparison result of the audio effects corresponding to each iteratively adjusted audio parameter with the target audio effect, including: iteratively adjusting the audio parameters of the audio system based on an optimization algorithm, performing an audio test based on the iteratively adjusted audio parameters and the acoustic transfer model to obtain the audio effects corresponding to each audio parameter; selecting an audio effect that matches the target audio effect from each audio effect to obtain an effective audio effect, and obtaining the environmental optimization parameters of the target environment based on the audio parameters corresponding to the effective audio effect.
[0012] Optionally, in an eighth implementation method of the first aspect of the present invention, the optimization parameters of the audio system are calculated based on the audio index parameters and the environmental optimization parameters, including: numerically splitting the environmental optimization parameters to confirm the optimization parameter items and the corresponding optimization parameter values; optimizing the audio index parameters based on the optimization parameter items and the optimization parameter values to calculate the optimization parameters of the audio system.
[0013] Optionally, in a ninth implementation manner of the first aspect of the present invention, the adaptively adjusting the audio system based on the optimization parameters includes: generating an adjustment control instruction based on the optimization parameters, and sending the adjustment control instruction to the audio system to perform an equalizer setting on the audio system and adjust the audio parameters of the audio system.
[0014] Optionally, in a tenth implementation manner of the first aspect of the present invention, generating an adjustment control instruction based on the optimization parameters, and sending the adjustment control instruction to the audio system to perform an equalizer setting on the audio system and adjust the audio parameters of the audio system, includes: obtaining an interface format of the audio system, and formatting the optimization parameters based on the interface format, and generating an adjustment control instruction for the audio system; sending the adjustment control instruction to the equalizer of the audio system, performing an equalizer setting on the audio system by adjusting the equalizer values, and adjusting the audio parameters of the audio system.
[0015] Optionally, in an eleventh implementation manner of the first aspect of the present invention, after the adaptive adjustment of the audio system, it also includes: establishing a corresponding relationship between a preset acoustic transfer model and the target audio parameters, and establishing a model audio configuration library.
[0016] A second aspect of the present invention provides an audio parameter adjustment device, comprising:
[0017] The parsing module obtains the target audio effect of the audio system and parses the target audio effect to obtain corresponding audio index parameters;
[0018] A first calculation module, used to determine the target environment where the audio system is currently located, and calculate the environment optimization parameters of the target environment;
[0019] A second calculation module, used to calculate the optimization parameters of the audio system based on the audio index parameters and the environment optimization parameters;
[0020] An adjustment module is used to adaptively adjust the audio system based on the optimization parameters.
[0021] Optionally, in a first implementation of the second aspect of the present invention, the parsing module includes:
[0022] An acquisition unit is used to obtain a target audio effect of the audio system based on a performance indicator of the audio system; a determination unit is used to analyze the target audio effect and determine an equalizer configuration of the audio system corresponding to the target audio effect; and audio indicator parameters of the audio system under the target audio effect are obtained according to the equalizer configuration.
[0023] Optionally, in a second implementation method of the second aspect of the present invention, the determination unit is specifically used to: perform spectral analysis on the target audio effect to obtain the audio distribution under the target audio effect; obtain the equalizer type of the audio system, and determine the equalizer configuration of the audio system corresponding to the target audio effect based on the equalizer type and the audio distribution.
[0024] Optionally, in a third implementation of the second aspect of the present invention, the first computing module includes: a sampling unit, used to determine the environmental layout of the target environment where the audio system is currently located, and sample acoustic characteristic data of the target environment based on the environmental layout to obtain environmental optimization parameters of the target environment.
[0025] Optionally, in a fourth implementation manner of the second aspect of the present invention, the sampling unit includes:
[0026] The curve calculation subunit is used to: obtain the environmental layout of the target environment, and determine the layout position of the audio test device based on the environmental layout; perform audio testing on the target environment based on the full-band audio signal, and obtain test data of each layout position to obtain acoustic characteristic data of the target environment; draw a frequency response curve of the target environment based on the acoustic characteristic data, and obtain environmental optimization parameters of the target environment based on the frequency response curve.
[0027] Optionally, in a fifth implementation of the second aspect of the present invention, the sampling unit further includes:
[0028] The model building subunit is used to: obtain the environmental layout of the target environment, and determine the layout position of the audio test device based on the environmental layout; perform audio testing on the target environment based on the full-band audio signal, and obtain the test data of each layout position to obtain the acoustic characteristic data of the target environment; establish an acoustic transfer model of the target environment based on the acoustic characteristic data, and iteratively adjust the audio parameters of the audio system, and obtain the environmental optimization parameters of the target environment based on the comparison results of the audio effects corresponding to each audio parameter after iterative adjustment and the target audio effect.
[0029] Optionally, in a sixth implementation of the second aspect of the present invention, the model building subunit is also used to: obtain audio data of a full-band audio signal for audio testing, and extract test data for each layout position from the acoustic characteristic data; perform machine training and learning based on the audio data and the test data to establish an acoustic transfer model of the target environment.
[0030] Optionally, in a seventh implementation manner of the second aspect of the present invention, the model building subunit is specifically used to: iteratively adjust the audio parameters of the audio system based on an optimization algorithm, perform audio testing based on the iteratively adjusted audio parameters and the acoustic transfer model, and obtain audio effects corresponding to each audio parameter; select an audio effect that matches the target audio effect from each audio effect to obtain an effective audio effect, and obtain environmental optimization parameters of the target environment based on the audio parameters corresponding to the effective audio effect.
[0031] Optionally, in an eighth implementation manner of the second aspect of the present invention, the second calculation module includes: a splitting unit, used to numerically split the environmental optimization parameters, confirm the optimization parameter items and the corresponding optimization parameter values; a numerical determination unit, used to optimize the audio index parameters based on the optimization parameter items and the optimization parameter values, and calculate the optimization parameters of the audio system.
[0032] Optionally, in a ninth implementation of the second aspect of the present invention, the adjustment module includes:
[0033] A sending unit is used to generate an adjustment control instruction based on the optimization parameter, and send the adjustment control instruction to the audio system to perform equalizer settings on the audio system and adjust the audio parameters of the audio system.
[0034] Optionally, in the tenth implementation manner of the second aspect of the present invention, the sending unit is specifically used to: obtain the interface format of the audio system, and convert the optimization parameters based on the interface format, and generate adjustment control instructions for the audio system; send the adjustment control instructions to the equalizer of the audio system, set the equalizer of the audio system by adjusting the equalizer value, and adjust the audio parameters of the audio system.
[0035] Optionally, in an eleventh implementation manner of the second aspect of the present invention, the adjustment module further includes: a corresponding unit, configured to establish a corresponding relationship between a preset acoustic transfer model and the target audio parameter, and to establish a model audio configuration library.
[0036] The third aspect of the present invention provides an audio parameter adjustment device, which includes a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the audio parameter adjustment device performs the various steps of the audio parameter adjustment method as described above.
[0037] A fourth aspect of the present invention provides a computer-readable storage medium, on which instructions are stored, and when the instructions are executed by a processor, the various steps of the audio parameter adjustment method described above are implemented.
[0038] In the technical solution provided by the present invention, the target audio effect of the audio system is obtained based on the performance index of the audio system, the audio parameters are matched based on the target audio effect and the preset acoustic transfer model, the target audio parameters corresponding to the preset acoustic transfer model are obtained, and the audio parameters of the audio system are adaptively adjusted based on the target audio parameters. This solution collects environmental acoustic characteristic data through test signals, uses a digital filtering algorithm to calculate a custom parameter configuration scheme, and adjusts the audio effect of the speaker in real time, thereby optimizing the parameters of the speaker based on the acoustic characteristics of different environments, providing a more personalized and immersive music experience, and extending closed tuning to open space scenes actually used by users. Intelligent audio optimization for different environments improves user experience, reduces the cost of audio parameter adjustment, and improves the efficiency and convenience of audio parameter adjustment. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A schematic diagram of a first embodiment of an audio parameter adjustment method provided by an embodiment of the present invention;
[0040] Figure 2 A schematic diagram of a second embodiment of the audio parameter adjustment method provided in an embodiment of the present invention;
[0041] Figure 3 A schematic diagram of a third embodiment of the audio parameter adjustment method provided in an embodiment of the present invention;
[0042] Figure 4 A schematic diagram of the structure of an audio parameter adjustment device provided in an embodiment of the present invention;
[0043] Figure 5 Another structural schematic diagram of the audio parameter adjustment device provided by an embodiment of the present invention;
[0044] Figure 6 A schematic diagram of the structure of an audio parameter adjustment device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0045] In response to the existing audio parameter adjustment methods, this application analyzes the target audio effect of the audio system to obtain the corresponding audio index parameters, calculates the environmental optimization parameters of the target environment where the audio system is currently located, calculates the optimization parameters of the audio system based on the audio index parameters and the environmental optimization parameters, and adaptively adjusts the audio system based on the optimization parameters. This solution collects the acoustic characteristic data of the target environment through test signals, uses a digital filtering algorithm to calculate a customized parameter configuration scheme, and adjusts the audio effect of the speaker in real time. It optimizes the parameters of the speaker based on the acoustic characteristics of different target environments, provides a more personalized and immersive music experience, and expands closed tuning to open space scenarios actually used by users, and optimizes intelligent audio for different target environments.
[0046] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0047] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1A schematic diagram of a first embodiment of an audio parameter adjustment method provided by an embodiment of the present invention, the method specifically comprises the following steps:
[0048] 101. Obtain a target audio effect of an audio system, and analyze the target audio effect to obtain corresponding audio index parameters.
[0049] Acquire performance indicators of the audio system, determine the target audio effect of the audio system based on the performance indicators, analyze the target audio effect using audio editing and analysis software, determine the properties of the target audio effect, and decompose the properties of the target audio effect to obtain audio indicator parameters of the target audio effect in the audio system, wherein the performance indicators include the number of channels, the number of quantization bits, the sampling frequency, the signal-to-noise ratio, the total harmonic distortion, the frequency response, the dynamic range, the stereo separation, the impedance, the power, etc. The target audio effect is the audio effect output when the audio system plays the original audio according to the pre-set performance indicators, the target audio effect includes the clarity, balance, loudness, timbre, sense of space, stereo effect, etc. of the output audio, and the audio indicator parameters are the parameter values for the audio system to achieve the ideal playback effect under ideal conditions.
[0050] In another feasible manner, performance indicators are obtained from system settings of the audio system, and target effect parameters of the audio system are determined based on the performance indicators, the target effect parameters including frequency response range, distortion level, dynamic range, etc., and setting parameter values of the audio system are determined based on the target effect parameters, the setting parameter values including equalizer parameters, compressor parameters, etc., and the target audio effect of the audio system is determined based on the setting parameter values of the audio system and a test audio signal. Import the target audio effect sample into the selected audio editing and analysis software for audio effect analysis. Specifically, use the spectrum analysis tool in the software to observe the spectrum distribution of the target audio effect, identify the enhancement or attenuation of specific frequency bands, and possible harmonic or overtone structures through the spectrum graph, observe the waveform graph of the target audio effect, analyze the amplitude, period, phase and other characteristics of the signal, identify the dynamic changes, transient response and possible distortion or noise of the signal through the waveform graph, use dynamic analysis tools such as compressor or limiter analysis to evaluate the dynamic range, compression ratio and release time and other parameters of the target audio effect, if the target audio effect involves stereo processing, such as reverberation, echo or stereo width adjustment, use stereo analysis tools to evaluate the properties of these effects, analyze the balance, phase relationship and spatial sense of the left and right channels to understand the presentation method and quality of the stereo effect, based on the above analysis, determine the properties of the target audio effect, the properties include frequency response characteristics, dynamic processing characteristics, stereo processing characteristics, distortion and noise characteristics, etc. Based on the properties of the target audio effect, splitting and index parameter mapping are performed. Specifically, the frequency response characteristics map the enhanced frequency band and the weakened frequency band, the dynamic processing characteristics map the compression ratio, release time and attack time, the stereo processing characteristics map the stereo width, reverberation depth and echo time, and the distortion and noise characteristics map the harmonic distortion and intermodulation distortion, and the background noise level. After obtaining the preliminary audio index parameters, these parameters are refined and optimized according to the characteristics and limitations of the audio system.
[0051] 102. Determine the target environment where the audio system is currently located, and calculate environmental optimization parameters of the target environment.
[0052] The environmental optimization parameters are the corresponding adjustment parameter values in the audio system due to the influence of the environmental structure on the audio propagation. In this solution, regarding the calculation of the environmental optimization parameters of the target environment, the environmental optimization parameters of the target environment can be directly calculated by calculating the influence of the target environment on the audio propagation, or the acoustic transfer model of the target environment can be established, the audio parameters can be iteratively adjusted, and the environmental optimization parameters of the target environment can be determined according to the iteratively adjusted audio parameters.
[0053] In one feasible method, target environment data is collected, including environment size and shape, material sound absorption coefficient, environmental noise level, reflective surface and diffusion surface, and acoustic simulation software is used to input the target environment data, simulate the propagation path and reflection of sound waves in the environment, calculate the reverberation time of the environment based on the environment size and material sound absorption coefficient, and simulate the propagation and attenuation of different frequencies in the environment to obtain a frequency response curve, calculate the frequency band that needs to be enhanced or weakened based on the frequency response curve, and convert it into setting parameters of the equalizer, and convert the reverberation characteristics of the target environment into audio parameters of the audio system based on the target audio effect, reverberation time and environmental noise level to obtain the environmental optimization parameters of the target environment.
[0054] In another feasible manner, an acoustic transfer model of the target environment is established according to the environmental layout of the target environment, and initial audio parameters such as equalizer settings, reverberation time, noise suppression, etc. are set according to the target audio effect. The initial parameters are applied to the acoustic transfer model, and a simulation test is performed. The difference between the simulation results and the target audio effect is analyzed, and the audio parameters are adjusted according to the difference between the simulation results and the target effect. The process of simulation testing and parameter adjustment is repeated. During the iterative adjustment process, the audio parameters and corresponding results of each simulation are recorded, and the audio parameter combination that can best achieve the target audio effect is determined to obtain the environmental optimization parameters of the target environment.
[0055] 103. Based on the audio index parameters and the environment optimization parameters, the optimization parameters of the audio system are calculated.
[0056] The audio index parameters and environmental optimization parameters are numerically decomposed to determine each parameter item and the corresponding parameter value. The parameter items with inconsistent parameter values in the audio index parameters and environmental optimization parameters are compared to determine the optimized parameter items that need to be optimized in each parameter, and the optimized parameter values corresponding to each optimized parameter item are obtained. The optimized parameter items and optimized parameter values are integrated to obtain the optimized parameters of the audio system.
[0057] Integrate audio index parameters and environmental optimization parameters. For equalizer optimization parameters, calculate the optimization parameters of the equalizer in the audio system according to the equalizer settings in the audio index parameters and the frequency response characteristics that may be affected by the environmental optimization parameters. For dynamic processing optimization parameters, calculate the optimization parameters of dynamic processing components such as compressors, limiters or automatic gain control (AGC) in the audio system in combination with the dynamic processing requirements in the audio index parameters and the reverberation time and echo effects that may be affected by the environmental optimization parameters. For stereo processing optimization parameters, calculate the optimization parameters of stereo processing components such as stereo width adjustment and reverberation depth control in the audio system according to the stereo processing requirements in the audio index parameters and the stereo propagation effects that may be affected by the environmental optimization parameters. For input and output parameter adjustment, adjust the input and output parameters of the audio system, such as gain control, noise suppression, etc., according to the acoustic improvement measures recommended in the environmental optimization parameters, so as to better adapt to the acoustic characteristics of the environment. Specifically, the environment optimization parameters and audio index parameters are numerically split, including the frequency points and gain values in the equalizer parameters, the compression ratio, threshold, attack time and release time in the dynamic processing parameters, and the stereo width and reverberation depth in the stereo processing parameters. The audio index parameters are compared with the environment optimization parameters, and the parameter values of the equalizer, dynamic processing, stereo processing, etc. are compared item by item. The items with inconsistent parameter values or those that need to be adjusted are identified, such as mismatched parameter values of the equalizer settings, and it is determined that the equalizer setting parameter items need to be optimized. For inconsistent parameter items, the audio index parameters are adjusted according to the parameter values in the environment optimization parameters, and the optimized parameter items and the corresponding optimized parameter values are recorded to form an audio system optimization table to obtain the optimized parameters of the audio system.
[0058] 104. Adaptively adjust the audio system based on the optimized parameters.
[0059] The optimization parameters are parameter values that need to be adjusted for the audio system in order to make the audio signal played by the audio system reach the preset index parameters of the audio system under the target environment. Generate an adjustment control instruction based on the optimization parameters, and send the adjustment control instruction to the audio system to set the equalizer of the audio system and adjust the audio parameters of the audio system. Obtain the interface format of the audio system, and convert the format of the optimization parameters based on the interface format, and generate the adjustment control instruction of the audio system, send the adjustment control instruction to the equalizer of the audio system, and set the equalizer of the audio system by adjusting the equalizer value to adjust the audio parameters of the audio system. Specifically, the optimization parameter items and the corresponding optimization parameter values are mapped to the control parameters recognizable by the audio system. For example, the gain values of each frequency band of the equalizer are mapped to the specific values on the equalizer control interface of the audio system. According to the control protocol or API (application programming interface) of the audio system, the corresponding adjustment control instructions are written. The adjustment control instructions should include specific parameter items and corresponding parameter values. The written adjustment control instructions are checked to ensure that their formats are correct, the parameter values are within a reasonable range, and they match the control requirements of the audio system. The control devices (such as computers, mobile devices) are connected to the audio system through appropriate connection methods (such as wired connection, wireless connection, network connection, etc.). The system then connects the audio system to the control software or API provided by the audio system, sends the verified adjustment control instructions to the audio system, and waits for the audio system to confirm the received adjustment control instructions, which is usually manifested as an update of the system interface, a change of the status indicator light, or a returned confirmation message. According to the sent adjustment control instructions, the audio system will adjust the settings of its equalizer, including adjusting the gain value of each frequency band to improve the frequency response characteristics of the audio. In addition to the equalizer settings, other audio parameters can also be adjusted according to the optimization parameters, such as dynamic processing parameters (compression ratio, threshold, etc.) and stereo processing parameters (stereo width, reverberation depth, etc.). The interface format of the audio system is obtained, and the optimized parameter items are mapped to the corresponding parameter identifiers or labels in the audio system interface format, and the optimized parameter values are encoded according to the interface format requirements, and the adjustment control instructions are constructed in combination with the control command structure of the audio system and the encoded optimized parameter values. The adjustment control instructions include the necessary command header, parameter identifier and parameter value, as well as possible checksums or terminators, and a programming language or script tool is used to generate a specific adjustment control instruction string or data packet according to the constructed adjustment control instruction structure, and a suitable communication method (such as serial communication, network communication, etc.) is selected according to the interface format of the audio system, and the generated adjustment control instruction is sent to the audio system. This usually involves steps such as opening the communication port, configuring communication parameters (such as baud rate, data bit, etc.), sending instruction data, and closing the communication port.After receiving the adjustment control instruction, the audio system parses the parameter identifier and parameter value in the instruction. According to the parameter value obtained by the analysis, the equalizer automatically adjusts the gain value of each frequency band to optimize the audio parameters of the audio system.
[0060] This solution realizes the ability of the smart speaker system to intelligently calculate the customized audio parameter configuration scheme according to the acoustic characteristics of different actual environments. In this embodiment, by arranging the test unit, that is, the audio test device, in the environment, obtaining audio samples at different points and analyzing and processing, the acoustic transfer model of the environment can be effectively restored, and the reflection, dissipation and other effect parameters of the sound wave in the specific environment can be obtained. This is the basis for building a high-precision digital environment model. The key technology includes a test signal frequency response analysis method based on fast Fourier transform and transfer function theory. After obtaining the environmental acoustic model, the system calls a digital filter algorithm optimized for the parameter equalizer, such as using a double quadratic IIR filter structure, and performing multi-parameter fitting through simulated annealing and other methods. It can accurately calculate the customized equalizer settings required by the speaker system in the environment, thereby making targeted adjustments to the audio source signal. The calculation process can be automated without manual intervention. Finally, the system applies the parameter settings to the digital filter actually running on the speaker to form a closed-loop feedback control, optimize the audio effect in real time, and summarize the configurations of multiple environments as reference cases to establish a library. In general, this solution breaks through the limitation that speaker audio parameters cannot be intelligently optimized for open spaces. It realizes the ability to automatically calculate custom parameters based on the measured environmental acoustic model using a digital filtering algorithm, thereby achieving the purpose of optimizing personalized audio effects and greatly improving the user experience.
[0061] See also Figure 2 A second embodiment of the audio parameter adjustment method provided by an embodiment of the present invention is shown in FIG. 1 , wherein the method specifically comprises the following steps:
[0062] 201. Obtain a target audio effect of an audio system, and analyze the target audio effect to obtain corresponding audio index parameters.
[0063] A target audio effect of the audio system is obtained based on the performance index of the audio system, the target audio effect is analyzed, the equalizer configuration of the audio system corresponding to the target audio effect is determined, and audio index parameters of the audio system under the target audio effect are obtained according to the equalizer configuration.
[0064] Specifically, the target audio effect is analyzed, and the spectrum analysis of the target audio effect is determined. According to the spectrum analysis results, the frequency band that needs to be adjusted is selected. For example, if the low-frequency effect is to be enhanced, the low-frequency band (such as 60-250Hz) should be paid attention to. According to the requirements of the target audio effect, a suitable gain value is set for each selected frequency band. If the target effect is warm, it may be necessary to increase the gain in the low and mid-frequency. If the target effect is bright, it may be necessary to increase the gain in the high frequency. The gain in a specific frequency area is finely controlled through Q value adjustment. Through curve smoothing, it is ensured that the gain adjustment has a smooth transition between frequency bands. The equalizer configuration of the audio system corresponding to the target audio effect is determined based on the spectrum analysis results. According to the equalizer configuration, the audio index parameters of the audio system under the target audio effect are obtained. The equalizer configuration includes frequency band selection, gain adjustment, Q value adjustment, and phase distortion adjustment. The type of equalizer is identified by software, and the equalizer configuration of the audio system is determined based on the equalizer type and audio distribution. The audio index parameters of the audio system under the target audio effect are obtained according to the equalizer configuration. First, the audio analysis software is used to identify the type of equalizer in the audio system, and the frequency response characteristics, filtering method and control parameters of the equalizer are determined. Then, the distribution of the audio signal and the spectral characteristics of the distribution are analyzed. The configuration of the equalizer is determined based on the analysis results of the equalizer type and audio distribution. Finally, the audio index parameters of the audio system under the target audio effect are measured and calculated.
[0065] 202. Determine the environment layout of the target environment where the audio system is currently located, and sample acoustic characteristic data of the target environment based on the environment layout to obtain environmental optimization parameters of the target environment.
[0066] Determine the environmental layout of the target environment where the audio system is currently located, and sample the acoustic characteristic data of the target environment based on the environmental layout to obtain the environmental optimization parameters of the target environment. Obtain the environmental layout of the target environment, and determine the layout position of the audio test device based on the environmental layout, perform audio testing on the target environment based on full-band audio signals, and obtain the test data of each layout position to obtain the acoustic characteristic data of the target environment, draw the frequency response curve of the target environment based on the acoustic characteristic data, and obtain the environmental optimization parameters of the target environment based on the frequency response curve; or, obtain the environmental layout of the target environment, and determine the layout position of the audio test device based on the environmental layout, perform audio testing on the target environment based on full-band audio signals, and obtain the test data of each layout position to obtain the acoustic characteristic data of the target environment, establish an acoustic transfer model of the target environment based on the acoustic characteristic data, and iteratively adjust the audio parameters of the audio system, and obtain the environmental optimization parameters of the target environment based on the comparison results of the audio effects corresponding to each audio parameter after iterative adjustment and the target audio effects.
[0067] Specifically, the test data of the audio test device at each layout position is collected to obtain the acoustic characteristic data, the collected acoustic characteristic data is processed, the sound pressure level or response value of each frequency point is extracted, and the frequency response curve is drawn using drawing software or tools with the frequency as the horizontal axis and the sound pressure level or response value as the vertical axis. The shape, peak and valley positions and change trend of the frequency response curve are observed to understand the acoustic characteristics of the target environment. According to the analysis results of the frequency response curve, the frequency band or frequency point to be optimized is determined. Based on the analysis results of the frequency response curve and the optimization target, the environmental optimization parameters are calculated; or the acoustic characteristic data of the target environment, including the sound pressure level, reflection coefficient, reverberation time, etc. at different frequencies, is collected, and the data is processed to extract key parameters and eliminate noise and interference. The acoustic transfer model of the target environment is constructed based on the collected data using acoustic software or programming tools. The model should be able to describe the characteristics of sound wave propagation, reflection and attenuation in the environment. According to the basic configuration and preset parameters of the audio system and the acoustic transfer model, the environmental optimization parameters of the target environment are calculated.
[0068] 203. Determine optimization parameter items and corresponding optimization parameter values in audio index parameters of the audio system based on the environment optimization parameters, and obtain optimization parameters of the audio system according to the optimization parameter items and the optimization parameter values.
[0069] The audio index parameters and environmental optimization parameters are numerically decomposed to determine each parameter item and the corresponding parameter value. The parameter items with inconsistent parameter values in the audio index parameters and environmental optimization parameters are compared to determine the optimized parameter items that need to be optimized in each parameter, and the optimized parameter values corresponding to each optimized parameter item are obtained. The optimized parameter items and optimized parameter values are integrated to obtain the optimized parameters of the audio system.
[0070] 204. Calculate optimization parameters of the audio system based on the audio index parameters and the environment optimization parameters.
[0071] The audio index parameters and environmental optimization parameters are numerically decomposed to determine each parameter item and the corresponding parameter value. The parameter items with inconsistent parameter values in the audio index parameters and environmental optimization parameters are compared to determine the optimized parameter items that need to be optimized in each parameter, and the optimized parameter values corresponding to each optimized parameter item are obtained. The optimized parameter items and optimized parameter values are integrated to obtain the optimized parameters of the audio system.
[0072] 205. Adaptively adjust the audio system based on the optimized parameters.
[0073] An adjustment control instruction is generated based on the optimization parameter, and the adjustment control instruction is sent to the audio system to perform equalizer settings on the audio system and adjust the audio parameters of the audio system.
[0074] This solution collects environmental acoustic characteristic data through test signals, uses digital filtering algorithms to calculate custom parameter configuration solutions, and adjusts the audio effects of the speakers in real time, achieving intelligent audio optimization for different environments.
[0075] See also Figure 3 A third embodiment of the audio parameter adjustment method provided by an embodiment of the present invention is shown in FIG. 1 , wherein the method specifically comprises the following steps:
[0076] 301. Obtain a target audio effect of an audio system.
[0077] The performance index of the audio system is obtained, and the target audio effect of the audio system is obtained according to the performance index. Specifically, the performance index of the audio system is loaded, the frequency response data of the audio system is determined, and the audio performance curve of the audio system is drawn, and the performance results of the audio in each frequency band based on the audio performance curve are determined based on the test audio to obtain the target audio effect.
[0078] 302. Determine a target environment where the audio system is currently located, and establish an acoustic transfer model of the target environment based on acoustic characteristic data of the target environment.
[0079] Determine the target environment where the audio system is currently located, obtain the environment layout of the target environment, and after the audio test device is arranged, perform audio testing on the target environment and collect test data to obtain the acoustic characteristic data of the target environment, and establish an acoustic transfer model based on the acoustic characteristic data, wherein the audio test device includes a speaker and a microphone, and the acoustic transfer model includes parameters such as the volume size of the environment, wall reflection characteristics, sound field distribution, and standing waves. Specifically, select multiple sampling points in the target environment, arrange test speakers and microphones, play the test audio signal built into the speaker, and the frequency band covers the full frequency band. Use the microphone to collect the audio signal of each point to obtain the frequency response test data of the target environment at multiple points, perform frequency analysis on the collected test data of multiple sampling points, extract the frequency response curve, analyze the frequency response differences between different points, and establish the acoustic transfer model of the environment. Specifically, by arranging the audio test device in the environment, obtaining audio samples at different points and analyzing and processing, the reflection, dissipation and other effect parameters of the sound wave in the specific environment are obtained, and the acoustic transfer model of the environment is established. In establishing an acoustic transfer model, key technologies include a test signal frequency response analysis method based on fast Fourier transform and transfer function theory. The test signal frequency response analysis method based on fast Fourier transform (FFT) and transfer function theory combines the efficient spectrum analysis capability of FFT and the advantages of transfer function theory in system analysis, thereby realizing accurate analysis of the test signal frequency response. Specifically, firstly, the input and output data of the test signal are collected, which can be a time domain signal or a preprocessed signal. Then, the input and output signals are spectrally analyzed using the FFT algorithm, and they are converted from the time domain to the frequency domain to obtain the amplitude and phase information of the signal at each frequency component. Then, according to the spectrum data of the input and output signals, the transfer function of the system is calculated, and the transfer function includes the gain and phase information at different frequencies. Finally, by analyzing the transfer function, the frequency response characteristics can be obtained to establish an acoustic transfer model. The frequency response characteristics include the change of the system gain with frequency, the change of the phase with frequency, etc.
[0080] In practical applications, when it is necessary to determine the audio parameters of the audio system according to the environment, the speaker position and the microphone position can be determined according to the size of the environment and the layout of the environment. In general, the speaker is located in the center of the environment, and the microphone is located at multiple different positions in the environment, such as positions 1, 2, and 3. The frequency range of the test audio is 20Hz-20kHz. The test audio uses a sweep signal to collect the frequency response data of the microphone at each position based on the test audio at each frequency. The frequency response data is the sound response of the audio test device at different positions at different frequencies. By comparing the frequency response data at different positions, it can be found that there are differences in the sound field distribution in the environment. For example, the response of positions 1 and 2 is generally higher than that of position 3, which means that there are acoustic focusing or echo phenomena at these positions in the environment. Then, based on the frequency response data, a frequency response curve is drawn, and the frequency response curve is analyzed to find the peak or valley value of each position at a certain frequency, and the relationship between the resonant frequency or sound absorption performance of the environment and sound propagation is determined. At the same time, the differences between the curves are noted, especially the response differences at certain specific frequencies. Based on the frequency response curve, the impact of the environment on sound propagation is determined, and the acoustic characteristic data of the environment is analyzed, including the geometric shape of the environment, the sound absorption performance of the material, the distribution of the reflective surface, and the distance between the test point and the sound source and the reflective surface. The acoustic characteristic data is used as an input parameter, and different acoustic models such as geometric acoustic models, wave acoustic models, or statistical energy models are selected according to the complexity of the environment and the required accuracy. For example, for an environment with a simple shape, a geometric acoustic model is selected, and for a complex shape or where higher accuracy is required, a more complex model is used. Mathematical tools (such as matrix equations, finite element methods, or boundary element methods) are used to describe the propagation and reflection process of sound waves in the environment, and the boundary conditions and material properties of the environment are considered. The established acoustic transfer model is compared with the actual frequency response test data, and the prediction performance of the model is optimized by adjusting the model parameters.
[0081] 303. Iteratively adjust audio parameters of the audio system, and determine an audio effect corresponding to each audio parameter.
[0082] The audio parameters of the audio system are iteratively adjusted based on the optimization algorithm, and audio tests are performed based on the iteratively adjusted audio parameters and the acoustic transfer model to obtain the audio effects corresponding to each audio parameter. Specifically, after obtaining the acoustic transfer model, a multi-band filter optimization algorithm optimized for a parametric equalizer is used, and multi-parameter fitting is performed using methods such as simulated annealing to calculate the custom equalizer settings required for the audio system in the target environment, and determine the audio effects corresponding to each audio parameter.
[0083] In practical applications, first, according to the characteristics of the audio system and the acoustic transfer model, the parameters of the equalizer are initialized. The parameters may include the gain and Q value of different frequency bands, etc., and an objective function is defined to evaluate the audio quality under the current equalizer parameter settings. The objective function can be constructed based on factors such as the smoothness of the frequency response curve, the total harmonic distortion of the speaker system, and the sound pressure level distribution in the environment. The system calls a digital filter algorithm optimized for the parameter equalizer. The digital filter algorithm simulates the propagation and reflection process of the audio signal in the environment according to the current equalizer parameters and the acoustic transfer model, and calculates the corresponding frequency response characteristics. Based on the frequency response characteristics, the audio effect under the audio parameters of each audio system is determined. The simulated annealing algorithm is used to perform multi-parameter fitting on the equalizer parameters. The simulated annealing algorithm is a heuristic search algorithm that can find the optimal solution in the global range. In this process, it continuously tries to adjust the equalizer parameters and evaluates the quality of the parameters according to the feedback of the objective function. Through multiple iterations, the equalizer parameter settings that make the objective function optimal are gradually found. In each iteration, the algorithm calculates the audio effect according to the current parameter settings, compares it with the target audio effect, and then adjusts the parameters according to the comparison results.
[0084] 304. Compare each audio effect with the target audio effect, and select an audio effect having the smallest error with the target audio effect from among the audio effects to obtain a valid audio effect.
[0085] Compare each audio effect with the target audio effect, calculate the error between each audio effect and the target audio effect, select the audio effect that matches the target audio effect from each audio effect, and obtain an effective audio effect. Specifically, compare the audio effect of the test audio with the target audio effect, and select appropriate evaluation indicators, the evaluation indicators include spectrum distribution, loudness, timbre similarity, dynamic range, etc., calculate the error value between each audio effect and the target audio effect according to the selected evaluation indicators, the error calculation can adopt absolute error, relative error or mean square error and other methods, analyze the calculated error value, understand the difference between each audio effect and the target audio effect, select the audio effect with the smallest error value with the target audio effect from each audio effect, determine the audio effect as the audio effect that matches the target audio effect, and obtain an effective audio effect. In another achievable method, determine the audio performance curve of the audio system based on the performance indicators of the audio system, establish the acoustic transfer model of the target environment based on the target environment, match the acoustic transfer model with the audio performance curve, and calculate the audio parameters of the audio system in the current target environment through a multi-band filter optimization algorithm.
[0086] 305. Acquire audio parameters corresponding to the effective audio effect, obtain optimization parameters of the audio system, and adaptively adjust the audio system based on the optimization parameters.
[0087] Obtain audio parameters corresponding to effective audio effects, determine that the audio parameters are audio parameters when the audio signal played by the audio system in the current target environment achieves the target audio playback effect, obtain the current audio parameters of the audio system, and compare the current audio parameters with the audio parameters corresponding to the effective audio effects, confirm that the parameter items with differences are the parameter items that need to be optimized for the audio system, integrate all the parameter items that need to be optimized, obtain the optimized parameters of the audio system, and adaptively adjust the audio system based on the optimized parameters. Through the performance indicators of the audio system, the frequency response characteristics of the audio system, the audio performance curve, the target audio effect, and the audio indicator parameters can be obtained. In summary, by adjusting the audio parameters of the audio system, the frequency response characteristics based on the acoustic transfer model under each audio parameter are obtained, and each frequency response characteristic is compared with the target frequency response characteristic of the audio system. Based on the comparison result and the optimization algorithm, the frequency response characteristics matching the target frequency response characteristics are selected from each frequency response characteristic to obtain the effective frequency response characteristics. The corresponding audio parameters are determined based on the effective frequency response characteristics, and the optimization parameters of the audio system are determined, wherein the frequency response characteristics are the frequency response characteristics of the audio, which are used to describe the response of the audio system to audio signals of different frequencies, and specifically reflect the changes in the amplitude and phase of the output signal of the audio system when sinusoidal signals of different frequencies are input. The frequency response characteristics of the audio are usually composed of the amplitude-frequency characteristics and the phase-frequency characteristics. The amplitude-frequency characteristics describe the gain (or attenuation) of signals of different frequencies, and the phase-frequency characteristics describe the phase shift of signals of different frequencies; or, by adjusting the audio parameters of the audio system, the frequency response characteristics of the audio system are obtained. A frequency response curve based on the acoustic transfer model under each audio parameter, and each frequency response curve is compared with the audio performance curve of the audio system, and a frequency response curve matching the audio performance curve is selected from each frequency response curve based on the comparison result and the optimization algorithm to obtain an effective frequency response curve, and the corresponding audio parameters are determined based on the effective frequency response curve to determine the optimization parameters of the audio system; or, the environmental optimization parameters of the environment where the audio system is located are calculated, and the optimization parameters of the audio system are determined based on the audio index parameters and the environmental optimization parameters of the audio system to obtain the optimization parameters of the audio system; by adjusting the audio parameters of the audio system, the audio effects based on the acoustic transfer model under each audio parameter are obtained, and each audio effect is compared with the target audio effect of the audio system, and the audio effect matching the target audio effect is selected from each audio effect based on the comparison result and the optimization algorithm to obtain an effective audio effect, and the corresponding audio parameters are determined based on the effective audio effect to determine the optimization parameters of the audio system.
[0088] This solution achieves a technical solution by obtaining environmental acoustic characteristic data, analyzing and obtaining audio optimization parameters, and adjusting digital filters in real time. It can achieve intelligent customized audio effect optimization for different environments and provide a better music experience. It realizes the ability of intelligent speaker system to intelligently customize audio parameter configuration according to the actual acoustic characteristics of different environments through test collection, model analysis and digital filtering algorithm calculation. This breaks the limitation of existing products that can only preset fixed audio effects, and achieves the technical effect of personalized audio optimization for open space scenes.
[0089] The above describes the audio parameter adjustment method in the embodiment of the present invention. The following describes the audio parameter adjustment device in the embodiment of the present invention in detail from the perspective of modular functional entities. Figure 4 , a structural diagram of an audio parameter adjustment device provided by an embodiment of the present invention includes:
[0090] The analysis module 410 obtains the target audio effect of the audio system, and analyzes the target audio effect to obtain corresponding audio index parameters;
[0091] A first calculation module 420, configured to determine a target environment in which the audio system is currently located, and calculate an environment optimization parameter of the target environment;
[0092] A second calculation module 430, configured to calculate an optimization parameter of the audio system based on the audio index parameter and the environment optimization parameter;
[0093] The adjustment module 440 is used to adaptively adjust the audio system based on the optimization parameters.
[0094] This solution analyzes the target audio effect of the audio system to obtain the corresponding audio index parameters, determines the current target environment of the audio system, and calculates the environmental optimization parameters of the target environment. Based on the audio index parameters and the environmental optimization parameters, the optimization parameters of the audio system are calculated, and the audio system is adaptively adjusted based on the optimization parameters.
[0095] See also Figure 5 , another structural diagram of the audio parameter adjustment device provided by an embodiment of the present invention includes:
[0096] The analysis module 510 obtains the target audio effect of the audio system, and analyzes the target audio effect to obtain corresponding audio index parameters;
[0097] A first calculation module 520, configured to determine a target environment in which the audio system is currently located, and calculate an environment optimization parameter of the target environment;
[0098] A second calculation module 530, configured to calculate an optimization parameter of the audio system based on the audio index parameter and the environment optimization parameter;
[0099] The adjustment module 540 is used to adaptively adjust the audio system based on the optimization parameters.
[0100] In this embodiment, the parsing module 510 includes:
[0101] An acquisition unit 511 is used to obtain a target audio effect of the audio system based on performance indicators of the audio system; a determination unit 512 is used to analyze the target audio effect and determine an equalizer configuration of the audio system corresponding to the target audio effect; and obtain audio indicator parameters of the audio system under the target audio effect according to the equalizer configuration.
[0102] In this embodiment, the determination unit 512 is specifically used to: perform spectral analysis on the target audio effect to obtain the audio distribution under the target audio effect; obtain the equalizer type of the audio system, and determine the equalizer configuration of the audio system corresponding to the target audio effect based on the equalizer type and the audio distribution.
[0103] In this embodiment, the first calculation module 520 includes:
[0104] The sampling unit 521 is used to determine the environment layout of the target environment where the audio system is currently located, and sample the acoustic characteristic data of the target environment based on the environment layout to obtain the environment optimization parameters of the target environment.
[0105] In this embodiment, the sampling unit 521 includes:
[0106] The curve calculation subunit 5211 is used to: obtain the environmental layout of the target environment, and determine the layout position of the audio test device based on the environmental layout; perform audio testing on the target environment based on the full-band audio signal, and obtain test data of each layout position to obtain acoustic characteristic data of the target environment; draw a frequency response curve of the target environment based on the acoustic characteristic data, and obtain environmental optimization parameters of the target environment based on the frequency response curve.
[0107] In this embodiment, the sampling unit 521 further includes:
[0108] The model building subunit 5212 is used to: obtain the environmental layout of the target environment, and determine the layout position of the audio test device based on the environmental layout; perform audio testing on the target environment based on the full-band audio signal, and obtain the test data of each layout position to obtain the acoustic characteristic data of the target environment; establish an acoustic transfer model of the target environment based on the acoustic characteristic data, and iteratively adjust the audio parameters of the audio system, and obtain the environmental optimization parameters of the target environment based on the comparison result of the audio effects corresponding to each audio parameter after iterative adjustment with the target audio effect.
[0109] In this embodiment, the model building subunit 5212 is also used to: obtain audio data of the full-band audio signal for audio testing, and extract test data for each layout position from the acoustic characteristic data; perform machine training and learning based on the audio data and the test data to establish an acoustic transfer model of the target environment.
[0110] In this embodiment, the model building subunit 5212 is specifically used to: iteratively adjust the audio parameters of the audio system based on the optimization algorithm, perform audio testing based on the iteratively adjusted audio parameters and the acoustic transfer model to obtain audio effects corresponding to each audio parameter; select an audio effect that matches the target audio effect from each audio effect to obtain an effective audio effect, and obtain the environmental optimization parameters of the target environment based on the audio parameters corresponding to the effective audio effect.
[0111] In this embodiment, the second calculation module 530 includes:
[0112] The splitting unit 531 is used to perform numerical splitting on the environmental optimization parameters, confirm the optimization parameter items and the corresponding optimization parameter values; the numerical determination unit 532 is used to optimize the audio index parameters based on the optimization parameter items and the optimization parameter values, and calculate the optimization parameters of the audio system.
[0113] In this embodiment, the adjustment module 540 includes:
[0114] The sending unit 541 is used to generate an adjustment control instruction based on the optimization parameter, and send the adjustment control instruction to the audio system to perform equalizer settings on the audio system and adjust the audio parameters of the audio system.
[0115] In this embodiment, the sending unit 541 is specifically used to: obtain the interface format of the audio system, convert the optimization parameters into a format based on the interface format, and generate an adjustment control instruction for the audio system; send the adjustment control instruction to the equalizer of the audio system, set the equalizer of the audio system by adjusting the equalizer value, and adjust the audio parameters of the audio system.
[0116] In this embodiment, the adjustment module 540 further includes:
[0117] The corresponding unit 542 is used to establish a corresponding relationship between the preset acoustic transfer model and the target audio parameter, and to establish a model audio configuration library.
[0118] This solution collects environmental acoustic characteristic data through test signals, uses digital filtering algorithms to calculate customized parameter configuration solutions, and adjusts the audio effects of the speakers in real time. It optimizes the parameters of the speakers based on the acoustic characteristics of different environments, provides a more personalized and immersive music experience, and extends closed tuning to open space scenarios actually used by users. It optimizes intelligent audio for different environments and improves user experience.
[0119] above Figure 4-5 The audio parameter adjustment device in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The audio parameter adjustment device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0120] See also Figure 6 As shown, the audio parameter adjustment device includes a processor 600 and a memory 601. The memory 601 stores machine executable instructions that can be executed by the processor 600. The processor 600 executes the machine executable instructions to implement the above audio parameter adjustment method.
[0121] Further, Figure 6 The audio parameter adjustment device shown further includes a bus 602 and a communication interface 603 , and the processor 600 , the communication interface 603 and the memory 601 are connected via the bus 602 .
[0122] The memory 601 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), for example, at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 603 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 602 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0123] The processor 600 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 600. The above processor 600 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor to be executed, or a combination of hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 601 , and the processor 600 reads the information in the memory 601 and completes the method steps of the above-mentioned embodiment in combination with its hardware.
[0124] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the various steps of the audio parameter adjustment method provided in the above-mentioned embodiments.
[0125] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described equipment, devices, and units can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.
[0126] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially 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. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0127] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for adjusting audio parameters, It is characterized in that The audio parameter adjustment method comprises: Obtaining a target audio effect of the audio system, and analyzing the target audio effect to obtain corresponding audio index parameters; Determine the target environment in which the audio system is currently located, and calculate the environment optimization parameters of the target environment; Calculating the optimization parameters of the audio system based on the audio index parameters and the environment optimization parameters; Adaptively adjusting the audio system based on the optimization parameters; The method of obtaining the target audio effect of the audio system and analyzing the target audio effect to obtain the corresponding audio index parameters includes: obtaining performance indicators from the system settings of the audio system, determining the target audio effect of the audio system based on each performance indicator, importing the target audio effect sample into the selected audio editing and analysis software for audio effect analysis, and obtaining the spectrum distribution of the target audio effect, wherein the spectrum distribution includes a spectrum diagram and a waveform diagram, and performing analysis based on the spectrum diagram and the waveform diagram, wherein the analysis based on the spectrum diagram and the waveform diagram identifies the enhancement or attenuation of a specific frequency band and the harmonic or overtone structure through the spectrum diagram, and analyzes the amplitude, period and phase of the signal through the waveform diagram. The waveform diagram is used to identify the dynamic changes, transient responses, and distortion or noise of the signal; based on the analysis results, the properties of the target audio effect are determined, and the properties include frequency response characteristics, dynamic processing characteristics, stereo processing characteristics, distortion, and noise; based on the properties of the target audio effect, splitting and index parameter mapping are performed to obtain audio index parameters, wherein the splitting and index parameter mapping include: mapping the frequency response characteristics to the enhanced frequency band and the weakened frequency band, mapping the dynamic processing characteristics to the compression ratio, the release time, and the attack time, mapping the stereo processing characteristics to the stereo width, the reverberation depth, and the echo time, and mapping the distortion and noise characteristics to the harmonic distortion, the intermodulation distortion, and the background noise level; The determining the target environment where the audio system is currently located and calculating the environmental optimization parameters of the target environment includes: determining the environmental layout of the target environment where the audio system is currently located, and sampling the acoustic characteristic data of the target environment based on the environmental layout to obtain the environmental optimization parameters of the target environment; The step of determining the environment layout of the target environment where the audio system is currently located, and sampling acoustic characteristic data of the target environment based on the environment layout to obtain environmental optimization parameters of the target environment includes: obtaining the environment layout of the target environment, and determining the layout position of an audio test device based on the environment layout; performing an audio test on the target environment based on a full-band audio signal, and obtaining test data of each layout position to obtain acoustic characteristic data of the target environment; and obtaining environmental optimization parameters of the target environment based on the acoustic characteristic data; The step of calculating the optimization parameters of the audio system based on the audio index parameters and the environment optimization parameters includes: numerically splitting the environment optimization parameters to confirm optimization parameter items and corresponding optimization parameter values; optimizing the audio index parameters based on the optimization parameter items and the optimization parameter values to calculate the optimization parameters of the audio system; The adaptively adjusting the audio system based on the optimization parameters includes: generating an adjustment control instruction based on the optimization parameters, and sending the adjustment control instruction to the audio system to perform equalizer settings on the audio system and adjust the audio parameters of the audio system; After the audio system is adaptively adjusted, the method further includes: establishing a corresponding relationship between a preset acoustic transfer model and the audio index parameter, and establishing a model audio configuration library.
2. The audio parameter adjustment method according to claim 1, It is characterized in that The obtaining the environment optimization parameters of the target environment based on the acoustic characteristic data includes: A frequency response curve of the target environment is drawn based on the acoustic characteristic data, and an environmental optimization parameter of the target environment is obtained based on the frequency response curve.
3. The audio parameter adjustment method according to claim 1, It is characterized in that The obtaining the environment optimization parameters of the target environment based on the acoustic characteristic data includes: An acoustic transfer model of the target environment is established based on the acoustic characteristic data, and the audio parameters of the audio system are iteratively adjusted. Based on the comparison result between the audio effects corresponding to each audio parameter after the iterative adjustment and the target audio effects, the environmental optimization parameters of the target environment are obtained.
4. The audio parameter adjustment method according to claim 3, It is characterized in that The step of establishing the acoustic transfer model of the target environment based on the acoustic characteristic data comprises: Acquire audio data of a full-band audio signal for audio testing, and extract test data of each arrangement position from the acoustic characteristic data; Machine training and learning are performed based on the audio data and the test data to establish an acoustic transfer model of the target environment.
5. The audio parameter adjustment method according to claim 3, It is characterized in that The iteratively adjusting the audio parameters of the audio system, and obtaining the environment optimization parameters of the target environment based on the comparison result between the audio effects corresponding to the iteratively adjusted audio parameters and the target audio effects, comprises: Iteratively adjusting the audio parameters of the audio system based on the optimization algorithm, performing an audio test based on the iteratively adjusted audio parameters and the acoustic transfer model to obtain audio effects corresponding to each audio parameter; An audio effect matching the target audio effect is selected from each of the audio effects to obtain an effective audio effect, and an environmental optimization parameter of the target environment is obtained based on an audio parameter corresponding to the effective audio effect.
6. The audio parameter adjustment method according to claim 1, It is characterized in that The step of generating an adjustment control instruction based on the optimization parameter, and sending the adjustment control instruction to the audio system to perform equalizer settings on the audio system and adjust the audio parameters of the audio system includes: Acquiring an interface format of the audio system, performing format conversion on the optimization parameters based on the interface format, and generating an adjustment control instruction for the audio system; The adjustment control instruction is sent to the equalizer of the audio system, and the equalizer setting is performed on the audio system by adjusting the equalizer value to adjust the audio parameters of the audio system.
7. An audio parameter adjustment device, It is characterized in that The audio parameter adjustment device comprises: The parsing module obtains the target audio effect of the audio system and parses the target audio effect to obtain corresponding audio index parameters; A first calculation module, used to determine the target environment where the audio system is currently located, and calculate the environment optimization parameters of the target environment; A second calculation module, used to calculate the optimization parameters of the audio system based on the audio index parameters and the environment optimization parameters; An adjustment module, configured to adaptively adjust the audio system based on the optimization parameters; The analysis module is specifically used for: obtaining performance indicators from the system settings of the audio system, determining the target audio effect of the audio system based on each performance indicator, importing the target audio effect sample into the selected audio editing and analysis software for audio effect analysis, and obtaining the spectrum distribution of the target audio effect, wherein the spectrum distribution includes a spectrum diagram and a waveform diagram, and performing analysis based on the spectrum diagram and the waveform diagram, wherein the analysis based on the spectrum diagram and the waveform diagram identifies the enhancement or attenuation of a specific frequency band and the harmonic or overtone structure through the spectrum diagram, analyzes the amplitude, period and phase of the signal through the waveform diagram, and identifies the dynamic change of the signal through the waveform diagram. , transient response, and distortion or noise; determine the properties of the target audio effect based on the analysis results, the properties include frequency response characteristics, dynamic processing characteristics, stereo processing characteristics, distortion and noise; split and index parameter mapping are performed based on the properties of the target audio effect to obtain audio index parameters, wherein the splitting and index parameter mapping include: mapping the frequency response characteristics to the enhanced frequency band and the weakened frequency band, mapping the dynamic processing characteristics to the compression ratio, the release time and the attack time, mapping the stereo processing characteristics to the stereo width, the reverberation depth and the echo time, and mapping the distortion and noise characteristics to the harmonic distortion and the intermodulation distortion, and the background noise level; The first calculation module includes: a sampling unit, which is used to determine the environment layout of the target environment where the audio system is currently located, and sample the acoustic characteristic data of the target environment based on the environment layout to obtain the environment optimization parameters of the target environment; The sampling unit is specifically used to: obtain the environment layout of the target environment, and determine the layout position of the audio test device based on the environment layout; perform audio testing on the target environment based on the full-band audio signal, and obtain test data of each layout position to obtain acoustic characteristic data of the target environment; obtain environmental optimization parameters of the target environment based on the acoustic characteristic data; The second calculation module includes: a splitting unit, used to perform numerical splitting on the environment optimization parameters, confirm the optimization parameter items and the corresponding optimization parameter values; a numerical determination unit, used to optimize the audio index parameters based on the optimization parameter items and the optimization parameter values, and calculate the optimization parameters of the audio system; The adjustment module includes: a sending unit, which is used to generate an adjustment control instruction based on the optimization parameter, and send the adjustment control instruction to the audio system to perform equalizer settings on the audio system and adjust the audio parameters of the audio system; The adjustment module also includes: a corresponding unit, which is used to establish a corresponding relationship between the preset acoustic transfer model and the audio index parameter, and to establish a model audio configuration library.
8. An audio parameter adjustment device, It is characterized in that The audio parameter adjustment device includes a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the audio parameter adjustment device performs each step of the audio parameter adjustment method as described in any one of claims 1-6.
9. A computer-readable storage medium having instructions stored thereon, It is characterized in that When the instructions are executed by the processor, the steps of the audio parameter adjustment method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Equalizer setting method, device and equipment and computer readable storage medium
CN112740169A
Sound effect adjustment method and device of sound box, equipment and storage medium
CN117130576A
Sound effect adjusting method and device, electronic equipment and storage medium
CN117479076A
Multimedia dynamic equalizer adjusting system and method
CN117519632A
Audio system with dynamic target listening spot and ambient object interference cancelation
US20230199422A1
