Disclosure of Invention
In view of the foregoing, the present invention is directed to providing a volume adjustment method for a vehicle-mounted multimedia device, so as to solve the problem of the volume fluctuation of the vehicle-mounted multimedia device.
The technical scheme adopted by the invention is as follows:
the invention provides a vehicle-mounted multimedia equipment volume adjusting method, which comprises the following steps:
when the vehicle-mounted multimedia equipment plays the audio at a pre-stored first volume level or a first volume level manually set by a driver and a passenger, the current audio which is being played is listened back in real time; the first volume level is a volume level directly output by preset vehicle-mounted multimedia equipment;
acquiring and recording a second volume level corresponding to the current audio according to the listened-back current audio; wherein the second volume level is a volume level obtained according to the loudness of the audible tone;
when playing the next audio, hearing back and acquiring a second volume level corresponding to the next audio;
comparing the difference of two second volume levels corresponding to the two successive audios;
if the difference exceeds a set threshold value, triggering the vehicle-mounted multimedia equipment to adjust the first volume level of the next audio;
and continuously listening the next adjusted audio frequency and obtaining an adjusted second volume level, and circulating until the difference meets the set threshold value and keeping the adjusted target first volume level corresponding to the next audio frequency.
In at least one possible implementation manner, the triggering the in-vehicle multimedia device to adjust the first volume level of the next audio includes: and gradually adjusting the first volume level according to a preset gradient.
In at least one possible implementation manner, after the preset time period is listened back, the second volume level of the audiofrequency is obtained.
In at least one possible implementation manner, for the same audio, the second volume level is obtained according to an average value of audio loudness values in a preset continuous time period.
In at least one possible implementation, the loudness value of the local audio with lyrics in the song is used in obtaining the second volume level pin for the song type audio.
In at least one possible implementation, the target first volume level is stored after the target first volume level is determined and maintained.
In at least one possible implementation manner, when the subsequent audios are continuously played, the following audio volume adjustment results are adopted, which are not related to the previous audio volume adjustment result: the audio is played at a pre-stored first volume level or at a first volume level manually set by the occupant.
The invention has the main design concept that when the vehicle-mounted multimedia equipment plays audio, a listen-back strategy is introduced, the comparison and judgment are carried out according to the volume of the audio obtained by the current listen-back and the volume of the previous audio listen-back record, so that the output volume level of the vehicle-mounted multimedia equipment is intelligently adjusted in real time, when the play volume is different from front to back due to audio factors, the manual adjustment of a driver or a passenger is not needed, the volume output by the vehicle-mounted multimedia equipment is always automatically in a proper state expected by the driver and the passenger, the intelligence of the vehicle-mounted multimedia equipment is improved, and the use experience of the driver and the passenger is improved.
Detailed Description
Reference will now be made in detail to the embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
The invention provides an embodiment of a volume adjusting method for vehicle-mounted multimedia equipment, which is specifically as shown in fig. 1, and comprises the following steps:
step S1, when the vehicle-mounted multimedia equipment plays the audio at a pre-stored first volume level or a first volume level manually set by a driver and a passenger, the current audio which is being played is listened back in real time; the first volume level is a volume level directly output by preset vehicle-mounted multimedia equipment;
step S2, according to the listened-back current audio, acquiring and recording a second volume level corresponding to the current audio; wherein the second volume level is a volume level obtained according to the loudness of the audible tone;
step S3, when playing the next audio, the user hears back and obtains a second volume level corresponding to the next audio;
step S4, comparing the difference of two second volume levels corresponding to two successive audios;
step S5, if the difference exceeds a preset threshold value, the vehicle-mounted multimedia equipment is triggered to adjust the first volume level of the next audio;
and step S6, continuously listening to the adjusted next audio frequency and obtaining an adjusted second volume level, and repeating the above steps until the difference meets the predetermined threshold, and keeping the adjusted target first volume level corresponding to the next audio frequency.
In practical operation, the triggering the in-vehicle multimedia device to adjust the first volume level of the next audio includes: and gradually adjusting the first volume level according to a preset gradient.
Considering that the volume of the prelude and the ending of each song is usually small for a specific type of audio, such as a music type, the retroactive data of the prelude and the ending within a certain time period is not statistically calculated, that is, in some preferred embodiments of the present invention, after the predetermined time period of the retroactive, the second volume level of the retroactive audio is obtained. Therefore, the invention further provides that the second volume level is obtained according to the average value of the audio loudness values in the preset continuous time interval for the same audio. More specifically, for the audio of the song type, because the volume of the accompaniment is usually smaller than that of the lyrics, when the second volume level is calculated, the loudness value of the local audio with the lyrics in the song can be only adopted, and the accompaniment part outside the lyrics is not considered, and the lyrics and the accompaniment can be distinguished by adopting a related algorithm in the existing artificial intelligence field, which is not the key point of the invention, and is not repeated and limited.
Finally, the invention also provides the following preferred scheme for further improvement: firstly, after the target first volume level is determined and maintained, the target first volume level is stored and is used for outputting according to the stored first volume level when the vehicle-mounted multimedia equipment is started; secondly, when the audio is played continuously, the audio is still played at the pre-stored first volume level or the first volume level manually set by the driver and the passenger, rather than being output by adopting the target first volume level after the last audio is adjusted (that is, understandably, the target first volume level, which is the first volume level adjusted by the scheme of the present invention, is only effective for the adjusted audio).
For example, in combination with the foregoing embodiments, the driver first turns on the vehicle music player to play the list music, and adjusts a desired appropriate volume (or a pre-stored volume called when the player is powered on for initialization), such as 6 levels (a first volume level, assuming that the volume level of the vehicle multimedia device playing music is 10 levels from 0 level to 9 levels), and the music playback mechanism monitors the music volume level obtained after playback in real time, such as 12 levels (a second volume level, assuming that the volume level of the vehicle multimedia device playing music is 20 levels from 0 level to 19 levels). When the next piece of music is played, if the piece of music is output according to the 6-level volume level originally set by the player due to the sound source problem, but the actual volume loudness is smaller, for example, the level of the music playback mechanism for playing back the music is only 10 levels, the music playback mechanism feeds back a signal for increasing the first volume level to the control system of the multimedia playing device, the output volume level of the player is adjusted by the music playing system, for example, the output volume level is increased from 6 levels to 7 levels, and at this time, the corresponding second volume level acquired by the music playback mechanism can approach or equal to 12 levels, so that the volume of the music playback can be ensured to be always closer to the original expected volume of the driver. It is understood that the same process can be performed when the actual volume of the next piece of music becomes large.
In summary, the main design concept of the present invention is that, independent of noise control, a similar to adding a machine ear is implemented, that is, when the vehicle-mounted multimedia device plays audio, a playback strategy is introduced, and a comparison determination is performed according to the audio volume obtained by the current playback and the volume recorded by the previous audio playback, so as to intelligently adjust the output volume level of the vehicle-mounted multimedia device in real time, and when there is a front-back difference in the playing volume due to audio factors, there is no need for manual adjustment by a driver or a passenger, so that the volume output by the vehicle-mounted multimedia device is always automatically in an appropriate state expected by the driver, thereby improving the intelligence of the vehicle-mounted multimedia device, and improving the use experience of the driver and the passenger.
In the embodiments of the present invention, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, and indicates that three relationships may exist, for example, a and/or B, and may indicate that a exists alone, a and B exist simultaneously, and B exists alone. Wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, wherein a, b and c can be single or multiple.
The structure, features and effects of the present invention have been described in detail with reference to the embodiments shown in the drawings, but the above embodiments are merely preferred embodiments of the present invention, and it should be understood that technical features related to the above embodiments and preferred modes thereof can be reasonably combined and configured into various equivalent schemes by those skilled in the art without departing from and changing the design idea and technical effects of the present invention; therefore, the invention is not limited to the embodiments shown in the drawings, and all the modifications and equivalent embodiments that can be made according to the idea of the invention are within the scope of the invention as long as they are not beyond the spirit of the description and the drawings.