CN107526570A - volume adjusting method, device, terminal device and storage medium - Google Patents
volume adjusting method, device, terminal device and storage medium Download PDFInfo
- Publication number
- CN107526570A CN107526570A CN201710711365.9A CN201710711365A CN107526570A CN 107526570 A CN107526570 A CN 107526570A CN 201710711365 A CN201710711365 A CN 201710711365A CN 107526570 A CN107526570 A CN 107526570A
- Authority
- CN
- China
- Prior art keywords
- amplitude
- adjustment factor
- sound
- source
- terminal device
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
-
- 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/165—Management of the audio stream, e.g. setting of volume, audio stream path
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Circuit For Audible Band Transducer (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of volume adjusting method, device, terminal device and storage medium, this method includes when detecting that terminal device carries out source of sound broadcasting, obtaining the audio-frequency information of the source of sound;According to amplitude size corresponding to audio-frequency information determination;The volume value current according to the amplitude size and the terminal device got determines amplitude adjustment factor;The amplitude of the source of sound is adjusted according to the amplitude adjustment factor.This programme improves volume adjusting efficiency, reduces the power consumption of terminal device.
Description
Technical field
The present embodiments relate to computer technology, more particularly to a kind of volume adjusting method, device, terminal device and deposit
Storage media.
Background technology
With the raising of terminal device popularity, increasing user's using terminal equipment performs various work(
Can be to meet self-demand, such as using terminal equipment reads word, watches video, listen music, play game.When terminal device exists
During playing audio-video, the regulation existing defects of volume are, it is necessary to improve.
The content of the invention
The invention provides a kind of volume adjusting method, device, terminal device and storage medium, improves volume adjusting effect
Rate, reduce the power consumption of terminal device.
In a first aspect, the embodiments of the invention provide a kind of volume adjusting method, including:
When detecting that terminal device carries out source of sound broadcasting, the audio-frequency information of the source of sound is obtained;
According to amplitude size corresponding to audio-frequency information determination;
The volume value current according to the amplitude size and the terminal device got determines amplitude adjustment factor;
The amplitude of the source of sound is adjusted according to the amplitude adjustment factor.
Second aspect, the embodiment of the present invention additionally provide a kind of volume adjustment device, including:
Acquisition module, for when detecting that terminal device carries out source of sound broadcasting, obtaining the audio-frequency information of the source of sound;
Amplitude determination module, for according to amplitude size corresponding to audio-frequency information determination;
Adjustment factor determining module, the volume value current according to the amplitude size and the terminal device got determine
Amplitude adjustment factor;
Adjustment module, for the amplitude of the source of sound to be adjusted according to the amplitude adjustment factor.
The third aspect, the embodiment of the present invention additionally provide a kind of terminal device, including:Processor, memory and storage
On a memory and the computer program that can run on a processor, realized such as during computer program described in the computing device
Volume adjusting method described in the embodiment of the present invention.
Fourth aspect, the embodiment of the present invention additionally provide a kind of storage medium for including terminal device executable instruction, institute
Terminal device executable instruction is stated as being adjusted during terminal device computing device for the volume described in performing the embodiment of the present invention
Section method.
Technical scheme provided in an embodiment of the present invention, when detecting that terminal device carries out source of sound broadcasting, obtain the sound
The audio-frequency information in source;According to amplitude size corresponding to audio-frequency information determination;According to the amplitude size and get
The current volume value of terminal device determines amplitude adjustment factor;The amplitude of the source of sound is carried out according to the amplitude adjustment factor
Regulation.This programme improves volume adjusting efficiency, reduces the power consumption of terminal device.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of flow chart of volume adjusting method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another volume adjusting method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another volume adjusting method provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another volume adjusting method provided in an embodiment of the present invention;
Fig. 5 is the flow chart of another volume adjusting method provided in an embodiment of the present invention;
Fig. 6 is a kind of structured flowchart of volume adjustment device provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of terminal device provided in an embodiment of the present invention.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used to explain the present invention, rather than limitation of the invention.It also should be noted that for the ease of retouching
State, part related to the present invention rather than entire infrastructure are illustrate only in accompanying drawing.
Fig. 1 is a kind of flow chart of volume adjusting method provided in an embodiment of the present invention, and the present embodiment is applicable to terminal
Situation about volume being adjusted during device plays source of sound, this method can be held by terminal device provided in an embodiment of the present invention
OK, the volume adjustment device of the terminal device can be realized by the way of software and/or hardware, as shown in figure 1, the present embodiment carries
The concrete scheme of confession is as follows:
Step S101, when detecting that terminal device carries out source of sound broadcasting, the audio-frequency information of the source of sound is obtained.
Terminal device can carry out source of sound by the audio and video playing software that the third party application or system of installation carry
Broadcasting.Wherein, the steps such as acquisition, decoding and output of audio files are mainly included.Exemplary, the audio files got
It can be the multicast data flow received by network, can also be the audio-video document that terminal device is locally stored;Get the sound
It is loaded into after source file in core buffer;The audio files for being loaded into core buffer are decoded, opened in decoding
Before beginning, if the audio files include video data, it is necessary to carry out the separation of voice data and video data simultaneously, it will divide
Voice data from after is inputted to audio decoder, wherein, audio decoder is mainly used in reading the audio in core buffer
Data, digital audio and video signals are obtained, and the digital audio and video signals are converted into simulated audio signal, the broadcasting device of terminal device
Audio broadcasting is carried out according to the simulated audio signal.In one embodiment, when listening to source of sound broadcast event and being triggered, really
Determine terminal device and commence play out source of sound, wherein, the trigger event can be the broadcast button quilt shown in the touch-screen detected
Press, can also be when detecting the broadcasting device of terminal device for example loudspeaker commencing play out sound, determine that terminal device carries out sound
Source plays.
When detecting that terminal device carries out source of sound broadcasting, the audio-frequency information of the source of sound is obtained.In one embodiment,
The digital audio and video signals that can decode to obtain to audio decoder are sampled, and determine audio-frequency information corresponding to the source of sound.Another
In embodiment, the original document of currently playing source of sound can also be obtained, source of sound pair is determined by the parsing to the original document
The audio-frequency information answered.In another embodiment, by taking android system as an example, can pass through
Android.media.MediaRecorder classes or android.media.AudioRecord classes obtain the audio-frequency information of source of sound.
Step S102, according to amplitude size corresponding to audio-frequency information determination.
Amplitude refers to the ultimate range of deviation origin-location during object vibrations, the loudness and source of sound of the sound that human ear is heard
Amplitude it is related, amplitude is bigger, and loudness is stronger.In one embodiment, obtained DAB letter can be decoded to audio decoder
Number it is sampled, obtains the amplitude information in preset time period T, wherein, the amplitude information can be made up of multiple amplitudes, foundation
Obtained multiple amplitudes can determine the amplitude curve of the source of sound played in preset time period T accordingly.In another implementation
In example, by taking android system as an example, can by android.media.MediaRecorder classes or
Android.media.AudioRecord classes obtain corresponding amplitude size after obtaining the audio-frequency information of source of sound.In another implementation
, can be by being solved to original document when the audio-frequency information that step S101 is got is original document corresponding to source of sound in example
Analyse to obtain corresponding amplitude size.
In one embodiment, when detecting source of sound broadcasting, determine once to shake every preset time (such as 1s, 3s or 10s)
Width, or in real time, the amplitude of each frame of audio-frequency information is determined.Specifically, the audio for obtaining the source of sound
Information includes:Obtain the audio frame information of the source of sound;Accordingly, the amplitude bag of the source of sound is determined according to the audio-frequency information
Include:The amplitude of each frame of the source of sound is determined according to the audio frame information.Exemplary, it is right when detecting that source of sound plays
Audio files are parsed to obtain audio frame sequence, the amplitude according to corresponding to determining each frame of audio frame sequence.
Step S103, volume value current according to the amplitude size and the terminal device got determines that amplitude is adjusted
Coefficient, the amplitude of the source of sound is adjusted according to the amplitude adjustment factor.
In one embodiment, can be true according to the current volume value of the amplitude size of determination and the terminal device got
Surely fixed amplitude adjustment factor, it can also be and determine different amplitude adjustment factors, further according to the big of specific source of sound amplitude
It is small to be allocated to enter row amplitude regulation, wherein, terminal device is always divided into 18 grade-adjustables to max volume by Jing Yin, often
The corresponding volume value of individual grade.During the amplitude of source of sound is adjusted, can by being parsed to audio files,
The data of sign amplitude information in obtained voice data are modified, are packaged again after modification, when being buffered to
Corresponding audio files and be played when source of sound amplitude be increased accordingly;It is also possible that the decoding played in source of sound
Cheng Zhong, by being analyzed to obtain amplitude data to obtained digital audio and video signals, the amplitude data is multiplied by corresponding regulation
The volume of source of sound is adjusted with changing amplitude size for coefficient.Hereby it is achieved that it is original not change terminal device system
The size of source of sound volume is adjusted on the premise of volume, regulation process can before audio files are introduced into buffering area,
Load or be adjusted for the source of sound content in buffering area to improve regulation efficiency to reduce to play.
In another embodiment, the amplitude size of each frame of source of sound is adjusted.Specifically, it is directed to during regulation
The difference of the amplitude size of each frame distributes different amplitude adjustment factors to carry out corresponding regulation, exemplary, provides several
Possible corresponding relation can be with as shown in the table:
Table 1
Amplitude | Volume value (grade) | Adjustment factor |
More than -3db | 5 | 0.5 |
It is more than -10db less than -3db | 15 | 0.8 |
Less than -20db | 18 | 2 |
As shown in table 1, it is corresponding to set when the amplitude of audio frame is more than -3db and relatively low present terminal device voice volume value
Adjustment factor reduces the high amplitude part of source of sound for 0.5;When the amplitude of audio frame is more than -10db, and current end less than -3db
It is corresponding to set adjustment factor to be finely adjusted for the 0.8 source of sound amplitude for being pointed to middle amplitude areas when end equipment volume value is moderate;
When the amplitude of audio frame is less than -20db and higher present terminal device voice volume value, accordingly by the relatively low amplitude components of source of sound
Increased.
As shown in the above, when detecting that terminal device carries out source of sound broadcasting, by the amplitude to source of sound and work as
Preceding terminal volume is analyzed, and obtains corresponding amplitude adjustment factor, the amplitude of source of sound is adjusted, and realizes source of sound broadcasting
When do not change automatically adjusting for volume completed on the premise of terminal volume so that the amplitude of source of sound is more reasonable, the regulation of volume
More automate.
Fig. 2 is the flow chart of another volume adjusting method provided in an embodiment of the present invention, optionally, described in the acquisition
The audio-frequency information of source of sound, include according to amplitude size corresponding to audio-frequency information determination:Obtain the preset length of the source of sound
Audio-frequency information, according to the audio-frequency information determine corresponding to peak swing and mean amplitude of tide;Accordingly, shaken described in the foundation
Width size and the current volume value of the terminal device got determine that amplitude adjustment factor includes:According to the peak swing,
The mean amplitude of tide and the volume value determine amplitude adjustment factor.As shown in Fig. 2 the technical scheme that the present embodiment provides is specific
It is as follows:
Step S201, when detecting that terminal device carries out source of sound broadcasting, the audio of the preset length of the source of sound is obtained
Information.
When detecting that terminal device carries out source of sound broadcasting, the audio-frequency information of the preset length of the source of sound is obtained.One
In individual embodiment, the digital audio and video signals that can decode to obtain to audio decoder are sampled, and determine audio corresponding to the source of sound
Information, wherein preset length can be 3s, 5s or 10s etc..In another embodiment, currently playing source of sound can also be obtained
Original document, the audio-frequency information of preset length corresponding to source of sound is determined by the parsing to the original document.
Step S202, according to peak swing and mean amplitude of tide corresponding to audio-frequency information determination.
In one embodiment, the digital audio and video signals that can decode to obtain to audio decoder are sampled, and obtain amplitude
Information, wherein, the amplitude information can be made up of multiple amplitudes.Exemplary, by taking 3s as an example, the source of sound of broadcasting in 3s durations
In, multiple amplitudes in corresponding obtained audio-frequency information, record each amplitude of acquisition, determine peak swing therein with
And the mean amplitude of tide of each amplitude.
In another embodiment, when detecting source of sound broadcasting, determined once every preset time (such as 1s, 3s or 10s)
The audio-frequency information of preset length, or in real time, the amplitude of each frame of audio-frequency information is determined.Specifically, described obtain
Taking the audio-frequency information of the source of sound includes:The audio-frequency information of the preset length for obtaining the source of sound includes:Obtain the sound
The audio frame information of the preset length in source;Accordingly, determine the peak swing in the audio-frequency information of the preset length and be averaged
Amplitude includes:The peak swing and mean amplitude of tide in the audio-frequency information of the preset length are determined according to the audio frame information.
Exemplary, when detecting that source of sound plays, audio files are parsed to obtain audio frame sequence, determine the sound of preset length
Amplitude corresponding to each frame determination under frequency information, and then determine peak swing and mean amplitude of tide.
Step S203, according to the peak swing, the mean amplitude of tide and the current volume of the terminal device that gets
Value determines amplitude adjustment factor.
In a possible embodiment, it is described true according to the peak swing, the mean amplitude of tide and the volume value
Determining amplitude adjustment factor includes:If the difference of the peak swing and the mean amplitude of tide meets preparatory condition, according to institute
State peak swing, the mean amplitude of tide and the volume value and determine amplitude adjustment factor.Exemplary, when peak swing and averagely
When amplitude difference is larger (such as 0.2db), volume is larger when not avoiding being played to the source of sound of large magnitude, and higher amplitude is carried out
Regulation with reduction volume.Optionally, if the difference of peak swing and mean amplitude of tide is unsatisfactory for preparatory condition, that is, it is more or less the same, then
The amplitude of source of sound is not adjusted.
In one embodiment, can be according to if the difference of the peak swing and the mean amplitude of tide meets preparatory condition
The first amplitude adjustment factor is determined according to the difference and the volume value of the peak swing and the mean amplitude of tide, accordingly,
The amplitude for being more than the first predetermined threshold value in the source of sound can be adjusted according to the first amplitude adjustment factor.It is exemplary
, the volume value that the difference and terminal device of foundation peak swing and mean amplitude of tide are current determines the first amplitude adjustment factor
Relation such as following table:
Table 2
Amplitude difference | Volume value | Adjustment factor |
More than 0.4db | 8 | 0.3 |
It is less than 0.4db more than 0.3db | 10 | 0.7 |
It is less than 0.3db more than 0.2db | 15 | 0.9 |
Wherein, the first default amplitude threshold can be -2db, that is, the amplitude size that will be greater than the first amplitude threshold is multiplied by
Corresponding adjustment factor reduces volume to enter row amplitude decay.Hereby it is achieved that the part larger to amplitude in source of sound is closed
Reason decay improves the result of broadcast of source of sound to avoid sense of hearing lofty.
Step S204, the amplitude of the source of sound is adjusted according to the amplitude adjustment factor.
Meet in advance from the foregoing, working as the difference of peak swing and mean amplitude of tide in the audio-frequency information for detecting preset length
If in the case of condition, amplitude adjustment factor is distributed according to the size of the difference and the size of terminal device current volume, together
When, the amplitude that the amplitude adjustment factor is directed to the source of sound for the condition that meets is adjusted, and improves volume adjusting efficiency, avoids sound
Unrelated amplitude is adjusted in synchronism the problem of regulating effect that brings is poor in source.
Fig. 3 is the flow chart of another volume adjusting method provided in an embodiment of the present invention, optionally, described according to institute
State the difference of peak swing and the mean amplitude of tide and after the volume value determines the first amplitude adjustment factor, in addition to:
The second amplitude adjustment factor is determined according to the mean amplitude of tide;Accordingly, it is described according to the amplitude adjustment factor to the sound
The amplitude in source, which is adjusted, also to be included:According to the second amplitude adjustment factor, to being less than the second predetermined threshold value in the source of sound
And be adjusted more than the amplitude of the 3rd predetermined threshold value, second predetermined threshold value is less than the first predetermined threshold value.As shown in figure 3,
Specifically include:
Step S301, when detecting that terminal device carries out source of sound broadcasting, the audio of the preset length of the source of sound is obtained
Information.
Step S302, the peak swing and mean amplitude of tide in the audio-frequency information are determined, and it is current to obtain terminal device
Volume value.
Step S303, the difference and the volume value according to the peak swing and the mean amplitude of tide determine that first shakes
Width adjustment factor, according to the first amplitude adjustment factor, the amplitude that the first predetermined threshold value is more than in the source of sound is adjusted
Section.
Step S304, the second amplitude adjustment factor is determined according to the mean amplitude of tide, system is adjusted according to second amplitude
Number, it is adjusted to being less than the second predetermined threshold value in the source of sound and being more than the amplitude of the 3rd predetermined threshold value.
Wherein, second predetermined threshold value is less than the first predetermined threshold value.In one embodiment, according to the mean amplitude of tide
Determine the second amplitude adjustment factor.Exemplary, the corresponding relation such as following table of mean amplitude of tide and the second amplitude adjustment factor:
Table 3
Mean amplitude of tide | Adjustment factor |
-25db | 1.2 |
-20db | 1.5 |
-15db | 1.8 |
Exemplary, second predetermined threshold value can be -30db, and the 3rd default amplitude threshold can be -50db.When it is determined that
When the source of sound amplitude gone out is less than the second predetermined threshold value and is more than three predetermined threshold values, according to adjustment factor corresponding to table 3 to meeting
The amplitude of condition is adjusted.
It is from the foregoing, more big right according to adjustment factor, mean amplitude of tide corresponding to the size determination of the mean amplitude of tide of source of sound
The adjustment factor answered is higher, to meet condition (be less than the second predetermined threshold value and be more than the 3rd predetermined threshold value) amplitude according to this
Adjustment factor is adjusted, and volumes portions relatively low in source of sound are carried out to the raising of volume so that source of sound is played in playing process
Result of broadcast more preferably, avoids user and carries out volume adjusting manually, improve volume adjusting efficiency.
Fig. 4 is the flow chart of another volume adjusting method provided in an embodiment of the present invention, optionally, described according to institute
State before peak swing, the mean amplitude of tide and the volume value determine amplitude adjustment factor, in addition to:Determine that the terminal is set
The standby impedance value for playing device;Accordingly, it is described to determine to shake according to the peak swing, the mean amplitude of tide and the volume value
Width adjustment factor:Amplitude regulation system is determined according to the impedance value, the peak swing, the mean amplitude of tide and the volume value
Number.Specifically as shown in the figure:
Step S401, when detecting that terminal device carries out source of sound broadcasting, the audio of the preset length of the source of sound is obtained
Information.
Step S402, the peak swing and mean amplitude of tide in the audio-frequency information are determined, and it is current to obtain terminal device
Volume value.
Step S403, determine that the terminal device plays the impedance value of device.
In one embodiment, can be by the broadcasting device installed in power amplifier chips detection terminal equipment (such as:Loudspeaker)
Impedance value, can also be by physics mode detect play device impedance.
Step S404, first is determined according to the impedance value, the peak swing, the mean amplitude of tide and the volume value
Amplitude adjustment factor.
In one embodiment, in the above-described embodiments according to peak swing, the base of mean amplitude of tide and current volume value
On plinth, the impedance value that device is played further combined with the step S403 terminal devices determined determines the first amplitude regulation system jointly
Number.Exemplary, the first amplitude adjustment factor determined jointly corresponding to the impedance value is bigger is bigger.Specifically, assume to play
The nominal impedance value of device is x, is 1.2x by detecting obtained impedance value, then corresponding first amplitude regulation coefficient can be
1.2 times of the amplitude adjustment factor only determined by peak swing, mean amplitude of tide and volume value are to be used as the amplitude finally determined
Adjustment factor.
Step S405, according to the first amplitude adjustment factor, the amplitude to being more than the first predetermined threshold value in the source of sound
It is adjusted.
Step S406, the second amplitude adjustment factor is determined according to the mean amplitude of tide, system is adjusted according to second amplitude
Number, it is adjusted to being less than the second predetermined threshold value in the source of sound and being more than the amplitude of the 3rd predetermined threshold value.
From the foregoing, during the amplitude of source of sound is adjusted, the impedance value for playing device is introduced as determination
One of parameter of amplitude adjustment factor, avoid and play device with the increase impedance value more and more higher of playing duration and then to normal
The problem of volume in playing process has an impact so that the volume after regulation more preferably meets user's request, enters one
Step improves volume adjusting effect.
Fig. 5 is the flow chart of another volume adjusting method provided in an embodiment of the present invention, optionally, described according to institute
State before peak swing, the mean amplitude of tide and the volume value determine amplitude adjustment factor, in addition to:Determine that the terminal is set
The standby noise figure for playing device;Accordingly, it is described to determine to shake according to the peak swing, the mean amplitude of tide and the volume value
Width adjustment factor includes:Determine that amplitude is adjusted according to the noise figure, the peak swing, the mean amplitude of tide and the volume value
Save coefficient.Specifically as shown in the figure:
Step S501, when detecting that terminal device carries out source of sound broadcasting, the audio of the preset length of the source of sound is obtained
Information.
Step S502, the peak swing and mean amplitude of tide in the audio-frequency information are determined, and it is current to obtain terminal device
Volume value.
Step S503, determine that the terminal device is presently in the noise figure of environment.
In one embodiment, the noise of environment can be presently in by the collection of the microphone of installing terminal equipment to determine
Corresponding noise figure.
Step S504, first is determined according to the noise figure, the peak swing, the mean amplitude of tide and the volume value
Amplitude adjustment factor.
In one embodiment, enter in the above-described embodiments on the basis of foundation peak swing, mean amplitude of tide and volume value
The noise figure that the terminal device that one step combination step S503 is determined is presently in environment determines the first amplitude adjustment factor jointly.Show
Example property, the first amplitude adjustment factor determined jointly corresponding to the noise figure is bigger are bigger.Specifically, assume that terminal device exists
Noise figure under quiet environment is y, when terminal device is in outdoor or noisy environment, it is determined that noise figure be 1.2y, then phase
The the first amplitude regulation coefficient answered can be the amplitude adjustment factor only determined by peak swing, mean amplitude of tide and volume value
1.2 times to be used as the amplitude adjustment factor finally determined.It should be noted that can also by impedance value, noise figure, source of sound maximum
Amplitude and mean amplitude of tide determine the amplitude adjustment factor of source of sound jointly.
Step S505, according to the first amplitude adjustment factor, the amplitude to being more than the first predetermined threshold value in the source of sound
It is adjusted.
Step S506, the second amplitude adjustment factor is determined according to the mean amplitude of tide, system is adjusted according to second amplitude
Number, it is adjusted to being less than the second predetermined threshold value in the source of sound and being more than the amplitude of the 3rd predetermined threshold value.
From the foregoing, during the amplitude of source of sound is adjusted, it is contemplated that shadow of the noise to terminal device volume
Ring, using the noise figure of determination as one of parameter for determining amplitude adjustment factor so that the volume after regulation more preferably meets
User's request, further increase volume adjusting effect.
Fig. 6 is a kind of structured flowchart of volume adjustment device provided in an embodiment of the present invention, and the device is above-mentioned for performing
The volume adjusting method that embodiment provides, possesses the corresponding functional module of execution method and beneficial effect.As shown in fig. 6, the dress
Put and specifically include:Acquisition module 101, amplitude determination module 102, adjustment factor determining module 103 and adjustment module 104.
Wherein, acquisition module 101, for when detecting that terminal device carries out source of sound broadcasting, obtaining the sound of the source of sound
Frequency information.
Terminal device can carry out source of sound by the audio and video playing software that the third party application or system of installation carry
Broadcasting.Wherein, the steps such as acquisition, decoding and output of audio files are mainly included.Exemplary, the audio files got
It can be the multicast data flow received by network, can also be the audio-video document that terminal device is locally stored;Get the sound
It is loaded into after source file in core buffer;The audio files for being loaded into core buffer are decoded, opened in decoding
Before beginning, if the audio files include video data, it is necessary to carry out the separation of voice data and video data simultaneously, it will divide
Voice data from after is inputted to audio decoder, wherein, audio decoder is mainly used in reading the audio in core buffer
Data, digital audio and video signals are obtained, and the digital audio and video signals are converted into simulated audio signal, the broadcasting device of terminal device
Audio broadcasting is carried out according to the simulated audio signal.In one embodiment, when listening to source of sound broadcast event and being triggered, really
Determine terminal device and commence play out source of sound, wherein, the trigger event can be the broadcast button quilt shown in the touch-screen detected
Press, can also be when detecting the broadcasting device of terminal device for example loudspeaker commencing play out sound, determine that terminal device carries out sound
Source plays.
When detecting that terminal device carries out source of sound broadcasting, the audio-frequency information of the source of sound is obtained.In one embodiment,
The digital audio and video signals that can decode to obtain to audio decoder are sampled, and determine audio-frequency information corresponding to the source of sound.Another
In embodiment, the original document of currently playing source of sound can also be obtained, source of sound pair is determined by the parsing to the original document
The audio-frequency information answered.In another embodiment, by taking android system as an example, can pass through
Android.media.MediaRecorder classes or android.media.AudioRecord classes obtain the audio-frequency information of source of sound
Amplitude determination module 102, for according to amplitude size corresponding to audio-frequency information determination.
Amplitude refers to the ultimate range of deviation origin-location during object vibrations, the loudness and source of sound of the sound that human ear is heard
Amplitude it is related, amplitude is bigger, and loudness is stronger.In one embodiment, obtained DAB letter can be decoded to audio decoder
Number it is sampled, obtains the amplitude information in preset time period T, wherein, the amplitude information can be made up of multiple amplitudes, foundation
Obtained multiple amplitudes can determine the amplitude curve of the source of sound played in preset time period T accordingly.In another implementation
In example, by taking android system as an example, can by android.media.MediaRecorder classes or
Android.media.AudioRecord classes obtain corresponding amplitude size after obtaining the audio-frequency information of source of sound.In another implementation
, can be by being solved to original document when the audio-frequency information that step S101 is got is original document corresponding to source of sound in example
Analyse to obtain corresponding amplitude size.
In one embodiment, when detecting source of sound broadcasting, determine once to shake every preset time (such as 1s, 3s or 10s)
Width, or in real time, the amplitude of each frame of audio-frequency information is determined.Specifically, the audio for obtaining the source of sound
Information includes:Obtain the audio frame information of the source of sound;Accordingly, the amplitude bag of the source of sound is determined according to the audio-frequency information
Include:The amplitude of each frame of the source of sound is determined according to the audio frame information.Exemplary, it is right when detecting that source of sound plays
Audio files are parsed to obtain audio frame sequence, the amplitude according to corresponding to determining each frame of audio frame sequence.
Adjustment factor determining module 103, the volume value current according to the amplitude size and the terminal device got
Determine amplitude adjustment factor.
Adjustment module 104, for the amplitude of the source of sound to be adjusted according to the amplitude adjustment factor.
In one embodiment, can be true according to the current volume value of the amplitude size of determination and the terminal device got
Surely fixed amplitude adjustment factor, it can also be and determine different amplitude adjustment factors, further according to the big of specific source of sound amplitude
It is small to be allocated to enter row amplitude regulation, wherein, terminal device is always divided into 18 grade-adjustables to max volume by Jing Yin, often
The corresponding volume value of individual grade.During the amplitude of source of sound is adjusted, can by being parsed to audio files,
The data of sign amplitude information in obtained voice data are modified, are packaged again after modification, when being buffered to
Corresponding audio files and be played when source of sound amplitude be increased accordingly;It is also possible that the decoding played in source of sound
Cheng Zhong, by being analyzed to obtain amplitude data to obtained digital audio and video signals, the amplitude data is multiplied by corresponding regulation
The volume of source of sound is adjusted with changing amplitude size for coefficient.Hereby it is achieved that it is original not change terminal device system
The size of source of sound volume is adjusted on the premise of volume, regulation process can before audio files are introduced into buffering area,
Load or be adjusted for the source of sound content in buffering area to improve regulation efficiency to reduce to play.
The technical scheme that the present embodiment provides, when detecting that terminal device carries out source of sound broadcasting, obtain the source of sound
Audio-frequency information;According to amplitude size corresponding to audio-frequency information determination;According to the amplitude size and the terminal got
The current volume value of equipment determines amplitude adjustment factor;The amplitude of the source of sound is adjusted according to the amplitude adjustment factor
Section.This programme improves volume adjusting efficiency, reduces the power consumption of terminal device.
In a possible embodiment, the amplitude determination module 102 is specifically used for:
Obtain the audio-frequency information of the preset length of the source of sound, according to the audio-frequency information determine corresponding to peak swing and
Mean amplitude of tide;
The adjustment factor determining module 103 is specifically used for:
Amplitude is determined according to the peak swing, the mean amplitude of tide and the current volume value of the terminal device that gets
Adjustment factor.
In a possible embodiment, the adjustment factor determining module 103 is specifically used for:
If the difference of the peak swing and the mean amplitude of tide meets preparatory condition, according to the peak swing,
The mean amplitude of tide and the volume value determine amplitude adjustment factor.
In a possible embodiment, the adjustment factor determining module 103 is specifically used for:
Difference and the volume value according to the peak swing and the mean amplitude of tide determine the first amplitude regulation system
Number;
The adjustment module 104 is specifically used for:
According to the first amplitude adjustment factor, the amplitude that the first predetermined threshold value is more than in the source of sound is adjusted.
In a possible embodiment, the adjustment factor determining module 103 is additionally operable to:
The first amplitude is determined in the difference and the volume value according to the peak swing and the mean amplitude of tide
After adjustment factor, the second amplitude adjustment factor is determined according to the mean amplitude of tide;
The adjustment module 104 is additionally operable to:
According to the second amplitude adjustment factor, to being less than the second predetermined threshold value in the source of sound and more than the 3rd default threshold
The amplitude of value is adjusted, and second predetermined threshold value is less than the first predetermined threshold value.
In a possible embodiment, the adjustment factor determining module 103 is additionally operable to:
It is described determine amplitude adjustment factor according to the peak swing, the mean amplitude of tide and the volume value before,
Determine that the terminal device plays the impedance value of device;According to the impedance value, the peak swing, the mean amplitude of tide and institute
State volume value and determine amplitude adjustment factor.
In a possible embodiment, the adjustment factor determining module 103 is additionally operable to:
It is described determine amplitude adjustment factor according to the peak swing, the mean amplitude of tide and the volume value before,
Determine that the terminal device is presently in the noise figure of environment;According to the noise figure, the peak swing, the mean amplitude of tide
Amplitude adjustment factor is determined with the volume value.
The present embodiment provides a kind of terminal device on the basis of the various embodiments described above, and Fig. 7 is that the embodiment of the present invention carries
The structural representation of a kind of terminal device supplied, as shown in fig. 7, the terminal device 200 includes:Memory 201, processor
(Central Processing Unit, CPU) 202, Peripheral Interface 203, RF (Radio Frequency, radio frequency) circuit 205,
Voicefrequency circuit 206, loudspeaker 211, power management chip 208, input/output (I/O) subsystem 209, touch-screen 212, other
Input/control devices 210 and outside port 204, these parts are led to by one or more communication bus or signal wire 207
Letter.
It should be understood that graphic terminal 200 is only an example of terminal device, and terminal device 200
Can have than more or less parts shown in figure, can combine two or more parts, or can be with
Configured with different parts.Various parts shown in figure can be including one or more signal transactings and/or special
Hardware, software including integrated circuit are realized in the combination of hardware and software.
The terminal device for being used to open the rights management of application more that the present embodiment provides is described in detail below, should
Terminal device is by taking smart mobile phone as an example.
Memory 201, the memory 201 can be accessed by CPU202, Peripheral Interface 203 etc., and the memory 201 can
Including high-speed random access memory, can also include nonvolatile memory, such as one or more disk memories,
Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU202 and deposited by Peripheral Interface 203, the Peripheral Interface 203
Reservoir 201.
I/O subsystems 209, the I/O subsystems 209 can be by the input/output peripherals in equipment, such as touch-screen 212
With other input/control devicess 210, Peripheral Interface 203 is connected to.I/O subsystems 209 can include the He of display controller 2091
For controlling one or more input controllers 2092 of other input/control devicess 210.Wherein, one or more input controls
Device 2092 processed receives electric signal from other input/control devicess 210 or sends electric signal to other input/control devicess 210,
Other input/control devicess 210 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole, click on roller.What deserves to be explained is input controller 2092 can with it is following any one be connected:Keyboard, infrared port,
The instruction equipment of USB interface and such as mouse.
Touch-screen 212, the touch-screen 212 are the input interface and output interface between user terminal and user, can
It can include figure, text, icon, video etc. to user, visual output depending on output display.
Display controller 2091 in I/O subsystems 209 receives electric signal from touch-screen 212 or sent out to touch-screen 212
Electric signals.Touch-screen 212 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 2091
The interaction of user interface object on touch-screen 212, that is, realize man-machine interaction, the user interface being shown on touch-screen 212
Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light
Mouse, light mouse is not show the touch sensitive surface visually exported, or the extension of the touch sensitive surface formed by touch-screen.
RF circuits 205, it is mainly used in establishing the communication of mobile phone and wireless network (i.e. network side), realizes mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 205 receive and send RF letters
Number, RF signals are also referred to as electromagnetic signal, and RF circuits 205 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications
Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 205 can include being used to perform
The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one
Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identify mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 206, it is mainly used in receiving voice data from Peripheral Interface 203, the voice data is converted into telecommunications
Number, and the electric signal is sent to loudspeaker 211.
Loudspeaker 211, for the voice signal for receiving mobile phone from wireless network by RF circuits 205, it is reduced to sound
And play the sound to user.
Power management chip 208, the hardware for being connected by CPU202, I/O subsystem and Peripheral Interface are powered
And power management.
The executable present invention of the volume adjustment device and terminal device of the terminal device provided in above-described embodiment is any real
The volume adjusting method for the terminal device that example is provided is applied, possesses and performs the corresponding functional module of this method and beneficial effect.Not
The ins and outs of detailed description in the above-described embodiments, reference can be made to the volume for the terminal device that any embodiment of the present invention is provided
Adjusting method.
The embodiment of the present invention also provides a kind of storage medium for including terminal device executable instruction, and the terminal device can
Execute instruction is used to perform a kind of volume adjusting method when by terminal device computing device, and this method includes:
When detecting that terminal device carries out source of sound broadcasting, the audio-frequency information of the source of sound is obtained;
According to amplitude size corresponding to audio-frequency information determination;
The volume value current according to the amplitude size and the terminal device got determines amplitude adjustment factor;
The amplitude of the source of sound is adjusted according to the amplitude adjustment factor.
In a possible embodiment, the audio-frequency information for obtaining the source of sound, is determined according to the audio-frequency information
Corresponding amplitude size includes:
Obtain the audio-frequency information of the preset length of the source of sound, according to the audio-frequency information determine corresponding to peak swing and
Mean amplitude of tide;
Accordingly, the volume value current according to the amplitude size and the terminal device got determines that amplitude is adjusted
Section coefficient includes:
Amplitude is determined according to the peak swing, the mean amplitude of tide and the current volume value of the terminal device that gets
Adjustment factor.
In a possible embodiment, it is described true according to the peak swing, the mean amplitude of tide and the volume value
Determining amplitude adjustment factor includes:
If the difference of the peak swing and the mean amplitude of tide meets preparatory condition, according to the peak swing,
The mean amplitude of tide and the volume value determine amplitude adjustment factor.
In a possible embodiment, it is described true according to the peak swing, the mean amplitude of tide and the volume value
Determining amplitude adjustment factor includes:
Difference and the volume value according to the peak swing and the mean amplitude of tide determine the first amplitude regulation system
Number;
Accordingly, it is described the amplitude of the source of sound is adjusted according to the amplitude adjustment factor including:
According to the first amplitude adjustment factor, the amplitude that the first predetermined threshold value is more than in the source of sound is adjusted.
In a possible embodiment, in the difference and institute according to the peak swing and the mean amplitude of tide
State after volume value determines the first amplitude adjustment factor, in addition to:
The second amplitude adjustment factor is determined according to the mean amplitude of tide;
Accordingly, the described amplitude of the source of sound is adjusted according to the amplitude adjustment factor also includes:
According to the second amplitude adjustment factor, to being less than the second predetermined threshold value in the source of sound and more than the 3rd default threshold
The amplitude of value is adjusted, and second predetermined threshold value is less than the first predetermined threshold value.
In a possible embodiment, described according to the peak swing, the mean amplitude of tide and the volume value
Before determining amplitude adjustment factor, in addition to:
Determine that the terminal device plays the impedance value of device;
Accordingly, it is described to determine amplitude adjustment factor according to the peak swing, the mean amplitude of tide and the volume value
Including:
Amplitude adjustment factor is determined according to the impedance value, the peak swing, the mean amplitude of tide and the volume value.
In a possible embodiment, described according to the peak swing, the mean amplitude of tide and the volume value
Before determining amplitude adjustment factor, in addition to:
Determine that the terminal device is presently in the noise figure of environment;
Accordingly, it is described to determine amplitude adjustment factor according to the peak swing, the mean amplitude of tide and the volume value
Including:
Amplitude adjustment factor is determined according to the noise figure, the peak swing, the mean amplitude of tide and the volume value.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap
Include:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums
(such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can also include other
The memory of type or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed,
Or can be located in different second computer systems, second computer system is connected to the by network (such as internet)
One computer system.Second computer system can provide programmed instruction and be used to perform to the first computer." storage is situated between term
Matter " can include may reside within diverse location two of (such as in different computer systems by network connection) or
More storage mediums.Storage medium can store the programmed instruction that can be performed by one or more processors and (such as implement
For computer program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, its computer
The volume adjusting method operation that executable instruction is not limited to the described above, can also carry out what any embodiment of the present invention was provided
Associative operation in volume adjusting method.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
- A kind of 1. volume adjusting method, it is characterised in that including:When detecting that terminal device carries out source of sound broadcasting, the audio-frequency information of the source of sound is obtained;According to amplitude size corresponding to audio-frequency information determination;The volume value current according to the amplitude size and the terminal device got determines amplitude adjustment factor;The amplitude of the source of sound is adjusted according to the amplitude adjustment factor.
- 2. according to the method for claim 1, it is characterised in that the audio-frequency information for obtaining the source of sound, according to described in Amplitude size corresponding to audio-frequency information determination includes:The audio-frequency information of the preset length of the source of sound is obtained, according to peak swing corresponding to audio-frequency information determination and averagely Amplitude;Accordingly, the volume value current according to the amplitude size and the terminal device got determines amplitude regulation system Number includes:Amplitude adjustment factor is determined according to the peak swing, the mean amplitude of tide and the volume value.
- 3. according to the method for claim 2, it is characterised in that it is described according to the peak swing, the mean amplitude of tide and The volume value determines that amplitude adjustment factor includes:If the difference of the peak swing and the mean amplitude of tide meets preparatory condition, according to the peak swing, described Mean amplitude of tide and the volume value determine amplitude adjustment factor.
- 4. according to the method for claim 3, it is characterised in that it is described according to the peak swing, the mean amplitude of tide and The volume value determines that amplitude adjustment factor includes:Difference and the volume value according to the peak swing and the mean amplitude of tide determine the first amplitude adjustment factor;Accordingly, it is described the amplitude of the source of sound is adjusted according to the amplitude adjustment factor including:According to the first amplitude adjustment factor, the amplitude that the first predetermined threshold value is more than in the source of sound is adjusted.
- 5. according to the method for claim 4, it is characterised in that described according to the peak swing and the mean amplitude of tide Difference and after the volume value determines the first amplitude adjustment factor, in addition to:The second amplitude adjustment factor is determined according to the mean amplitude of tide;Accordingly, the described amplitude of the source of sound is adjusted according to the amplitude adjustment factor also includes:According to the second amplitude adjustment factor, to being less than the second predetermined threshold value in the source of sound and more than the 3rd predetermined threshold value Amplitude is adjusted, and second predetermined threshold value is less than the first predetermined threshold value.
- 6. according to the method any one of claim 1-5, it is characterised in that described according to the peak swing, institute State mean amplitude of tide and before the volume value determines amplitude adjustment factor, in addition to:Determine that the terminal device plays the impedance value of device;Accordingly, it is described to determine that amplitude adjustment factor includes according to the peak swing, the mean amplitude of tide and the volume value:Amplitude adjustment factor is determined according to the impedance value, the peak swing, the mean amplitude of tide and the volume value.
- 7. according to the method any one of claim 1-5, it is characterised in that described according to the peak swing, institute State mean amplitude of tide and before the volume value determines amplitude adjustment factor, in addition to:Determine that the terminal device is presently in the noise figure of environment;Accordingly, it is described to determine that amplitude adjustment factor includes according to the peak swing, the mean amplitude of tide and the volume value:Amplitude adjustment factor is determined according to the noise figure, the peak swing, the mean amplitude of tide and the volume value.
- A kind of 8. volume adjustment device, it is characterised in that including:Acquisition module, for when detecting that terminal device carries out source of sound broadcasting, obtaining the audio-frequency information of the source of sound;Amplitude determination module, for according to amplitude size corresponding to audio-frequency information determination;Adjustment factor determining module, the volume value current according to the amplitude size and the terminal device got determine amplitude Adjustment factor;Adjustment module, for the amplitude of the source of sound to be adjusted according to the amplitude adjustment factor.
- 9. a kind of terminal device, including:Processor, memory and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that realized described in the computing device during computer program such as any one of claim 1-7 institutes The volume adjusting method stated.
- A kind of 10. storage medium for including terminal device executable instruction, it is characterised in that the terminal device executable instruction As volume adjusting method during terminal device computing device for execution as any one of claim 1-7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710711365.9A CN107526570B (en) | 2017-08-18 | 2017-08-18 | Volume adjusting method and device, terminal equipment and storage medium |
PCT/CN2018/098647 WO2019033940A1 (en) | 2017-08-18 | 2018-08-03 | Volume adjustment method and apparatus, terminal device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710711365.9A CN107526570B (en) | 2017-08-18 | 2017-08-18 | Volume adjusting method and device, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107526570A true CN107526570A (en) | 2017-12-29 |
CN107526570B CN107526570B (en) | 2020-01-14 |
Family
ID=60681451
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710711365.9A Active CN107526570B (en) | 2017-08-18 | 2017-08-18 | Volume adjusting method and device, terminal equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107526570B (en) |
WO (1) | WO2019033940A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019033940A1 (en) * | 2017-08-18 | 2019-02-21 | Oppo广东移动通信有限公司 | Volume adjustment method and apparatus, terminal device, and storage medium |
CN109375893A (en) * | 2018-11-20 | 2019-02-22 | 北京小米移动软件有限公司 | Audio frequency playing method and device |
CN110661502A (en) * | 2019-10-18 | 2020-01-07 | 上海锐伟电子科技有限公司 | Volume adjusting method based on embedded system |
CN112306451A (en) * | 2020-10-30 | 2021-02-02 | 西安万像电子科技有限公司 | Volume adjustment method, device and system |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113497852A (en) | 2020-04-07 | 2021-10-12 | 北京字节跳动网络技术有限公司 | Automatic volume adjustment method, apparatus, medium, and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050180585A1 (en) * | 2004-02-17 | 2005-08-18 | Kuan-Hong Hsieh | System and method for controlling volume with a single knob |
CN101997498A (en) * | 2009-08-27 | 2011-03-30 | 北京宏景捷讯网络技术股份有限公司 | Volume adjusting method and device |
CN103916797A (en) * | 2014-04-04 | 2014-07-09 | 安徽森力汽车电子有限公司 | Vehicle-mounted audible device |
CN104410379A (en) * | 2014-10-29 | 2015-03-11 | 深圳市金立通信设备有限公司 | A volume adjusting method |
EP2905974A1 (en) * | 2014-02-11 | 2015-08-12 | MediaTek, Inc | Devices and methods for headphone speaker impedance detection |
CN106775563A (en) * | 2016-12-13 | 2017-05-31 | 珠海市魅族科技有限公司 | The method and device of volume adjusting |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070104337A1 (en) * | 2005-11-08 | 2007-05-10 | Shurtz Gregory R | Apparatus and method for automatic volume synchronization of a digital audio device with an analog audio source |
US8275151B2 (en) * | 2007-12-19 | 2012-09-25 | Agere Systems Inc. | Speakerphone using adaptive phase rotation |
CN101714855A (en) * | 2009-11-19 | 2010-05-26 | 无敌科技(西安)有限公司 | System and method for automatically adjusting volume |
CN102075829B (en) * | 2009-11-24 | 2013-11-20 | 鸿富锦精密工业(深圳)有限公司 | Volume adjusting system |
CN103746668A (en) * | 2013-12-31 | 2014-04-23 | 上海斐讯数据通信技术有限公司 | Sound volume control method and system |
CN104363510B (en) * | 2014-10-29 | 2019-04-30 | 深圳市金立通信设备有限公司 | A kind of playback terminal |
CN107526570B (en) * | 2017-08-18 | 2020-01-14 | Oppo广东移动通信有限公司 | Volume adjusting method and device, terminal equipment and storage medium |
-
2017
- 2017-08-18 CN CN201710711365.9A patent/CN107526570B/en active Active
-
2018
- 2018-08-03 WO PCT/CN2018/098647 patent/WO2019033940A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050180585A1 (en) * | 2004-02-17 | 2005-08-18 | Kuan-Hong Hsieh | System and method for controlling volume with a single knob |
CN101997498A (en) * | 2009-08-27 | 2011-03-30 | 北京宏景捷讯网络技术股份有限公司 | Volume adjusting method and device |
EP2905974A1 (en) * | 2014-02-11 | 2015-08-12 | MediaTek, Inc | Devices and methods for headphone speaker impedance detection |
CN103916797A (en) * | 2014-04-04 | 2014-07-09 | 安徽森力汽车电子有限公司 | Vehicle-mounted audible device |
CN104410379A (en) * | 2014-10-29 | 2015-03-11 | 深圳市金立通信设备有限公司 | A volume adjusting method |
CN106775563A (en) * | 2016-12-13 | 2017-05-31 | 珠海市魅族科技有限公司 | The method and device of volume adjusting |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019033940A1 (en) * | 2017-08-18 | 2019-02-21 | Oppo广东移动通信有限公司 | Volume adjustment method and apparatus, terminal device, and storage medium |
CN109375893A (en) * | 2018-11-20 | 2019-02-22 | 北京小米移动软件有限公司 | Audio frequency playing method and device |
CN110661502A (en) * | 2019-10-18 | 2020-01-07 | 上海锐伟电子科技有限公司 | Volume adjusting method based on embedded system |
CN112306451A (en) * | 2020-10-30 | 2021-02-02 | 西安万像电子科技有限公司 | Volume adjustment method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN107526570B (en) | 2020-01-14 |
WO2019033940A1 (en) | 2019-02-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107526570A (en) | volume adjusting method, device, terminal device and storage medium | |
CN107526568A (en) | volume adjusting method, device, terminal device and storage medium | |
CN107465824A (en) | volume adjusting method, device, mobile terminal and storage medium | |
CN107436751A (en) | volume adjusting method, device, terminal device and storage medium | |
CN107566618A (en) | volume adjusting method, device, terminal device and storage medium | |
CN111033614B (en) | Volume adjusting method and device, mobile terminal and storage medium | |
CN110799936B (en) | Volume adjusting method, volume adjusting device, terminal equipment and storage medium | |
WO2017215657A1 (en) | Sound effect processing method, and terminal device | |
CN107040660A (en) | Control method, device and the mobile terminal of mobile terminal playing volume | |
CN107479852B (en) | Volume adjusting method, device, terminal device and storage medium | |
CN111083289B (en) | Audio playing method and device, storage medium and mobile terminal | |
CN107483734A (en) | volume adjusting method, device, terminal device and storage medium | |
CN107506168A (en) | volume adjusting method, device, terminal device and storage medium | |
CN110876180A (en) | Power consumption processing method and device, electronic equipment and computer readable medium | |
CN107799113A (en) | Audio-frequency processing method, device, storage medium and mobile terminal | |
CN107479851B (en) | Volume adjusting method, device, terminal device and storage medium | |
CN107508983A (en) | volume adjusting method, device, storage medium and terminal device | |
CN106936826A (en) | The register method of radio receiver, device and terminal device | |
CN107506170A (en) | volume adjusting method, device, terminal device and storage medium | |
CN106293607B (en) | Method and system for automatically switching audio output modes | |
CN107506169A (en) | volume adjusting method, device, terminal device and storage medium | |
CN110753919B (en) | Volume adjusting method and device, storage medium and mobile terminal | |
CN110333838A (en) | A kind of control method of volume, terminal and computer storage medium |
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 | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |