Disclosure of Invention
Aiming at the problems of audio compression loss, speaker number limitation, tone quality difference and the like, the invention provides an audio optimization system and method for in-vehicle screen projection. Particularly, the invention introduces the self-adaptive filter and the strategy matching engine, which are used for adjusting the sound production frequency and the sound quality of the mobile equipment and the vehicle loudspeaker in real time, so that the sound quality of the mobile equipment and the sound quality of the vehicle loudspeaker are fused.
In order to achieve the above object, the present invention is realized by the following technical scheme:
The method comprises the steps of adopting a screen projection module, transmitting video content of the mobile device to a vehicle-mounted display screen through AirPlay, DLNA, miracast and other protocols, outputting audio signals through vehicle speakers, detecting the number of the speakers in the vehicle and the noise level through an interface judging module, judging whether to trigger a sound field compensation function, and executing a tuning strategy when the tone quality similarity value reaches a set threshold value.
The self-adaptive filter adjusts sounding frequency of the mobile equipment loudspeaker according to the detected frequency difference value of the mobile equipment loudspeaker and the vehicle-mounted loudspeaker in real time, and ensures synchronism of audio output. And the calculation of the frequency difference value analyzes the difference of different frequency bands through an improved wavelet transformation algorithm, and the dynamic correction is realized by combining an adaptive filter.
And generating a personalized tuning strategy according to the noise level and the number of loudspeakers in the vehicle through a strategy matching engine deployed in the cloud, and issuing the personalized tuning strategy to a vehicle-mounted system and mobile equipment. The user can also manually adjust the sound field compensation mode, the tone quality optimization progress and the personalized audio parameter configuration through the interactive interface.
Threshold number of speakers the system defaults to 4 and when the number of speakers in the vehicle is less than or equal to the threshold, the system automatically triggers the sound field compensation function.
And the tone quality similarity threshold value is set as 0.85 by the system, and when the tone quality similarity between the mobile equipment and the vehicle speaker is lower than the threshold value, the tuning strategy is triggered.
The maximum allowable value of the frequency difference is set to be 200Hz, and when the frequency difference value of the mobile device and the vehicle speaker is detected to exceed the threshold value, the adaptive filter corrects.
An audio optimization system for in-vehicle projection, the system comprising:
the screen throwing module is used for establishing connection between the mobile equipment and the vehicle-mounted display screen through a screen throwing protocol or an interconnection protocol;
the interface judging module is used for detecting the number information of the loudspeakers in the vehicle through the loudspeaker interface of the vehicle and judging whether a sound field compensation function is required to be triggered or not, acquiring the audio information in the vehicle through the microphone interface of the vehicle during the sound field compensation, generating a tone quality similarity value between the mobile equipment loudspeaker and the vehicle loudspeaker and judging whether a tuning strategy is required to be executed or not;
the function triggering module is used for automatically triggering a sound field compensation function when the number of the loudspeakers in the vehicle is smaller than or equal to the threshold value of the number of the loudspeakers, calling the mobile equipment loudspeakers and the vehicle loudspeaker to carry out co-frequency collaborative sounding, and triggering a tuning strategy when the tone quality similarity value is lower than the threshold value of the tone quality similarity;
The strategy execution module is used for generating a tuning strategy according to a preset matching logic, and issuing a command to the mobile equipment end and the vehicle end for adjusting the EQ modes;
And the user interaction module is used for manually selecting a triggering mode of the sound field compensation function, checking the execution progress of the tuning strategy or setting the personalized tuning strategy by a user, and controlling the volume and sound effect modes of the mobile equipment loudspeaker and the car machine loudspeaker.
Preferably, the screen projection module includes:
The video transmission unit is used for transmitting the video content of the mobile equipment to the vehicle-mounted display screen through wireless or wired connection;
and the audio transmission unit is used for transmitting the audio signals in the mobile equipment to the vehicle-mounted loudspeaker.
Preferably, the interface judging module includes:
the audio monitoring unit is used for acquiring an audio signal in the vehicle in real time through a microphone interface of the vehicle, continuously analyzing a sound frequency spectrum in the vehicle, extracting frequency characteristics of environmental noise and judging the noise level in the vehicle;
the voice quality similarity calculation unit is used for calculating a voice quality similarity value between a mobile device loudspeaker and a car machine loudspeaker, and the calculation process is as follows:
step one, inputting audio signal by An audio signal representative of a speaker of the mobile device,Audio signals representing vehicle speakers using short-time Fourier transform STFTAndConverted into frequency domain representations, respectively denoted asAndWherein f represents frequency and t represents time;
Step two, representing from the frequency domain AndRespectively extracting audio signalsAndIs characterized by the fact that, the obtained feature vectors are respectively recorded asAndRepresenting audio feature vectors of the mobile device and the car machine respectively;
step three, adding frequency weight And (3) carrying out weighting treatment, wherein a preliminary tone quality similarity calculation formula is as follows:
Wherein, Representing preliminary tone quality similarity; a characteristic value at frequency f of an audio signal representative of a speaker of the mobile device; A characteristic value of an audio signal representing a speaker of the vehicle at a frequency f;
step four, automatically adjusting the frequency weight according to the user preference or environment through a dynamic adjustment mechanism The dynamic weight adjustment formula is:
wherein α represents a rate parameter controlling weight adjustment; A reference value representing a frequency for dynamically adjusting the weight according to a user preference or an audio environment;
Combining the primary tone quality similarity with subjective tone quality evaluation, balancing by a weight parameter beta, and calculating a perceived tone quality score as a final tone quality similarity value, wherein a calculation formula is as follows:
Wherein, beta represents a weight coefficient; Representing subjective tone quality assessment scores;
step six, scoring according to the final perceived tone quality Judging whether tuning strategy is needed to be executed, if so, sensing tone quality scoreAnd if the tone quality similarity value is lower than the set tone quality similarity value threshold, executing a tuning strategy, otherwise, not executing.
Preferably, the mobile device speaker and the car machine speaker perform co-frequency collaborative sounding, and the implementation process includes:
step 1, audio signal to speaker of mobile device Audio signal of vehicle loudspeakerWindowing is respectively carried out to correspondingly form windowing signalsAndUsing window functionsThe frequency resolution is improved, and the expression is:
Wherein t represents time;
Wavelet transformation is applied to the windowed signal to obtain wavelet coefficients on each frequency band AndThe expression is:
Wherein, Representing windowed signalsOn the scale ofAnd wavelet transform coefficients at position b; Representing windowed signals On the scale ofAnd wavelet transform coefficients at position b; Is a mother wavelet function; B is a time translation parameter, and controls the time resolution;
Analyzing the frequency spectrum difference of the mobile equipment loudspeaker and the vehicle-mounted loudspeaker signals on different scales and time translation to generate a preliminary frequency difference value ;
Step 2, utilizing the adaptive filter to carry out frequency difference valuePerforming optimization adjustment to calculate error signal of filterThe formula is:
Wherein, Is an error signal representing an ideal output signalAnd the actual output signal of the filterDifferences between;
The update formula of the filter coefficients is:
Wherein: the mu is the learning rate, and the step length is controlled and adjusted; is a delay term of the input signal; k denotes the updated filter coefficients;
Step 3, judging sounding synchronization between the mobile equipment speaker and the vehicle-mounted speaker when the optimized frequency difference value is lower than a preset frequency difference threshold value, and if the optimized frequency difference value is greater than the preset frequency difference threshold value, issuing an adjustment instruction through a control system to adjust the synchronous sounding frequency of the mobile equipment speaker and the vehicle-mounted speaker again;
And 4, continuously monitoring the frequency difference between the loudspeaker of the mobile device and the loudspeaker of the car machine in the synchronous sounding process.
Preferably, the slightly executing module includes:
the strategy matching engine is deployed on the cloud server and is used for receiving data from the interface judging module and generating tuning strategies according to preset matching logic;
the instruction execution unit is used for receiving the tuning instruction from the strategy matching engine, converting the tuning instruction into control signals and respectively sending the control signals to the mobile equipment loudspeaker and the car machine loudspeaker.
Preferably, the policy matching engine includes:
The sound quality comparison unit is used for acquiring in-vehicle audio information through the vehicle microphone interface, comparing the audio frequency band of sound production of the vehicle speaker with the audio frequency band of sound production of the mobile device speaker, and generating a frequency band difference value;
And the EQ mode adjusting unit is used for generating a tuning strategy when the frequency band difference value is larger than the frequency band difference threshold value, adjusting EQ modes of the mobile terminal and the vehicle terminal, and adjusting the frequency band to be in the range of 500Hz to 2 KHz.
Preferably, the system further comprises a unified verification module, wherein the unified verification module is used for continuously monitoring the tone quality change through the in-vehicle microphone interface after the adjustment of the EQ mode is completed, if the tone quality similarity value is still lower than the tone quality similarity threshold value, the unified verification module feeds back the tone quality similarity value to the server, the server issues an adjustment instruction again, and the tuning strategy is repeated until the tone quality similarity reaches a preset standard.
Preferably, the user interaction module includes:
the sound field compensation control module is used for manually selecting whether to start the collaborative sounding function of the mobile device loudspeaker and the car machine loudspeaker;
and the tone quality optimization progress display module is used for displaying the execution progress and the result of the tuning strategy in real time.
An audio optimization method for an in-vehicle projection audio optimization system, the method comprising:
The mobile equipment is connected with the vehicle-mounted display screen through a screen throwing protocol or an interconnection protocol, and audio signals of the mobile equipment are transmitted to a vehicle speaker;
detecting the number information of the loudspeakers in the vehicle through a vehicle-mounted loudspeaker interface, judging whether the number of the loudspeakers in the vehicle is smaller than or equal to a loudspeaker number threshold value, if yes, triggering a sound field compensation function, and if not, triggering;
acquiring audio signals of a mobile device loudspeaker and a vehicle speaker in real time, calculating a frequency difference value, correcting the frequency difference by using a self-adaptive filter, and when the corrected frequency difference value is smaller than a preset frequency difference threshold value, enabling the vehicle speaker and the mobile device loudspeaker to reach the same-frequency sounding standard;
in the sound field compensation process, acquiring in-car audio information through a microphone interface of a car machine, calculating a tone quality similarity value of a mobile equipment loudspeaker and a car machine loudspeaker, and triggering a tuning strategy when the tone quality similarity value is lower than a tone quality similarity threshold value;
A strategy matching engine is deployed on a cloud server, in-vehicle audio information is obtained through a vehicle-to-vehicle microphone interface, and an audio frequency band of sound production of a vehicle-to-vehicle speaker is compared with an audio frequency band of sound production of a mobile device speaker to generate a frequency band difference value;
After the EQ mode is adjusted, continuously monitoring the tone quality similarity value through the in-vehicle microphone interface, and if the tone quality similarity value is still lower than the tone quality similarity threshold value, feeding back to the cloud server, and repeating the tuning strategy until the tone quality similarity reaches a preset standard.
Preferably, the method further comprises an audio optimization step based on a user preset configuration, the step comprising:
the user inputs personalized audio parameter configuration through a user interaction interface, wherein the configuration comprises volume adjustment, EQ frequency band adjustment and audio delay control;
the vehicle-mounted system adjusts the audio output of the mobile equipment loudspeaker and the vehicle-mounted loudspeaker in real time according to the personalized configuration input by the user;
when the noise change in the environment in the vehicle exceeds a preset noise threshold, the system automatically adjusts the volume or the audio frequency band.
Compared with the prior art, the method has the beneficial effects that the self-adaptive filter and the frequency difference calculation unit are introduced, so that the audio signals of the vehicle speaker and the mobile device speaker can be obtained in real time, the audio frequency difference between the two is analyzed, the sounding frequency is dynamically adjusted, and the synchronous sounding of the speaker reaches the standard, thereby improving the problem of the dyssynchrony of the tone quality between the mobile device speaker and the vehicle speaker, and remarkably improving the synchronism and the overall listening feeling of the audio in the vehicle. When the system detects that the number of the loudspeakers in the vehicle is insufficient, the sound field compensation function is automatically triggered, the mobile equipment loudspeakers and the vehicle machine loudspeakers are called to cooperatively perform the same-frequency sounding, the coverage range of the sound effect in the vehicle is enhanced, the problem of insufficient sound field coverage caused by the small number of the loudspeakers in the vehicle is solved, and the hearing experience of a user is improved. The system monitors the noise in the vehicle in real time through the microphone interface of the vehicle and automatically adjusts the volume and EQ mode of the mobile equipment and the speaker of the vehicle according to the noise level change, so that the passengers can always obtain clear and stable audio output in different noise environments, and the problem of poor tone quality performance in the complex noise environment in the prior art is solved. The user can also manually select the triggering mode of the sound field compensation function through the interactive interface, and set personalized audio parameters such as volume, EQ frequency band and the like so as to meet personalized requirements. Through the strategy matching engine deployed by the cloud, the system can generate and issue tuning strategies according to the noise level and the number of speakers in the vehicle, so that the automatic fusion of the sound quality of the speakers of the mobile equipment and the speakers of the vehicle is realized, and the sound quality performance is further improved. The system combines the real-time audio signal analysis technology and the intelligent tuning function of the strategy matching engine, automatically optimizes the tone quality output, improves the definition of tone quality, the balance of sound effect and the stability of sound field, and adapts to various driving scenes.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. It will be apparent that the described embodiments are some, but not all, embodiments of the invention. All other embodiments, which are obtained by a person skilled in the art based on the described embodiments of the invention, fall within the scope of protection of the invention.
Example 1
As shown in fig. 1, an embodiment of the present invention provides an audio optimization system for in-vehicle projection, including:
the screen projection module is used for establishing connection between the mobile equipment and the vehicle-mounted display screen through a screen projection protocol or an interconnection protocol (such as AirPlay, DLNA, miracast and the like);
The mobile equipment is connected with the vehicle-mounted display screen through an AirPlay protocol, a DLNA protocol or a Miracast protocol, video content is transmitted to the vehicle-mounted display screen through wireless, and audio signals are output through a vehicle speaker. When the audio signal is transmitted, the system transmits and synchronizes the audio signal in the mobile device and the audio signal of the car audio loudspeaker in real time through the audio transmission unit.
Specifically, the screen projection module comprises:
The video transmission unit is used for transmitting the video content of the mobile equipment to the vehicle-mounted display screen through wireless or wired connection;
and the audio transmission unit is used for transmitting the audio signals in the mobile equipment to the vehicle-mounted loudspeaker.
Further, as shown in fig. 2 and 3, the method is used for detecting the number information of the speakers in the vehicle through the speaker interface of the vehicle to judge whether the sound field compensation function is required to be triggered, acquiring the audio information in the vehicle through the microphone interface of the vehicle during the sound field compensation, generating a tone quality similarity value between the speaker of the mobile device and the speaker of the vehicle, and judging whether the tuning strategy is required to be executed;
The system detects the number of loudspeakers and the noise level in the vehicle in real time through the vehicle microphone interface. And generating a noise frequency characteristic value through analysis of the noise frequency spectrum, and comparing the noise frequency characteristic value with a preset noise threshold value. When the noise level exceeds a threshold and the number of speakers in the vehicle is less than the speaker number threshold, the system activates a sound field compensation function.
Specifically, the interface judging module includes:
the audio monitoring unit is used for acquiring an audio signal in the vehicle in real time through a microphone interface of the vehicle, continuously analyzing a sound frequency spectrum in the vehicle, extracting frequency characteristics of environmental noise and judging the noise level in the vehicle;
the voice quality similarity calculation unit is used for calculating a voice quality similarity value between a mobile device loudspeaker and a car machine loudspeaker, and the calculation process is as follows:
step one, inputting audio signal by An audio signal representative of a speaker of the mobile device,Audio signals representing vehicle speakers using short-time Fourier transform STFTAndConverted into frequency domain representations, respectively denoted asAndWherein f represents frequency and t represents time;
Step two, representing from the frequency domain AndRespectively extracting audio signalsAndIs characterized by the fact that, the obtained feature vectors are respectively recorded asAndRepresenting audio feature vectors of the mobile device and the car machine respectively;
step three, adding frequency weight And (3) carrying out weighting treatment, wherein a preliminary tone quality similarity calculation formula is as follows:
Wherein, Representing preliminary tone quality similarity; a characteristic value at frequency f of an audio signal representative of a speaker of the mobile device; A characteristic value of an audio signal representing a speaker of the vehicle at a frequency f;
step four, automatically adjusting the frequency weight according to the user preference or environment through a dynamic adjustment mechanism The dynamic weight adjustment formula is:
wherein α represents a rate parameter controlling weight adjustment; A reference value representing a frequency for dynamically adjusting the weight according to a user preference or an audio environment;
Combining the primary tone quality similarity with subjective tone quality evaluation, balancing by a weight parameter beta, and calculating a perceived tone quality score as a final tone quality similarity value, wherein a calculation formula is as follows:
Wherein, beta represents a weight coefficient; Representing subjective tone quality assessment scores;
step six, scoring according to the final perceived tone quality Judging whether tuning strategy is needed to be executed, if so, sensing tone quality scoreAnd if the tone quality similarity value is lower than the set tone quality similarity value threshold, executing a tuning strategy, otherwise, not executing.
In a vehicle voice recognition system, an interface judgment module plays a crucial role. The module realizes detection and processing of sound signals in the vehicle by acquiring two key interfaces of the vehicle machine end, namely a loudspeaker interface and a microphone interface. Specifically, the interface judging module firstly obtains the number information of the speakers in the vehicle through the speaker interface. When the number of the speakers in the vehicle is detected to be less than or equal to 6, the module can trigger a sound field compensation function so as to improve the audio effect in the vehicle.
Meanwhile, the interface judging module also acquires sound quality information in the vehicle through the microphone interface. In order to evaluate the similarity between the sounds of the mobile phone side and the vehicle side, the module introduces a concept of a similarity value and initializes it to 1. During the sound field compensation, the module continuously monitors the change of the similarity value. When the similarity value is larger than 0.5, the module defaults that the similarity between the sound production of the mobile phone end and the sound production of the vehicle end is high, so that additional optimization operation is not needed. However, when the similarity value is less than or equal to 0.5, the module may determine that there is a large difference between the sounds of the mobile phone end and the car phone end, so as to trigger a tuning strategy to further optimize the audio in the car.
In addition, the interface judging module also acquires an audio signal in the vehicle in real time through a microphone interface of the vehicle and judges the noise level in the vehicle. The unit can continuously analyze the sound frequency spectrum in the car, extract the frequency characteristic of environmental noise, and the audio adjusting unit is responsible for triggering the volume adjusting function to match the volumes of the mobile equipment loudspeaker and the car machine loudspeaker, so that passengers can still clearly hear audio output in a high-noise environment.
Further, the function triggering module is used for automatically triggering a sound field compensation function when the number of the loudspeakers in the vehicle is smaller than or equal to the threshold value of the number of the loudspeakers, calling the mobile equipment loudspeakers to perform co-frequency collaborative sounding with the vehicle speakers, and triggering a tuning strategy when the tone quality similarity value is lower than the threshold value of the tone quality similarity;
Specifically, the mobile device speaker and the car machine speaker carry out co-frequency collaborative sounding, and the implementation process comprises the following steps:
step 1, audio signal to speaker of mobile device Audio signal of vehicle loudspeakerWindowing is respectively carried out to correspondingly form windowing signalsAndUsing window functionsThe frequency resolution is improved, and the expression is:
Wherein t represents time;
Wavelet transformation is applied to the windowed signal to obtain wavelet coefficients on each frequency band AndThe expression is:
Wherein, Representing windowed signalsOn the scale ofAnd wavelet transform coefficients at position b; Representing windowed signals On the scale ofAnd wavelet transform coefficients at position b; Is a mother wavelet function; B is a time translation parameter, and controls the time resolution;
Analyzing the frequency spectrum difference of the mobile equipment loudspeaker and the vehicle-mounted loudspeaker signals on different scales and time translation to generate a preliminary frequency difference value ;
Step 2, utilizing the adaptive filter to carry out frequency difference valuePerforming optimization adjustment to calculate error signal of filterThe formula is:
Wherein, Is an error signal representing an ideal output signalAnd the actual output signal of the filterDifferences between;
The update formula of the filter coefficients is:
Wherein: the mu is the learning rate, and the step length is controlled and adjusted; is a delay term of the input signal; k denotes the updated filter coefficients;
Step 3, judging sounding synchronization between the mobile equipment speaker and the vehicle-mounted speaker when the optimized frequency difference value is lower than a preset frequency difference threshold value, and if the optimized frequency difference value is greater than the preset frequency difference threshold value, issuing an adjustment instruction through a control system to adjust the synchronous sounding frequency of the mobile equipment speaker and the vehicle-mounted speaker again;
And 4, continuously monitoring the frequency difference between the loudspeaker of the mobile device and the loudspeaker of the car machine in the synchronous sounding process.
Further, the strategy execution module is used for generating a tuning strategy according to a preset matching logic, and issuing a command to the mobile equipment end and the vehicle end for adjusting the EQ mode;
When the tone quality similarity value is detected to be lower than 0.85, the strategy matching engine generates a personalized tuning strategy on the cloud server, and the command is sent to the mobile equipment and the car machine system. The system adjusts the EQ mode of the speaker according to the generated tuning strategy, with the audio output range set between 500Hz and 2 KHz. The user can check the tuning progress through the interactive interface and manually adjust the tone quality parameters.
Specifically, as shown in fig. 4, the policy enforcement module includes:
the policy enforcement module includes:
the strategy matching engine is deployed on the cloud server and is used for receiving data from the interface judging module and generating tuning strategies according to preset matching logic;
the instruction execution unit is used for receiving the tuning instruction from the strategy matching engine, converting the tuning instruction into control signals and respectively sending the control signals to the mobile equipment loudspeaker and the car machine loudspeaker.
Specifically, the policy matching engine includes:
The sound quality comparison unit is used for acquiring in-vehicle audio information through the vehicle microphone interface, comparing the audio frequency band of sound production of the vehicle speaker with the audio frequency band of sound production of the mobile device speaker, and generating a frequency band difference value;
And the EQ mode adjusting unit is used for generating a tuning strategy when the frequency band difference value is larger than the frequency band difference threshold value, adjusting EQ modes of the mobile terminal and the vehicle terminal, and adjusting the frequency band to be in the range of 500Hz to 2 KHz.
The system further comprises a unified verification module, wherein the unified verification module is used for continuously monitoring tone quality change through the in-vehicle microphone interface after the EQ mode is adjusted, if the tone quality similarity value is still lower than a tone quality similarity threshold value, the unified verification module feeds back the tone quality similarity value to the server, the server issues an adjustment instruction again, and the tuning strategy is repeated until the tone quality similarity reaches a preset standard.
Further, the user interaction module includes:
the sound field compensation control module is used for manually selecting whether to start the collaborative sounding function of the mobile device loudspeaker and the car machine loudspeaker;
and the tone quality optimization progress display module is used for displaying the execution progress and the result of the tuning strategy in real time.
Example 2
As shown in fig. 5, an embodiment of the present invention provides an audio optimization method for an audio optimization system for in-vehicle projection, including:
Step S1, establishing connection between mobile equipment and a vehicle-mounted display screen through a screen throwing protocol or an interconnection protocol, and transmitting audio signals of the mobile equipment to a vehicle speaker;
S2, detecting the number information of the loudspeakers in the vehicle through a vehicle-mounted loudspeaker interface, judging whether the number of the loudspeakers in the vehicle is smaller than or equal to a loudspeaker number threshold value, if yes, triggering a sound field compensation function, otherwise, not triggering;
S3, audio signals of a mobile device loudspeaker and a vehicle-mounted loudspeaker are obtained in real time, a frequency difference value is calculated, a self-adaptive filter is utilized to correct the frequency difference, and when the corrected frequency difference value is smaller than a preset frequency difference threshold value, the vehicle-mounted loudspeaker and the mobile device loudspeaker reach the same-frequency sounding standard;
S4, acquiring in-car audio information through a microphone interface of the car machine in the sound field compensation process, calculating a tone quality similarity value of a mobile equipment loudspeaker and the car machine loudspeaker, and triggering a tuning strategy when the tone quality similarity value is lower than a tone quality similarity threshold value;
Step 5, a strategy matching engine is deployed on a cloud server, in-vehicle audio information is obtained through a vehicle microphone interface, an audio frequency band of sound production of a vehicle speaker is compared with an audio frequency band of sound production of a mobile device speaker to generate a frequency band difference value, when the frequency band difference value is larger than a frequency band difference threshold value, tuning strategies are generated, instructions are respectively sent to the mobile device and the vehicle, adjustment of EQ modes of a mobile terminal and a vehicle terminal is carried out, and audio output is optimized;
And S6, continuously monitoring the tone quality similarity value through the in-vehicle microphone interface after the EQ mode is adjusted, and if the tone quality similarity value is still lower than the tone quality similarity threshold value, feeding back to the cloud server, and repeating the tuning strategy until the tone quality similarity reaches a preset standard.
Further comprising an audio optimization step based on a user preset configuration, the step comprising:
the user inputs personalized audio parameter configuration through a user interaction interface, wherein the configuration comprises volume adjustment, EQ frequency band adjustment and audio delay control;
the vehicle-mounted system adjusts the audio output of the mobile equipment loudspeaker and the vehicle-mounted loudspeaker in real time according to the personalized configuration input by the user;
when the noise change in the environment in the vehicle exceeds a preset noise threshold, the system automatically adjusts the volume or the audio frequency band.
Example 3
The embodiment introduces audio optimization use scenes after in-vehicle screen projection or interconnection, and the audio optimization use scenes are mainly divided into the following two types:
and (3) an automatic audio tuning scene, namely after screen projection or interconnection is carried out in the automobile, for example, a user plays music or watches a film, the system recognizes the current audio effect through a loudspeaker in the automobile, and audio tuning is automatically executed according to the requirement.
The specific operation steps are as follows:
the user connects the mobile phone with the vehicle-mounted display screen through a screen-throwing protocol, and the system starts to play the audio content on the mobile device.
The system monitors the audio output in the vehicle in real time through the vehicle microphone interface and evaluates the sound quality effect of the current speaker in the vehicle.
If the audio output effect is detected to be insufficient, the system triggers a tone quality optimization function and automatically adjusts the collaborative sounding frequency of the vehicle speaker and the mobile phone speaker so as to achieve a better tone quality effect.
And the sound field compensation scene is that when the number of the loudspeakers in the vehicle is insufficient, the system supplements the sound field through the loudspeakers of the mobile phone so as to improve the overall sound effect experience.
The specific operation steps are as follows:
After the user throws the screen or interconnects, because the speaker quantity is less in the car, lead to the sound field coverage not enough.
After the system detects that the number of the speakers in the vehicle is lower than a preset threshold, the mobile phone speakers are automatically called to serve as volume compensators, and the speakers of the vehicle are cooperated to produce sound, so that the sound effect in the vehicle is enhanced.
The audio output is adjusted through the cloud server, so that the tone quality between the mobile phone loudspeaker and the car phone loudspeaker is fused, and the user is ensured to obtain more immersed audio experience in the car.
Example 4
In this embodiment, the system controls the EQ modes of the mobile device and the vehicle-mounted device through the server, and performs frequency band comparison and adjustment on the audio sent by the mobile device and the vehicle-mounted device, so as to ensure that the similarity of sound quality meets the preset standard.
The method comprises the following specific steps:
And the system automatically triggers the loudspeaker of the mobile equipment to cooperate with the loudspeaker of the car machine to output the audio when the loudspeaker in the car environment is insufficient or the sound field is not completely covered.
Audio signals sent by a vehicle speaker and a mobile device speaker are collected through a microphone interface in the vehicle, and the signals are transmitted to a server for processing through different delays.
The frequency band setting and analyzing server divides the received audio signal into two main frequency bands, which are named frequency band m and frequency band n respectively.
Frequency band m and frequency band n represent the dominant frequency ranges of the audio signals of the car speaker and the mobile device speaker, respectively.
And in the frequency band comparison process, the server side can place the two frequency bands in the same comparison area, and the system can analyze the tone quality difference of the two frequency bands in real time.
When the system detects that the difference value of the two frequency bands reaches 0.5 or more, the system automatically triggers the EQ mode adjustment strategy. The specific adjustment step comprises the step of adjusting weights of different frequencies in two frequency bands, so that sound production of the two frequency bands in the same audio frequency range is ensured to have similar tone quality characteristics.
EQ mode adjustment:
the system adjusts the EQ modes of the mobile equipment loudspeaker and the car machine loudspeaker according to the optimizing strategy of the service end, and adjusts the main range of the audio frequency band to be between 500Hz and 2 KHz.
The adjusted EQ mode ensures that the tone quality difference of two frequency bands is reduced, and similar or identical sound effects are finally achieved, so that the sound heard by the user has no obvious cracking sense between the interior of the vehicle and the sound production of the loudspeaker of the mobile equipment.
Feedback mechanism:
After the EQ mode adjustment is completed, the system continuously monitors the similarity of the audio signals through a microphone interface of the vehicle. If the similarity is still lower than the preset tone quality similarity threshold, the system triggers the audio tuning process again until the two meet the requirement of tone quality similarity.
In summary, the invention provides an audio optimization system and method for in-vehicle screen projection, which can effectively detect the number of speakers and the level of environmental noise in a vehicle and trigger sound field compensation and audio optimization strategies according to the similarity of sound quality through the cooperative work of a screen projection module, an interface judgment module, a function triggering module and a strategy execution module. Particularly, the invention introduces the self-adaptive filter and the cloud policy matching engine, thereby realizing the frequency difference correction and the real-time EQ mode adjustment between the vehicle speaker and the mobile device speaker and ensuring the stability and the synchronism of the tone quality in a complex environment. In addition, the user can customize the audio parameters through the interactive interface, so that the personalized audio experience is further improved. The invention solves the problems of poor tone quality synchronization, insufficient sound effect coverage, noise interference and the like in the prior art, is suitable for various vehicle-mounted audio systems, and effectively improves the overall quality and user experience of audio playing in a vehicle.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Any process or method description in a flowchart or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process. And the scope of the preferred embodiments of the present application includes additional implementations in which functions may be performed in a substantially simultaneous manner or in an opposite order from that shown or discussed, including in accordance with the functions that are involved.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that various changes and substitutions are possible within the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.