Vehicle-based tuning parameter determination method and device, equipment and storage medium
By coupling measurement and tuning directly inside the vehicle, and using automated acoustic measurement algorithms and preset tuning links to determine tuning parameters, the problem of low efficiency and low accuracy of in-vehicle speaker tuning is solved, achieving efficient and accurate tuning results.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2026-03-10
AI Technical Summary
In the existing technology, the tuning of in-vehicle speakers relies on the on-board DSP processor. The tuning parameters are inefficient and not very accurate, requiring the assistance of an external acoustic measurement system, which results in a large workload and poor tuning effect.
The measurement and tuning are coupled directly inside the vehicle. The tuning parameters of the tuning module are determined by an automated acoustic measurement algorithm. The tuning process is carried out step by step using a preset tuning link until the measurement completion conditions are met, thus realizing the determination of the tuning parameters.
It improves the efficiency and accuracy of determining tuning parameters, avoids dependence on external measuring devices, realizes comprehensive audio signal tuning, and enhances the tuning effect.
Smart Images

Figure CN121645114A_ABST
Abstract
Description
Technical Field
[0001] This application relates to tuning technology, and more particularly to a method, apparatus, device, and storage medium for determining tuning parameters based on a vehicle. Background Technology
[0002] Currently, the tuning of in-car speakers mostly relies on the DSP (Digital Signal Processing) processor built into the car amplifier. The DSP processor can control equalizers and other tuning modules to tune the audio signal.
[0003] Different tuning modules require different tuning parameters, which affect the tuning accuracy. Determining the correct tuning parameters for a tuning module is a pressing issue that needs to be addressed. Summary of the Invention
[0004] This application provides a method, apparatus, device, and storage medium for determining vehicle-based tuning parameters, in order to improve the efficiency and accuracy of tuning parameter determination.
[0005] Firstly, this application provides a method for determining tuning parameters based on a vehicle. This method is applied to a vehicle equipped with multiple tuning modules, each of which performs tuning processing on an audio signal according to its own tuning parameters. The method includes:
[0006] The measurement results of the audio signal to be tested inside the vehicle are determined. Based on the measurement results of the audio signal to be tested, the tuning parameters of the tuning module are adjusted to obtain the tuning parameters to be confirmed for the tuning module. The measurement results represent the results obtained by measuring the acoustic properties of the audio signal inside the vehicle.
[0007] Based on the tuning parameters to be confirmed by the tuning module, the audio signal to be tested is tuned according to the preset tuning link to obtain the tuned audio signal to be tested; wherein, the preset tuning link represents the connection order between the tuning modules.
[0008] The measurement result of the tuned audio signal to be tested is determined. If the measurement result of the tuned audio signal to be tested meets the preset measurement completion conditions, then the tuning parameter to be confirmed by the tuning module is determined as the target tuning parameter of the tuning module.
[0009] Secondly, this application provides a device for determining tuning parameters based on a vehicle. This device is applied to a vehicle in which multiple tuning modules are deployed. Each tuning module is used to tune an audio signal according to its own tuning parameters. The device includes:
[0010] A measurement module is used to determine the measurement results of the audio signal to be measured inside the vehicle, and to adjust the tuning parameters of the tuning module based on the measurement results of the audio signal to be measured, so as to obtain the tuning parameters to be confirmed of the tuning module; wherein, the measurement results characterize the results obtained by measuring the acoustic properties of the audio signal inside the vehicle;
[0011] A tuning module is used to tune the audio signal under test based on the tuning parameters to be confirmed by the tuning module and a preset tuning link, to obtain the tuned audio signal under test; wherein, the preset tuning link represents the connection order between the tuning modules.
[0012] The determination module is used to determine the measurement result of the tuned audio signal to be tested. If the measurement result of the tuned audio signal to be tested meets the preset measurement completion conditions, then the tuning parameters to be confirmed by the tuning module are determined to be the target tuning parameters of the tuning module.
[0013] Thirdly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0014] The memory stores computer-executed instructions;
[0015] The processor executes computer execution instructions stored in the memory to implement the method as described in the first aspect of this application.
[0016] Fourthly, this application provides a vehicle in which electronic devices as described in the third aspect are provided.
[0017] Fifthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method described in the first aspect of this application.
[0018] In a sixth aspect, this application provides a computer program product, including a computer program that, when executed by a processor, implements the method described in the first aspect of this application.
[0019] This application provides a method, apparatus, device, and storage medium for determining tuning parameters based on a vehicle. The vehicle is equipped with multiple tuning modules, each capable of tuning audio signals according to its own tuning parameters. Before actual tuning, the tuning parameters of each tuning module need to be determined to ensure effective tuning of the audio signal. The system receives the audio signal to be tested from the vehicle, measures its acoustic properties, and obtains the measurement results. Based directly on the measurement results of the audio signal to be tested, the tuning parameters of the tuning modules are adjusted to obtain initial tuning parameters, which are then used as the tuning parameters to be confirmed. The tuning modules are pre-sorted to obtain a tuning chain. Based on the tuning parameters to be confirmed of the tuning modules and the preset tuning chain, the audio signal to be tested is progressively tuned to obtain the tuned audio signal. The tuned audio signal is then measured again to obtain the measurement result. If the measurement result meets the preset measurement completion conditions, the tuning parameters to be confirmed by the tuning module are determined as the target tuning parameters of the tuning module, thus completing the determination of the tuning parameters. This achieves the coupling of measurement and tuning, allowing measurement and tuning to be performed directly on the vehicle without the need for external measuring devices. The tuning parameters are directly adjusted using the measurement results, improving the efficiency of tuning parameter determination. Furthermore, through the preset tuning link, the audio signal can be comprehensively tuned, avoiding the inaccurate tuning problems caused by simply using an equalizer in existing technologies, thus improving tuning accuracy. Attached Figure Description
[0020] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0021] Figure 1 A flowchart illustrating a method for determining vehicle-based tuning parameters provided in this application embodiment;
[0022] Figure 2 A flowchart illustrating a method for determining vehicle-based tuning parameters provided in this application embodiment;
[0023] Figure 3 A flowchart illustrating a method for determining vehicle-based tuning parameters provided in this application embodiment;
[0024] Figure 4 A flowchart illustrating a method for determining vehicle-based tuning parameters provided in this application embodiment;
[0025] Figure 5 A schematic diagram of the vehicle infotainment system provided in the embodiments of this application;
[0026] Figure 6A schematic diagram of the tuning process provided in an embodiment of this application;
[0027] Figure 7 A structural block diagram of a device for determining vehicle tuning parameters provided in an embodiment of this application;
[0028] Figure 8 A structural block diagram of a device for determining vehicle tuning parameters provided in an embodiment of this application;
[0029] Figure 9 A structural block diagram of an electronic device provided in an embodiment of this application;
[0030] Figure 10 This is a structural block diagram of an electronic device provided in an embodiment of this application.
[0031] The accompanying drawings have illustrated specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to specific embodiments. Detailed Implementation
[0032] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0033] It should be understood that the described embodiments are merely some, not all, of the embodiments in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0034] In the following description, when referring to the accompanying drawings, the same numbers in different drawings denote the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0035] In the description of this application, it should be understood that the terms "first," "second," "third," etc., are used only to distinguish similar objects and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances. Furthermore, in the description of this application, unless otherwise stated, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0036] It should be noted that, due to space limitations, this application specification does not exhaustively list all possible implementation methods. Those skilled in the art, after reading this application specification, should be able to deduce that, as long as the technical features do not contradict each other, any combination of technical features can constitute an optional implementation method. The following provides a detailed description of each embodiment.
[0037] Currently, the tuning of in-vehicle speaker systems mostly relies on the DSP processor built into the vehicle amplifier. The vehicle computer needs to communicate with the vehicle amplifier to adjust the operating status of the DSP processor. Moreover, the DSP processor of the vehicle amplifier usually only supports the tuning functions of simple equalizer and other tuning modules, and the tuning effect cannot meet the actual business needs.
[0038] Sound engineers need to pre-determine the tuning parameters of the tuning module, as different parameters will affect the tuning effect. When adjusting the tuning parameters, the audio signal can be processed by the tuning module to determine if the parameters are appropriate. Currently, sound engineers rely on external acoustic measurement systems to provide data references for the tuning module, and the acoustic measurement system and the tuning module are decoupled. That is, current power amplifier DSP tuning itself does not have acoustic measurement capabilities; sound engineers need to rely on additional acoustic measurement equipment to assist in tuning, and may even need to modify the in-vehicle audio playback link to connect the testing equipment. This results in a large workload for tuning and low efficiency in determining tuning parameters.
[0039] This application provides a method, apparatus, device, and storage medium for determining vehicle-based tuning parameters, aiming to solve the aforementioned technical problems in the prior art.
[0040] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0041] Figure 1 This is a flowchart illustrating a method for determining vehicle-based tuning parameters according to an embodiment of this application. This method can be executed by a vehicle-based tuning parameter determination device. The method is applied to a vehicle, which has multiple tuning modules deployed within it. Each tuning module is used to tune audio signals according to its own tuning parameters. For example... Figure 1 As shown, the method includes the following steps:
[0042] S101. Determine the measurement results of the audio signal to be tested inside the vehicle. Based on the measurement results of the audio signal to be tested, adjust the tuning parameters of the tuning module to obtain the tuning parameters to be confirmed for the tuning module. The measurement results represent the results obtained by measuring the acoustic properties of the audio signal inside the vehicle.
[0043] For example, the vehicle may be equipped with one or more speakers, which can be used to emit audio signals. The vehicle may also be equipped with one or more tuning modules, each with its own tuning parameters. The tuning modules can process the audio signals according to their own tuning parameters. That is, the tuning modules can tune the audio signals, which are then emitted by the speakers to the occupants of the vehicle, allowing them to hear different audio effects. The tuning parameters of the tuning modules can be determined before the vehicle is actually used.
[0044] When determining the tuning parameters of the tuning module, an audio signal can be emitted as the audio signal to be tested. For example, a sound can be emitted from a speaker in the vehicle as the audio signal to be tested. In this embodiment, the audio signal to be tested can be a measurement excitation signal. The measurement excitation signal is not an arbitrary audio signal, but a series of signals obtained through a preset design. An automated acoustic measurement algorithm is preset to test the audio signal. For example, acoustic properties such as sound pressure level, amplitude response, delay, and harmonic distortion of the audio signal can be tested. In this embodiment, the preset automated acoustic measurement algorithm is not specifically limited. The measurement result of the audio signal to be tested can be obtained through the preset automated acoustic measurement algorithm. For example, the audio signal to be tested can be used as input data and input into the automated acoustic measurement algorithm to output the measurement result. In this embodiment, a microphone installed in the vehicle can record measurement excitation signals played by one or more speakers as input data. The measurement result can characterize the result of measuring the acoustic properties in the vehicle, thereby determining whether the audio signal to be tested meets the actual listening effect requirements. The measurement results can be displayed on the interface for users to view; for example, they can be displayed in the form of a curve.
[0045] Based on the measurement results of the audio signal under test, the tuning parameters of each tuning module can be adjusted. The adjusted tuning parameters are then determined as the tuning parameters to be confirmed for that tuning module. Adjustment rules for the tuning parameters can be preset, and different tuning modules can correspond to different adjustment rules. For example, if the tuning module is a delay module, the arrival time of the measurement excitation signal played by each speaker channel in the vehicle can be determined and adjusted. Taking two speaker channels as an example, if the signal played by one channel arrives at the listening position before the other, the output delay of that channel is increased to ensure that the signals from both speakers arrive at the listening position simultaneously. Another example is an acoustic compensation module. The tuning parameters of the acoustic compensation module are the compensation parameters for each speaker channel. The adjustment rules can be to preset a target curve for amplitude response and a target curve for phase response, so that the amplitude response of each channel approaches or reaches the corresponding target curve, and the phase response approaches or reaches the corresponding target curve. For example, the target curve for the phase response is a linear phase response.
[0046] In this embodiment, based on the measurement results, the tuning parameters of the acoustic compensation module, delay module, GA (Gain Adjustment) module, and PA (Polarity Adjustment) module can be adjusted. After the automatic adjustment of the tuning parameters of all tuning modules is completed, the amplitude response before automatic tuning, the estimated amplitude response after tuning, the gain, delay, and positive / negative parameters of each channel can be displayed on the external computer interface for the user to view.
[0047] S102. Based on the tuning parameters to be confirmed by the tuning module, and based on the preset tuning link, the audio signal to be tested is tuned to obtain the tuned audio signal to be tested; wherein, the preset tuning link represents the connection order between the tuning modules.
[0048] For example, a tuning link is pre-set, which is a link composed of multiple tuning modules. The tuning link can represent the connection order between the tuning modules. For example, the connection order of the tuning modules in the tuning link is: acoustic compensation module - GA module - PA module - Delay module. The audio signal to be tested is input into the preset tuning link, and the tuning modules in the tuning link perform tuning processing in sequence according to the connection order, thereby outputting the tuned audio signal to be tested.
[0049] After the audio signal to be tested is input into the tuning link, the first tuning module performs tuning processing on the audio signal according to its own tuning parameters to be confirmed, and obtains the first output data. Then, the first output data is input to the second tuning module, which performs tuning processing on the first output data according to its own tuning parameters to be confirmed, and obtains the second output data. The second output data is then input to the third tuning module, and so on, until the last tuning module outputs its output data, thus obtaining the tuned audio signal to be tested.
[0050] There can be various types of audio signals, and different tuning links can be set for different types of audio signals, that is, different tuning modules can be combined in different orders. In this embodiment, the preset tuning links are not specifically limited.
[0051] S103. Determine the measurement result of the audio signal to be tested after tuning. If the measurement result of the audio signal to be tested after tuning meets the preset measurement completion conditions, then determine the tuning parameter to be confirmed by the tuning module as the target tuning parameter of the tuning module.
[0052] For example, after obtaining the tuned audio signal to be tested, the tuned audio signal to be tested can be tested according to a preset automated acoustic measurement algorithm to obtain the measurement result of the tuned audio signal to be tested.
[0053] Measurement completion conditions are preset. After obtaining the measurement result of the tuned audio signal, it is determined whether the measurement result meets the preset measurement completion conditions. If yes, the tuning parameters to be confirmed by the tuning module are determined as the target tuning parameters of the tuning module; that is, the final tuning parameters for this tuning module are determined. If not, the tuning parameters of the tuning module are adjusted again based on the measurement result of the tuned audio signal, resulting in new tuning parameters to be confirmed. Based on the new tuning parameters to be confirmed by the tuning module, and using a preset tuning link, the tuned audio signal is tuned to obtain a re-tuned audio signal. The measurement result of the re-tuned audio signal is determined until the measurement result meets the preset measurement completion conditions.
[0054] The measurement completion conditions can include a preset threshold range for the measurement result. The measurement result can be compared with the preset threshold range. If the measurement result is within the preset threshold range, the measurement result is determined to meet the preset measurement completion conditions; otherwise, the preset measurement completion conditions are not met. In this embodiment, the preset measurement completion conditions are not specifically limited.
[0055] In this embodiment, the vehicle is equipped with multiple tuning modules, each capable of tuning audio signals according to its own tuning parameters. Before actual tuning, the tuning parameters of each tuning module need to be determined to ensure effective tuning of the audio signal. The system receives the audio signal to be tested from the vehicle, measures its acoustic properties, and obtains the measurement results. Based directly on the measurement results of the audio signal to be tested, the tuning parameters of the tuning modules are adjusted to obtain initial tuning parameters, which serve as the tuning parameters to be confirmed. The tuning modules are pre-sorted to obtain a tuning chain. Based on the tuning parameters to be confirmed for each tuning module and the preset tuning chain, the audio signal to be tested is progressively tuned to obtain the tuned audio signal. The tuned audio signal is then measured again to obtain the measurement results. If the measurement results meet preset measurement completion conditions, the tuning parameters to be confirmed for each tuning module are determined as the target tuning parameters for that module, thus completing the determination of the tuning parameters. This invention couples measurement and tuning, allowing for direct measurement and tuning within the vehicle without the need for external measuring devices. While no separate external acoustic measurement device is required in this embodiment, microphones can be installed at various locations within the vehicle to obtain acoustic measurement results from different listening positions. The tuning parameters are directly adjusted using the measurement results, improving the efficiency of parameter determination. Furthermore, through a pre-defined tuning link, comprehensive tuning of the audio signal is achieved, avoiding the inaccuracies caused by simple equalizer tuning in existing technologies, thus improving tuning accuracy.
[0056] Figure 2 This is a flowchart illustrating a method for determining vehicle-based tuning parameters according to an embodiment of this application.
[0057] In this embodiment, based on the tuning parameters to be confirmed by the tuning module and a preset tuning link, the audio signal to be tested is tuned to obtain the tuned audio signal to be tested. This includes: rectifying the audio signal to be tested according to a preset data frame length to obtain a data block corresponding to the audio signal to be tested; inputting the data block corresponding to the audio signal to be tested into a preset tuning link; and obtaining the tuned audio signal to be tested according to the tuning parameters to be confirmed by the tuning module in the preset tuning link.
[0058] like Figure 2 As shown, the method includes the following steps:
[0059] S201. Determine the measurement results of the audio signal to be tested inside the vehicle. Based on the measurement results of the audio signal to be tested, adjust the tuning parameters of the tuning module to obtain the tuning parameters to be confirmed for the tuning module. The measurement results represent the results obtained by measuring the acoustic properties of the audio signal inside the vehicle.
[0060] For example, this step can refer to step S101 above, and will not be repeated here.
[0061] S202. According to the preset data frame length, the audio signal to be tested is rectified to obtain the data block corresponding to the audio signal to be tested.
[0062] For example, before tuning, audio signals of any frame length and any channel within the vehicle will first pass through an input buffer, integrating the audio signals into multi-channel data of a fixed frame length. For instance, a preset data frame length can be used, such as a 1024-sample frame length.
[0063] The audio signal from any channel in the vehicle can be sound data from a media player, prompts, etc. This data can be buffered in blocks of any size, and the buffer size can be dynamically changed. These audio signals, as an audio stream, pass through an input buffer layer. Based on a preset data frame length, the data is rectified in the input buffer layer into data blocks of fixed frame length, thus obtaining the data block corresponding to the audio signal to be tested. In this embodiment, the rectification process is not specifically limited.
[0064] S203. Input the data block corresponding to the audio signal to be tested into the preset tuning link, and obtain the tuned audio signal to be tested according to the tuning parameters to be confirmed of the tuning module in the preset tuning link.
[0065] For example, the integrated data blocks will undergo tuning processing through a preset tuning link. That is, the data blocks corresponding to the audio signal to be tested are input to the preset tuning link, each tuning module performs tuning processing on the data it receives according to its own tuning parameters to be confirmed, and the last tuning module outputs the tuned audio signal to be tested.
[0066] In this embodiment, by rectifying the audio signal under test, the format of the audio signal under test can be standardized, which facilitates the subsequent tuning module to perform correct tuning processing and improves the accuracy and standardization of tuning.
[0067] In this embodiment, the tuning module in the preset tuning link includes a frequency division matrix module and an acoustic compensation module. The tuning parameters to be confirmed in the frequency division matrix module include gain parameters and delay parameters, and the tuning parameters to be confirmed in the acoustic compensation module include amplitude compensation parameters and phase compensation parameters. Based on the tuning parameters to be confirmed in the preset tuning link, the tuned audio signal to be tested is obtained, including: adjusting the gain of the data block corresponding to the audio signal to be tested according to the gain parameters of the frequency division matrix module, and adjusting the delay of the data block corresponding to the audio signal to be tested according to the delay parameters of the frequency division matrix module, and determining the data block after gain and delay adjustment as the first data; adjusting the amplitude response of the first data according to the amplitude compensation parameters of the acoustic compensation module, and adjusting the phase response of the first data according to the phase compensation parameters of the acoustic compensation module; wherein, the amplitude compensation parameters represent a preset amplitude response curve, and the phase compensation parameters represent a preset phase response curve; based on the first data after adjusting the amplitude and phase responses, the tuned audio signal to be tested is determined.
[0068] Specifically, the tuning link may include a Frequency Multiplexer module and an acoustic compensation module, with the acoustic compensation module connected after the Frequency Multiplexer module. The Frequency Multiplexer is a multi-channel frequency selection routing matrix that can adjust or distribute the delay, gain, and phase polarity of the audio signal when the speaker's operating bandwidth is insufficient. Tuning parameters in the Frequency Multiplexer module may include gain and delay parameters. For the Frequency Multiplexer module, the tuning parameters to be confirmed may include gain and delay parameters. Specifically, the tuning parameters to be confirmed in the Frequency Multiplexer module may include the crossover method for each input channel signal, the gain and delay parameters of each crossover portion, and how the crossover portions are mixed to each output channel. The crossover method may include the number of parts, the frequency of the crossover point, and the transition slope at the crossover point. According to the frequency division parameters of the Frequency Multiplexer, the audio signal under test can be divided into several parts according to the desired frequency division. The gain and delay of each part of the signal after frequency division are adjusted according to the gain and delay parameters. The adjusted part of the signal after frequency division is remixed using a mixing combination method, so that the adjusted data block is determined as the first data.
[0069] The acoustic compensation module can be used to equalize the audio signal of each speaker channel. Equalization refers to compensating and correcting the amplitude and phase to ensure that the amplitude and phase responses of the sound approach the preset target curves when it reaches the listening position. The acoustic compensation module can compensate for both amplitude and phase. The tuning parameters include amplitude compensation parameters and phase compensation parameters; that is, the tuning parameters to be confirmed by the acoustic compensation module can include amplitude compensation parameters and phase compensation parameters.
[0070] After inputting the data block of the audio signal to be tested into the tuning link, the gain of the data block can be adjusted according to the gain parameters of the frequency divider module, and the delay of the data block can be adjusted according to the delay parameters of the frequency divider module. The gain can be adjusted first, then the delay, or the delay can be adjusted first, then the gain, or both can be adjusted simultaneously. The data block after gain and delay adjustments is defined as the first data; that is, the data output by the frequency divider module is the first data. In this embodiment, the adjustment process of the frequency divider module is not specifically limited.
[0071] According to the preset tuning path, the first data is input to the acoustic compensation module. Based on the amplitude compensation parameters of the acoustic compensation module, the amplitude response of the first data is adjusted, and based on the phase compensation parameters of the acoustic compensation module, the phase response of the first data is adjusted. The amplitude can be adjusted first, then the phase, or vice versa, or both amplitude and phase can be adjusted simultaneously. The amplitude compensation parameters represent the preset amplitude response curve, and the phase compensation parameters represent the preset phase response curve. Adjusting the amplitude means making the amplitude response reach or approach the preset amplitude response curve. Adjusting the phase means making the phase response reach or approach the preset phase response curve. The acoustic compensation module can be equipped with an automatic compensation algorithm, which can be used to adjust both the amplitude and phase responses. For example, the automatic compensation algorithm could be a Mixed-Phase Equalization algorithm. For the automatic compensation algorithm, the tuning parameters to be confirmed can be the desired amplitude response curve, i.e., the preset amplitude response curve, and the phase response can be automatically compensated to a linear phase. The impulse response compensator is calculated based on the desired amplitude response curve, so that the amplitude response of the compensator and the impulse response of the vehicle interior space have or are close to the desired amplitude response curve, and the phase response reaches or is close to linear phase. Thus, the amplitude and phase responses are adjusted using the aforementioned impulse response compensator. Compensation and adjustment are performed using a preset automatic compensation algorithm. In this embodiment, the adjustment process of the preset automatic compensation algorithm is not specifically limited.
[0072] The first data, after adjusting the amplitude and phase responses, can be determined as the second data. Based on the second data, the tuned audio signal to be tested is obtained. For example, if the acoustic compensation module is the last tuning module in the tuning chain, then the second data is the tuned audio signal to be tested.
[0073] The advantages of this setup are that the crossover matrix can be used to adjust gain and delay, and the acoustic compensation module can be used for amplitude and phase compensation. The crossover matrix solves the problem of insufficient speaker bandwidth, and the acoustic compensation module equalizes the signal of each output channel. Previously, equalizers could only adjust certain acoustic properties, and there were often inter-attribute issues. For example, if there are two properties A and B, adjusting A will also change B, increasing the difficulty of tuning. This embodiment directly compensates and adjusts based on measurement results, effectively improving tuning accuracy.
[0074] In this embodiment, determining the tuned audio signal to be tested based on the first data after adjusting the amplitude response and phase response includes: determining the first data after adjusting the amplitude response and phase response as the second data; performing equalization processing on the gain and phase of the second data to determine the processed second data as the third data; adjusting the time delay of the third data according to the time it takes for the third data to reach a preset listening position to obtain the fourth data; wherein, the preset listening position represents the preset location in the vehicle where the audio signal is heard; and performing amplitude protection processing on the fourth data to obtain the tuned audio signal to be tested.
[0075] Specifically, after obtaining the second data, it can be further processed according to a preset tuning chain. For example, the gain and phase of the second data can be equalized. Gain processing can refer to loudness processing. Loudness can be processed first and then phase, or phase first and then loudness, or both loudness and phase can be processed simultaneously. The second data after both gain and phase processing is determined as the third data.
[0076] The tuning chain can also include a time delay module. This module synchronizes the arrival time of sound from each speaker channel at the listening position, eliminating phase interference between channels caused by time asynchrony due to the vehicle's cabin layout. By eliminating phase interference and the Haas effect caused by arrival time differences, sound quality and sound element positioning accuracy are improved. The tuning parameters of the time delay module are time delay adjustment parameters. The listening position is a preset location in the vehicle, such as the position of the seat headrest. The third data is input to the time delay module. Since the arrival time of sound from different speakers at the listening position may differ, the time delay module adjusts the arrival time of the third data to ensure that the sound from each speaker channel arrives at the listening position as simultaneously as possible. After time delay adjustment, the output data of the time delay module is the fourth data. The dynamics of the output fourth data are then adjusted and protected to avoid popping sounds caused by amplitude exceeding limits. Dynamics refer to a series of parameters in the audio signal.
[0077] The advantage of this setting is that it performs gain and phase equalization processing based on the preset equalizer, and then performs time delay adjustment and amplitude protection to ensure that the sound effect of the audio signal meets the actual user needs, improves the audio quality reaching the listening position, and enhances the user experience.
[0078] In this embodiment, the tuning module in the preset tuning link includes a parametric equalizer; the equalization processing of the gain and phase of the second data, and the determination of the processed second data as the third data, includes: inputting the second data into the parametric equalizer, adjusting the frequency domain amplitude of the second data through the parametric equalizer; and compensating the gain and phase of the frequency domain amplitude-adjusted second data to obtain the third data.
[0079] Specifically, the tuning pipeline can also include a PEQ (Parametric Equalizer), which can be connected after the acoustic compensation module. When configuring the PEQ, the tuner can add up to 10 different parametric equalizers for each speaker channel. Each parametric equalizer can be selected from preset types, such as peak filters, first-order low-profile filters, second-order low-profile filters, first-order high-profile filters, and second-order high-profile filters. The PEQ's center frequency can be selected between 20Hz and 20kHz, and its gain range can be selected between -24dB and +24dB. In the tuning pipeline, the PEQ can serve as an alternative supplement to the automatic tuning effects of the acoustic compensation module; that is, the tuner can selectively use the PEQ to perform additional compensation and adjustments to the audio based on the actual equalization effect of the acoustic compensation module.
[0080] That is, after obtaining the second data, it can be input into the PEQ (parametric equalizer), and the PEQ can adjust the frequency domain amplitude of the second data. Then, the frequency domain amplitude-adjusted second data can be subjected to loudness equalization. The amplitude of a specific frequency band can be actively adjusted by the parametric equalizer, and the phase can change accordingly, thereby obtaining the third data. In this embodiment, the working process of the PEQ is not specifically limited.
[0081] The advantage of this setup is that it allows for supplementary adjustments to acoustic compensation via the PEQ equalizer, improving tuning accuracy and enhancing the user's listening experience.
[0082] In this embodiment, the tuning module in the preset tuning link includes a gain adjustment module and a phase adjustment module. The process of compensating for the gain and phase of the second data after frequency domain amplitude adjustment to obtain the third data includes: inputting the second data after frequency domain amplitude adjustment into the gain adjustment module, and performing equalization processing on the gain of the second data after frequency domain amplitude adjustment through the gain module to obtain data after gain equalization; inputting the data after gain equalization into the phase adjustment module, and performing phase adjustment on the data after gain equalization through the phase adjustment module to obtain the third data.
[0083] Specifically, the tuning chain may also include GA and PA modules. The GA module equalizes the gain of each speaker channel to balance the loudness of each speaker channel reaching the listening position; the tuning parameters for the GA module are response adjustment parameters. The PA module adjusts the phase of each speaker channel, especially the woofer, to compensate for problems caused by bass guidance and reflection in the vehicle cabin; the tuning parameters for the PA module are phase adjustment parameters.
[0084] The GA module can be connected after the acoustic compensation module. If a PEQ (Pressure Equipment Query) is present, the GA module can be connected after the PEQ. The PA module can be connected after the GA module, and the time delay module can be connected after the PA module. If there is no PEQ, the acoustic compensation module can input the second data to the GA module after receiving the second data. If a PEQ is present, the PEQ will send the frequency-domain adjusted second data to the GA module. The GA module performs equalization processing on the loudness of the received data according to its own parameters to obtain the data after gain adjustment, i.e., the data after gain equalization. The GA module then sends the gain-adjusted data to the PA module, which adjusts the phase according to its own parameters to obtain the third data. In this embodiment, the working process of the GA and PA is not specifically limited.
[0085] The delay module can be connected after the PA module. That is, the third data can be input to the delay module, and the delay module can adjust the time when the third data arrives at the listening position so that the sound emitted by each speaker channel arrives at the listening position at the same time.
[0086] The advantage of this setup is that it allows for comprehensive audio adjustment through the GA and PA modules in sequence, effectively improving tuning accuracy.
[0087] In this embodiment, amplitude protection processing is performed on the fourth data to obtain the tuned audio signal to be tested. This includes: adjusting the dynamic parameters of the fourth data according to a preset dynamic range, and performing amplitude protection processing on the adjusted fourth data to obtain the fifth data; wherein, the preset dynamic range represents a preset numerical range of the dynamic parameters; and adjusting the size of the fifth data according to the data frame length of the audio signal to be tested. For example, the frame length of the data can be re-integrated to obtain the tuned audio signal to be tested.
[0088] Specifically, the tuning chain can also include a DRC (Dynamic Range Control) module. The DRC module can include a Noise Gate, Expander, Compressor, and Limiter. The DRC module can be connected after the delay module. It can dynamically adjust and protect the received data, preventing popping noises caused by exceeding amplitude limits.
[0089] A dynamic range can be preset, which refers to the preset numerical range of the dynamic parameters. Based on the preset dynamic range, the dynamic parameters of the received fourth data are adjusted, and amplitude protection processing is applied to the adjusted fourth data to maintain the amplitude within a certain range. The amplitude-protected data is then designated as the fifth data. In this embodiment, adjusting the dynamic parameters can involve adjusting the specific parameters of each submodule in the DRC, thereby adjusting the dynamic parameters.
[0090] Before tuning, the audio signal under test is rectified. Therefore, after obtaining the fifth data point, its size can be adjusted according to the original data frame length of the audio signal under test. That is, the fifth data point, which is a fixed-frame-length data block, is restored to the same data as the audio signal under test, buffered in blocks of arbitrary size, with dynamically changing buffer size. This data is then used as the tuned audio signal under test and output to the vehicle's infotainment system for listening.
[0091] The beneficial effects of this setting are that the control of the dynamic range allows sound sources with different loudness standards to be played at similar loudness without producing noise or popping sounds; the adjustment of the data frame length standardizes the way the internal modules process data, and by restoring the frame length, the impact on the original audio link in the vehicle system is reduced, thus improving the accuracy and effect of the tuning.
[0092] S204. Determine the measurement result of the audio signal to be tested after tuning. If the measurement result of the audio signal to be tested after tuning meets the preset measurement completion conditions, then determine the tuning parameters to be confirmed by the tuning module as the target tuning parameters of the tuning module.
[0093] For example, this step can refer to step S103 above, and will not be repeated here.
[0094] In this embodiment, the vehicle is equipped with multiple tuning modules, each capable of tuning audio signals according to its own tuning parameters. Before actual tuning, the tuning parameters of each tuning module need to be determined to ensure effective tuning of the audio signal. The system receives the audio signal to be tested from the vehicle, measures its acoustic properties, and obtains the measurement results. Based directly on the measurement results of the audio signal to be tested, the tuning parameters of the tuning modules are adjusted to obtain initial tuning parameters, which serve as the tuning parameters to be confirmed. The tuning modules are pre-sorted to obtain a tuning chain. Based on the tuning parameters to be confirmed for each tuning module and the preset tuning chain, the audio signal to be tested is progressively tuned to obtain the tuned audio signal. The tuned audio signal is then measured again to obtain the measurement results. If the measurement results meet preset measurement completion conditions, the tuning parameters to be confirmed for each tuning module are determined as the target tuning parameters for that module, thus completing the determination of the tuning parameters. This technology couples measurement and tuning, allowing for direct measurement and tuning within the vehicle without the need for external measuring devices. Tuning parameters are adjusted directly using measurement results, improving the efficiency of parameter determination. Furthermore, through a pre-defined tuning link, comprehensive tuning of the audio signal is achieved, avoiding the inaccuracies caused by simple equalizer tuning in existing technologies and thus improving tuning precision.
[0095] Figure 3 This is a flowchart illustrating a method for determining vehicle-based tuning parameters according to an embodiment of this application.
[0096] In this embodiment, a speaker is deployed in the vehicle. Based on the measurement results of the audio signal to be tested, the tuning parameters of the tuning module are adjusted to obtain the tuning parameters to be confirmed for the tuning module. This includes: determining the basic parameters of the audio signal to be tested based on the measurement results of the audio signal to be tested; wherein the basic parameters include at least one of the frequency and time of the audio signal; controlling the speaker in the vehicle to emit a new audio signal based on the basic parameters of the audio signal to be tested; and determining the tuning parameters of the tuning module based on the new audio signal emitted by the speaker and a preset parameter determination algorithm, which are the tuning parameters to be confirmed.
[0097] like Figure 3 As shown, the method includes the following steps:
[0098] S301. Determine the measurement results of the audio signal to be tested inside the vehicle, and determine the basic parameters of the audio signal to be tested based on the measurement results; wherein the basic parameters include at least one of the frequency and time of the audio signal.
[0099] For example, a speaker inside the vehicle can emit an audio signal and receive the audio signal to be measured emitted by the speaker. The measurement result of the audio signal to be measured is determined according to a preset automated acoustic measurement algorithm. Each audio signal corresponds to its own basic parameters, which can represent the attributes of the audio signal, and may include frequency, time, etc. Based on the measurement result of the audio signal to be measured, the basic parameters of the audio signal to be measured can be determined. For example, the measurement result can be represented in the form of a curve, and the basic parameters of the audio signal to be measured can be obtained from the horizontal and vertical axes of the curve.
[0100] S302. Based on the basic parameters of the audio signal to be tested, control the speakers in the vehicle to emit a new audio signal.
[0101] For example, the values of basic parameters can be modified based on the basic parameters of the audio signal under test. Parameter modification rules can be preset; for instance, the parameter modification rules can set a range of values for the basic parameters, within which the values of the basic parameters can be increased or decreased.
[0102] After modifying the basic parameters, new basic parameters are obtained. Based on the new basic parameters, the speakers inside the vehicle are activated. That is, the speakers inside the vehicle are controlled to emit new audio signals. If the vehicle is equipped with multiple speakers, each speaker can be activated sequentially to emit new audio signals.
[0103] S303. Based on the new audio signal emitted by the speaker, and using a preset parameter determination algorithm, determine the tuning parameters of the tuning module, which are the tuning parameters to be confirmed.
[0104] For example, a parameter determination algorithm is pre-set, which is used to adjust the tuning parameters of the tuning module. The parameter determination algorithm can be configured with adjustment rules for the tuning parameters; different tuning modules can correspond to different adjustment rules, that is, different tuning modules correspond to different parameter determination algorithms. Based on the new audio signal and the preset parameter determination algorithm, the tuning parameters to be confirmed for the tuning module can be obtained. For example, for the acoustic compensation module, the compensation parameters for each speaker channel can be calculated so that the amplitude response of each channel approaches or reaches the target curve, and the phase response approaches or reaches linearity.
[0105] In this embodiment, the basic parameters of the measurement excitation signal, i.e., the audio signal to be measured, are determined based on the measurement results, and each speaker is excited to emit sound to adjust the tuning parameters. This achieves the coupling of measurement and tuning, eliminating the need for an external acoustic measurement system during tuning. This results in a highly integrated measurement and tuning system that is amplifier-independent, improving the efficiency of determining tuning parameters.
[0106] In this embodiment, based on the new audio signal emitted by the speaker and a preset parameter determination algorithm, the tuning parameters of the tuning module are determined as the tuning parameters to be confirmed. This includes: smoothing the new audio signal emitted by the speaker to obtain a denoised signal; wherein the denoised signal represents the audio signal after noise removal through smoothing; determining the parameter determination algorithm corresponding to the tuning module in the preset tuning link based on the preset association relationship between the tuning module and the parameter determination algorithm; and determining the tuning parameters to be confirmed of the tuning module in the preset tuning link based on the denoised signal and the parameter determination algorithm corresponding to the tuning module in the preset tuning link.
[0107] Specifically, after obtaining a new audio signal, it can be smoothed to remove noise. The smoothed signal is then identified as the denoised signal, which can be further defined as the smoothed impulse response. For example, by analyzing a new audio signal received by a microphone and emitted by a speaker using a preset acoustic measurement algorithm, the impulse response of the vehicle interior can be obtained. This impulse response is then subjected to frequency-domain non-uniformly spaced complex smoothing to obtain an impulse response with a relatively smooth amplitude and phase response curve.
[0108] Multiple tuning modules are pre-set, each with a different parameter determination algorithm. The tuning module in the tuning chain is determined, and based on the pre-set relationship between the tuning module and the parameter determination algorithm, the corresponding parameter determination algorithm for that tuning module in the tuning chain is determined. The denoising signal is input to each determined parameter determination algorithm, and the tuning parameters to be confirmed for the tuning module are output.
[0109] The advantage of this setup is that it reduces noise in the signal through smoothing, thereby improving the accuracy of parameter determination. By finding the parameter determination algorithm corresponding to the tuning module, targeted parameter determination for the tuning module can be achieved, further improving the accuracy of parameter determination.
[0110] S304. Based on the tuning parameters to be confirmed by the tuning module, and based on the preset tuning link, the audio signal to be tested is tuned to obtain the tuned audio signal to be tested; wherein, the preset tuning link represents the connection order between the tuning modules.
[0111] For example, this step can refer to step S102 above, and will not be repeated here.
[0112] S305. Determine the measurement result of the audio signal to be tested after tuning. If the measurement result of the audio signal to be tested after tuning meets the preset measurement completion conditions, then determine the tuning parameter to be confirmed by the tuning module as the target tuning parameter of the tuning module.
[0113] For example, this step can refer to step S103 above, and will not be repeated here.
[0114] In this embodiment, the vehicle is equipped with multiple tuning modules, each capable of tuning audio signals according to its own tuning parameters. Before actual tuning, the tuning parameters of each tuning module need to be determined to ensure effective tuning of the audio signal. The system receives the audio signal to be tested from the vehicle, measures its acoustic properties, and obtains the measurement results. Based directly on the measurement results of the audio signal to be tested, the tuning parameters of the tuning modules are adjusted to obtain initial tuning parameters, which serve as the tuning parameters to be confirmed. The tuning modules are pre-sorted to obtain a tuning chain. Based on the tuning parameters to be confirmed for each tuning module and the preset tuning chain, the audio signal to be tested is progressively tuned to obtain the tuned audio signal. The tuned audio signal is then measured again to obtain the measurement results. If the measurement results meet preset measurement completion conditions, the tuning parameters to be confirmed for each tuning module are determined as the target tuning parameters for that module, thus completing the determination of the tuning parameters. This technology couples measurement and tuning, allowing for direct measurement and tuning within the vehicle without the need for external measuring devices. Tuning parameters are adjusted directly using measurement results, improving the efficiency of parameter determination. Furthermore, through a pre-defined tuning link, comprehensive tuning of the audio signal is achieved, avoiding the inaccuracies caused by simple equalizer tuning in existing technologies and thus improving tuning precision.
[0115] Figure 4 This is a flowchart illustrating a method for determining vehicle-based tuning parameters according to an embodiment of this application.
[0116] In this embodiment, determining the measurement result of the audio signal to be tested inside the vehicle includes: receiving an acoustic measurement configuration file uploaded by the user, determining the signal type and measurement items of the audio signal to be tested; wherein, the acoustic measurement configuration file is a pre-configured file used to measure the audio signal, and the measurement items characterize the acoustic attributes of the audio signal to be measured; controlling the speakers inside the vehicle to emit the audio signal to be tested according to the signal type of the audio signal to be tested; determining the acoustic measurement algorithm corresponding to the measurement items of the audio signal to be tested, and determining the measurement result of the audio signal to be tested according to the acoustic measurement algorithm. Figure 4 As shown, the method includes the following steps:
[0117] S401. Receive the acoustic measurement configuration file uploaded by the user and determine the signal type and measurement items of the audio signal to be measured; wherein, the acoustic measurement configuration file is a pre-configured file used to measure the audio signal, and the measurement items characterize the acoustic attributes of the audio signal to be measured.
[0118] For example, a user can upload a pre-written acoustic measurement configuration file to the vehicle's infotainment system. This configuration file can include information such as the type of signal to be measured, the measurement items, and the acoustic measurement algorithm. In other words, the acoustic measurement configuration file can be used to measure audio signals. Signal types can include white noise, pink noise, chirp, and swept-frequency signals, etc. Measurement items can characterize the acoustic properties of the audio signal to be measured; for example, acoustic properties can include the sound pressure level, amplitude response, delay, and harmonic distortion of the audio signal.
[0119] The system receives acoustic measurement configuration files uploaded by users and determines the signal type and measurement items of the audio signal to be measured from these files. For example, the acoustic measurement configuration file may specify the signal to be measured (pink noise) and the amplitude response of the signal to be measured.
[0120] S402. Based on the type of audio signal to be tested, control the speakers in the vehicle to emit the audio signal to be tested.
[0121] For example, after determining the type of the audio signal to be tested, the speakers in the vehicle can be activated to emit an audio signal of that type, which serves as the audio signal to be tested. That is, the speakers in the vehicle are controlled to emit the audio signal to be tested. There can be multiple speakers in the vehicle, and each speaker can emit the audio signal to be tested.
[0122] S403. Determine the acoustic measurement algorithm corresponding to the measurement items of the audio signal to be measured, and determine the measurement result of the audio signal to be measured based on the acoustic measurement algorithm.
[0123] For example, the acoustic measurement configuration file can include measurement items to be measured, and different measurement items can correspond to different acoustic measurement algorithms. The acoustic measurement configuration file can also set the correlation between different signal types and measurement items. After obtaining the audio signal to be tested, the signal type of the audio signal to be tested is determined. According to the preset correlation, the measurement items corresponding to that signal type are determined. According to the preset acoustic measurement algorithm, the measurement results of each measurement item of the audio signal to be tested are determined. This achieves automated testing for different types of signals, improves the efficiency of acoustic testing, and thus improves the efficiency of determining tuning parameters.
[0124] In this embodiment, the method further includes: determining the tuning link corresponding to the signal type of the audio signal to be tested based on the preset correlation between signal type and tuning link; wherein the tuning link corresponding to the signal type of the audio signal to be tested is used to perform tuning processing on the audio signal to be tested.
[0125] Specifically, multiple tuning links are pre-set, and the correlation between signal types and tuning links can be pre-defined. After determining the signal type of the audio signal to be tested, the tuning link corresponding to that signal type can be determined according to the pre-defined correlation.
[0126] Automatic tuning links, manual tuning links, and hybrid tuning links can be preset. An automatic tuning link indicates that the tuning process is automatic, requiring no manual tuning by the sound engineer. A manual tuning link indicates that the sound engineer needs to manually use each tuning module, sending the output data of each module to the next tuning module in the link. A hybrid tuning link refers to a tuning link where some tuning modules perform tuning automatically, while others require manual tuning. For example, an automatic tuning link might be: crossover matrix module - acoustic compensation module - PEQ - GA module - PA module - delay module - DRC module; a manual tuning link might be: GEQ (Graphic Equalizer) - PEQ - crossover matrix module - GA module - PA module - delay module - DRC module; and a hybrid tuning link might be: GEQ - PEQ - crossover matrix module - acoustic compensation module - PEQ - GA module - PA module - delay module - DRC module.
[0127] The advantage of this setup is that by pre-setting different tuning links, different links can be used to determine the tuning parameters for different in-vehicle scenarios, thereby improving the accuracy and efficiency of tuning parameter determination.
[0128] Figure 5This is a schematic diagram of an in-vehicle infotainment system. The system may include a user interaction unit, a configuration unit, an acoustic measurement unit, and a tuning unit. The user interaction unit can connect to an in-vehicle display, allowing the user to issue commands or view data. The configuration unit may store acoustic measurement configuration files, which the user can upload to the configuration unit via the user interaction unit. The acoustic measurement configuration files may include information such as the types of acoustic signals and measurement items, as well as information such as preset tuning modules and tuning links.
[0129] The acoustic measurement unit can generate the audio signal to be tested according to the acoustic measurement configuration file. The acoustic measurement unit may include a signal generator, an acoustic measurement algorithm, and an acoustic curve generator. The signal generator can be used to generate audio signals of different types, the acoustic measurement algorithm can be used to perform different measurement tests on the audio signal, and the acoustic curve generator can be used to display the measurement results graphically.
[0130] The tuning unit can include multiple tuning links, which can be manual or automatic. For manual tuning links, the user manually adjusts the tuning parameters of the tuning module based on the measurement results. For automatic tuning links, the tuning parameters of the tuning module are automatically adjusted based on the measurement results to obtain the tuning parameters to be confirmed for the tuned module. Then, based on the tuning parameters to be confirmed for the tuning module and the preset tuning links, the audio signal to be tested is tuned to obtain the tuned audio signal. The measurement result of the tuned audio signal is then determined. If the measurement result of the tuned audio signal meets the preset measurement completion conditions, the tuning parameters to be confirmed for the tuning module are determined as the target tuning parameters for the tuning module.
[0131] Figure 6 This is a schematic diagram of the tuning process. Figure 6 In the process, the audio signal to be tested is input as an audio stream to the input layer. At the input layer, the audio signal is rectified into data blocks of fixed frame length. The control layer runs a state machine, starts each tuning module, and loads the tuning parameters for each module. In the processing layer, tuning processing is performed according to the preset tuning chain. Figure 6 In the processing layer, the path from GEQ to DRC represents the manual tuning link, and the path from the crossover matrix module to DRC represents the automatic tuning link. The data output from DRC is sent to the output layer, where the data block size is adjusted, and the audio stream is output.
[0132] S404. Based on the measurement results of the audio signal to be tested, adjust the tuning parameters of the tuning module to obtain the tuning parameters to be confirmed for the tuning module.
[0133] For example, this step can refer to step S101 above, and will not be repeated here.
[0134] S405. Based on the tuning parameters to be confirmed by the tuning module, and based on the preset tuning link, the audio signal to be tested is tuned to obtain the tuned audio signal to be tested; wherein, the preset tuning link represents the connection order between the tuning modules.
[0135] For example, this step can refer to step S102 above, and will not be repeated here.
[0136] S406. Determine the measurement result of the audio signal to be tested after tuning. If the measurement result of the audio signal to be tested after tuning meets the preset measurement completion conditions, then determine the tuning parameters to be confirmed by the tuning module as the target tuning parameters of the tuning module.
[0137] For example, this step can refer to step S103 above, and will not be repeated here.
[0138] In this embodiment, the method further includes: receiving an audio signal to be tuned and determining the signal type of the audio signal to be tuned; determining a tuning link corresponding to the signal type of the audio signal to be tuned, which is a first link, based on the preset correlation between the signal type and the tuning link; and performing tuning processing on the audio signal to be tuned according to the target tuning parameters of each tuning module in the first link to obtain the tuned audio signal to be tuned.
[0139] Specifically, after determining the target tuning parameters for each tuning module, the tuning modules can be used to perform tuning in actual vehicle usage scenarios. For example, when a driver or passenger listens to the radio in the car, the volume of the broadcast can be tuned. The audio signal that needs tuning can be identified as the audio signal to be tuned, and the type of the audio signal to be tuned can be determined in real time.
[0140] The association between signal types and tuning links is preset. Based on the preset association, the tuning link corresponding to the signal type of the audio signal to be tuned is determined as the first link. Tuning is performed using the first link, that is, the audio signal to be tuned is processed according to the target tuning parameters of each tuning module in the first link to obtain the tuned audio signal, which is then sent to the user for listening.
[0141] In this embodiment, the type of audio signal to be tuned can be determined by the following methods: 1. Obtain audio containing metadata of audio category and determine it directly through the metadata; 2. If there is no audio category metadata but the player has a system category label, determine it through the player category; 3. Determine the default or set category. For example, if the previous signal was a tagged signal of a certain category, when switching to the current uncategorized signal, use the same mode as the previous signal for tuning; 4. Manually select according to the user's subjective preference.
[0142] The advantage of this setup is that, once the tuning parameters are determined, different links can be used for targeted tuning of different types of audio signals during actual tuning, thereby improving the tuning effect and meeting the actual needs of users.
[0143] In this embodiment, the method further includes: responding to a user-issued switching command for the tuning link, determining a second link; wherein the second link represents the tuning link after being switched from the first link; loading the target tuning parameters of the tuning modules in the second link, and controlling the volume information of the audio signal to be tuned; if it is determined that the volume information of the audio signal to be tuned reaches a preset volume level, then according to the target tuning parameters of each tuning module in the second link, performing tuning processing on the audio signal to be tuned, and outputting the tuned audio signal to be tuned.
[0144] Specifically, in real-world audio tuning scenarios, users can switch tuning links at any time, i.e., switch sound effect modes. For example, a user can issue a tuning link switching command via a button on a vehicle. Upon receiving the user's tuning link switching command, the desired tuning link is determined from the command and designated as the second link. That is, the second link represents the tuning link after the switch from the first link. The target tuning parameters for each tuning module in the second link are loaded, and the volume information of the audio signal to be tuned is controlled. During the switching process, the volume information can be gradually reduced until it is muted, i.e., a fade-out is achieved. Then, the volume can be gradually increased until it returns to the volume before the switch, i.e., a fade-in is achieved.
[0145] During volume changes, it can be determined whether the volume information has reached a preset volume level. For example, the preset volume level is 0, i.e., mute. If it is determined that the volume information of the audio signal to be tuned has reached the preset volume level, then the audio signal to be tuned can be tuned according to the target tuning parameters of each tuning module in the second link, outputting the tuned audio signal to be tuned, and controlling the volume information to gradually increase to the volume before switching. If it is determined that the volume information of the audio signal to be tuned has not reached the preset volume level, then the volume information changes are controlled until the preset volume level is reached.
[0146] The advantage of this setup is that once the tuning parameters are determined, different links can be used to switch between different audio signals during actual tuning, improving the flexibility of tuning and enhancing the user experience.
[0147] In this embodiment, the vehicle is equipped with multiple tuning modules, each capable of tuning audio signals according to its own tuning parameters. Before actual tuning, the tuning parameters of each tuning module need to be determined to ensure effective tuning of the audio signal. The system receives the audio signal to be tested from the vehicle, measures its acoustic properties, and obtains the measurement results. Based directly on the measurement results of the audio signal to be tested, the tuning parameters of the tuning modules are adjusted to obtain initial tuning parameters, which serve as the tuning parameters to be confirmed. The tuning modules are pre-sorted to obtain a tuning chain. Based on the tuning parameters to be confirmed for each tuning module and the preset tuning chain, the audio signal to be tested is progressively tuned to obtain the tuned audio signal. The tuned audio signal is then measured again to obtain the measurement results. If the measurement results meet preset measurement completion conditions, the tuning parameters to be confirmed for each tuning module are determined as the target tuning parameters for that module, thus completing the determination of the tuning parameters. This technology couples measurement and tuning, allowing for direct measurement and tuning within the vehicle without the need for external measuring devices. Tuning parameters are adjusted directly using measurement results, improving the efficiency of parameter determination. Furthermore, through a pre-defined tuning link, comprehensive tuning of the audio signal is achieved, avoiding the inaccuracies caused by simple equalizer tuning in existing technologies and thus improving tuning precision.
[0148] Figure 7 This is a structural block diagram of a vehicle-based tuning parameter determination device provided in an embodiment of this disclosure. For ease of explanation, only the parts relevant to the embodiment of this disclosure are shown. This device is applied to a vehicle, which has various tuning modules deployed within it. Each tuning module performs tuning processing on an audio signal according to its own tuning parameters. (Refer to...) Figure 7 The device 700 for determining the tuning parameters of a vehicle includes a measurement module 701, a tuning module 702, and a determination module 703.
[0149] The measurement module 701 is used to determine the measurement result of the audio signal to be measured inside the vehicle, and to adjust the tuning parameters of the tuning module according to the measurement result of the audio signal to be measured, so as to obtain the tuning parameters to be confirmed of the tuning module; wherein, the measurement result represents the result obtained by measuring the acoustic properties of the audio signal inside the vehicle;
[0150] The tuning module 702 is used to tune the audio signal under test according to the tuning parameters to be confirmed by the tuning module and based on a preset tuning link to obtain the tuned audio signal under test; wherein, the preset tuning link represents the connection order between the tuning modules.
[0151] The determining module 703 is used to determine the measurement result of the tuned audio signal to be tested. If the measurement result of the tuned audio signal to be tested meets the preset measurement completion conditions, then the tuning parameter to be confirmed by the tuning module is determined to be the target tuning parameter of the tuning module.
[0152] Figure 8 A structural block diagram of a device for determining vehicle tuning parameters provided in this disclosure embodiment is shown below. Figure 8 As shown, the vehicle-based tuning parameter determination device 800 includes a measurement module 801, a tuning module 802, and a determination module 803, wherein the tuning module 802 includes a rectifier unit 8021 and a tuning unit 8022.
[0153] The rectifier unit 8021 is used to rectify the audio signal under test according to a preset data frame length to obtain the data block corresponding to the audio signal under test.
[0154] The tuning unit 8022 is used to input the data block corresponding to the audio signal under test to a preset tuning link, and obtain the tuned audio signal under test according to the tuning parameters to be confirmed of the tuning module in the preset tuning link.
[0155] In one example, the tuning module in the preset tuning link includes a crossover matrix module and an acoustic compensation module. The tuning parameters to be confirmed by the crossover matrix module include gain parameters and delay parameters, and the tuning parameters to be confirmed by the acoustic compensation module include amplitude compensation parameters and phase compensation parameters. The tuning unit 8022 includes:
[0156] The first determining subunit is used to adjust the gain of the data block corresponding to the audio signal under test according to the gain parameter of the frequency division matrix module, and to adjust the delay of the data block corresponding to the audio signal under test according to the delay parameter of the frequency division matrix module, and to determine the data block after gain adjustment and delay adjustment as the first data.
[0157] The second determining subunit is used to adjust the amplitude response of the first data according to the amplitude compensation parameter of the acoustic compensation module, and to adjust the phase response of the first data according to the phase compensation parameter of the acoustic compensation module; wherein the amplitude compensation parameter represents a preset amplitude response curve, and the phase compensation parameter represents a preset phase response curve.
[0158] The third determining subunit is used to determine the tuned audio signal to be tested based on the first data after adjusting the amplitude response and phase response.
[0159] In one example, the third determining subunit is specifically used for:
[0160] The first data, after adjusting for amplitude and phase response, is determined as the second data;
[0161] The gain and phase of the second data are equalized, and the processed second data is determined as the third data.
[0162] Based on the time it takes for the third data to reach the preset listening position, the third data is adjusted by time delay to obtain the fourth data; wherein, the preset listening position represents the preset location in the vehicle where the audio signal is heard;
[0163] The fourth data is subjected to amplitude protection processing to obtain the tuned audio signal to be tested.
[0164] In one example, the tuning module in the preset tuning chain includes a parametric equalizer; the third determining subunit is specifically used for:
[0165] The second data is input into the parametric equalizer, and the frequency domain amplitude of the second data is adjusted by the parametric equalizer.
[0166] The gain and phase of the second data after frequency domain amplitude adjustment are compensated to obtain the third data.
[0167] In one example, the tuning module in the preset tuning chain includes a gain adjustment module and a phase adjustment module; the third determining subunit is specifically used for:
[0168] The second data after frequency domain amplitude adjustment is input into the gain adjustment module, and the gain of the second data after frequency domain amplitude adjustment is equalized by the gain module to obtain the data after gain equalization.
[0169] The data after gain equalization is input into the positive and negative phase adjustment module, and the phase of the data after gain equalization is adjusted by the positive and negative phase adjustment module to obtain the third data.
[0170] In one example, the third determining subunit is specifically used for:
[0171] According to the preset dynamic range, the dynamic parameters of the fourth data are adjusted, and the adjusted fourth data is subjected to amplitude protection processing to obtain the fifth data; wherein, the preset dynamic range represents the preset numerical range of the dynamic parameters.
[0172] Based on the data frame length of the audio signal to be tested, the size of the fifth data is adjusted to obtain the tuned audio signal to be tested.
[0173] In one example, a speaker is deployed in the vehicle; measurement module 801 includes:
[0174] An audio determination unit is used to determine the basic parameters of the audio signal under test based on the measurement results of the audio signal under test; wherein the basic parameters include at least one of the frequency and time of the audio signal;
[0175] The signal transmitting unit is used to control the speakers in the vehicle to emit new audio signals based on the basic parameters of the audio signal to be tested.
[0176] The parameter determination unit is used to determine the tuning parameters of the tuning module based on the new audio signal emitted by the speaker and a preset parameter determination algorithm, which are the tuning parameters to be confirmed.
[0177] In one example, the parameter determination unit is specifically used for:
[0178] The new audio signal emitted by the speaker is smoothed to obtain a denoised signal; wherein the denoised signal represents the audio signal after the noise has been removed by the smoothing process.
[0179] Based on the pre-defined relationship between the tuning module and the parameter determination algorithm, determine the parameter determination algorithm corresponding to the tuning module in the pre-defined tuning link;
[0180] Based on the denoised signal, and using a parameter determination algorithm corresponding to the tuning module in the preset tuning link, the tuning parameters to be confirmed for the tuning module in the preset tuning link are determined.
[0181] In one example, measurement module 801 includes:
[0182] The file receiving unit is used to receive the acoustic measurement configuration file uploaded by the user, and to determine the signal type and measurement items of the audio signal to be measured; wherein, the acoustic measurement configuration file is a pre-configured file used to measure the audio signal, and the measurement items characterize the acoustic attributes of the audio signal to be measured.
[0183] The control unit is used to control the speakers in the vehicle to emit the audio signal to be tested according to the signal type of the audio signal to be tested;
[0184] The measurement unit is used to determine the acoustic measurement algorithm corresponding to the measurement item of the audio signal to be measured, and to determine the measurement result of the audio signal to be measured according to the acoustic measurement algorithm.
[0185] In one example, the device also includes:
[0186] The link determination module is used to determine the tuning link corresponding to the signal type of the audio signal under test based on the preset correlation between signal types and tuning links; wherein, the tuning link corresponding to the signal type of the audio signal under test is used to perform tuning processing on the audio signal under test.
[0187] In one example, the device also includes:
[0188] A type determination module is used to receive the audio signal to be tuned and determine the signal type of the audio signal to be tuned;
[0189] The first determining module is used to determine the tuning link corresponding to the signal type of the audio signal to be tuned, which is the first link, based on the preset correlation between signal types and tuning links;
[0190] The second determining module is used to perform tuning processing on the audio signal to be tuned according to the target tuning parameters of each tuning module in the first link, so as to obtain the tuned audio signal to be tuned.
[0191] In one example, the device also includes:
[0192] The instruction response module is used to respond to the user's instruction to switch the tuning link and determine the second link; wherein the second link represents the tuning link after being switched from the first link;
[0193] The volume control module is used to load the target tuning parameters of the tuning module in the second link and control the volume information of the audio signal to be tuned;
[0194] The link switching module is used to perform tuning processing on the audio signal to be tuned according to the target tuning parameters of each tuning module in the second link if it is determined that the volume information of the audio signal to be tuned reaches the preset volume level, and output the tuned audio signal to be tuned.
[0195] Figure 9 A structural block diagram of an electronic device provided in an embodiment of this application, such as... Figure 9 As shown, the electronic device includes: a memory 91 and a processor 92; the memory 91 is a memory used to store instructions executable by the processor 92.
[0196] The processor 92 is configured to perform the methods provided in the embodiments described above.
[0197] The electronic device also includes a receiver 93 and a transmitter 94. The receiver 93 is used to receive instructions and data sent by other devices, and the transmitter 94 is used to send instructions and data to external devices.
[0198] Figure 10 This is a block diagram illustrating a terminal device according to an exemplary embodiment. The device may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.
[0199] The device 1000 may include one or more of the following components: a processing component 1002, a memory 1004, a power supply component 1006, a multimedia component 1008, an audio component 1010, an input / output (I / O) interface 1012, a sensor component 1014, and a communication component 1016.
[0200] Processing component 1002 typically controls the overall operation of device 1000, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 1002 may include one or more processors 1020 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 1002 may include one or more modules to facilitate interaction between processing component 1002 and other components. For example, processing component 1002 may include a multimedia module to facilitate interaction between multimedia component 1008 and processing component 1002.
[0201] Memory 1004 is configured to store various types of data to support the operation of device 1000. Examples of such data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, etc. Memory 1004 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0202] Power supply component 1006 provides power to various components of device 1000. Power supply component 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 1000.
[0203] The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 1008 includes a front-facing camera and / or a rear-facing camera. When the device 1000 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0204] Audio component 1010 is configured to output and / or input audio signals. For example, audio component 1010 includes a microphone (MIC) configured to receive external audio signals when device 1000 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1004 or transmitted via communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
[0205] I / O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0206] Sensor assembly 1014 includes one or more sensors for providing state assessments of various aspects of device 1000. For example, sensor assembly 1014 may detect the on / off state of device 1000, the relative positioning of components such as the display and keypad of device 1000, changes in the position of device 1000 or a component of device 1000, the presence or absence of user contact with device 1000, the orientation or acceleration / deceleration of device 1000, and temperature changes of device 1000. Sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1014 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 1014 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0207] Communication component 1016 is configured to facilitate wired or wireless communication between device 1000 and other devices. Device 1000 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 1016 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1016 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0208] In an exemplary embodiment, the apparatus 1000 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0209] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1004 including instructions, which can be executed by a processor 1020 of the device 1000 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0210] A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a terminal device, enable the terminal device to perform the aforementioned method for determining vehicle-based tuning parameters of the terminal device.
[0211] This application also discloses a computer program product, including a computer program that, when executed by a processor, implements the method described in this embodiment.
[0212] Various embodiments of the systems and technologies described above in this application can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0213] The program code used to implement the methods of this application may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or electronic device.
[0214] In the context of this application, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0215] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0216] The systems and technologies described herein can be implemented in computing systems that include back-end components (e.g., as data electronic devices), or computing systems that include middleware components (e.g., application electronic devices), or computing systems that include front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0217] Computer systems can include client and electronic devices. Clients and electronic devices are generally geographically separated and typically interact via communication networks. The client-electronic device relationship is created by computer programs running on the respective computers and having a client-electronic device relationship with each other. The electronic device can be a cloud electronic device, also known as a cloud computing electronic device or cloud host, a host product within the cloud computing service system, addressing the shortcomings of traditional physical hosts and VPS services ("Virtual Private Server," or simply "VPS") in terms of management difficulty and weak business scalability. The electronic device can also be an electronic device in a distributed system or an electronic device incorporating blockchain technology. It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this application can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this application is achieved, and this is not limited herein.
[0218] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0219] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method for determining tuning parameters based on a vehicle, characterized in that, The method is applied to a vehicle in which a plurality of tuning modules are deployed, the tuning modules being configured to tune audio signals according to tuning parameters of the tuning modules; the method comprises: determining a measurement result of a to-be-tested audio signal in the vehicle, and adjusting the tuning parameters of the tuning modules according to the measurement result of the to-be-tested audio signal to obtain to-be-confirmed tuning parameters of the tuning modules; wherein the measurement result represents a result obtained by measuring acoustic properties of the audio signal in the vehicle; based on a preset tuning link, tuning the to-be-tested audio signal according to the to-be-confirmed tuning parameters of the tuning modules to obtain a tuned to-be-tested audio signal; wherein the preset tuning link represents a connection order between the tuning modules; determining a measurement result of the tuned to-be-tested audio signal, and determining that the to-be-confirmed tuning parameters of the tuning modules are target tuning parameters of the tuning modules if the measurement result of the tuned to-be-tested audio signal meets a preset measurement completion condition.
2. The method of claim 1, wherein, The method of tuning the to-be-tested audio signal according to the to-be-confirmed tuning parameters of the tuning modules based on the preset tuning link to obtain the tuned to-be-tested audio signal comprises: rectifying the to-be-tested audio signal according to a preset data frame length to obtain a data block corresponding to the to-be-tested audio signal; inputting the data block corresponding to the to-be-tested audio signal into the preset tuning link, and obtaining the tuned to-be-tested audio signal according to the to-be-confirmed tuning parameters of the tuning modules in the preset tuning link.
3. The method of claim 2, wherein, The tuning modules in the preset tuning link comprise a frequency division matrix module and an acoustic compensation module, the to-be-confirmed tuning parameters of the frequency division matrix module comprise a gain parameter and a delay parameter, and the to-be-confirmed tuning parameters of the acoustic compensation module comprise an amplitude compensation parameter and a phase compensation parameter; the method of obtaining the tuned to-be-tested audio signal according to the to-be-confirmed tuning parameters of the tuning modules in the preset tuning link comprises: adjusting the gain of the data block corresponding to the to-be-tested audio signal according to the gain parameter of the frequency division matrix module, and adjusting the delay of the data block corresponding to the to-be-tested audio signal according to the delay parameter of the frequency division matrix module, and determining the data block after the gain adjustment and the delay adjustment as first data; adjusting the amplitude response of the first data according to the amplitude compensation parameter of the acoustic compensation module, and adjusting the phase response of the first data according to the phase compensation parameter of the acoustic compensation module; wherein the amplitude compensation parameter represents a preset amplitude response curve, and the phase compensation parameter represents a preset phase response curve; determining the tuned to-be-tested audio signal according to the first data after the adjustment of the amplitude response and the phase response.
4. The method of claim 3, wherein, The method of determining the tuned to-be-tested audio signal according to the first data after the adjustment of the amplitude response and the phase response comprises: determining the first data after the adjustment of the amplitude response and the phase response as second data; equalizing the gain and the phase of the second data to determine third data after the processing of the second data; and determining the tuned to-be-tested audio signal according to the third data. According to a time when the third data reaches a preset listening position, the third data is time-delay adjusted to obtain fourth data; wherein the preset listening position represents a preset position in the vehicle to hear the audio signal; The fourth data is subjected to amplitude protection processing to obtain the tuned-to-be-measured audio signal.
5. The method of claim 4, wherein, The tuning module in the preset tuning link includes a parameter equalizer; the equalization processing of the gain and phase of the second data to determine the processed second data as the third data includes: The second data is input into the parameter equalizer, and the second data is subjected to frequency domain amplitude adjustment by the parameter equalizer; The gain and phase of the second data subjected to the frequency domain amplitude adjustment are compensated to obtain the third data.
6. The method of claim 5, wherein, The tuning module in the preset tuning link includes a gain adjustment module and a positive and negative phase adjustment module; the compensation processing of the gain and phase of the second data subjected to the frequency domain amplitude adjustment to obtain the third data includes: The second data subjected to the frequency domain amplitude adjustment is input into the gain adjustment module, and the gain of the second data subjected to the frequency domain amplitude adjustment is equalized by the gain module to obtain data subjected to equalization processing of the gain; The data subjected to equalization processing of the gain is input into the positive and negative phase adjustment module, and the data subjected to equalization processing of the gain is subjected to phase adjustment by the positive and negative phase adjustment module to obtain the third data.
7. The method of claim 4, wherein, The amplitude protection processing of the fourth data to obtain the tuned-to-be-measured audio signal includes: According to a preset dynamic range, the dynamic parameters of the fourth data are adjusted, and the adjusted fourth data is subjected to amplitude protection processing to obtain fifth data; wherein the preset dynamic range represents a preset numerical range of the dynamic parameters; According to the data frame length of the to-be-measured audio signal, the fifth data is size-adjusted to obtain the tuned-to-be-measured audio signal.
8. The method of claim 1, wherein, The vehicle is deployed with a loudspeaker; the adjustment of the tuning parameters of the tuning module according to the measurement result of the to-be-measured audio signal to obtain the to-be-confirmed tuning parameters of the tuning module includes: According to the measurement result of the to-be-measured audio signal, the basic parameters of the to-be-measured audio signal are determined; wherein the basic parameters include at least one of the frequency and time of the audio signal; According to the basic parameters of the to-be-measured audio signal, the loudspeaker in the vehicle is controlled to emit a new audio signal; According to the new audio signal emitted by the loudspeaker, the tuning parameters of the tuning module are determined based on a preset parameter determination algorithm, which are the to-be-confirmed tuning parameters.
9. The method of claim 8, wherein, The determination of the tuning parameters of the tuning module based on the preset parameter determination algorithm according to the new audio signal emitted by the loudspeaker, which are the to-be-confirmed tuning parameters, includes: The new audio signal emitted by the loudspeaker is subjected to smoothing processing to obtain a de-noised signal; wherein the de-noised signal represents an audio signal from which noise is removed after smoothing processing; According to the preset association relationship between the tuning module and the parameter determination algorithm, the parameter determination algorithm corresponding to the tuning module in the preset tuning link is determined; According to the de-noising signal, based on the parameter determination algorithm corresponding to the tuning module in the preset tuning link, the to-be-confirmed tuning parameter of the tuning module in the preset tuning link is determined.
10. The method according to any one of claims 1-9, characterized in that, The measurement result of the to-be-measured audio signal in the vehicle includes: Receiving a user-uploaded acoustic measurement configuration file, determining the signal type and measurement item of the to-be-measured audio signal; wherein the acoustic measurement configuration file is pre-configured, a file for measuring an audio signal, and the measurement item represents the acoustic properties that need to be measured for the to-be-measured audio signal; According to the signal type of the to-be-measured audio signal, the loudspeaker in the vehicle is controlled to emit the to-be-measured audio signal; Determine the acoustic measurement algorithm corresponding to the measurement item of the to-be-measured audio signal, and determine the measurement result of the to-be-measured audio signal according to the acoustic measurement algorithm.
11. The method of claim 10, wherein, The method further includes: According to the association relationship between the preset signal type and the tuning link, the tuning link corresponding to the signal type of the to-be-measured audio signal is determined; wherein the tuning link corresponding to the signal type of the to-be-measured audio signal is used for tuning processing of the to-be-measured audio signal.
12. The method of claim 11, wherein, The method further includes: Receiving a to-be-tuned audio signal, determining the signal type of the to-be-tuned audio signal; According to the association relationship between the preset signal type and the tuning link, the tuning link corresponding to the signal type of the to-be-tuned audio signal is determined as a first link; According to the target tuning parameters of each tuning module in the first link, the to-be-tuned audio signal is tuned to obtain a tuned to-be-tuned audio signal.
13. The method of claim 12, wherein, The method further includes: In response to a user-issued tuning link switching instruction, a second link is determined; wherein the second link represents the tuning link after switching from the first link; Load the target tuning parameters of the tuning modules in the second link and control the volume information of the to-be-tuned audio signal; If it is determined that the volume information of the to-be-tuned audio signal reaches a preset volume size, the to-be-tuned audio signal is tuned according to the target tuning parameters of each tuning module in the second link, and a tuned to-be-tuned audio signal is output.
14. A vehicle-based tuning parameter determination apparatus, characterized by, The device is applied to a vehicle, and a plurality of tuning modules are deployed in the vehicle, which are used to tune an audio signal according to their own tuning parameters; the device includes: A measurement module is configured to determine a measurement result of a to-be-measured audio signal in a vehicle, adjust the tuning parameters of the tuning module according to the measurement result of the to-be-measured audio signal, and obtain to-be-confirmed tuning parameters of the tuning module; wherein the measurement result represents the result obtained by measuring the acoustic properties of the audio signal in the vehicle; A tuning module is configured to tune the to-be-measured audio signal based on a preset tuning link according to the to-be-confirmed tuning parameters of the tuning module, and obtain a tuned to-be-measured audio signal; wherein the preset tuning link represents the connection order between the tuning modules. A determining module is configured to determine a measurement result of the tuned to-be-tested audio signal, and determine that a to-be-confirmed tuning parameter of the tuning module is a target tuning parameter of the tuning module if the measurement result of the tuned to-be-tested audio signal meets a preset measurement completion condition.
15. An electronic device, comprising: The method comprises: A processor and a memory connected to the processor in communication; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1-13.
16. A vehicle characterized by comprising: The electronic device is arranged in the vehicle.
17. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by the processor to implement the method according to any one of claims 1-13.
18. A computer program product, characterised in that, The computer program is executed by the processor to implement the method according to any one of claims 1-13.