Sound effect adjustment method and vehicle

CN122802856APending Publication Date: 2026-09-22GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610863780.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-15
Publication Date
2026-09-22

AI Technical Summary

Technical Problem

但是,该方法仅能保证最佳听音位具有较好的音效表现,降低了用户体验

Benefits of technology

[0008]通过上述技术方案,能够考虑距离衰减特性,即声压级随距离增加而减小,在声场中心变化,根据目标声道与声场中心之间的相对距离补偿各声道的音量增益,同时还可以根据相对距离和预先标定的第一预设关系、第二预设关系识别对应的均衡器参数和滤波器参数,由此,根据相对距离确定目标声道的增益补偿、均衡器参数和滤波器参数中的一个或多个,为用户的听音效果提供了保障。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122802856A_ABST
    Figure CN122802856A_ABST
Patent Text Reader

Abstract

The application provides an audio effect adjusting method and a vehicle. The method is applied to the technical field of vehicle control and includes the following steps: identifying the seating position of a target user in the vehicle and matching a sound field center corresponding to the seating position; determining a target sound channel of a plurality of sound channels in the vehicle, determining the relative distance between the target sound channel and the sound field center according to the spatial coordinates of at least one loudspeaker corresponding to the target sound channel; determining the target audio effect parameter of the target sound channel according to the relative distance, and controlling the target sound channel to play according to the target audio effect parameter. Therefore, the method can automatically adjust the audio effect parameter of the sound channel in the vehicle according to the situation of the people in the vehicle, so as to adjust the sound field in the vehicle to the optimal sound field state, and improve the audio effect in the vehicle and the listening experience of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle control, and more specifically, to a method for adjusting sound effects and a vehicle in the field of vehicle control. Background Technology

[0002] With the development of intelligent technology, intelligent vehicles are becoming the next generation of intelligent terminals after personal computers, smartphones, and tablets. Currently, high-performance chips, operating systems (OS), full-scenario collaboration, and the development of the cockpit ecosystem are driving the intelligent car cockpit to become a personal third space. Among the many in-car entertainment activities, listening to music is the most frequent, therefore, passengers have increasingly higher requirements for in-car sound performance, hoping to obtain the best listening experience.

[0003] In the vehicle design phase, related technologies first determine the optimal listening positions within the vehicle based on design requirements, such as the driver's seat, rear seats, or the executive seat. Then, the vehicle's audio parameters are calibrated according to these optimal listening positions. However, this method only guarantees good sound performance at the optimal listening positions, thus reducing the user experience. Summary of the Invention

[0004] This application provides a sound effect adjustment scheme and vehicle. The method can determine the optimal sound field center position in real time according to the situation of the people in the vehicle, so as to adjust the sound effect parameters of the target channel of the vehicle, adjust the sound field in the vehicle to the optimal sound field state, and improve the in-vehicle sound effect and user experience.

[0005] In a first aspect, a method for adjusting the sound effects of a vehicle is provided. The method includes: identifying the seating position of a target user in the vehicle and matching the sound field center corresponding to the seating position; determining the target channel of multiple in-vehicle sound channels and determining the relative distance between the target channel and the sound field center based on the spatial coordinates of at least one speaker corresponding to the target channel; determining the target sound effect parameters of the target channel based on the relative distance and controlling the playback of the target channel based on the target sound effect parameters.

[0006] The above technical solution enables the determination of the optimal sound field center position in real time based on the seating position of the target user inside the vehicle during vehicle use. It also determines the relative distance between the target sound channel and the optimal sound field center based on the spatial coordinates of at least one speaker corresponding to the target channel, thereby determining the target sound effect parameters and controlling the target channel. Thus, this method dynamically adjusts the parameters of the target channel according to the occupants' situation, automatically adjusting the in-vehicle sound field to the optimal level, improving in-vehicle sound effects and user experience.

[0007] In conjunction with the first aspect and the above implementation methods, in some possible implementation methods, the target sound effect parameters include one or more of gain compensation, equalizer parameters, and filter parameters. Determining the target sound effect parameters of the target channel based on the relative distance includes: determining a gain adjustment value based on a reference distance and a relative distance, and determining gain compensation based on a reference gain and a gain adjustment value; determining equalizer parameters based on the relative distance and a first preset relationship, wherein the first preset relationship is used to characterize the mapping relationship between equalizer parameters and relative distance; and determining filter parameters based on the relative distance and a second preset relationship, wherein the first preset relationship is used to characterize the mapping relationship between filter parameters and relative distance.

[0008] The above technical solution takes into account the distance attenuation characteristics, that is, the sound pressure level decreases with increasing distance and changes at the center of the sound field. The volume gain of each channel is compensated according to the relative distance between the target channel and the center of the sound field. At the same time, the corresponding equalizer parameters and filter parameters can be identified according to the relative distance and the pre-calibrated first and second preset relationships. Thus, one or more of the target channel gain compensation, equalizer parameters and filter parameters are determined according to the relative distance, which provides a guarantee for the user's listening effect.

[0009] In combination with the first aspect and the above implementation methods, in some possible implementation methods, after determining the target sound effect parameters of the target channel based on the relative distance, the sound effect adjustment method of the vehicle further includes: identifying the speaker type corresponding to the target channel; and adjusting the target sound effect parameters according to the speaker type.

[0010] The above technical solution takes into account the differences in speaker types, treating sound effect parameters differently for different speaker types to ensure the final listening effect. For example, when the speaker type is a sky speaker, the gain compensation in the final target sound effect parameters is determined by considering the height deviation between the target channel and the sound field center on the Z-axis; when the speaker type corresponding to the target channel is a surround speaker, the calculated gain compensation is reduced. When the speaker type corresponding to the target channel is a subwoofer, because the human ear is not sensitive to low-frequency direction, the low-pass filter parameter in the filter parameters can be adjusted to merge or simplify the low-frequency signal, for example, by using only one subwoofer channel. When the speaker type corresponding to the target channel is a sky speaker, the high-frequency attenuation compensation in the equalizer parameters can be increased to compensate for the high-frequency attenuation caused by air absorption.

[0011] Combining the first aspect and the above implementation methods, in some possible implementation methods, the target sound effect parameter includes delay time, and the method further includes: when there are multiple target channels, determining the maximum relative distance based on the relative distance between the multiple target channels and the center of the sound field; determining the delay compensation of the corresponding target channel based on the maximum relative distance and the relative distance between the target channel and the center of the sound field; and determining the delay time of the target channel based on the reference delay time and the delay compensation.

[0012] The above technical solution enables the calculation of the relative distance between the coordinates of the target channel and the spatial coordinates of the sound field center. Based on the relative distance between multiple target channels and the sound field center, the delay time of each channel can be set so that the sound from different speakers reaches the sound field center simultaneously, ensuring the listening effect.

[0013] Combining the first aspect and the above implementation methods, in some possible implementation methods, controlling the playback of the target channel according to the target sound effect parameters includes: determining at least one sound effect adjustment parameter based on the target sound effect parameters and the actual sound effect parameters of the target channel at the current moment; controlling the playback of the target channel according to the sound effect adjustment parameter so that the actual sound effect parameters of the target channel reach the target sound effect parameters.

[0014] The above technical solution can generate at least one audio effect adjustment parameter based on the target audio effect parameters and the actual audio effect of the target channel at the current moment. The audio effect adjustment parameter can be used to control the target channel to gradually adjust to the target audio effect parameters. Thus, when the center position of the sound field changes, a gradual audio effect parameter update method is adopted to prevent the sudden change of audio effect parameters from causing abrupt changes in the user's listening experience, thereby improving the user experience.

[0015] Combining the first aspect and the above implementation methods, in some possible implementation methods, generating at least one sound effect adjustment parameter for a given moment based on the target sound effect parameters and the actual sound effect of the target channel at the current moment includes: determining a target smoothing coefficient; obtaining the product between the target smoothing coefficient and the target sound effect parameters to obtain a first sound effect parameter; obtaining the product between the difference between the preset coefficient and the target smoothing coefficient and the actual sound effect to obtain a second sound effect parameter; and determining the sound effect adjustment parameter for the next moment based on the first sound effect parameter and the second sound effect parameter.

[0016] The above technical solution enables the determination of the target sound effect parameters of the target channel based on the relative distance between the target channel and the center of the sound field. Then, the sound effect adjustment parameters for the next moment are calculated based on the target smoothing coefficient, the actual sound effect, and the target smoothing coefficient. After controlling the playback of the target channel with the sound effect adjustment parameters for the next moment, the actual sound effect is collected and used to calculate the sound effect adjustment parameters for the next moment. This process is repeated until the target channel reaches the target sound effect parameters, thereby achieving a smooth transition of sound effect parameters and improving the user's listening experience.

[0017] In combination with the first aspect and the above implementation methods, in some possible implementation methods, determining the target smoothing coefficient includes: obtaining the sampling period of the riding position; determining a first smoothing coefficient based on the sampling period and a preset smoothing time constant; and determining the target smoothing coefficient based on the first smoothing coefficient and the preset smoothing coefficient.

[0018] The above technical solution enables the determination of the target smoothing coefficient α=min(1,Δt / T) based on the sampling period of the seating position. smooth ), where 1 is the preset smoothing coefficient, Δt is the sampling period, and T smooth A preset smoothing time constant is used so that the adjustment of its effective parameters can adapt to changes in the dynamic sampling rate.

[0019] In combination with the first aspect and the above implementation methods, in some possible implementation methods, before identifying the seating position of the target user in the vehicle, the method further includes: obtaining the user characteristics of the occupants and the currently playing content; and determining one or more of the occupants as the target user in the vehicle based on the user characteristics and the currently playing content.

[0020] The above technical solution enables the identification of target audiences based on user characteristics and the currently playing content, thereby determining the target users among the occupants of the vehicle and further ensuring sound quality and user experience. Specifically, it can collect information such as the behavioral characteristics and location of occupants through cameras to identify their user features, and directly obtain metadata of the currently playing content from the in-vehicle player for content identification.

[0021] Combining the first aspect and the above implementation methods, in some possible implementation methods, the target audio channel of multiple in-vehicle audio channels is determined, including: identifying the currently playing content and the driving scenario in which the vehicle is located; and determining the target audio channel based on the currently playing content and the driving scenario.

[0022] The above technical solution can determine the target audio channel based on the current playback content and driving scenario, meeting the user's listening needs while ensuring driving safety, and adapting to different application scenarios. For example, when playing music and in a parked scenario, all vehicle channels can be used as the target audio channel to ensure a good listening effect inside the vehicle; when playing music but driving on a mountain road, to reduce the impact on the driver, the channel closest to the driver's seat can be excluded as the target audio channel.

[0023] In a second aspect, a vehicle is provided, the vehicle comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the vehicle sound effect adjustment method in the first aspect or any possible implementation thereof. Attached Figure Description

[0024] Figure 1 This is a schematic flowchart illustrating a method for adjusting the sound effects of a vehicle, as provided in an embodiment of this application.

[0025] Figure 2 This is a schematic diagram of the structure of a vehicle according to an embodiment of this application; Figure 3 This is a schematic diagram of a rectangular coordinate system for the interior space of a vehicle according to an embodiment of this application; Figure 4 This is a schematic diagram of spatial coordinates of a vehicle with only one occupant according to one embodiment of this application; Figure 5 This is a schematic diagram of the spatial coordinates of a vehicle with two occupants according to one embodiment of this application. Figure 1 ; Figure 6 This is a schematic diagram of the spatial coordinates of a vehicle with two occupants according to one embodiment of this application. Figure 2 ; Figure 7 This is a schematic diagram of the spatial coordinates of a vehicle with three occupants according to one embodiment of this application; Figure 8 This is a schematic diagram of the spatial coordinates of a vehicle with four occupants according to an embodiment of this application; Figure 9 This is a schematic diagram of a vehicle sound control system according to an embodiment of this application; Figure 10 This is a schematic diagram of the structure of a vehicle sound effect adjustment device provided in an embodiment of this application; Figure 11 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application. Detailed Implementation

[0026] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of 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, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0027] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0028] The following description, with reference to the accompanying drawings, illustrates the vehicle sound control method and the vehicle as proposed in this application.

[0029] Figure 1 This is a schematic flowchart illustrating a method for adjusting the sound effects of a vehicle, as provided in an embodiment of this application.

[0030] like Figure 1 As shown, the vehicle sound effect adjustment method of this application embodiment includes the following steps: S1 identifies the seating position of the target user inside the vehicle and matches the sound field center corresponding to the seating position.

[0031] Specifically, target users can be set according to preset rules. For example, target users may include all passengers in the vehicle; or, considering driving safety, target users may be passengers other than the driver; or, when there are passengers resting in the vehicle, passengers other than those resting may be used as target users, without any specific restrictions.

[0032] The target user's seating position inside the vehicle refers to the user's actual location. Taking a four-seater vehicle as an example, where the target users are all the occupants (driver and passengers), such as... Figure 2 As shown, the vehicle's passenger seats include the driver's seat, front passenger seat, left rear seat, and right rear seat. The audio channels include FL (Front Left), FR (Front Right), RL (Rear Left), and RR (Rear Right). Cameras positioned on the vehicle's roof monitor the number of occupants and the head position of each user, using their head position to identify their seating location and match the corresponding sound field center.

[0033] For example, such as Figure 3 As shown, a spatial rectangular coordinate system is established with the center of the cabin floor as the origin, and the user's seating position is represented by this spatial rectangular coordinate system.

[0034] In the case where there is only one user in the car, such as Figure 4 As shown, taking the driver's seat as an example, the camera monitors the head position E(x1,y1,z1) of the user in the driver's seat. Then, the optimal sound field center position is directly taken as this position (x1,y1,z1), which is the sound field center corresponding to the seating position.

[0035] If there are two occupants in the vehicle, such Figure 5 As shown, taking a vehicle with occupants in the driver's seat and front passenger seat as an example, the camera monitors the head position of the occupant in the driver's seat (E(x1,y1,z1)) and the head position of the occupant in the front passenger seat (F(x2,y2,z2)). The midpoint M1 of the line segment between points E and F is calculated. , , The optimal sound field center is obtained by taking the coordinate position of M1 as the optimal sound field center position.

[0036] like Figure 6 As shown, when there are occupants in the driver's seat and the left rear seat, the camera monitors the head position of the occupant in the driver's seat (E(x1,y1,z1)) and the head position of the occupant in the left rear seat (G(x3,y3,z3)). The midpoint M2 of the line segment between points E and G is calculated. , , The optimal sound field center is obtained by taking the coordinate position of M2 as the optimal sound field center position.

[0037] It is understandable that, in addition to the two examples mentioned above, situations where there are two occupants in the car also include passengers in the driver's seat and the right rear seat, passengers in the front passenger seat and the right rear seat, passengers in the front passenger seat and the left rear seat, and passengers in the left rear seat and the right rear seat. The specific calculation method for the sound field center is consistent with the above principle, and will not be elaborated further.

[0038] If there are three occupants in the vehicle, such Figure 7 As shown, taking a vehicle with occupants in the driver's seat, front passenger seat, and left rear seat as an example, the camera monitors the head positions of the occupant in the driver's seat (E(x1,y1,z1), the front passenger seat occupant (F(x2,y2,z2), and the left rear seat occupant (G(x3,y3,z3)). The center point M3 in the plane between points E, F, and G is calculated. , , The optimal sound field center is obtained by taking the coordinates of point M3 as the optimal sound field center. It is understood that the calculation principle for the sound field center for other three-occupant arrangements is the same as described above, and will not be repeated here.

[0039] If there are four occupants in the vehicle, Figure 8 As shown, there are occupants in the driver's seat, front passenger seat, left rear seat, and right rear seat of the vehicle. Cameras monitor the head positions of the occupants in the driver's seat (E(x1,y1,z1), front passenger seat (F(x2,y2,z2), left rear seat (G(x3,y3,z3), right rear seat (H(x4,y4,z4)) and F, G, and H respectively. The center point M4 in the plane between point E, F, G, and H is calculated. , , The optimal sound field center is obtained by taking the coordinates of point M4 as the optimal sound field center position.

[0040] This embodiment uses a camera to identify the seating position of the target user inside the vehicle. Compared to related technologies that use pressure sensors to collect the user's seating position, it avoids the problem of pressure sensor misjudgment caused by heavy objects, making the calculation and adjustment of the sound field center more accurate. Furthermore, it considers the differences in head position caused by the height of the occupants, making the optimal listening position more precise based on the head position.

[0041] This embodiment automatically adjusts the sound field center according to the position and number of occupants, eliminating the need for a user and making the application more convenient and accurate.

[0042] S2, determine the target channel of the vehicle's multiple sound channels, and determine the relative distance between the target channel and the sound field center based on the spatial coordinates of at least one speaker corresponding to the target channel.

[0043] Specifically, the target channel is the channel that will be used for this sound effect adjustment. Multiple channels in the car can be designated as the target channel, or a channel can be selected as the target channel based on the content being played. There are no specific restrictions.

[0044] by Figure 2 and Figure 3 For example, a spatial rectangular coordinate system is established with the center of the cabin floor as the origin, representing the user's seating position. Cameras positioned on the vehicle's ceiling monitor the number of occupants and the head position of each user. The user's seating position is identified by their head position, and the corresponding sound field center, i.e., the optimal sound field center position M(x), is calculated. m y m , z m ).

[0045] according to Figure 3The spatial rectangular coordinate system shown is used to identify the spatial coordinates of each speaker in the vehicle, thereby marking the position of each speaker in the vehicle and obtaining the speaker position set S. The in-vehicle audio system is divided into 12 channels: front left (FL), front right (FR), rear left (RL), rear right (RR), center (CEN), left surround (SUR-L), right surround (SUR-R), subwoofer (SUB), roof front left (ROOF-FL), roof front right (ROOF-RL), roof rear left (ROOF-RL), and roof rear right (ROOF-RR). Since each channel may exist in one or more speakers, the speaker corresponding to each channel is identified. When a channel exists in only one speaker, the spatial coordinates of that speaker are used as the coordinate position of the channel. When a channel exists in multiple speakers, the geometric center of the multiple speakers can be calculated, and the coordinates of that geometric center are used as the coordinate position of the channel.

[0046] Understandably, one approach is to pre-calculate the coordinates of each channel in a Cartesian coordinate system based on the corresponding speaker, then construct a channel-coordinate mapping table and store it in the vehicle's memory. During sound effect adjustment, the corresponding coordinates can be directly retrieved from the table based on the target channel. Alternatively, a channel-speaker spatial coordinate mapping table can be pre-constructed and stored in the vehicle's memory. In this case, during sound effect adjustment, at least one speaker can be retrieved from the table based on the target channel, thereby calculating the relative distance between the target channel and the sound field center.

[0047] In other words, after identifying the spatial coordinates of at least one speaker matching the target channel, the coordinate position of the target channel is calculated based on the spatial coordinates of at least one speaker. Then, the straight-line distance between the coordinate position of the target channel and the spatial coordinates of the sound field center is calculated to obtain the relative distance. For example, the formula for calculating the relative distance of each channel relative to the sound field center is as follows: .

[0048] Among them, L i Let x be the relative distance between the i-th channel and the center of the sound field. i y i , zi (x) represents the coordinate position of the i-th channel. m y m , z m () represents the spatial coordinates of the sound field center M.

[0049] S3 determines the target audio parameters of the target channel based on the relative distance, and controls the playback of the target channel based on the target audio parameters.

[0050] Specifically, the target audio parameters may include one or more of the following: channel gain compensation, delay time, filtering parameters, and equalization parameters.

[0051] The target audio parameters for the corresponding target channel are determined based on the relative distance. For example, a mapping table between channel, relative distance, and audio parameters can be pre-defined. After determining the relative distance between the target channel and the sound field center, the target audio parameters can be retrieved from the table. Alternatively, a calculation formula between relative distance and audio parameters can be constructed. After determining the relative distance between the target channel and the sound field center, the target audio parameters can be calculated using this formula. Then, the playback of the target channel is controlled according to the target audio parameters. Thus, by determining the matching audio parameters for the target channel based on the real-time calculated sound field center, dynamic identification of audio parameters can be achieved to meet the audio requirements of different sound field centers.

[0052] It's important to clarify that, unlike speaker parameter adjustments (such as speaker gain, delay, and equalization), channel audio parameter adjustments involve independent parameter modifications (such as channel gain compensation, delay time, and filtering parameters) made for the target channel between the signal input to the amplifier and speaker input. This aims to optimize the overall listening experience when all channels reach the center of the sound field. In other words, each channel is treated as an independent sound source, and the overall channel level parameters are adjusted to ensure coordinated superposition of all channels at the optimal sound field center. Furthermore, targeted processing can be applied based on the content role of each channel to enhance overall clarity and immersion, effectively improving the perceived sound effect within the vehicle. Speaker parameter adjustments, on the other hand, aim to simulate the sound output of a single speaker by superimposing the sounds from multiple speakers within the sound field.

[0053] For example, assuming the right channel of a vehicle includes two woofers and one tweeter, adjusting the speaker parameters when the sound field center changes requires adjusting the delay and gain parameters of each of the three right channel speakers (two woofers and one tweeter) to align the direct sound time at the sound field center and match the synthesized sound pressure level with the left channel. However, this unit-level adjustment disrupts the factory-set constant beamwidth of the right channel speaker array. The change in relative phase between units leads to comb filtering in the synthesized frequency response near the crossover point and mismatches spatial radiation characteristics, resulting in degraded sound field consistency and reduced listening experience. In contrast, the channel parameter adjustment strategy proposed in this embodiment only requires delay and gain compensation for the overall input signal of the right channel. This achieves direct sound time alignment and loudness matching between the left and right channels at the sound field center, while preserving the original constant beamwidth characteristics of the right channel array. Even with slight listener movement, the sound image localization remains stable, and no timbre changes caused by inter-unit comb filtering are introduced. Therefore, adjusting channel parameters, compared to adjusting speaker parameters, can more simply and flexibly solve problems such as asymmetrical listening environments, differentiated content needs, and the complexity of multi-unit systems, while not compromising the original acoustic design of the speaker array and ensuring the listening effect.

[0054] Therefore, this embodiment determines the optimal sound field center position in real time based on the seating position of the target user in the vehicle during vehicle use, and determines the target sound effect parameters of the target channel based on the relative distance between the target channel and the optimal sound field center position for sound effect adjustment, so as to ensure that each channel achieves coordinated superposition at the sound field center, thereby improving the in-vehicle sound effect and user experience. In some embodiments of this application, the target audio effect parameters include one or more of gain compensation, equalizer parameters, and filter parameters. Determining the target audio effect parameters of the target channel based on the relative distance includes: determining a gain adjustment value based on a reference distance and a relative distance, and determining gain compensation based on a reference gain and the gain adjustment value; determining equalizer parameters based on the relative distance and a first preset relationship, wherein the first preset relationship is used to characterize the mapping relationship between the equalizer parameters and the relative distance; and determining filter parameters based on the relative distance and a second preset relationship, wherein the first preset relationship is used to characterize the mapping relationship between the filter parameters and the relative distance.

[0055] Specifically, gain compensation refers to a parameter setting that artificially or automatically increases the output signal level to compensate for the overall decrease in volume caused by compression, limiting, or other dynamic processing of the audio signal. This embodiment considers distance attenuation characteristics, i.e., sound pressure level decreases with increasing distance. Therefore, after detecting a change in the sound field center, the volume gain of each channel is compensated based on the relative distance between the target channel and the sound field center. The calculation formula for this gain compensation is as follows: G i =G base +20×log10(L) ref / L i ), Among them, G i G represents the gain compensation for the i-th channel, measured in dB (Decibel). base The reference gain can be 0dB, or it can be the basic balance value of each channel as specified in the vehicle model calibration. ref This is a reference distance, which can be set according to the actual situation, for example, 1 meter can be used as the reference distance. L i Let L be the relative distance between the i-th channel and the center of the sound field. 20 × log10(L) ref / L i ) for L i Compared to L ref The gain, i.e., the gain adjustment value.

[0056] In a sound effects control system, an equalizer alters sound quality by adjusting the gain (boost or attenuate) of different frequency bands. Equalizer parameters can include center frequency, Q value, or bandwidth. Specifically, the equalizer can be pre-tuned to calibrate the mapping relationship between equalizer parameters and relative distances, storing this as a first preset relationship. During sound effects adjustment, the corresponding first preset relationship is invoked based on the calculated target channel to obtain the equalizer parameters.

[0057] In audio effects processing, filter parameters refer to adjustable settings used to control the passage or attenuation of different frequency components in an audio signal. Filter parameters may include the center frequency of the filter's operation, the bandwidth controlling the filter's influence, etc. Specifically, filters can be pre-tuned, and the mapping relationship between filter parameters and relative distances can be calibrated and stored as a second preset relationship. During audio effects adjustment, the corresponding second preset relationship is called according to the calculated target channel to obtain the filter parameters.

[0058] This embodiment determines one or more of the target channel's gain compensation, equalizer parameters, and filter parameters based on the relative distance, ensuring the final listening effect inside the vehicle.

[0059] In some embodiments of this application, after determining the target sound effect parameters of the target channel based on the relative distance, the sound effect adjustment method of the vehicle further includes: identifying the speaker type corresponding to the target channel; and adjusting the target sound effect parameters according to the speaker type.

[0060] In other words, taking into account the differences in speaker types, this embodiment treats the sound effect parameters differently for different speaker types in order to ensure the final listening effect.

[0061] The calculation of sound effect parameters for different types of speakers is shown in Table 1.

[0062] Table 1

[0063] Continuing with the example of target sound effect parameters including gain compensation, equalizer parameters, and filter parameters, if the target channel corresponds to a full-range speaker or a subwoofer, then directly use the above formula G. i =G base +20×log10(L) ref / L i The gain compensation of the target channel is calculated and used as the target sound effect parameter. If the speaker type corresponding to the target channel is a sky speaker, then Z-axis height compensation is considered. That is, since the spatial coordinate system includes the X-axis, Y-axis, and Z-axis, when the speaker type is a sky speaker, the gain compensation in the final target sound effect parameter is determined by combining the height deviation between the target channel and the sound field center on the Z-axis. For example, the compensation coefficient corresponding to the height deviation on the Z-axis can be obtained, and the compensation coefficient can be obtained by using the above formula G. i =G base +20×log10(L) ref / L i The product of the gain compensations for the target channel is calculated and used as the final gain compensation. If the speaker type corresponding to the target channel is a surround speaker, then the above formula G is applied. i =G base +20×log10(L) ref / L i The calculated gain compensation of the target channel can be reduced, for example, by setting a reduction factor or reducing the gain in advance, to lower the calculated gain compensation, so as to prevent the gain compensation from being too large and having an adverse effect on the realistic and natural immersive surround sound created by the surround speakers.

[0064] When the target channel corresponds to a full-range speaker, the equalizer and filter parameters determined above are directly used. When the target channel corresponds to a subwoofer, because the human ear is not sensitive to low-frequency direction, the low-pass filter parameter in the filter parameters can be adjusted to merge or simplify the low-frequency signal, for example, using only one subwoofer channel. When the target channel corresponds to a sky speaker, the high-frequency attenuation compensation in the equalizer parameters can be increased to compensate for high-frequency attenuation caused by air absorption. When the target channel corresponds to a surround speaker, the full-pass filter parameter or reverberation algorithm parameter in the filter parameters can be adjusted to simulate a diffused sound field through a full-pass filter, delay, or reverberation processor, thereby improving the sound field effect.

[0065] In some embodiments of this application, the target sound effect parameter includes delay time, and the method further includes: when there are multiple target channels, determining a maximum relative distance based on the relative distance between the multiple target channels and the center of the sound field; determining the delay compensation of the corresponding target channel based on the maximum relative distance and the relative distance between the target channel and the center of the sound field; and determining the delay time of the target channel based on the reference delay time and the delay compensation.

[0066] Specifically, the delay time refers to the time when the audio signal is delayed. In this embodiment, the delay time of each channel is set according to the relative distance between multiple target channels and the center of the sound field so that the sound from different speakers arrives at the center of the sound field at the same time, ensuring the listening effect.

[0067] In other words, after calculating the coordinate position of the target channel based on the spatial coordinates of at least one loudspeaker corresponding to the target channel, and calculating the straight-line distance between the coordinate position of the target channel and the spatial coordinates of the sound field center, and obtaining the relative distance, the delay time of each channel is calculated according to the following formula to ensure that the sound from each target channel arrives at the sound field center simultaneously: T i =T base +(L max -L i ) / V, Among them, T i T represents the delay time for the i-th target channel. base This is the baseline delay time, typically set to 0, or the system's minimum processing delay. L max This represents the maximum relative distance, i.e., the farthest distance from the center of the sound field among all target channels. L i denoted as , where is the relative distance between the i-th target channel and the center of the sound field. V is the speed of sound, typically taken as 340 m / s, but can be finely adjusted based on the vehicle's interior temperature and humidity.

[0068] Therefore, as a specific embodiment of this application, the target sound effect parameter W can be determined based on the real-time determined sound field center. i = [T i G i E i ,F i ], where W i T is the audio effect parameter vector for the i-th channel; i G represents the delay time of the i-th channel, calculated from the distance difference. i The gain compensation for the i-th channel is calculated using distance attenuation; E i The equalizer parameters for the i-th channel can be finely adjusted based on the center position of the sound field; F i These are the filter parameters for the i-th channel, such as high-pass / low-pass, to prevent speaker overload.

[0069] In some embodiments of this application, controlling the playback of a target channel based on target sound effect parameters includes: determining at least one sound effect adjustment parameter based on the target sound effect parameters and the actual sound effect parameters of the target channel at the current moment; and controlling the playback of the target channel based on the sound effect adjustment parameter so that the actual sound effect parameters of the target channel reach the target sound effect parameters.

[0070] Specifically, at least one audio effect adjustment parameter at a given moment serves as a transitional audio effect parameter between the actual audio effect adjustment of the target channel at the current moment and the target audio effect parameter. Thus, the playback of the target channel is controlled by the audio effect adjustment parameter at at least one moment, so as to gradually adjust the actual audio effect of the target channel to the target audio effect parameter. In this way, a gradual audio effect parameter update method is adopted to prevent the sudden change of audio effect parameters from causing abrupt changes in the user's listening experience, thereby improving the user experience.

[0071] The sound effect adjustment parameters at at least one moment can be calculated based on the difference between the target sound effect parameters and the actual sound effect parameters, and the preset adjustment period. For example, if the gain compensation in the target sound effect parameters of channel A is G, the gain compensation in the actual sound effect of channel A at the current moment is G0, and the preset adjustment period is T0, then the sound effect adjustment step size of the gain compensation at each moment can be calculated as (G-G0) / T0. Then, the sound effect adjustment parameters of the gain compensation at each moment can be determined based on the sound effect adjustment step size of the gain compensation.

[0072] Therefore, this embodiment generates at least one sound effect adjustment parameter at a given moment based on the target sound effect parameters and the actual sound effect of the target channel at the current moment. The target channel is gradually adjusted to the target sound effect parameters through the sound effect adjustment parameters. Thus, when the center position of the sound field changes, a gradual sound effect parameter update method is adopted to prevent the sudden change of sound effect parameters from causing abrupt changes in the user's listening experience, which greatly improves the user experience.

[0073] In some embodiments of this application, generating at least one sound effect adjustment parameter for a given moment based on the target sound effect parameters and the actual sound effect of the target channel at the current moment includes: determining a target smoothing coefficient; obtaining the product between the target smoothing coefficient and the target sound effect parameters to obtain a first sound effect parameter; obtaining the product between the difference between a preset coefficient and the target smoothing coefficient and the actual sound effect to obtain a second sound effect parameter; and determining the sound effect adjustment parameter for the next moment based on the first sound effect parameter and the second sound effect parameter.

[0074] Specifically, the target smoothness coefficient represents the smoothness of the adjustment of the sound effect parameters. It can be pre-calibrated to a fixed value or dynamically adjusted according to the adjustment cycle, with no specific restrictions.

[0075] Continue with Figure 2For example, by monitoring the number of occupants and the head positions of each user through cameras installed in the vehicle's roof, and determining when occupant movement or changes in the number of people cause a shift in the sound field center, the sound field center is calculated based on the head positions of the target users inside the vehicle. Then, the target sound effect parameters for the target channel are determined based on the relative distance between the target channel and the sound field center. To achieve a smooth transition of sound effect parameters, the sound effect adjustment parameters for the next moment are calculated using the following formula: W i (t)=α×W i_new +(1-α)×W i_old , Among them, W i (t) represents the actual sound effect parameters applied to the i-th channel at time t, i.e., the sound effect adjustment parameters for the next time step; α is the target smoothing coefficient, 0 < α ≤ 1; W i_new 1 represents the target audio effect parameter for the i-th channel; 1 represents the preset coefficient; W i_old This represents the actual sound effect of the i-th channel at the current moment.

[0076] After controlling the target channel playback with the sound effect adjustment parameters for the next moment, the actual sound effect is captured, and then substituted into the above formula to calculate the sound effect adjustment parameters for the next moment. This process is repeated until the actual sound effect of the target channel meets the target sound effect parameters.

[0077] This embodiment calculates the sound effect adjustment parameters for the next moment by substituting the target smoothing coefficient, the actual sound effect, and the target smoothing coefficient into the aforementioned formula for sound effect adjustment parameters at the next moment. This process is repeated until the target channel reaches the target sound effect parameters, thereby achieving a smooth transition of sound effect parameters and improving the user's listening experience.

[0078] In some embodiments of this application, determining the target smoothing coefficient includes: obtaining the sampling period of the seating position; determining a first smoothing coefficient based on the sampling period and a preset smoothing time constant; and determining the target smoothing coefficient based on the first smoothing coefficient and the preset smoothing coefficient.

[0079] Specifically, continue with Figure 2 The camera captures the user's head position, taking the user's seating position as an example. The sampling period for the seating position is the same as the camera's sampling period.

[0080] To avoid abrupt changes, a preset smoothing time constant is set, for example, the preset smoothing time constant range is [0.5, 1], in seconds. Then, the first smoothing coefficient = Δt / T is calculated based on the sampling period and the preset smoothing time constant. smooth Where Δt is the sampling period, T smooth This is the preset smoothing time constant.

[0081] The preset smoothing coefficient is the upper limit of the preset smoothing coefficient, for example, using 1 as the preset smoothing coefficient. It can be understood that the smaller the target smoothing coefficient, the smoother the transition; the larger the target smoothing coefficient, the faster the response. To achieve a better smooth transition effect, the minimum value between the first smoothing coefficient and the preset smoothing coefficient can be taken as the target smoothing coefficient, i.e., the target smoothing coefficient α = min(1, Δt / T). smooth ), where 1 is the preset smoothing coefficient, Δt / T smooth This is the first smoothing coefficient.

[0082] After determining the target smoothness coefficient, the calculation formula for the sound effect adjustment parameters at the next moment is constructed: W i (t)=α×W i_new +(1-α)×W i_old , Among them, W i (t) represents the actual sound effect parameters applied to the i-th channel at time t, i.e., the sound effect adjustment parameters for the next time step; α is the target smoothing coefficient, 0 < α ≤ 1; W i_new 1 represents the target audio effect parameter for the i-th channel; 1 represents the preset coefficient; W i_old This represents the actual sound effect of the i-th channel at the current moment.

[0083] During sound effect adjustment, cameras positioned in the vehicle's roof monitor the number of occupants and the head positions of each user. When occupant movement or a change in the number of people causes a shift in the sound field center, the sound field center is calculated based on the head positions of the target users. Then, the target sound effect parameters for the target channel are determined based on the relative distance between the target channel and the sound field center. These target sound effect parameters, along with the current sound effect, are substituted into the aforementioned formula to calculate the sound effect adjustment parameters for the next moment.

[0084] After controlling the target channel playback with the sound effect adjustment parameters for the next moment, the actual sound effect is captured, and the sound effect adjustment parameters for the next moment are calculated by inputting the sound effect adjustment parameters for the next moment. This process is repeated until the actual sound effect of the target channel meets the target sound effect parameters.

[0085] This embodiment determines the target smoothing coefficient based on the sampling period of the seating position, so that the adjustment of its effective parameters can adapt to changes in the dynamic sampling rate.

[0086] In combination with the first aspect and the above implementation methods, in some possible implementation methods, before identifying the seating position of the target user in the vehicle, the vehicle sound effect adjustment method further includes: obtaining the user characteristics of the occupants and the currently playing content; and determining one or more of the occupants as the target user in the vehicle based on the user characteristics and the currently playing content.

[0087] Specifically, cameras can collect information such as the behavioral characteristics and location of occupants inside the vehicle to identify their user characteristics. These characteristics may include the user's current state (e.g., resting with eyes closed), user group (e.g., children, pregnant women, the elderly, etc.), and user identity characteristics (e.g., driver, passenger). The currently playing content can be identified by directly obtaining metadata from the in-vehicle player.

[0088] Then, based on user characteristics and the currently playing content, target specific listening groups to identify in-car users. Continue with... Figure 2 For example, assuming there are people in all four seats in the car, and based on user characteristics, the user in the left rear seat is identified as being resting with their eyes closed, then to minimize disturbance to the user in the left rear seat, the users in the driver's seat, front passenger seat, and right rear seat can be considered as target users in the car for calculating the sound field center. As another example, if based on user characteristics, the user in the left rear seat is identified as a toddler, and the content being played is news, then it can be determined that the user in the left rear seat is not the target audience for this content. In this case, the users in the driver's seat, front passenger seat, and right rear seat can be considered as target users in the car for calculating the sound field center.

[0089] This embodiment identifies the target audience based on user characteristics and the currently playing content, thereby determining the target users in the vehicle among the occupants, further ensuring the listening effect and user experience.

[0090] After identifying the target users in the vehicle based on user characteristics and the currently playing content, the optimal sound field center position is determined in real time based on the target users' seating positions. The target audio parameters for the target channels are then determined based on the optimal sound field center position. This allows for automatic adjustment to the optimal sound field according to the occupants, improving the in-vehicle sound effect. Simultaneously, at least one audio adjustment parameter is generated based on the target audio parameters and the actual sound effect of the target channels at the current moment. This parameter is used to gradually adjust the target channels to the target audio parameters. By employing a gradual audio parameter update method when the sound field center position changes, abrupt changes in audio parameters can prevent jarring audio experiences for the user, significantly enhancing the user experience.

[0091] In some embodiments of this application, determining the target channel of multiple in-vehicle audio channels includes: identifying the currently playing content and the driving scenario in which the vehicle is located; and determining the target channel based on the currently playing content and the driving scenario.

[0092] Specifically, the currently playing content can be identified by reading the in-vehicle player. It's understandable that while the vehicle is in motion, the content played inside includes not only entertainment (such as music and radio) but also driving prompts, such as navigation voice commands and ADAS (Advanced Driver Assistance System) alerts.

[0093] The driving scenario in which the vehicle is located can include driving scenarios (such as highway driving scenarios, urban driving scenarios, mountain road driving scenarios, etc.) and parking scenarios (such as rest scenarios, camping scenarios, etc.), which can be identified based on information such as the vehicle's motion status, gear mode, and environmental road conditions.

[0094] Then, the corresponding target channel is matched according to the current playback content and driving scenario. For example, when the playback content is music and the car is parked, the entire car channel can be used as the target channel to ensure a good listening effect in the car. When the playback content is music but the car is driving on a mountain road, in order to reduce the impact on the driver, the channel closest to the driver's seat can be used as the target channel.

[0095] This embodiment determines the target audio channel based on the current playback content and driving scenario, ensuring driving safety while meeting the user's listening needs and adapting to different application scenarios.

[0096] In other words, after identifying the target user in the car based on user characteristics and the current playback content, the system determines the optimal sound field center position in real time based on the target user's seating position. At the same time, it matches the target channel based on the current playback content and driving scenario, and then adjusts the sound effect parameters of the target channel based on the real-time determined optimal sound field center position. This allows the system to automatically adjust to the optimal sound field based on the situation of the people in the car and the playback content, improving the in-car sound effect while ensuring driving safety.

[0097] At the same time, based on the target sound effect parameters and the actual sound effect of the target channel at the current moment, at least one sound effect adjustment parameter is generated. The target channel is gradually adjusted to the target sound effect parameters through the sound effect adjustment parameter. Thus, when the center position of the sound field changes, a gradual sound effect parameter update method is adopted to prevent the user's listening experience from abruptly changing the sound effect parameters, which greatly improves the user experience.

[0098] As a specific embodiment of this application, continuing with Figure 2 Taking the four-seater vehicle shown as an example, the vehicle's audio system includes a multimedia head unit, an audio power amplifier, speakers, and a camera, such as... Figure 9As shown, cameras mounted on the cabin ceiling monitor the number of occupants and the head positions of each passenger. The video information is transmitted to the multimedia host's SOC (System-on-Chip) chip via LVDS (Low-Voltage Differential Signaling). The SOC identifies the head position of the target user based on the video information, calculating the optimal center position of the sound field, and then informs the DSP (Digital Signal Processor) chip. An automated tuning tool integrated in the DSP chip adjusts the channel audio parameters in real time based on the optimal sound field center position. These parameters are then sent to the audio power amplifier via A2B (Automotive Audio Bus), which drives the speakers to play sound.

[0099] In summary, the vehicle sound effect adjustment method of this application first identifies the seating position of the target user inside the vehicle, matches the sound field center corresponding to the seating position, and determines the target channel of multiple in-vehicle sound channels. Based on the spatial coordinates of at least one speaker corresponding to the target channel, the relative distance between the target channel and the sound field center is determined. Then, the target sound effect parameters of the target channel are determined based on the relative distance, and the playback of the target channel is controlled according to the target sound effect parameters. Therefore, this method can determine the optimal sound field center position in real time based on the seating position of the target user inside the vehicle during vehicle use, and determine the target sound effect parameters of the target channel based on the optimal sound field center position, thereby automatically adjusting to the optimal sound field according to the situation of the people inside the vehicle, improving the in-vehicle sound effect and user experience.

[0100] Figure 10 This is a schematic diagram of the structure of a vehicle sound effect adjustment device provided in an embodiment of this application.

[0101] like Figure 10 As shown, the vehicle's sound adjustment device may include: The acquisition module 10 is used to identify the seating position of the target user inside the vehicle and match the sound field center corresponding to the seating position.

[0102] The determination module 20 is used to determine the target channel of multiple sound channels in the vehicle and to determine the relative distance between the target channel and the sound field center based on the spatial coordinates of at least one loudspeaker corresponding to the target channel.

[0103] The adjustment module 30 is used to determine the target sound effect parameters of the target channel based on the relative distance, and to control the playback of the target channel based on the target sound effect parameters.

[0104] In some embodiments of this application, the target sound effect parameters include one or more of gain compensation, equalizer parameters, and filter parameters. The determining module 20 determines the target sound effect parameters of the target channel based on the relative distance, specifically for: determining a gain adjustment value based on a reference distance and a relative distance, and determining gain compensation based on a reference gain and a gain adjustment value; determining equalizer parameters based on the relative distance and a first preset relationship, wherein the first preset relationship is used to characterize the mapping relationship between equalizer parameters and relative distance; and determining filter parameters based on the relative distance and a second preset relationship, wherein the first preset relationship is used to characterize the mapping relationship between filter parameters and relative distance.

[0105] In some embodiments of this application, after determining the target sound effect parameters of the target channel based on the relative distance, the determining module 20 is further configured to: identify the speaker type corresponding to the target channel; and adjust the target sound effect parameters according to the speaker type.

[0106] In some embodiments of this application, the target sound effect parameter includes delay time, and the determining module 20 is further configured to: when there are multiple target channels, determine the maximum relative distance based on the relative distance between the multiple target channels and the center of the sound field; determine the delay compensation of the corresponding target channel based on the maximum relative distance and the relative distance between the target channel and the center of the sound field; and determine the delay time of the target channel based on the reference delay time and the delay compensation.

[0107] In some embodiments of this application, the adjustment module 30 controls the playback of the target channel according to the target sound effect parameters, specifically: generating at least one sound effect adjustment parameter based on the target sound effect parameters and the actual sound effect parameters of the target channel at the current moment; and controlling the playback of the target channel according to the sound effect adjustment parameters so that the actual sound effect parameters of the target channel reach the target sound effect parameters.

[0108] In some embodiments of this application, the adjustment module 30 generates at least one sound effect adjustment parameter for a given moment based on the target sound effect parameters and the actual sound effect of the target channel at the current moment. Specifically, it is used to: determine the target smoothing coefficient; obtain the product between the target smoothing coefficient and the target sound effect parameters to obtain the first sound effect parameter; obtain the product between the difference between the preset coefficient and the target smoothing coefficient and the actual sound effect to obtain the second sound effect parameter; and determine the sound effect adjustment parameter for the next moment based on the first sound effect parameter and the second sound effect parameter.

[0109] In some embodiments of this application, the adjustment module 30 determines the target smoothing coefficient, specifically for: obtaining the sampling period of the seating position; determining a first smoothing coefficient based on the sampling period and a preset smoothing time constant; and determining a target smoothing coefficient based on the first smoothing coefficient and the preset smoothing coefficient.

[0110] In some embodiments of this application, before identifying the seating position of the target user in the vehicle, the acquisition module 10 is further configured to: acquire the user characteristics of the occupants in the vehicle and the currently playing content; and determine one or more of the occupants in the vehicle as the target user in the vehicle based on the user characteristics and the currently playing content.

[0111] In some embodiments of this application, the determining module 20 determines the target channel of multiple in-vehicle audio channels, specifically for: identifying the currently playing content and the driving scenario in which the vehicle is located; and determining the target channel based on the currently playing content and the driving scenario.

[0112] It should be noted that for details not disclosed in the vehicle sound effect adjustment device of the embodiments of this application, please refer to the details disclosed in the vehicle sound effect adjustment method of the above embodiments of this application, which will not be repeated here.

[0113] The vehicle sound effect adjustment device according to an embodiment of this application identifies the seating position of a target user inside the vehicle through an acquisition module and matches the sound field center corresponding to the seating position. A determination module determines the target channel of multiple in-vehicle sound channels. Based on the spatial coordinates of at least one speaker corresponding to the target channel, the relative distance between the target channel and the sound field center is determined. An adjustment module determines the target sound effect parameters of the target channel based on the relative distance and controls the playback of the target channel according to the target sound effect parameters. Therefore, this device can determine the optimal sound field center position in real time based on the seating position of the target user inside the vehicle during vehicle use, and match the target sound effect parameters of the target channel based on the optimal sound field center position, thereby automatically adjusting to the optimal sound field according to the situation of the people inside the vehicle, improving the in-vehicle sound effect and enhancing the user experience.

[0114] Figure 11 This is a schematic diagram of the vehicle structure provided in an embodiment of this application.

[0115] like Figure 11 As shown, the vehicle in this embodiment of the application may include: The memory 301, the processor 302, and the computer program stored on the memory 301 and capable of running on the processor 302.

[0116] When the processor 302 executes the program, it implements the vehicle sound effect adjustment method provided in the above embodiments.

[0117] Furthermore, the vehicle also includes: Communication interface 303 is used for communication between memory 301 and processor 302.

[0118] The memory 301 is used to store computer programs that can run on the processor 302.

[0119] The memory 301 may include high-speed RAM (Random Access Memory) memory, and may also include non-volatile memory, such as at least one disk storage.

[0120] If the memory 301, processor 302, and communication interface 303 are implemented independently, then the communication interface 303, memory 301, and processor 302 can be interconnected via a bus to complete communication between them. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 11 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0121] Optionally, in a specific implementation, if the memory 301, processor 302, and communication interface 303 are integrated on a single chip, then the memory 301, processor 302, and communication interface 303 can communicate with each other through an internal interface.

[0122] Processor 302 may be a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of this application.

[0123] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0124] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0125] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.

Claims

1. A method for adjusting the sound effects of a vehicle, characterized in that, The method includes: Identify the seating position of the target user inside the vehicle and match the sound field center corresponding to the seating position; Determine the target channel of the vehicle's multiple sound channels, and determine the relative distance between the target channel and the sound field center based on the spatial coordinates of at least one loudspeaker corresponding to the target channel; The target sound effect parameters of the target channel are determined based on the relative distance, and the playback of the target channel is controlled based on the target sound effect parameters.

2. The method according to claim 1, characterized in that, The target audio parameters include one or more of gain compensation, equalizer parameters, and filter parameters. Determining the target audio parameters for the target channel based on the relative distance includes: The gain adjustment value is determined based on the reference distance and the relative distance, and the gain compensation is determined based on the reference gain and the gain adjustment value; The equalizer parameters are determined based on the relative distance and the first preset relationship, wherein the first preset relationship is used to characterize the mapping relationship between the equalizer parameters and the relative distance; The filter parameters are determined based on the relative distance and the second preset relationship, wherein the first preset relationship is used to characterize the mapping relationship between the filter parameters and the relative distance.

3. The method according to claim 2, characterized in that, After determining the target sound effect parameters of the target channel based on the relative distance, the method further includes: Identify the speaker type corresponding to the target channel; Adjust the target sound effect parameters according to the speaker type.

4. The method according to claim 1, characterized in that, The target sound effect parameters include delay time, and the method further includes: When there are multiple target sound channels, the maximum relative distance is determined based on the relative distance between the multiple target sound channels and the center of the sound field. The delay compensation for the corresponding target channel is determined based on the maximum relative distance and the relative distance between the target channel and the center of the sound field; The delay time of the target channel is determined based on the reference delay time and the delay compensation.

5. The method according to claim 1, characterized in that, Controlling the playback of the target channel according to the target sound effect parameters includes: At least one sound effect adjustment parameter is generated based on the target sound effect parameters and the actual sound effect parameters of the target channel at the current moment; The target channel is controlled to play according to the sound effect adjustment parameters so that the actual sound effect parameters of the target channel reach the target sound effect parameters.

6. The method according to claim 5, characterized in that, Based on the target sound effect parameters and the actual sound effect of the target channel at the current moment, generate sound effect adjustment parameters for at least one moment, including: Determine the target smoothing coefficient; The first sound effect parameter is obtained by multiplying the target smoothness coefficient with the target sound effect parameter. The difference between the preset coefficient and the target smoothing coefficient is obtained, and the product of the difference and the actual sound effect is used to obtain the second sound effect parameter; The sound effect adjustment parameters for the next moment are determined based on the first sound effect parameter and the second sound effect parameter.

7. The method according to claim 6, characterized in that, Determine the target smoothing coefficient, including: Obtain the sampling period of the seating position; The first smoothing coefficient is determined based on the sampling period and the preset smoothing time constant; The target smoothing coefficient is determined based on the first smoothing coefficient and the preset smoothing coefficient.

8. The method according to claim 1, characterized in that, Before identifying the seating position of the target user inside the vehicle, the process also includes: Obtain user characteristics and currently playing content from occupants in the vehicle; Based on the user characteristics and the currently playing content, one or more of the occupants in the vehicle are identified as the target users in the vehicle.

9. The method according to claim 1, characterized in that, Determine the target channels for multiple in-vehicle audio channels, including: Identify the currently playing content and the driving scenario in which the vehicle is located; The target audio channel is determined based on the currently playing content and the driving scenario.

10. A vehicle, characterized in that, The vehicle includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the vehicle sound effect adjustment method as described in any one of claims 1-9.