CN106775563A - The method and device of volume adjusting - Google Patents
The method and device of volume adjusting Download PDFInfo
- Publication number
- CN106775563A CN106775563A CN201611145305.7A CN201611145305A CN106775563A CN 106775563 A CN106775563 A CN 106775563A CN 201611145305 A CN201611145305 A CN 201611145305A CN 106775563 A CN106775563 A CN 106775563A
- Authority
- CN
- China
- Prior art keywords
- volume
- audio
- regulation coefficient
- time
- preset period
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Television Receiver Circuits (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
A kind of method of volume adjusting, methods described includes:Obtain the original sound volume of audio-video document to be played;The first regulation coefficient to the original sound volume is determined according to reference volume;Judge volume that the original sound volume of the audio in the preset period of time that will be played in the audio-video document adjusted through first regulation coefficient whether in default volume range, if not, it is determined that corresponding second regulation coefficient of the preset period of time;Original sound volume according to the audio in second regulation coefficient and the preset period of time plays the audio in the preset period of time.The present invention also provides a kind of device of volume adjusting.The present invention can be adjusted to volume too high or too low in audio-video document to be played, improve user's listening experience.
Description
Technical field
The present invention relates to field of computer technology, and in particular to a kind of method and device of volume adjusting.
Background technology
Often having various audio-video documents on electronic equipment (such as mobile terminal) needs to play.Due to what is recorded
Condition is different, and the actual volume of broadcasting is possibly different from, and user is in order to adapt to different volumes, it is necessary to continually regulation is
System volume, have impact on user's listening experience.
The content of the invention
In view of the foregoing, it is necessary to propose a kind of method and device of volume adjusting, can be to audio frequency and video to be played
File is reasonably adjusted, and improves user's listening experience.
The first aspect of the application provides a kind of method of volume adjusting, and methods described includes:
Obtain the original sound volume of audio-video document to be played;
The first regulation coefficient to the original sound volume is determined according to reference volume;
Judge that the original sound volume of the audio in the preset period of time that will be played in the audio-video document is adjusted through described first
Whether the volume of integral coefficient adjustment is being preset in volume range, if not, it is determined that the preset period of time corresponding second adjusts system
Number;
When original sound volume according to the audio in second regulation coefficient and the preset period of time plays described default
Audio in section.
In alternatively possible implementation, in the preset period of time for judging to be played in the audio-video document
Whether the original sound volume of audio is being preset in volume range through the volume that first regulation coefficient is adjusted, if not, it is determined that institute
Corresponding second regulation coefficient of preset period of time is stated, including:
If the original sound volume of the audio in the preset period of time that will be played in the audio-video document is through the described first adjustment
The volume of coefficient adjustment more than the default volume range maximum, then using first regulation coefficient reduction after value as
Corresponding second regulation coefficient of the preset period of time;
If the original sound volume of the audio in the preset period of time that will be played in the audio-video document is through the described first adjustment
The volume of coefficient adjustment less than the default volume range minimum value, then using first regulation coefficient improve after value as
Corresponding second regulation coefficient of the preset period of time.
In alternatively possible implementation, the sound according in second regulation coefficient and the preset period of time
The original sound volume of frequency plays the audio in the preset period of time, including:
In the preset period of time, first regulation coefficient is gradually adjusted to the mode of second regulation coefficient
The original sound volume of the audio in the preset period of time is adjusted and played.
In alternatively possible implementation, methods described also includes:
If the original sound volume of the audio in the preset period of time that will be played in the audio-video document is through the described first adjustment
The volume of coefficient adjustment in the default volume range, then according in first regulation coefficient and the preset period of time
The original sound volume of audio plays the audio in the preset period of time.
In alternatively possible implementation, the first adjustment system determined according to reference volume to the original sound volume
Number includes:
Original sound volume according to the audio-video document calculates the average volume of the audio-video document, according to the reference
Volume determines the first regulation coefficient to the original sound volume with the average volume.
The second aspect of the application provides a kind of device of volume adjusting, and described device includes:
Acquiring unit, the original sound volume for obtaining audio-video document to be played;
First determining unit, for determining the first regulation coefficient to the original sound volume according to reference volume;
Second determining unit, for the original of the audio in the preset period of time that judges to be played in the audio-video document
Whether volume is being preset in volume range through the volume that first regulation coefficient is adjusted, if not, it is determined that the preset period of time
Corresponding second regulation coefficient;
Broadcast unit, for being broadcast according to the original sound volume of the audio in second regulation coefficient and the preset period of time
Put the audio in the preset period of time.
In alternatively possible implementation, second determining unit specifically for:
If the original sound volume of the audio in the preset period of time that will be played in the audio-video document is through the described first adjustment
The volume of coefficient adjustment more than the default volume range maximum, then using first regulation coefficient reduction after value as
Corresponding second regulation coefficient of the preset period of time;
If the original sound volume of the audio in the preset period of time that will be played in the audio-video document is through the described first adjustment
The volume of coefficient adjustment less than the default volume range minimum value, then using first regulation coefficient improve after value as
Corresponding second regulation coefficient of the preset period of time.
In alternatively possible implementation, the broadcast unit specifically for:
In the preset period of time, first regulation coefficient is gradually adjusted to the mode of second regulation coefficient
The original sound volume of the audio in the preset period of time is adjusted and played.
In alternatively possible implementation, the broadcast unit is additionally operable to:If for will in the audio-video document
The volume that the original sound volume of the audio in the preset period of time of broadcasting is adjusted through first regulation coefficient is in the default volume model
In enclosing, then the original sound volume according to the audio in first regulation coefficient and the preset period of time plays the preset period of time
Interior audio.
In alternatively possible implementation, first determining unit specifically for:
Original sound volume according to the audio-video document calculates the average volume of the audio-video document, according to the reference
Volume determines the first regulation coefficient to the original sound volume with the average volume.
The present invention obtains the original sound volume of audio-video document to be played;Determined to the original sound volume according to reference volume
The first regulation coefficient;Judge the original sound volume of audio in the preset period of time that will be played in the audio-video document through described
Whether the volume of the first regulation coefficient adjustment is being preset in volume range, if not, it is determined that the preset period of time corresponding second
Regulation coefficient;When original sound volume according to the audio in second regulation coefficient and the preset period of time plays described default
Audio in section.The present invention can be adjusted to volume too high or too low in audio-video document to be played, improve user
Listening experience.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, embodiment will be described below needed for be used
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method for the volume adjusting that the embodiment of the present invention one is provided.
Fig. 2 is the structural representation of the device of the volume adjusting that the embodiment of the present invention two is provided.
Fig. 3 is the structural representation of the electronic equipment of the method for realizing volume adjusting that the embodiment of the present invention three is provided.
Main element symbol description
Electronic equipment 1
The device 10 of volume adjusting
Storage device 20
Processing equipment 30
Acquiring unit 201
First determining unit 202
Second determining unit 203
Broadcast unit 204
Following specific embodiment will further illustrate the present invention with reference to above-mentioned accompanying drawing.
Specific embodiment
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention
The present invention will be described in detail to apply example.It should be noted that in the case where not conflicting, embodiments herein and embodiment
In feature can be mutually combined.
Many details are elaborated in the following description in order to fully understand the present invention, and described embodiment is only
Only it is a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill
The every other embodiment that personnel are obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Unless otherwise defined, all of technologies and scientific terms used here by the article with belong to technical field of the invention
The implication that technical staff is generally understood that is identical.The term for being used in the description of the invention herein is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Preferably, the method for volume adjusting of the invention is performed by one or more electronic equipment.The electronic equipment
Be it is a kind of can be according to the instruction being previously set or store, the equipment that numerical computations and/or information processing are carried out automatically, its hardware
Including but not limited to microprocessor, application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), digital processing unit (Digital
Signal Processor, DSP), embedded device etc..
The electronic equipment may be, but not limited to, any one can pass through keyboard, mouse, remote control, touch with user
The mode such as plate or voice-operated device carries out the electronic product of man-machine interaction, for example, personal computer, panel computer, smart mobile phone, individual
Personal digital assistant (Personal Digital Assistant, PDA), game machine, IPTV (Internet
Protocol Television, IPTV), intellectual Wearable etc..
Embodiment one
Fig. 1 is the schematic flow sheet of the method for the volume adjusting that the embodiment of the present invention one is provided.As shown in figure 1, the method
Specifically include following steps:
101:Obtain the original sound volume of audio-video document to be played.
The audio-video document to be played can be the audio or video file of various forms, such as MP3, WAV, WMA,
The audio file of the forms such as CDA, MID, or the form such as MP4, AVI, WMV, MPEG video file.
The voice data of the audio-video document can be analyzed, obtain the original sound volume of the audio-video document.
102:The first regulation coefficient to the original sound volume is determined according to reference volume.
In the present embodiment, the reference volume can be default volume.For example, being adapted to the medium volume of human ear about
It is 50~70dB, the reference volume can be arranged in the range of 50~70dB, for example, is set to 60dB.
The reference volume can be as needed configured by user.For example, user can be accustomed to according to personal reception
The reference volume of larger (such as 70dB) or smaller (such as 50dB) is set.
In another embodiment, the reference volume can be obtained according to the audio-video document specified.For example, can obtain
The average volume of the audio-video document specified, the average volume of the audio-video document that this is specified is used as the reference volume.
The reference volume can also determine according to the system sound volume of electronic equipment.
It is described to determine that to the first regulation coefficient of the original sound volume be according to the audio frequency and video according to reference volume
The original sound volume of file calculates the average volume of the audio-video document, is determined with the average volume according to the reference volume
To the first regulation coefficient of the original sound volume.For example, the reference volume is Q, the average volume of the audio-video document is
Q1, then first regulation coefficient can be Q/Q1.
First regulation coefficient can be more than 1, the original sound volume for improving the audio-video document.Described first adjusts
Integral coefficient can also be less than 1, the original sound volume for reducing the audio-video document more than 0.
103:Judge the original sound volume of audio in the preset period of time that will be played in the audio-video document through described
Whether the volume of one regulation coefficient adjustment is being preset in volume range, if not, it is determined that the preset period of time corresponding second is adjusted
Integral coefficient.
The maxima and minima of volume can be set, and the default volume range is defined as greater than being equal to the minimum value
And less than or equal to the maximum.
In the present embodiment, it can be determined that the audio in preset period of time that will be played in the audio-video document it is original
Whether volume is more than the maximum of the default volume range through the volume that first regulation coefficient is adjusted, if the audio frequency and video
The original sound volume of the audio in preset period of time that will be played in file is more than institute through the volume that first regulation coefficient is adjusted
The maximum of default volume range is stated, then using the value after first regulation coefficient reduction as the preset period of time corresponding the
Two regulation coefficients.The original sound volume of audio in the preset period of time that will be played in the audio-video document can be calculated through described
The volume of the first regulation coefficient adjustment and the difference of the maximum of the default volume range, the difference are bigger, then will be described
The reduction of first regulation coefficient is more.
The original sound volume of audio in the preset period of time that will be played in the audio-video document can also be judged through described
Whether the volume of the first regulation coefficient adjustment is less than the minimum value of the default volume range, if will in the audio-video document
The original sound volume of the audio in the preset period of time of broadcasting is less than the default volume through the volume that first regulation coefficient is adjusted
The minimum value of scope, the then value after first regulation coefficient is improved adjusts system as the preset period of time corresponding second
Number.The sound in the preset period of time that will be played in the minimum value of the default volume range and the audio-video document can be calculated
The difference of the volume that the original sound volume of frequency is adjusted through first regulation coefficient, the difference is bigger, then by the described first adjustment
Coefficient improves more.
In the present embodiment, can make in corresponding second regulation coefficient of the preset period of time and the audio-video document i.e.
The product of the original sound volume of the audio in preset period of time that will be played is in the default volume range.
Similar with first regulation coefficient, second regulation coefficient can be more than 1, for improving the audio frequency and video text
The original sound volume of part;Second regulation coefficient can also be less than 1, the original sound for reducing the audio-video document more than 0
Amount.
104:Original sound volume according to the audio in second regulation coefficient and the preset period of time plays described pre-
If the audio in the period.
Sometimes more than max volume or shorter less than the time of minimal volume, in order to avoid sound variation is too lofty,
In the embodiment of the present invention, volume is gradually adjusted in correlation time region, or begin to gradually become before relevant range is entered
Change volume, such as:There is the time point A more than max volume, at first 2 seconds of A, begin to be gradually reduced amplification coefficient and (now adjust
Integral coefficient is amplification coefficient), the amplification coefficient of A points is reached exactly to when to A, 2 after A second, then be gradually increased and put
Big coefficient is until the average amplification coefficient of arrival audio.
In the present embodiment, first regulation coefficient can be gradually adjusted to described in the preset period of time
The mode of the second regulation coefficient is adjusted and plays to the original sound volume of the audio in the preset period of time.
In another embodiment, can be in the preset period of time, with second regulation coefficient to the preset period of time
Interior audio is played out.
The method of the volume adjusting of embodiment one obtains the original sound volume of audio-video document to be played;According to reference volume
It is determined that to the first regulation coefficient of the original sound volume;Judge the sound in the preset period of time that will be played in the audio-video document
Whether the original sound volume of frequency is being preset in volume range through the volume that first regulation coefficient is adjusted, if not, it is determined that described
Corresponding second regulation coefficient of preset period of time;According to the original of the audio in second regulation coefficient and the preset period of time
Volume plays the audio in the preset period of time.Embodiment one can be to sound too high or too low in audio-video document to be played
Amount is adjusted, and improves user's listening experience.
In another embodiment, methods described can also include:If will be played in the audio-video document it is default when
The volume that the original sound volume of the audio in section is adjusted through first regulation coefficient in the default volume range, then according to institute
State the audio that the original sound volume of the audio in the first regulation coefficient and the preset period of time is played in the preset period of time.
Embodiment two
Fig. 2 is the structural representation of the device of the volume adjusting that the embodiment of the present invention two is provided.The dress of the volume adjusting
10 are put to be installed in electronic equipment (such as mobile terminal).As shown in Fig. 2 the device 10 of the volume adjusting can include:Obtain
Take unit 201, the first determining unit 202, the second determining unit 203, broadcast unit 204.
Acquiring unit 201, the original sound volume for obtaining audio-video document to be played.
The audio-video document to be played can be the audio or video file of various forms, such as MP3, WAV, WMA,
The audio file of the forms such as CDA, MID, or the form such as MP4, AVI, WMV, MPEG video file.
The voice data of the audio-video document can be analyzed, obtain the original sound volume of the audio-video document.
First determining unit 202, for determining the first regulation coefficient to the original sound volume according to reference volume.
In the present embodiment, the reference volume can be default volume.For example, being adapted to the medium volume of human ear about
It is 50~70dB, the reference volume can be arranged in the range of 50~70dB, for example, is set to 60dB.
The reference volume can be as needed configured by user.For example, user can be accustomed to according to personal reception
The reference volume of larger (such as 70dB) or smaller (such as 50dB) is set.
In another embodiment, the reference volume can be obtained according to the audio-video document specified.For example, can obtain
The average volume of the audio-video document specified, the average volume of the audio-video document that this is specified is used as the reference volume.
The reference volume can also determine according to the system sound volume of electronic equipment.
It is described to determine that to the first regulation coefficient of the original sound volume be according to the audio frequency and video according to reference volume
The original sound volume of file calculates the average volume of the audio-video document, is determined with the average volume according to the reference volume
To the first regulation coefficient of the original sound volume.For example, the reference volume is Q, the average volume of the audio-video document is
Q1, then first regulation coefficient can be Q/Q1.
First regulation coefficient can be more than 1, the original sound volume for improving the audio-video document.Described first adjusts
Integral coefficient can also be less than 1, the original sound volume for reducing the audio-video document more than 0.
Second determining unit 203, for the audio in the preset period of time that judges to be played in the audio-video document
Whether original sound volume is being preset in volume range through the volume that first regulation coefficient is adjusted, if not, it is determined that described default
Period corresponding second regulation coefficient.
The maxima and minima of volume can be set, and the default volume range is defined as greater than being equal to the minimum value
And less than or equal to the maximum.
In the present embodiment, it can be determined that the audio in preset period of time that will be played in the audio-video document it is original
Whether volume is more than the maximum of the default volume range through the volume that first regulation coefficient is adjusted, if the audio frequency and video
The original sound volume of the audio in preset period of time that will be played in file is more than institute through the volume that first regulation coefficient is adjusted
The maximum of default volume range is stated, then using the value after first regulation coefficient reduction as the preset period of time corresponding the
Two regulation coefficients.The original sound volume of audio in the preset period of time that will be played in the audio-video document can be calculated through described
The volume of the first regulation coefficient adjustment and the difference of the maximum of the default volume range, the difference are bigger, then will be described
The reduction of first regulation coefficient is more.
The original sound volume of audio in the preset period of time that will be played in the audio-video document can also be judged through described
Whether the volume of the first regulation coefficient adjustment is less than the minimum value of the default volume range, if will in the audio-video document
The original sound volume of the audio in the preset period of time of broadcasting is less than the default volume through the volume that first regulation coefficient is adjusted
The minimum value of scope, the then value after first regulation coefficient is improved adjusts system as the preset period of time corresponding second
Number.The sound in the preset period of time that will be played in the minimum value of the default volume range and the audio-video document can be calculated
The difference of the volume that the original sound volume of frequency is adjusted through first regulation coefficient, the difference is bigger, then by the described first adjustment
Coefficient improves more.
In the present embodiment, can make in corresponding second regulation coefficient of the preset period of time and the audio-video document i.e.
The product of the original sound volume of the audio in preset period of time that will be played is in the default volume range.
Similar with first regulation coefficient, second regulation coefficient can be more than 1, for improving the audio frequency and video text
The original sound volume of part;Second regulation coefficient can also be less than 1, the original sound for reducing the audio-video document more than 0
Amount.
Broadcast unit 204, for the original sound according to the audio in second regulation coefficient and the preset period of time
Amount plays the audio in the preset period of time.
In the present embodiment, first regulation coefficient can be gradually adjusted to described in the preset period of time
The mode of the second regulation coefficient is adjusted and plays to the original sound volume of the audio in the preset period of time.
Sometimes more than max volume or shorter less than the time of minimal volume, in order to avoid sound variation is too lofty,
In the embodiment of the present invention, volume is gradually adjusted in correlation time region, or begin to gradually become before relevant range is entered
Change volume, such as:There is the time point A more than max volume, at first 2 seconds of A, begin to be gradually reduced amplification coefficient and (now adjust
Integral coefficient is amplification coefficient), the amplification coefficient of A points is reached exactly to when to A, 2 after A second, then be gradually increased and put
Big coefficient is until the average amplification coefficient of arrival audio.
In another embodiment, can be in the preset period of time, with second regulation coefficient to the preset period of time
Interior audio is played out.
The device of the volume adjusting of embodiment two obtains the original sound volume of audio-video document to be played;According to reference volume
It is determined that to the first regulation coefficient of the original sound volume;Judge the sound in the preset period of time that will be played in the audio-video document
Whether the original sound volume of frequency is being preset in volume range through the volume that first regulation coefficient is adjusted, if not, it is determined that described
Corresponding second regulation coefficient of preset period of time;According to the original of the audio in second regulation coefficient and the preset period of time
Volume plays the audio in the preset period of time.Embodiment two can be to sound too high or too low in audio-video document to be played
Amount is adjusted, and improves user's listening experience.
In another embodiment, the broadcast unit is additionally operable to, if will be played in the audio-video document it is default when
The volume that the original sound volume of the audio in section is adjusted through first regulation coefficient in the default volume range, then according to institute
State the audio that the original sound volume of the audio in the first regulation coefficient and the preset period of time is played in the preset period of time.
Embodiment three
Fig. 3 is the structural representation of the electronic equipment of the method for the realization volume adjusting of the present invention that the embodiment of the present invention three is provided
Figure.The electronic equipment 1 includes the device 10 of volume adjusting.The electronic equipment 1 also includes storage device 20, processing equipment
30。
Preferably, the method for volume adjusting of the invention by the device 10 of the volume adjusting in the electronic equipment 1 come
Realize.
The electronic equipment 1 be it is a kind of can according to the instruction being previously set or store, carry out automatically numerical computations and/or
The equipment of information processing, its hardware includes but is not limited to microprocessor, application specific integrated circuit (Application Specific
Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), number
Word processing device (Digital Signal Processor, DSP), embedded device etc..
The electronic equipment 1 may be, but not limited to, any one can pass through keyboard, mouse, remote control, touch with user
The mode such as plate or voice-operated device carries out the electronic product of man-machine interaction, for example, personal computer, panel computer, smart mobile phone, individual
Personal digital assistant (Personal Digital Assistant, PDA), game machine, IPTV (Internet
Protocol Television, IPTV), intellectual Wearable etc..
Network residing for the electronic equipment 1 includes, but are not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN, virtual
Dedicated network (Virtual Private Network, VPN) etc..
The storage device 20 is used for the program code of each program segment in the device 10 for store the volume adjusting.It is described
Storage device 20 can include:USB flash disk, mobile hard disk, read-only storage (Read-Only Memory, ROM), random access memory
Device (Random Access Memory, RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
The processing equipment 30 can include one or more microprocessor, digital processing unit.The processing equipment 30
The program code of each program segment of the device 10 of the volume adjusting is performed, the original sound of audio-video document to be played is obtained
Amount;The first regulation coefficient to the original sound volume is determined according to reference volume;Judge to be played in the audio-video document
Preset period of time in audio the volume that adjusts through first regulation coefficient of original sound volume whether in default volume range,
If not, it is determined that corresponding second regulation coefficient of the preset period of time;According to second regulation coefficient and it is described default when
The original sound volume of the audio in section plays the audio in the preset period of time.The present invention can be in audio-video document to be played
Too high or too low volume is adjusted, and improves user's listening experience.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, can be by it
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, can there is other dividing mode when actually realizing.
In addition, during each functional unit in each embodiment of the invention can be integrated in same treatment unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in same unit.Above-mentioned integrated list
Unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of software function module to realize.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie
In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be in other specific forms realized.Therefore, no matter
From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power
Profit requires to be limited rather than described above, it is intended that all in the implication and scope of the equivalency of claim by falling
Change is included in the present invention.Any reference in claim should not be considered as the claim involved by limitation.This
Outward, it is clear that " including " word is not excluded for other units or step, odd number is not excluded for plural number.The multiple stated in device claim
Unit or device can also be realized by same unit or device by software or hardware.The first, the second grade word is used for
Title is represented, and is not offered as any specific order.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although reference
Preferred embodiment has been described in detail to the present invention, it will be understood by those within the art that, can be to of the invention
Technical scheme is modified or equivalent, without deviating from the spirit and scope of technical solution of the present invention.
Claims (10)
1. a kind of method of volume adjusting, it is characterised in that methods described includes:
Obtain the original sound volume of audio-video document to be played;
The first regulation coefficient to the original sound volume is determined according to reference volume;
Judging that the original sound volume of the audio in the preset period of time that will be played in the audio-video document is adjusted through described first is
The volumes of number adjustment whether in default volume range, if not, it is determined that corresponding second regulation coefficient of the preset period of time;
Original sound volume according to the audio in second regulation coefficient and the preset period of time is played in the preset period of time
Audio.
2. method according to claim 1, it is characterised in that what will be played in the judgement audio-video document is pre-
If whether the volume that the original sound volume of the audio in the period is adjusted through first regulation coefficient is in default volume range, if
It is no, it is determined that corresponding second regulation coefficient of the preset period of time, including:
If the original sound volume of the audio in the preset period of time that will be played in the audio-video document is through first regulation coefficient
The volume of adjustment more than the default volume range maximum, then using the value after first regulation coefficient reduction as described
Corresponding second regulation coefficient of preset period of time;
If the original sound volume of the audio in the preset period of time that will be played in the audio-video document is through first regulation coefficient
Less than the minimum value of the default volume range, then the value after first regulation coefficient is improved is used as described for the volume of adjustment
Corresponding second regulation coefficient of preset period of time.
3. method according to claim 1 and 2, it is characterised in that described according to second regulation coefficient and described
The original sound volume of the audio in preset period of time plays the audio in the preset period of time, including:
In the preset period of time, first regulation coefficient is gradually adjusted to the mode of second regulation coefficient to institute
The original sound volume for stating the audio in preset period of time is adjusted and plays.
4. method according to claim 1 and 2, it is characterised in that methods described also includes:
If the original sound volume of the audio in the preset period of time that will be played in the audio-video document is through first regulation coefficient
The volume of adjustment in the default volume range, then according to the audio in first regulation coefficient and the preset period of time
Original sound volume play audio in the preset period of time.
5. the method according to any one of Claims 1-4, it is characterised in that described to be determined to described according to reference volume
First regulation coefficient of original sound volume includes:
Original sound volume according to the audio-video document calculates the average volume of the audio-video document, according to the reference volume
Determine the first regulation coefficient to the original sound volume with the average volume.
6. a kind of device of volume adjusting, it is characterised in that described device includes:
Acquiring unit, the original sound volume for obtaining audio-video document to be played;
First determining unit, for determining the first regulation coefficient to the original sound volume according to reference volume;
Second determining unit, for the original sound volume of the audio in the preset period of time that judges to be played in the audio-video document
Whether the volume adjusted through first regulation coefficient is being preset in volume range, if not, it is determined that the preset period of time correspondence
The second regulation coefficient;
Broadcast unit, for playing institute according to the original sound volume of the audio in second regulation coefficient and the preset period of time
State the audio in preset period of time.
7. device according to claim 6, it is characterised in that second determining unit specifically for:
If the original sound volume of the audio in the preset period of time that will be played in the audio-video document is through first regulation coefficient
The volume of adjustment more than the default volume range maximum, then using the value after first regulation coefficient reduction as described
Corresponding second regulation coefficient of preset period of time;
If the original sound volume of the audio in the preset period of time that will be played in the audio-video document is through first regulation coefficient
Less than the minimum value of the default volume range, then the value after first regulation coefficient is improved is used as described for the volume of adjustment
Corresponding second regulation coefficient of preset period of time.
8. the device according to claim 6 or 7, it is characterised in that the broadcast unit specifically for:
In the preset period of time, first regulation coefficient is gradually adjusted to the mode of second regulation coefficient to institute
The original sound volume for stating the audio in preset period of time is adjusted and plays.
9. the device according to claim 6 or 7, it is characterised in that the broadcast unit is additionally operable to:
If the original sound volume of the audio in the preset period of time that will be played in the audio-video document is through first regulation coefficient
The volume of adjustment in the default volume range, then according to the audio in first regulation coefficient and the preset period of time
Original sound volume play audio in the preset period of time.
10. the device according to any one of claim 6 to 9, it is characterised in that first determining unit is specifically used
In:
Original sound volume according to the audio-video document calculates the average volume of the audio-video document, according to the reference volume
Determine the first regulation coefficient to the original sound volume with the average volume.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611145305.7A CN106775563A (en) | 2016-12-13 | 2016-12-13 | The method and device of volume adjusting |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611145305.7A CN106775563A (en) | 2016-12-13 | 2016-12-13 | The method and device of volume adjusting |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106775563A true CN106775563A (en) | 2017-05-31 |
Family
ID=58876377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611145305.7A Withdrawn CN106775563A (en) | 2016-12-13 | 2016-12-13 | The method and device of volume adjusting |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106775563A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107436751A (en) * | 2017-08-18 | 2017-12-05 | 广东欧珀移动通信有限公司 | volume adjusting method, device, terminal device and storage medium |
CN107465824A (en) * | 2017-08-18 | 2017-12-12 | 广东欧珀移动通信有限公司 | volume adjusting method, device, mobile terminal and storage medium |
CN107479851A (en) * | 2017-08-18 | 2017-12-15 | 广东欧珀移动通信有限公司 | volume adjusting method, device, terminal device and storage medium |
CN107479852A (en) * | 2017-08-18 | 2017-12-15 | 广东欧珀移动通信有限公司 | volume adjusting method, device, terminal device and storage medium |
CN107483734A (en) * | 2017-08-18 | 2017-12-15 | 广东欧珀移动通信有限公司 | volume adjusting method, device, terminal device and storage medium |
CN107506168A (en) * | 2017-08-18 | 2017-12-22 | 广东欧珀移动通信有限公司 | volume adjusting method, device, terminal device and storage medium |
CN107506169A (en) * | 2017-08-18 | 2017-12-22 | 广东欧珀移动通信有限公司 | volume adjusting method, device, terminal device and storage medium |
CN107526570A (en) * | 2017-08-18 | 2017-12-29 | 广东欧珀移动通信有限公司 | volume adjusting method, device, terminal device and storage medium |
CN108650591A (en) * | 2018-05-23 | 2018-10-12 | 苏州韵之秋智能科技有限公司 | A kind of home theater sound effect system |
CN108668202A (en) * | 2018-05-23 | 2018-10-16 | 苏州韵之秋智能科技有限公司 | A kind of artificial intelligence sound equipment |
CN110312146A (en) * | 2019-06-06 | 2019-10-08 | 百度在线网络技术(北京)有限公司 | Audio-frequency processing method, device, electronic equipment and storage medium |
CN110677774A (en) * | 2019-08-21 | 2020-01-10 | 中国平安财产保险股份有限公司 | Volume self-adaptive adjusting method and device, computer equipment and storage medium |
CN111049972A (en) * | 2019-11-20 | 2020-04-21 | 维沃移动通信有限公司 | Audio playing method and terminal equipment |
CN112558916A (en) * | 2020-12-24 | 2021-03-26 | 北京百度网讯科技有限公司 | Audio adjusting method and device, electronic equipment and storage medium |
WO2023071425A1 (en) * | 2021-10-25 | 2023-05-04 | Oppo广东移动通信有限公司 | Volume control method and apparatus, and electronic device and storage medium |
CN117687595A (en) * | 2024-01-30 | 2024-03-12 | 知鱼智联科技股份有限公司 | Volume adjustment method and device based on Internet of things |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102999492A (en) * | 2011-09-08 | 2013-03-27 | 百度在线网络技术(北京)有限公司 | Method and device for adjusting volume of media file |
CN103209370A (en) * | 2012-01-16 | 2013-07-17 | 联想(北京)有限公司 | Electronic equipment and method for adjusting file sound parameters output by sound playing device |
CN103414443A (en) * | 2013-08-27 | 2013-11-27 | 广州顶毅电子有限公司 | Automatic volume control method and automatic volume control system |
CN103618514A (en) * | 2013-10-31 | 2014-03-05 | 小米科技有限责任公司 | Volume adjustment method, device and electronic equipment |
CN103929140A (en) * | 2014-04-30 | 2014-07-16 | 深圳市中兴移动通信有限公司 | Method and device for pre-processing voice frequency |
CN106160687A (en) * | 2016-06-29 | 2016-11-23 | 努比亚技术有限公司 | A kind of volume adjustment device and method, relevant device |
-
2016
- 2016-12-13 CN CN201611145305.7A patent/CN106775563A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102999492A (en) * | 2011-09-08 | 2013-03-27 | 百度在线网络技术(北京)有限公司 | Method and device for adjusting volume of media file |
CN103209370A (en) * | 2012-01-16 | 2013-07-17 | 联想(北京)有限公司 | Electronic equipment and method for adjusting file sound parameters output by sound playing device |
CN103414443A (en) * | 2013-08-27 | 2013-11-27 | 广州顶毅电子有限公司 | Automatic volume control method and automatic volume control system |
CN103618514A (en) * | 2013-10-31 | 2014-03-05 | 小米科技有限责任公司 | Volume adjustment method, device and electronic equipment |
CN103929140A (en) * | 2014-04-30 | 2014-07-16 | 深圳市中兴移动通信有限公司 | Method and device for pre-processing voice frequency |
CN106160687A (en) * | 2016-06-29 | 2016-11-23 | 努比亚技术有限公司 | A kind of volume adjustment device and method, relevant device |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107506169A (en) * | 2017-08-18 | 2017-12-22 | 广东欧珀移动通信有限公司 | volume adjusting method, device, terminal device and storage medium |
CN107465824A (en) * | 2017-08-18 | 2017-12-12 | 广东欧珀移动通信有限公司 | volume adjusting method, device, mobile terminal and storage medium |
CN107479851A (en) * | 2017-08-18 | 2017-12-15 | 广东欧珀移动通信有限公司 | volume adjusting method, device, terminal device and storage medium |
CN107479852A (en) * | 2017-08-18 | 2017-12-15 | 广东欧珀移动通信有限公司 | volume adjusting method, device, terminal device and storage medium |
CN107483734A (en) * | 2017-08-18 | 2017-12-15 | 广东欧珀移动通信有限公司 | volume adjusting method, device, terminal device and storage medium |
CN107506168A (en) * | 2017-08-18 | 2017-12-22 | 广东欧珀移动通信有限公司 | volume adjusting method, device, terminal device and storage medium |
CN107465824B (en) * | 2017-08-18 | 2020-06-05 | Oppo广东移动通信有限公司 | Volume adjusting method and device, mobile terminal and storage medium |
CN107526570A (en) * | 2017-08-18 | 2017-12-29 | 广东欧珀移动通信有限公司 | volume adjusting method, device, terminal device and storage medium |
CN107479851B (en) * | 2017-08-18 | 2019-07-16 | Oppo广东移动通信有限公司 | Volume adjusting method, device, terminal device and storage medium |
CN107436751A (en) * | 2017-08-18 | 2017-12-05 | 广东欧珀移动通信有限公司 | volume adjusting method, device, terminal device and storage medium |
CN108650591A (en) * | 2018-05-23 | 2018-10-12 | 苏州韵之秋智能科技有限公司 | A kind of home theater sound effect system |
CN108668202A (en) * | 2018-05-23 | 2018-10-16 | 苏州韵之秋智能科技有限公司 | A kind of artificial intelligence sound equipment |
CN108668202B (en) * | 2018-05-23 | 2020-12-25 | 佛山市创思特音响有限公司 | Artificial intelligence stereo set |
US11137974B2 (en) | 2019-06-06 | 2021-10-05 | Baidu Online Network Technology (Beijing) Co., Ltd. | Method and apparatus for audio processing, electronic device and storage medium |
CN110312146A (en) * | 2019-06-06 | 2019-10-08 | 百度在线网络技术(北京)有限公司 | Audio-frequency processing method, device, electronic equipment and storage medium |
CN110312146B (en) * | 2019-06-06 | 2021-11-09 | 百度在线网络技术(北京)有限公司 | Audio processing method and device, electronic equipment and storage medium |
CN110677774A (en) * | 2019-08-21 | 2020-01-10 | 中国平安财产保险股份有限公司 | Volume self-adaptive adjusting method and device, computer equipment and storage medium |
CN110677774B (en) * | 2019-08-21 | 2022-06-10 | 中国平安财产保险股份有限公司 | Volume self-adaptive adjusting method and device, computer equipment and storage medium |
CN111049972A (en) * | 2019-11-20 | 2020-04-21 | 维沃移动通信有限公司 | Audio playing method and terminal equipment |
CN111049972B (en) * | 2019-11-20 | 2021-04-27 | 维沃移动通信有限公司 | Audio playing method and terminal equipment |
CN112558916A (en) * | 2020-12-24 | 2021-03-26 | 北京百度网讯科技有限公司 | Audio adjusting method and device, electronic equipment and storage medium |
CN112558916B (en) * | 2020-12-24 | 2024-01-05 | 阿波罗智联(北京)科技有限公司 | Audio adjustment method, device, electronic equipment and storage medium |
WO2023071425A1 (en) * | 2021-10-25 | 2023-05-04 | Oppo广东移动通信有限公司 | Volume control method and apparatus, and electronic device and storage medium |
CN117687595A (en) * | 2024-01-30 | 2024-03-12 | 知鱼智联科技股份有限公司 | Volume adjustment method and device based on Internet of things |
CN117687595B (en) * | 2024-01-30 | 2024-05-28 | 知鱼智联科技股份有限公司 | Volume adjustment method and device based on Internet of things |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106775563A (en) | The method and device of volume adjusting | |
US10484813B2 (en) | Systems and methods for delivery of personalized audio | |
US9729984B2 (en) | Dynamic calibration of an audio system | |
CN103886731B (en) | A kind of noise control method and equipment | |
JP2011193442A (en) | Automatic correction of loudness level in audio signals | |
KR20200108872A (en) | Method and device for volume control | |
CN105204761B (en) | A kind of volume adjusting method and user terminal | |
CN109217834A (en) | Gain adjusting method, audio frequency apparatus and readable storage medium storing program for executing | |
JP2009075177A5 (en) | ||
CN110799936B (en) | Volume adjusting method, volume adjusting device, terminal equipment and storage medium | |
CN105912296A (en) | Voice control method and system | |
WO2019033942A1 (en) | Volume adjustment method and apparatus, terminal device, and storage medium | |
CN106980487A (en) | Audio control method and audio control apparatus | |
US11395087B2 (en) | Level-based audio-object interactions | |
CN105099383B (en) | A kind of information processing method and electronic equipment | |
CN108347688A (en) | The sound processing method and image and sound processing unit of stereophonic effect are provided according to monaural audio data | |
CN106448710B (en) | A kind of calibration method and music player devices of music play parameters | |
US11895479B2 (en) | Steering of binauralization of audio | |
CN106170113A (en) | A kind of method and apparatus eliminating noise and electronic equipment | |
CN103165150B (en) | The safe audition system and method for a kind of smart mobile phone music | |
CN103809754B (en) | Information processing method and electronic device | |
US12009877B1 (en) | Modification of signal attenuation relative to distance based on signal characteristics | |
CN113613145B (en) | Noise reduction processing method and related device | |
CN109672962B (en) | Information processing method and electronic equipment | |
CN107155154A (en) | A kind of audio method for customizing and system with hearing protection function |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170531 |
|
WW01 | Invention patent application withdrawn after publication |