CN109996143A - Volume adjusting method, device, system and audio-frequence player device and vehicle - Google Patents

Volume adjusting method, device, system and audio-frequence player device and vehicle Download PDF

Info

Publication number
CN109996143A
CN109996143A CN201910173049.XA CN201910173049A CN109996143A CN 109996143 A CN109996143 A CN 109996143A CN 201910173049 A CN201910173049 A CN 201910173049A CN 109996143 A CN109996143 A CN 109996143A
Authority
CN
China
Prior art keywords
volume
audio file
default
average
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910173049.XA
Other languages
Chinese (zh)
Other versions
CN109996143B (en
Inventor
王粲
史晓磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NIO Co Ltd
Original Assignee
NIO Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NIO Co Ltd filed Critical NIO Co Ltd
Priority to CN201910173049.XA priority Critical patent/CN109996143B/en
Publication of CN109996143A publication Critical patent/CN109996143A/en
Application granted granted Critical
Publication of CN109996143B publication Critical patent/CN109996143B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/20Arrangements for obtaining desired frequency or directional characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Control Of Amplification And Gain Control (AREA)
  • Tone Control, Compression And Expansion, Limiting Amplitude (AREA)

Abstract

The invention belongs to technical field of vehicle, and specifically provide a kind of volume adjusting method, device, system and audio-frequence player device and vehicle, it is intended to solve the cumbersome technical problem of volume adjustment.For this purpose, volume adjusting method provided by the invention mainly comprises the steps that the average volume for obtaining audio file;Judge whether average volume is in default volume range and is selectively adjusted the output volume of audio file according to judging result;Wherein, the target output volume that volume range depends on user's input is preset.User experience is not only increased present invention can ensure that the output volume of audio file meets the anticipated output volume of user always based on above-mentioned steps, the traffic safety hidden danger for manually adjusting volume generation due to user can also be avoided.

Description

Volume adjusting method, device, system and audio-frequence player device and vehicle
Technical field
The invention belongs to technical field of vehicle, and in particular to a kind of volume adjusting method, device, system and audio broadcasting are set Standby and vehicle.
Background technique
The volume that existing car audio system is not directed to music itself is adjusted, when exporting music, music The audio frequency parameters such as peak loudness, average volume are constant, but are different music on volume parameters there are larger difference, Such as rock music is generally bigger than lyric musical sound amount, user is when switching music, it has to manually adjust volume and guarantee output It is expected that volume meets user.Further, the attention that also will disperse driver when driver manually adjusts volume, causes one Determine the driving safety hidden danger of degree.
Correspondingly, this field needs a kind of new volume adjusting method to solve the above problems.
Summary of the invention
In order to solve the above problem in the prior art, in order to solve the cumbersome technical problem of volume adjustment, the present invention First aspect provide a kind of volume adjusting method, which comprises
Obtain the average volume of audio file;
Judge whether the average volume is in default volume range and is selectively adjusted institute according to judging result State the output volume of audio file;
Wherein, the default volume range depends on the target output volume of user's input.
Optionally, in the volume adjusting method, " the defeated of the audio file is selectively adjusted according to judging result The step of volume out ", specifically includes:
If the average volume is not in the default volume range, the output gain of the audio file is adjusted, So that the average volume of the audio file after adjusting is in the default volume range;
If the average volume is in the default volume range, the output gain of the audio file is not adjusted.
Optionally, in the volume adjusting method, " output gain of the audio file is adjusted, so that after adjusting The average volume of audio file is in the default volume range " the step of specifically include:
If the average volume is less than the volume floor value in the default volume range, increase the audio file Output gain, until the average volume is in the default volume range;
If the average volume is greater than the volume upper limit value in the default volume range, reduce the audio file Output gain, until the average volume is in the default volume range.
Optionally, in the volume adjusting method, " increase the output gain of the audio file, until described average Volume is in the default volume range " the step of specifically include:
During increasing the output gain, detect the audio file peak loudness whether be more than or equal to it is default Maximum output volume, if detecting, the peak loudness is more than or equal to the default maximum output volume, stops described in increase The output gain of audio file;
Wherein, the default maximum output volume depends on playing the max volume of the playback equipment of the audio file.
Optionally, in the volume adjusting method, the step of average volume of audio file " obtain ", is specifically included:
Detect whether there is volume magnitude parameters file corresponding with the audio file,
If detecting the volume magnitude parameters file, the audio text is obtained from the volume magnitude parameters file The average volume of part;
If the volume magnitude parameters file is not detected, audio signal analysis and basis are carried out to the audio file Analysis result obtains the average volume of the audio file.
The second aspect of the present invention additionally provides a kind of sound volume regulating system, the system comprises:
Module is obtained, is configured to obtain the average volume of audio file;
Adjustment module is configured to judge whether the average volume is in default volume range and according to judging result It is selectively adjusted the output volume of the audio file;
Wherein, the default volume range depends on the target output volume of user's input.
Optionally, in the sound volume regulating system, the adjustment module is further configured to perform the following operations:
If the average volume is not in the default volume range, the output gain of the audio file is adjusted, So that the average volume of the audio file after adjusting is in the default volume range;
If the average volume is in the default volume range, the output gain of the audio file is not adjusted.
Optionally, in the sound volume regulating system, the adjustment module is additionally configured to perform the following operations:
If the average volume is less than the volume floor value in the default volume range, increase the audio file Output gain, until the average volume is in the default volume range;
If the average volume is greater than the volume upper limit value in the default volume range, reduce the audio file Output gain, until the average volume is in the default volume range.
Optionally, in the sound volume regulating system, the adjustment module is additionally configured to perform the following operations:
During increasing the output gain, detect the audio file peak loudness whether be more than or equal to it is default Maximum output volume, if detecting, the peak loudness is more than or equal to the default maximum output volume, stops described in increase The output gain of audio file;
Wherein, the default maximum output volume depends on playing the max volume of the playback equipment of the audio file.
Optionally, in the sound volume regulating system, the acquisition module is further configured to perform the following operations:
Detect whether there is volume magnitude parameters file corresponding with the audio file,
If detecting the volume magnitude parameters file, the audio text is obtained from the volume magnitude parameters file The average volume of part;
If the volume magnitude parameters file is not detected, audio signal analysis and basis are carried out to the audio file Analysis result obtains the average volume of the audio file.
The third aspect of the present invention additionally provides a kind of audio-frequence player device, including sound volume regulating system described above.
The fourth aspect of the present invention additionally provides a kind of vehicle, and the vehicle includes audio-frequence player device described above.
The fifth aspect of the present invention additionally provides a kind of storage device, wherein being stored with a plurality of program, described program is suitable for It is loaded by processor to execute volume adjusting method described above.
The sixth aspect of the present invention additionally provides a kind of control device, including processor and storage equipment;The storage is set It is standby, it is suitable for storing a plurality of program;Described program is suitable for being loaded by the processor to execute volume adjusting method described above.
Compared with the immediate prior art, above-mentioned technical proposal is at least had the following beneficial effects:
1, volume adjusting method provided by the invention mainly comprises the steps that the average volume for obtaining audio file;Sentence Whether disconnected average volume is in default volume range and is selectively adjusted the output sound of audio file according to judging result Amount, wherein default volume range depends on the target output volume of user's input.Based on above-mentioned steps, volume tune of the invention Whether section method can be in default volume range by judging the average volume of audio file, and certainly according to judging result The output volume for adaptively adjusting audio file guarantees that the average volume of the audio file played meets user always and is expected, both User experience can be improved, user can also be avoided to manually adjust volume bring traffic safety hidden danger.
2, volume adjusting method provided by the invention by adjust audio file output gain so that adjust after audio The average volume of file is in default volume range, during increasing output gain, guarantees the peak value sound of audio file Amount is consistently less than the maximum output volume for playing the playback equipment of audio file, can both guarantee the output volume symbol of audio file It is expected to share family, distortion when can also avoid playing audio file improves user experience.
Scheme 1, a kind of volume adjusting method, which is characterized in that the described method includes:
Obtain the average volume of audio file;
Judge whether the average volume is in default volume range and is selectively adjusted the sound according to judging result The output volume of frequency file;
Wherein, the default volume range depends on the target output volume of user's input.
Scheme 2, volume adjusting method according to scheme 1, which is characterized in that " institute is selectively adjusted according to judging result State the output volume of audio file " the step of specifically include:
If the average volume is not in the default volume range, the output gain of the audio file is adjusted, so that The average volume of audio file after adjusting is in the default volume range;
If the average volume is in the default volume range, the output gain of the audio file is not adjusted.
Scheme 3, the volume adjusting method according to scheme 2, which is characterized in that " output gain of the audio file is adjusted, So that the average volume of audio file after adjusting is in the default volume range " the step of specifically include:
If the average volume is less than the volume floor value in the default volume range, increase the output of the audio file Gain, until the average volume is in the default volume range;
If the average volume is greater than the volume upper limit value in the default volume range, reduce the output of the audio file Gain, until the average volume is in the default volume range.
Scheme 4, volume adjusting method according to scheme 3, which is characterized in that " increase the output gain of the audio file, Until the average volume is in the default volume range " the step of specifically include:
During increasing the output gain, whether the peak loudness for detecting the audio file is more than or equal to default maximum Output volume, if detecting, the peak loudness is more than or equal to the default maximum output volume, stops increasing the audio The output gain of file;
Wherein, the default maximum output volume depends on playing the max volume of the playback equipment of the audio file.
Scheme 5, the volume adjusting method according to any one of scheme 1 to 4, which is characterized in that " obtain the flat of audio file The step of equal volume ", specifically includes:
Detect whether there is volume magnitude parameters file corresponding with the audio file,
If detecting the volume magnitude parameters file, the audio file is obtained from the volume magnitude parameters file Average volume;
If the volume magnitude parameters file is not detected, audio signal analysis is carried out to the audio file and according to analysis As a result the average volume of the audio file is obtained.
Scheme 6, a kind of sound volume regulating system, which is characterized in that the system comprises:
Module is obtained, is configured to obtain the average volume of audio file;
Adjustment module is configured to judge whether the average volume is in default volume range and selects according to judging result Adjust to property the output volume of the audio file;
Wherein, the default volume range depends on the target output volume of user's input.
Scheme 7, sound volume regulating system according to scheme 6, which is characterized in that the adjustment module is further configured to execute Following operation:
If the average volume is not in the default volume range, the output gain of the audio file is adjusted, so that The average volume of audio file after adjusting is in the default volume range;
If the average volume is in the default volume range, the output gain of the audio file is not adjusted.
Scheme 8, sound volume regulating system according to scheme 7, which is characterized in that the adjustment module is additionally configured to execute as follows Operation:
If the average volume is less than the volume floor value in the default volume range, increase the output of the audio file Gain, until the average volume is in the default volume range;
If the average volume is greater than the volume upper limit value in the default volume range, reduce the output of the audio file Gain, until the average volume is in the default volume range.
Scheme 9, the sound volume regulating system according to scheme 8, which is characterized in that the adjustment module is additionally configured to execute as follows Operation:
During increasing the output gain, whether the peak loudness for detecting the audio file is more than or equal to default maximum Output volume, if detecting, the peak loudness is more than or equal to the default maximum output volume, stops increasing the audio The output gain of file;
Wherein, the default maximum output volume depends on playing the max volume of the playback equipment of the audio file.
Scheme 10, the sound volume regulating system according to any one of scheme 6 to 9, which is characterized in that the acquisition module is into one Step is configured to perform the following operations:
Detect whether there is volume magnitude parameters file corresponding with the audio file,
If detecting the volume magnitude parameters file, the audio file is obtained from the volume magnitude parameters file Average volume;
If the volume magnitude parameters file is not detected, audio signal analysis is carried out to the audio file and according to analysis As a result the average volume of the audio file is obtained.
Scheme 11, a kind of audio-frequence player device, which is characterized in that the audio-frequence player device includes any one of scheme 6 to 10 The sound volume regulating system.
Scheme 12, a kind of vehicle, which is characterized in that the vehicle includes audio-frequence player device described in scheme 11.
Scheme 13, a kind of storage device, wherein being stored with a plurality of program, which is characterized in that described program is suitable for being added by processor It carries with the volume adjusting method described in any one of 1 to 5 that carries into execution a plan.
Scheme 14, a kind of control device, including processor and storage equipment;The storage equipment is suitable for storing a plurality of program;Its It is characterized in that, described program is suitable for being loaded as the processor with the volume adjustment side described in any one of 1 to 5 that carries into execution a plan Method.
Detailed description of the invention
Fig. 1 is the key step schematic diagram of the volume adjusting method of an embodiment of the present invention;
Fig. 2 is the primary structure schematic diagram of the sound volume regulating system of an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
The preferred embodiment of the present invention described with reference to the accompanying drawings.It will be apparent to a skilled person that this A little embodiments are used only for explaining technical principle of the invention, it is not intended that limit the scope of the invention.
Refering to attached drawing 1, Fig. 1 schematically illustrates the key step of volume adjusting method in the present embodiment.Such as Fig. 1 institute Show, volume adjusting method mainly includes the following steps: in the present embodiment
Step S101: the average volume of audio file is obtained.
In practical applications, there are larger differences on volume parameters for different music, such as rock music is generally than expressing one's emotion Musical sound amount is bigger, and user is when switching music, it has to manually adjust volume and guarantee that volume meets use when playing different music Family is expected, wherein average volume is the volume parameters for reflecting audio file volume average level when playing, and average volume can It is expected whether volume when preferably audio gauge file plays meets user.
Specifically, the specific steps for obtaining the average volume of audio file include:
Detect whether there is volume magnitude parameters file corresponding with audio file: if detecting volume magnitude parameters text Part then obtains the average volume of audio file from volume magnitude parameters file;If volume magnitude parameters file is not detected, Audio signal analysis is carried out to audio file and obtains the average volume of audio file based on the analysis results.Wherein, volume amplitude Parameter File may include volume amplitude figure, peak loudness and the average volume of audio file.
Volume magnitude parameters file can be the offer of audio file provider in the present embodiment, if detecting audio file Provider provides volume magnitude parameters file, then can directly communicate with audio file provider and obtain volume magnitude parameters text Part.Further, volume magnitude parameters file can also be the history volume magnitude parameters file being stored in playback equipment, this A little history volume magnitude parameters files can be by communicating the volume magnitude parameters file got with audio file provider, It is also possible to carry out the volume magnitude parameters file that audio signal analysis obtains to audio file.
Optionally, the average volume of audio file can be obtained according to the following steps in the present embodiment:
Step 1: whether detection playback equipment stores the corresponding volume magnitude parameters file of current audio file: if detection To the corresponding volume magnitude parameters file of current audio file, then the flat of audio file is obtained from the volume magnitude parameters file Equal volume;If the corresponding volume magnitude parameters file of current audio file is not detected, step 2 is gone to.
Step 2: whether detection audio file provider provides the corresponding volume magnitude parameters file of current audio file: If detecting the corresponding volume magnitude parameters file of current audio file, audio text is obtained from the volume magnitude parameters file The average volume of part;If the corresponding volume magnitude parameters file of current audio file is not detected, step 3 is gone to.
Step 3: audio signal analysis being carried out to audio file and obtains the average volume of audio file based on the analysis results. Specifically, the volume amplitude information of audio file is obtained by audio signal analysis, and then audio is obtained according to the amplitude information The information such as the average volume of file and peak loudness.
Step S102: judging whether average volume is in default volume range, if average volume is not in default volume In range, S103 is thened follow the steps;If average volume is in default volume range, S104 is thened follow the steps.
When playing audio file, in order to avoid user after switching music because difference of the different music in volume and Manually adjust volume, it can be determined that whether the average volume of audio file to be played is in default volume range, according to sentencing Disconnected result is selectively adjusted the output volume of audio file, wherein the target that default volume range depends on user's input is defeated Volume out, target output volume meet volume value expected from user according to settings such as itself hobby, ambient enviroments for user, in advance If volume range can be in the floating of target output volume, it can allow user that can not discover the volume section of sound volume difference.
Step S103: adjusting the output gain of audio file, so that the average volume of the audio file after adjusting is in pre- If in volume range;
Specifically, by taking the volume adjusting method of the present embodiment is applied to car audio system as an example, vehicle-mounted sound can be passed through The control unit of acoustic system adjusts the output gain of audio file, so that the average volume of the audio file after adjusting is in default In volume range, wherein the output gain of audio file is adjusted, so that the average volume of the audio file after adjusting is in default Step in volume range can specifically include:
If average volume is less than the volume floor value in default volume range, increase the output gain of audio file, directly It is in default volume range to average volume;
If average volume is greater than the volume upper limit value in default volume range, reduce the output gain of audio file, directly It is in default volume range to average volume.
Specifically, with default volume range for [M, N], average volume A, for output gain is X, as average volume A When less than volume floor value M in default volume range, increase the output gain X of audio file, for example, output gain initial value X is the natural number of [0,1], then output gain X can be increased above to 1 natural number, until average volume is in default sound It measures in range;When average volume A is greater than the volume upper limit value N in default volume range, reduce the output gain of audio file Output gain X can be then reduced to the natural number of [0,1], directly for example, output gain initial value X is the natural number greater than 1 by X It is in default volume range to average volume.
In addition, whether the peak loudness for detecting audio file, which is more than or equal to, is preset most during increasing output gain Big output volume, if detecting, peak loudness is more than or equal to default maximum output volume, stops the output for increasing audio file Gain, wherein default maximum output volume depends on playing the max volume of the playback equipment of audio file, by detecting audio Whether the peak loudness of file, which is more than or equal to default maximum output volume, can guarantee that broadcasting audio file is undistorted, improve user Experience.
Step S104: the output gain of audio file is not adjusted.
If the average volume of audio file is in default volume range, illustrate that playing the volume of audio file is to meet For it is contemplated that then do not need adjust audio file output gain, can directly play audio file.
Although each step is described in the way of above-mentioned precedence in above-described embodiment, this field Technical staff is appreciated that the effect in order to realize the present embodiment, executes between different steps not necessarily in such order, It (parallel) execution simultaneously or can be executed with reverse order, these simple variations all protection scope of the present invention it It is interior.
Based on above-mentioned volume adjusting method embodiment, the present invention also provides a kind of sound volume regulating systems.Below with reference to attached Figure, is illustrated the sound volume regulating system.
Refering to attached drawing 2, Fig. 2 schematically illustrates the primary structure of sound volume regulating system in the present embodiment.Volume adjustment System mainly includes obtaining module 21 and adjustment module 22.Specifically, module 21 is obtained to be configurable to obtain audio file Average volume, adjustment module 22 are configurable to judge whether average volume is in default volume range and ties according to judgement Fruit is selectively adjusted the output volume of audio file.Wherein, the target output sound that volume range depends on user's input is preset Amount.
In a preferred embodiment of the embodiment of the present invention, adjustment module 22 shown in Fig. 2 is further configured to hold The following operation of row:
If average volume is not in default volume range, the output gain of audio file is adjusted, so that after adjusting The average volume of audio file is in default volume range;If average volume is in default volume range, sound is not adjusted The output gain of frequency file.
In a preferred embodiment of the embodiment of the present invention, adjustment module 22 shown in Fig. 2 is additionally configured to execute such as Lower operation:
If average volume is less than the volume floor value in default volume range, increase the output gain of audio file, directly It is in default volume range to average volume;If average volume is greater than the volume upper limit value in default volume range, reduce The output gain of audio file, until average volume is in default volume range.
In a preferred embodiment of the embodiment of the present invention, adjustment module 22 shown in Fig. 2 is additionally configured to execute such as Lower operation:
During increasing output gain, whether the peak loudness for detecting audio file is more than or equal to default maximum output Volume, if detecting, peak loudness is more than or equal to default maximum output volume, stops the output gain for increasing audio file;Its In, preset the max volume that maximum output volume depends on playing the playback equipment of audio file.
In a preferred embodiment of the embodiment of the present invention, acquisition module 21 shown in Fig. 2 is further configured to hold The following operation of row:
Detect whether there is volume magnitude parameters file corresponding with audio file: if detecting volume magnitude parameters text Part then obtains the average volume of audio file from volume magnitude parameters file;If volume magnitude parameters file is not detected, Audio signal analysis is carried out to audio file and obtains the average volume of audio file based on the analysis results.
Above-mentioned sound volume regulating system embodiment can be used for executing above-mentioned volume adjusting method embodiment, technical principle, The technical effect of the technical issues of solved and generation is similar, and person of ordinary skill in the field can be understood that, For convenience and simplicity of description, the specific work process of the volume adjustment of foregoing description and related explanation can refer to aforementioned sound Corresponding process in amount adjustment method embodiment, details are not described herein.
It will be understood by those skilled in the art that above-mentioned sound volume regulating system further includes some other known features, such as locate Manage device, controller, memory etc., wherein memory includes but is not limited to random access memory, flash memory, read-only memory, may be programmed Read-only memory, volatile memory, nonvolatile memory, serial storage, parallel storage or register etc., processor Including but not limited to CPLD/FPGA, DSP, arm processor, MIPS processor etc., in order to unnecessarily obscure the implementation of the disclosure Example, these well known structures are not shown in FIG. 2.
It should be understood that the quantity of the modules in Fig. 2 is only schematical.According to actual needs, each module can be with With arbitrary quantity.
It will be understood by those skilled in the art that can be adaptively changed to the module in the system in embodiment And they are arranged in one or more systems unlike this embodiment.It can be the block combiner in embodiment at one A module, and furthermore they can be divided into multiple submodules.In addition in such feature and/or process or module extremely It is few it is some exclude each other except, can using any combination to this specification (including adjoint claim, abstract and attached Figure) disclosed in all processes or module of all features and so disclosed any method or system be combined.It removes Non- to be in addition expressly recited, each feature disclosed in this specification (including adjoint claim, abstract and attached drawing) can be by The alternative features of identical, equivalent, or similar purpose are provided to replace.
Based on above-mentioned sound volume regulating system embodiment, the present invention also provides a kind of audio-frequence player device, which is played Equipment may include sound volume regulating system described in the above system embodiment.
Further, it is based on above-mentioned audio-frequence player device embodiment, the present invention also provides a kind of vehicle, which can be with Including audio-frequence player device described in above equipment embodiment.
Further, it is based on above-mentioned volume adjusting method embodiment, the present invention also provides a kind of storage devices, wherein depositing A plurality of program is contained, which may be adapted to be loaded as processor to execute volume adjustment side described in above method embodiment Method.
Still further, being based on above method embodiment, it may include place that the present invention also provides a kind of control devices Manage device and storage equipment.Specifically, storage equipment may be adapted to store a plurality of program, which may be adapted to be loaded by processor To execute volume adjusting method described in above method embodiment.
Person of ordinary skill in the field can be understood that for convenience of description and succinctly, the present invention fills The specific work process and related description for setting embodiment, can refer to corresponding processes in the foregoing method embodiment, and with it is upper Method beneficial effect having the same is stated, details are not described herein.
Those skilled in the art should be able to recognize that, side described in conjunction with the examples disclosed in the embodiments of the present disclosure Method step, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate electronic hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is executed actually with electronic hardware or software mode, specific application and design constraint depending on technical solution. Those skilled in the art can use different methods to achieve the described function each specific application, but this reality Now it should not be considered as beyond the scope of the present invention.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, rather than be used to describe or indicate specific sequence or precedence.It should be understood that this The data that sample uses can be interchanged in appropriate circumstances, so that the embodiment of the present invention described herein can be in addition at this In illustrate or description those of other than sequence implement.
So far, it has been combined preferred embodiment shown in the drawings and describes technical solution of the present invention, still, this field Technical staff is it is easily understood that protection scope of the present invention is expressly not limited to these specific embodiments.Without departing from this Under the premise of the principle of invention, those skilled in the art can make equivalent change or replacement to the relevant technologies feature, these Technical solution after change or replacement will fall within the scope of protection of the present invention.

Claims (10)

1. a kind of volume adjusting method, which is characterized in that the described method includes:
Obtain the average volume of audio file;
Judge whether the average volume is in default volume range and is selectively adjusted the sound according to judging result The output volume of frequency file;
Wherein, the default volume range depends on the target output volume of user's input.
2. volume adjusting method according to claim 1, which is characterized in that " be selectively adjusted institute according to judging result State the output volume of audio file " the step of specifically include:
If the average volume is not in the default volume range, the output gain of the audio file is adjusted, so that The average volume of audio file after adjusting is in the default volume range;
If the average volume is in the default volume range, the output gain of the audio file is not adjusted.
3. volume adjusting method according to claim 2, which is characterized in that " output gain of the audio file is adjusted, So that the average volume of audio file after adjusting is in the default volume range " the step of specifically include:
If the average volume is less than the volume floor value in the default volume range, increase the output of the audio file Gain, until the average volume is in the default volume range;
If the average volume is greater than the volume upper limit value in the default volume range, reduce the output of the audio file Gain, until the average volume is in the default volume range.
4. volume adjusting method according to claim 3, which is characterized in that " increase the output gain of the audio file, Until the average volume is in the default volume range " the step of specifically include:
During increasing the output gain, whether the peak loudness for detecting the audio file is more than or equal to default maximum Output volume, if detecting, the peak loudness is more than or equal to the default maximum output volume, stops increasing the audio The output gain of file;
Wherein, the default maximum output volume depends on playing the max volume of the playback equipment of the audio file.
5. volume adjusting method according to any one of claim 1 to 4, which is characterized in that " obtain the flat of audio file The step of equal volume ", specifically includes:
Detect whether there is volume magnitude parameters file corresponding with the audio file,
If detecting the volume magnitude parameters file, the audio file is obtained from the volume magnitude parameters file Average volume;
If the volume magnitude parameters file is not detected, audio signal analysis is carried out to the audio file and according to analysis As a result the average volume of the audio file is obtained.
6. a kind of sound volume regulating system, which is characterized in that the system comprises:
Module is obtained, is configured to obtain the average volume of audio file;
Adjustment module is configured to judge whether the average volume is in default volume range and selects according to judging result Adjust to property the output volume of the audio file;
Wherein, the default volume range depends on the target output volume of user's input.
7. sound volume regulating system according to claim 6, which is characterized in that the adjustment module is further configured to execute Following operation:
If the average volume is not in the default volume range, the output gain of the audio file is adjusted, so that The average volume of audio file after adjusting is in the default volume range;
If the average volume is in the default volume range, the output gain of the audio file is not adjusted.
8. sound volume regulating system according to claim 7, which is characterized in that the adjustment module is additionally configured to execute as follows Operation:
If the average volume is less than the volume floor value in the default volume range, increase the output of the audio file Gain, until the average volume is in the default volume range;
If the average volume is greater than the volume upper limit value in the default volume range, reduce the output of the audio file Gain, until the average volume is in the default volume range.
9. sound volume regulating system according to claim 8, which is characterized in that the adjustment module is additionally configured to execute as follows Operation:
During increasing the output gain, whether the peak loudness for detecting the audio file is more than or equal to default maximum Output volume, if detecting, the peak loudness is more than or equal to the default maximum output volume, stops increasing the audio The output gain of file;
Wherein, the default maximum output volume depends on playing the max volume of the playback equipment of the audio file.
10. sound volume regulating system according to any one of claims 6 to 9, which is characterized in that the acquisition module is into one Step is configured to perform the following operations:
Detect whether there is volume magnitude parameters file corresponding with the audio file,
If detecting the volume magnitude parameters file, the audio file is obtained from the volume magnitude parameters file Average volume;
If the volume magnitude parameters file is not detected, audio signal analysis is carried out to the audio file and according to analysis As a result the average volume of the audio file is obtained.
CN201910173049.XA 2019-03-07 2019-03-07 Volume adjusting method, device and system, audio playing equipment and vehicle Active CN109996143B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910173049.XA CN109996143B (en) 2019-03-07 2019-03-07 Volume adjusting method, device and system, audio playing equipment and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910173049.XA CN109996143B (en) 2019-03-07 2019-03-07 Volume adjusting method, device and system, audio playing equipment and vehicle

Publications (2)

Publication Number Publication Date
CN109996143A true CN109996143A (en) 2019-07-09
CN109996143B CN109996143B (en) 2021-07-23

Family

ID=67130200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910173049.XA Active CN109996143B (en) 2019-03-07 2019-03-07 Volume adjusting method, device and system, audio playing equipment and vehicle

Country Status (1)

Country Link
CN (1) CN109996143B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258532A (en) * 2020-02-19 2020-06-09 西安闻泰电子科技有限公司 Volume adaptive adjustment method and device, storage medium and electronic equipment
WO2023071425A1 (en) * 2021-10-25 2023-05-04 Oppo广东移动通信有限公司 Volume control method and apparatus, and electronic device and storage medium
WO2023070792A1 (en) * 2021-10-26 2023-05-04 歌尔科技有限公司 Volume balancing method and device for talk-on doorbell, and readable storage medium
WO2023185589A1 (en) * 2022-03-28 2023-10-05 华为技术有限公司 Volume control method and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102273223A (en) * 2008-11-14 2011-12-07 塔特公司 Dynamic volume control and multi-spatial processing protection
CN103871439A (en) * 2012-12-11 2014-06-18 腾讯科技(深圳)有限公司 Method, device and system for audio playing
CN103929140A (en) * 2014-04-30 2014-07-16 深圳市中兴移动通信有限公司 Method and device for pre-processing voice frequency
CN104486668A (en) * 2014-11-20 2015-04-01 深圳市金立通信设备有限公司 Volume adjustment method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102273223A (en) * 2008-11-14 2011-12-07 塔特公司 Dynamic volume control and multi-spatial processing protection
CN103871439A (en) * 2012-12-11 2014-06-18 腾讯科技(深圳)有限公司 Method, device and system for audio playing
CN103929140A (en) * 2014-04-30 2014-07-16 深圳市中兴移动通信有限公司 Method and device for pre-processing voice frequency
CN104486668A (en) * 2014-11-20 2015-04-01 深圳市金立通信设备有限公司 Volume adjustment method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258532A (en) * 2020-02-19 2020-06-09 西安闻泰电子科技有限公司 Volume adaptive adjustment method and device, storage medium and electronic equipment
WO2023071425A1 (en) * 2021-10-25 2023-05-04 Oppo广东移动通信有限公司 Volume control method and apparatus, and electronic device and storage medium
WO2023070792A1 (en) * 2021-10-26 2023-05-04 歌尔科技有限公司 Volume balancing method and device for talk-on doorbell, and readable storage medium
WO2023185589A1 (en) * 2022-03-28 2023-10-05 华为技术有限公司 Volume control method and electronic device

Also Published As

Publication number Publication date
CN109996143B (en) 2021-07-23

Similar Documents

Publication Publication Date Title
CN109996143A (en) Volume adjusting method, device, system and audio-frequence player device and vehicle
CN102714033B (en) System for simulated multi-gear vehicle sound generation
WO2009107227A1 (en) Accoustic signal processing device and accoustic signal processing method
CN103929140A (en) Method and device for pre-processing voice frequency
US20110007905A1 (en) Acoustic signal processing device and acoustic signal processing method
DK2814031T3 (en) Method and apparatus for reading an audio signal and method for adjusting the volume of the audio signal
CN111785238B (en) Audio calibration method, device and storage medium
CA2596337A1 (en) Method for generating concealment frames in communication system
CN102969009B (en) Multitrack recording machine
US20140109074A1 (en) Audio source system and method
CN107180615A (en) Method for controlling backlight thereof and device when electronic equipment is spread its tail
RU2730414C2 (en) Systems and methods for setting electronic sound improvement
EP1640989A3 (en) Electronic music apparatus and music-related data display method
CN104967913A (en) Audio file playing control method and apparatus thereof
CN105721004A (en) Vehicular radio control method and device, vehicular radio and vehicle
CN103871439B (en) The method of a kind of audio frequency broadcasting, Apparatus and system
CN106712870A (en) Magnetic resonance receiving channel calibration method, calibration device and magnetic resonance equipment
CN109716794A (en) Information processing unit, information processing method and program
CN109240638A (en) Audio-frequency processing method and device for vehicle
JPWO2019159259A1 (en) Acoustic parameter adjustment device, acoustic parameter adjustment method and acoustic parameter adjustment program
JP2006186961A5 (en)
WO2011125128A1 (en) Power saving operation support device
JP5201225B2 (en) Acceleration information transmission device
CN109195072A (en) Audio broadcasting control system and method based on automobile
KR101244054B1 (en) Method for controlling a virtual engine sound system for an electric motor based vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant