CN107193527A - A kind of audio control method, terminal and computer-readable recording medium - Google Patents
A kind of audio control method, terminal and computer-readable recording medium Download PDFInfo
- Publication number
- CN107193527A CN107193527A CN201710358756.7A CN201710358756A CN107193527A CN 107193527 A CN107193527 A CN 107193527A CN 201710358756 A CN201710358756 A CN 201710358756A CN 107193527 A CN107193527 A CN 107193527A
- Authority
- CN
- China
- Prior art keywords
- audio signal
- target volume
- value range
- currency
- volume value
- 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/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
Abstract
The embodiment of the invention discloses a kind of audio control method, terminal and computer-readable recording medium, wherein method includes:Detect in default application program whether there is audio signal;If having detected the audio signal, the currency of the audio signal is obtained, judges whether the currency of the audio signal exceeds the target volume value range;If beyond the target volume value range, the audio signal is adjusted in real time according to preset algorithm, so that the audio signal currency is revert in the target volume value range.The embodiment of the present invention is by contrasting the currency of the target volume value range and the audio signal, and then to being automatically adjusted beyond the audio signal of the target volume value range, user can be avoided to export or the input excessive too small puzzlement caused of audio sound and trouble, contribute to the communication exchange of communicating pair, so as to effectively increase the interactive experience of communicating pair.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of audio control method, terminal and computer-readable storage
Medium.
Background technology
At present, with the fast development of Internet technology and mobile communication technology, mobile phone, tablet personal computer, Wearable wrist-watch
Use Deng terminal device is popularized all the more, and people's interactive tool the most frequently used in routine work and life is exactly the terminals such as mobile phone
Equipment, one of most-often used interactive mode is exactly interactive voice mode.However, during daily interactive voice, Ren Menshou
The sound of speaking for being limited to residing around environment and itself or other people is in different size, and people are should with the interaction such as wechat, QQ
With listening, say during voice or receive calls during, often by external sound too big interference, the sound heard it is too small or
The trouble brought greatly very much and oneself say too loudly or the too small trouble caused to other people.Therefore lifting user is to mobile phone etc.
The audio experience of terminal device also seems important all the more.
In the prior art, in order to ensure the volume of the audio of output input is adapted to active user's local environment and hearing
System, during daily interactive voice, user will adjust the volume of the terminal devices such as mobile phone manually in time.It ought run into
When sound is too small or too big during audio output, the volume of the terminal devices such as mobile phone can only be adjusted manually by user, it is whole
The passive trouble again of the process of individual regulation volume, even if moreover, sometimes regulation terminal device volume to maximum or solution never
The problem of sound is too small during audio output;And when user is limited to local environment around, user forgets before output audio
Note regulation volume, causes the sound broadcasted is excessive to cause the trouble of itself, or user to be carried consciously when inputting audio
Height reduces itself voice, but this may cause trouble and puzzlement to the other side for receiving audio.For example, when user exists
When library's reading or office work, someone calls into or initiated wechat voice, Video chat etc., by residing around
The influence of environment can reduce itself voice automatically, but user's spoken sounds are too small to cause communication counterpart not hear
Chu, causes the puzzlement of communicating pair, and then influence the interactive experience of communicating pair.
The content of the invention
The embodiment of the present invention provides a kind of audio control method, terminal and computer-readable recording medium, can contrast sound
The currency of target zone and the audio signal is measured, can be to entering beyond the audio signal of the target volume value range
Row is automatically adjusted in real time, so as to realize the volume of intelligent control sound input and output.
In a first aspect, the embodiments of the invention provide a kind of audio control method, this method includes:
Detect whether there is audio signal in default application program, the audio signal includes input audio signal and output
Audio signal;
If having detected the audio signal, the currency of the audio signal is obtained;
Judge whether the currency of the audio signal exceeds the target volume value range;
If beyond the target volume value range, the audio signal is adjusted in real time according to preset algorithm, so that the sound
Frequency signal currency is revert in the target volume value range.
Second aspect, the embodiments of the invention provide a kind of terminal, the terminal includes:
Detection unit, for detecting whether there is audio signal in default application program, the audio signal includes input
Audio signal and exports audio signal;
Acquiring unit, if for having detected the audio signal, obtaining the currency of the audio signal;
Judging unit, for judging whether the currency of the audio signal exceeds target volume value range;
Adjustment unit, if for beyond the target volume value range, adjusting the audio letter in real time according to preset algorithm
Number, so that the audio signal currency is revert in the target volume value range.
The third aspect, the embodiments of the invention provide another terminal, including processor, input equipment, output equipment and
Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store branch
The application code that terminal performs the above method is held, the processor is arranged to the method for performing above-mentioned first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium
Be stored with computer program, and the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor
The method for stating the above-mentioned first aspect of computing device.
Compared with the prior art, the invention has the advantages that:1st, for user during daily interactive voice, and
The trouble of the volume of Shi Shoudong regulation terminal devices and puzzlement, are worked as using the audio signal obtained in default application program
Preceding value is compared with the target volume value range for determining to be adapted to current environment and auditory perceptual degree, is such as gone beyond the scope, then basis
The audio signal is strengthened or weakened automatically to preset algorithm, so that the audio signal currency revert to the target volume model
Enclose in value, and then realize the audio of the terminal device Intelligent adjustment output or input, so that the output or input audio
Signal is adapted to current environment and auditory perceptual degree;2nd, can be according to week while ensureing in the case where surrounding environment is continually changing
Collarette border determines the target volume value range of suitable current environment and auditory perceptual degree, and according to the target volume value range certainly
The dynamic monitoring regulation audio signal, it is to avoid user exports or the input excessive too small puzzlement caused of audio sound and trouble, has
Help the communication exchange of communicating pair, so as to effectively increase the interactive experience of communicating pair.
Brief description of the drawings
Technical scheme, is used required in being described below to embodiment in order to illustrate the embodiments of the present invention more clearly
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 a kind of schematic flow diagram of audio control method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram for audio control method that first embodiment of the invention is provided;
Fig. 3 is the acoustic control interface schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 4 is that the schematic diagram of application program is added at the acoustic control interface of terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic flow diagram for audio control method that second embodiment of the invention is provided;
Fig. 6 is a kind of schematic block diagram for terminal that first embodiment of the invention is provided;
Fig. 7 is a kind of schematic block diagram for terminal that second embodiment of the invention is provided;
Fig. 8 is a kind of schematic block diagram of the judging unit for terminal that first embodiment of the invention is provided;
Fig. 9 is a kind of schematic block diagram of the adjustment unit for terminal that first embodiment of the invention is provided;
Figure 10 is a kind of terminal schematic block diagram that second embodiment of the invention is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" be indicated
Described feature, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, it is whole
Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and "the" are intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is
Refer to any combinations of one or more of the associated item listed and be possible to combination, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface
The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just
Portable device.It is to be further understood that in certain embodiments, the equipment not portable communication device, but with touching
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use such as touch sensitive surface at least one is public
Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch
Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
Fig. 1 is refer to, it is a kind of signal sub-process figure of audio control method provided in an embodiment of the present invention, this method
It can apply in smart mobile phone (such as Android phone, IOS mobile phones), the tablet personal computer with communication interaction function or intelligence
In the terminals such as wearable device.As illustrated, this method may include step S1~S4.
Whether there is audio signal in S1, the default application program of detection, the audio signal includes input audio signal and defeated
Go out audio signal.Specifically, step S2 is entered if having audio signal, enters if no audio signal and terminates.Wherein, user
The application program such as acoustic control that can be pre-designed by terminal needs monitored application program, Ke Yigen to pre-set
Voluntarily adding or delete according to demands of individuals needs the application program of monitored audio signal input or output, can also according to from
Body demand sets the minimum value and maximum of the target volume value range manually.Concrete condition refers to Fig. 3, and Fig. 3 is the present invention
The acoustic control interface schematic diagram that the terminal that embodiment is provided is pre-designed.For example, the interactive applications such as wechat, QQ can be added
It can add and dial in the application program such as acoustic control that the system program such as receive calls is pre-designed to terminal, i.e. acoustic control etc.
Whether application program the monitor and detection default application program will have the input or output of audio in real time.Pass through the acoustic control application
Program user can voluntarily select the application program for needing to be monitored in real-time according to self-demand, and concrete condition refers to Fig. 4, figure
4 be the schematic diagram that application program is added at the acoustic control interface that terminal provided in an embodiment of the present invention is pre-designed.
If S2, having detected the audio signal, the currency of the audio signal is obtained.
S3, judge the audio signal currency whether exceed the target volume value range.Specifically, if the audio is believed
Number currency exceed the target volume value range, then into step S4, conversely, then enter terminate.
If S4, exceed the target volume value range, the audio signal is adjusted in real time according to preset algorithm, so that described
Audio signal currency is revert in the target volume value range.Specifically, if exceeding the target volume value range, in real time
It is automatic to weaken or strengthen input or exports audio signal, so that the currency of the audio signal revert to best target volume model
Enclose in value.
In the above-described embodiments, input or the exports audio signal in application program are preset by real-time monitor and detection, is sentenced
Whether the currency of disconnected input or exports audio signal exceeds the target volume value range, if beyond the target volume value range,
It is then automatic in real time to weaken or strengthen input or exports audio signal, so that the currency of the audio signal revert to best target
In volume range value, and the above-mentioned flow of circulating repetition, it is ensured that input or exports audio signal are all in the target volume value range
It is interior, with the section audio stream inputted or exports audio signal is best, meet the interaction demand of user.
Fig. 2 is refer to, it is a kind of schematic flow diagram for audio control method that first embodiment of the invention is provided, the party
Method can be applied in smart mobile phone (such as Android phone, IOS mobile phones), the tablet personal computer with communication interaction function or intelligence
In the terminals such as energy wearable device.As illustrated, this method may include step S1 '~S6 '.
Whether there is audio signal in S1 ', the default application program of detection, the audio signal includes input audio signal and defeated
Go out audio signal.Specifically, step S2 is entered if having audio signal, enters if no audio signal and terminates.Wherein, user
The application program such as acoustic control that can be pre-designed by terminal needs monitored application program, Ke Yigen to pre-set
Voluntarily adding or delete according to demands of individuals needs the application program of monitored audio signal input or output, can also according to from
Body demand sets the minimum value and maximum of the target volume value range manually.Concrete condition refers to Fig. 3, and Fig. 3 is the present invention
The acoustic control interface schematic diagram that the terminal that embodiment is provided is pre-designed.For example, the interactive applications such as wechat, QQ can be added
It can add and dial in the application program such as acoustic control that the system program such as receive calls is pre-designed to terminal, i.e. acoustic control etc.
Whether application program the monitor and detection default application program will have the input or output of audio in real time.Pass through the acoustic control application
Program user can voluntarily select the application program for needing to be monitored in real-time according to self-demand, and concrete condition refers to Fig. 4, figure
4 be the schematic diagram that application program is added at the acoustic control interface that terminal provided in an embodiment of the present invention is pre-designed.
If S2 ', having detected the audio signal, the currency of the audio signal is obtained.
S3 ', judge the audio signal currency whether exceed the target volume value range, wherein, should exceed the mesh
Mark with phonetic symbols amount value range is including the maximum beyond the target volume value range and more than the target volume value range and beyond this
Target volume value range and the minimum value for being less than the target volume value range.Specifically, judge whether the currency is more than to be somebody's turn to do
The maximum of target volume value range, if the currency of the audio signal is more than the maximum of the target volume value range, enters
Enter step S5, conversely, then entering step S4.
Whether S4 ', the currency for judging the audio signal specifically, judge to deserve beyond the target volume value range
Whether preceding value is less than the minimum value of the target volume value range, if the currency of the audio signal is less than the target volume value range
Minimum value, then into step S6, conversely, then enter terminate.
S5 ', when the currency of the audio signal is beyond the target volume value range and more than the target volume value range
During maximum, the currency for reducing the audio signal is automatically adjusted according to the preset algorithm, so that the currency of the audio signal
It is reduced to the maximum of the target volume value range.
S6 ', when the currency of the audio signal is beyond the target volume value range and less than the target volume value range
During minimum value, the currency for increasing the audio signal is automatically adjusted according to the preset algorithm, so that the currency of the audio signal
It is increased to the minimum value of the target volume value range.
In the above-described embodiments, input or the exports audio signal in application program are preset by real-time monitor and detection, is sentenced
Whether the currency of disconnected input or exports audio signal exceeds the target volume value range, if beyond the target volume value range,
It is then automatic in real time to weaken or strengthen input or exports audio signal, so that the currency of the audio signal revert to best target
In volume range value, and the above-mentioned flow of circulating repetition, it is ensured that input or exports audio signal are all in the target volume value range
It is interior, with the section audio stream inputted or exports audio signal is best, meet the interaction demand of user.In addition, the target sound
Self-defined set can be carried out according to individual subscriber demand by measuring the maximum and minimum value of value range.
Fig. 5 is refer to, it is a kind of schematic flow diagram of the audio control method provided in second embodiment of the invention, should
Method can apply smart mobile phone (such as Android phone, IOS mobile phones), the tablet personal computer with communication interaction function or
In the terminals such as Intelligent worn device.The difference of this second embodiment and first embodiment be in second embodiment step S1 ' it
Before increase step S7 ' and step S8 ', step S7 ' and step S8 ' and can test acquisition and be adapted to current environment and auditory perceptual degree
Target volume value range.
Step S7 ', the audio signal of test current environment decibel value.Specifically, test obtains the audio of current environment
The decibel value of signal can carry out test acquisition according to sensors such as the sound transducers in terminal, can test acquisition terminal institute
Decibel value under the varying environment at place.
Step S8 ', the volume range value for being adapted to current environment and auditory perceptual degree according to decibel value determination are used as target
Volume range value, the target volume value range includes the target volume value range of input audio and the target volume of output audio
Value range.Being adapted to the target volume value range of the input audio of current environment can test according to the perception of sound degree of human ear
Go out the target volume value range of most suitable input audio, because user with other people when interacting communication, user's input sound
The target volume value range of frequency is maintained in relatively stable scope and is adapted to the perception of sound degree of human ear, can give user
The more preferable interactive experience of other side communicated.Therefore, if user with other people when interacting communication, in advance according to human ear
Perception of sound degree determines to input the target volume value range of audio, and the target volume value range of stable input can be to communication pair
The more preferable interactive experience in side, and then ensure that the experience of communicating pair.Alternatively, the target volume value range of the input audio can
To carry out self-defined set according to individual subscriber demand.The target volume value range for being adapted to the output audio of current environment can root
Different decibel values is adjusted under the varying environment obtained according to test, i.e., point under the environment such as office, residence, library
Shellfish value can be relatively low, and the decibel value under the environment such as playground, park, market can be of a relatively high, and user can be according to different rings
Different decibel values under border determine to be adapted to the target volume value range of the output audio of current environment.For example when user be located at compared with
During for quiet environment, the audio object value range of output audio will be adapted to current environment, then exporting audio object value range will
Accordingly it is adjusted in the relatively low scope of decibel value, to leave other use of surrounding environment while ensureing that user can hear audio alone
Family;When user is located at more noisy environment, the audio object value range of output audio will be adapted to current environment, then export sound
Frequency target zone value will be accordingly adjusted in the higher scope of decibel value, to ensure that user can hear output in a noisy environment
Audio.Alternatively, the target volume value range of the output audio can carry out self-defined set according to individual subscriber demand.
It is to be appreciated that ensure that in the above-described embodiments in the case where surrounding environment is continually changing residing for user, can
To be determined to be adapted to the target volume value range of current environment and auditory perceptual degree, and root according to the decibel value of different surrounding environment
The regulation input or exports audio signal are monitored automatically according to the target volume value range, it is to avoid user exports or input audio sound
The excessive too small puzzlement caused to itself or other people and trouble, contribute to the communication exchange of communicating pair, so as to effectively increase
The interactive experience of communicating pair.In addition, in some feasible embodiments, user can be pre-designed for example with opens voluntarily terminal
The target sound of determination will be tested in the application programs such as acoustic control under the frequent residing place such as residence, office of user and the environment
Measure value range and correspond preservation, the target volume value range that user commonly uses can be saved as.
Fig. 6 is refer to, it is the schematic block diagram of the terminal 100 for the first embodiment that the present invention is provided.The terminal 100 is wrapped
Detection unit 10, acquiring unit 20, judging unit 30 and adjustment unit 40.
Detection unit 10, for detecting in default application program whether there is audio signal, the audio signal include input
Audio signal and exports audio signal.Specifically, for real-time monitor and detection, the default application program is the detection unit 20
The no input or output for having an audio signal.User can voluntarily be set according to demands of individuals needs monitored audio signal input
Or the application program of output, and whether the application program pre-set has audio letter by the real-time monitor and detection of detection unit 20
Number input or output.The system such as receive calls is dialed for example, the interactive applications such as wechat, QQ can be added and can also be added
In the application program such as acoustic control that program is pre-designed to terminal, i.e., the application program such as the acoustic control will monitor and detection should in real time
Whether default application program has the input or output of audio.Concrete condition refers to Fig. 2, and Fig. 2 is that the embodiment of the present invention is provided
The acoustic control interface schematic diagram that is pre-designed of terminal.Can voluntarily it be selected according to self-demand by the acoustic control application user
Application program is deleted in addition, can also set the minimum value and maximum of the target volume value range manually according to self-demand
Value.
If acquiring unit 20, for having detected the audio signal, the currency of the audio signal is obtained.
Judging unit 30, for judge the audio signal currency whether exceed the target volume value range.Tool
Body, judging unit 30 is used to judge whether the currency of the audio signal to exceed the target volume value range, wherein, this surpasses
Go out the target volume value range include beyond the target volume value range and more than the target volume value range maximum and
Beyond the target volume value range and less than the minimum value of the target volume value range.
If adjustment unit 40, for beyond the target volume value range, adjusting the audio in real time according to preset algorithm
Signal, so that the audio signal currency is revert in the target volume value range.Specifically, working as when the audio signal
When preceding value exceeds the target volume value range and the maximum more than the target volume value range, reduced automatically according to preset algorithm
The currency of the audio electrical signal, so that the currency of the audio signal is reduced to the maximum of the target volume value range;When
The currency of the audio signal is beyond the target volume value range and less than the minimum value of the target volume value range, according to this
Preset algorithm is automatically increased the currency of the audio electrical signal, so that the currency of the audio signal is increased to the target volume model
Enclose the minimum value of value.
In the above-described embodiments, input or the exports audio signal in application program are preset by real-time monitor and detection, is sentenced
Whether the currency of disconnected input or exports audio signal exceeds the target volume value range, if beyond the target volume value range,
Then weaken or strengthen automatically in real time the audio signal of input or output, so that the currency of the audio signal revert to best mesh
In mark with phonetic symbols amount value range, and the above-mentioned flow of circulating repetition, it is ensured that the audio signal of input or output is all in the target volume model
Enclose in value, with the section audio stream inputted or exports audio signal is best, meet the interaction demand of user.In addition, the mesh
The maximum and minimum value of mark with phonetic symbols amount value range can carry out self-defined set according to individual subscriber demand.
Fig. 7 is refer to, it is a kind of schematic block diagram for terminal that second embodiment of the invention is provided.This second embodiment
It is to increase test cell 50 and determining unit 60 in second embodiment with first embodiment difference.In a second embodiment,
Test cell 50 is used for the decibel value for testing the audio signal of current environment;Determining unit 60 is used to be determined according to the decibel value
It is adapted to the volume range value of current environment and auditory perceptual degree to be used as target volume value range.
The decibel value of the test cell 50, audio signal for testing current environment.Specifically, current environment is tested
First test cell of the decibel value of audio signal can carry out test acquisition by sensors such as the sound transducers in terminal,
Decibel values different under the varying environment residing for acquisition terminal can be tested.
The determining unit 60, the volume range for determining suitable current environment and auditory perceptual degree according to the decibel value
Value is so that as target volume value range, the target volume value range includes the target volume value range and output sound of input audio
The target volume value range of frequency.Specifically, the target volume value range for being adapted to the input audio of current environment can be according to human ear
Perception of sound degree draw the target volume value range of most suitable input audio to test because user is handed over other people
During mutual communication, the target volume value range of user's input audio is maintained in relatively stable scope and is adapted to the sound sense of human ear
Degree of knowing, can give the more preferable interactive experience of other side that user is being communicated.Therefore, if user interacted with other people it is logical
During letter, determined to input the target volume value range of audio, the target sound of stable input in advance according to the perception of sound degree of human ear
Measuring value range can be to the more preferable interactive experience of communication counterpart, and then ensure that the experience of communicating pair.Alternatively, the input sound
The target volume value range of frequency can carry out self-defined set according to individual subscriber demand.It is adapted to the output audio of current environment
Different decibel values is adjusted under the varying environment that target volume value range can be obtained according to test, i.e., in office, live
Decibel value under the environment such as institute, library can be relatively low, and the decibel value under the environment such as playground, park, market can be relatively
Height, user can determine to be adapted to the target volume model of the output audio of current environment according to the different decibel values under varying environment
Enclose value.For example when user is located at relatively quiet environment, the audio object value range of output audio will be adapted to current environment, then
Output audio object value range will be accordingly adjusted in the relatively low scope of decibel value, with ensure user can hear audio while not
Bother the other users of surrounding environment;When user is located at more noisy environment, the audio object value range of output audio will
It is adapted to current environment, then exporting audio object value range will accordingly be adjusted in the higher scope of decibel value, to ensure that user exists
The audio of output can be heard under noisy environment.Alternatively, the target volume value range of the output audio can be according to user
People's demand carries out self-defined set.
It is to be appreciated that ensure that in the above-described embodiments in the case where surrounding environment is continually changing residing for user, can
To be determined to be adapted to the target volume value range of current environment and auditory perceptual degree, and root according to the decibel value of different surrounding environment
The regulation input or exports audio signal are monitored automatically according to the target volume value range, it is to avoid user exports or input audio sound
The excessive too small puzzlement caused to itself or other people and trouble, contribute to the communication exchange of communicating pair, so as to effectively increase
The interactive experience of communicating pair.In addition, in some feasible embodiments, user can be pre-designed for example with opens voluntarily terminal
The target sound of determination will be tested in the application programs such as acoustic control under the frequent residing place such as residence, office of user and the environment
Measure value range and correspond preservation, the target volume value range that user commonly uses can be saved as.
Fig. 8 is refer to, it is the schematic flow diagram for the judging unit 30 that first embodiment of the invention is provided.In the present embodiment
In, judging unit 30 is used to judge whether the currency of the audio signal to exceed the target volume value range.Specifically, judge
Unit 30 includes the first judging unit 32, the first identifying unit 34, the second judging unit 36 and the second identifying unit 38.
First judging unit 32, for judge the audio signal currency whether be more than the target volume scope
The maximum of value.
If the currency of first identifying unit 34, the audio signal is more than the maximum of the target volume value range
Value, then for judging that the currency exceeds the target volume value range.
Second judging unit 36, for judge the audio signal currency whether be less than the target volume scope
The minimum value of value.
If the currency of second identifying unit 38, the audio signal is less than the minimum of the target volume value range
Value, then for judging that the currency exceeds the target volume value range.
Fig. 9 is refer to, it is the schematic flow diagram for the adjustment unit 40 that first embodiment of the invention is provided.In the present embodiment
In, adjustment unit 40 is used for when the currency of the audio signal exceeds the target volume value range, according to preset algorithm
The audio signal is adjusted in real time, so that the audio signal currency is revert in the target volume value range.Specifically,
Adjustment unit 40 includes the first adjustment unit 42 and the second adjustment unit 44.
First adjustment unit 42, for when the audio signal currency beyond the target volume value range and more than should
During the maximum of target volume value range, the currency for reducing the audio signal is automatically adjusted according to the preset algorithm, so that should
The currency of audio signal is reduced to the maximum of the target volume value range.
Second adjustment unit 44, for when the audio signal currency beyond the target volume value range and less than should
During the minimum value of target volume value range, the currency for increasing the audio signal is automatically adjusted according to the preset algorithm, so that should
The currency of audio signal is increased to the minimum value of the target volume value range.
In above-described embodiment, whether the currency that user can compare the audio signal of input or output in real time exceeds the mesh
Mark with phonetic symbols amount value range, and the regulation to being decreased or increased in real time beyond the audio signal currency of the target volume value range
Processing, so that the audio signal of the input or output is maintained in the target volume value range, it is ensured that the sound of input or output
The quality of frequency signal, to obtain the section audio stream that auditory perceptual degree is best, improves the interactive experience of user.
Figure 10 is refer to, it is the schematic block diagram of terminal 100 provided in an embodiment of the present invention.Described in the present embodiment
Terminal 99, including:At least one input equipment 100, at least one output equipment 200 and at least one processor (CPU)
300th, memory 400 and sound transducer 500.Input equipment 100, output equipment 200, processor 300, memory 400 with
And sound transducer 500 is connected by bus 600.
Input equipment 100 concretely contact panel (touch-screen), physical button, fingerprint recognition module and mouse.
The concretely display screen of output equipment 200.
Memory 400 can be high-speed RAM memory, or non-labile memory (non-volatile
Memory), such as magnetic disk storage.Above-mentioned memory 400 is used to store batch processing code, above-mentioned input equipment 100, output
Equipment 200 and processor 300 are used to call the program code stored in memory 400, perform following operation:
Processor 300, is used for:
Detect in default application program whether there is audio signal, the audio signal includes input audio signal and the output
Audio signal.Specifically, the application program such as acoustic control that user can be pre-designed by terminal come pre-set need by
The application program of monitoring, can voluntarily add or delete what is needed monitored audio signal input or export according to demands of individuals
Application program, the minimum value and maximum of the target volume value range can also be set manually according to self-demand.Concrete condition
Fig. 3 is referred to, Fig. 3 is the acoustic control interface schematic diagram that terminal provided in an embodiment of the present invention is pre-designed.For example, can add micro-
The interactive applications such as letter, QQ can also add dial receive calls etc. system program to terminal be pre-designed such as acoustic control
In application program, i.e., whether the application program such as the acoustic control monitor and detection default application program will have the input of audio in real time
Or output.The application journey that can be voluntarily selected to need to be monitored in real-time according to self-demand by the acoustic control application user
Sequence, concrete condition refers to Fig. 4, and Fig. 4 is that journey is applied in the acoustic control interface addition that terminal provided in an embodiment of the present invention is pre-designed
The schematic diagram of sequence;
If having detected the audio signal, the currency of the audio signal is obtained;
Judge whether the currency of the audio signal exceeds the target volume value range;
If beyond the target volume value range, the audio signal is adjusted in real time according to preset algorithm, so that the sound
Frequency signal currency is revert in the target volume value range.Specifically, if exceeding the target volume value range, in real time certainly
It is dynamic to weaken or strengthen input or exports audio signal, so that the currency of the audio signal revert to best target volume scope
In value.
In the above-described embodiments, input or the exports audio signal in application program are preset by real-time monitor and detection, is sentenced
Whether the currency of disconnected input or exports audio signal exceeds the target volume value range, if beyond the target volume value range,
It is then automatic in real time to weaken or strengthen input or exports audio signal, so that the currency of the audio signal revert to best target
In volume range value, and the above-mentioned flow of circulating repetition, it is ensured that input or exports audio signal are all in the target volume value range
It is interior, with the section audio stream inputted or exports audio signal is best, meet the interaction demand of user.
Further, processor 300 is used for:
Detect in default application program whether there is audio signal, the audio signal includes input audio signal and the output
Audio signal.Specifically, the application program such as acoustic control that user can be pre-designed by terminal come pre-set need by
The application program of monitoring, can voluntarily add or delete what is needed monitored audio signal input or export according to demands of individuals
Application program, the minimum value and maximum of the target volume value range can also be set manually according to self-demand.Concrete condition
Fig. 3 is referred to, Fig. 3 is the acoustic control interface schematic diagram that terminal provided in an embodiment of the present invention is pre-designed.For example, can add micro-
The interactive applications such as letter, QQ can also add dial receive calls etc. system program to terminal be pre-designed such as acoustic control
In application program, i.e., whether the application program such as the acoustic control monitor and detection default application program will have the input of audio in real time
Or output.The application journey that can be voluntarily selected to need to be monitored in real-time according to self-demand by the acoustic control application user
Sequence, concrete condition refers to Fig. 4, and Fig. 4 is that journey is applied in the acoustic control interface addition that terminal provided in an embodiment of the present invention is pre-designed
The schematic diagram of sequence;
If having detected the audio signal, the currency of the audio signal is obtained;
Judge whether the currency of the audio signal exceeds the target volume value range, wherein, the target sound should be exceeded
Value range is measured including the maximum beyond the target volume value range and more than the target volume value range and beyond the target
Volume range value and the minimum value for being less than the target volume value range.Specifically, the currency of the judgement audio signal is
It is no to include beyond the target volume value range:Judge whether the currency is more than the maximum of the target volume value range;
If beyond the target volume value range, the audio signal is adjusted in real time according to preset algorithm, so that the sound
Frequency signal currency is revert in the target volume value range.Specifically, this adjusts the audio according to preset algorithm in real time
Signal, includes so that the audio signal currency is revert in the target volume value range:It is current when the audio signal
When value exceeds the target volume value range and the maximum more than the target volume value range, automatically adjusted according to the preset algorithm
Reduce the currency of the audio signal, so that the currency of the audio signal is reduced to the maximum of the target volume value range;
Whether the currency for judging the audio signal includes beyond the target volume value range:Judge the currency
Whether the minimum value of the target volume value range is less than;
This adjusts the audio signal according to preset algorithm in real time, so that the audio signal currency revert to the mesh
Include in mark with phonetic symbols amount value range:When the currency of the audio signal is beyond the target volume value range and less than the target volume model
When enclosing the minimum value of value, the currency for increasing the audio signal is automatically adjusted according to the preset algorithm, so that the audio signal
Currency is increased to the minimum value of the target volume value range.
In the above-described embodiments, input or the exports audio signal in application program are preset by real-time monitor and detection, is sentenced
Whether the currency of disconnected input or exports audio signal exceeds the target volume value range, if beyond the target volume value range,
It is then automatic in real time to weaken or strengthen input or exports audio signal, so that the currency of the audio signal revert to best target
In volume range value, and the above-mentioned flow of circulating repetition, it is ensured that input or exports audio signal are all in the target volume value range
It is interior, with the section audio stream inputted or exports audio signal is best, meet the interaction demand of user.In addition, the target sound
Self-defined set can be carried out according to individual subscriber demand by measuring the maximum and minimum value of value range.
Further, processor 300 can test the target volume scope for obtaining and being adapted to current environment and auditory perceptual degree
Value.Specifically, processor 300 is used for:
Test the decibel value of the audio signal of current environment.Specifically, test obtains point of the audio signal of current environment
Shellfish value can carry out test acquisition according to sensors such as the sound transducers in terminal, can test the difference obtained residing for terminal
Decibel value under environment;
Determine that the volume range value for being adapted to current environment and auditory perceptual degree is used as target volume scope according to the decibel value
Value, the target volume value range includes the target volume value range of input audio and the target volume value range of output audio.
Be adapted to current environment input audio target volume value range can be tested according to the perception of sound degree of human ear draw it is most suitable
The target volume value range of the input audio of conjunction, because user with other people when interacting communication, user inputs the mesh of audio
Mark with phonetic symbols amount value range is maintained in relatively stable scope and is adapted to the perception of sound degree of human ear, can give user and be led to
The more preferable interactive experience of other side of letter.Therefore, if user with other people when interacting communication, in advance according to the sound sense of human ear
Degree of knowing is to determine the target volume value range of input audio, and stablizing the target volume value range inputted can be more preferable to communication counterpart
Interactive experience, and then ensure that the experience of communicating pair.Alternatively, the target volume value range of the input audio can basis
Individual subscriber demand carries out self-defined set.The target volume value range for being adapted to the output audio of current environment can be according to test
Different decibel values is adjusted under the varying environment of acquisition, i.e., the decibel value meeting under the environment such as office, residence, library
It is relatively low, and the decibel value under the environment such as playground, park, market can be of a relatively high, user can be according under varying environment
Different decibel values determines to be adapted to the target volume value range of the output audio of current environment.For example when user is located at more peace and quiet
Environment when, output audio audio object value range to be adapted to current environment, then export audio object value range accordingly to adjust
In the whole scope relatively low to decibel value, to leave the other users of surrounding environment while ensureing that user can hear audio alone;When
When user is located at more noisy environment, the audio object value range of output audio will be adapted to current environment, then export audio mesh
Mark value range will be accordingly adjusted in the higher scope of decibel value, to ensure that user can hear the sound of output in a noisy environment
Frequently.Alternatively, the target volume value range of the output audio can carry out self-defined set according to individual subscriber demand;
It is to be appreciated that ensure that in the above-described embodiments in the case where surrounding environment is continually changing residing for user, can
To be determined to be adapted to the target volume value range of current environment and auditory perceptual degree, and root according to the decibel value of different surrounding environment
The regulation input or exports audio signal are monitored automatically according to the target volume value range, it is to avoid user exports or input audio sound
The excessive too small puzzlement caused to itself or other people and trouble, contribute to the communication exchange of communicating pair, so as to effectively increase
The interactive experience of communicating pair.In addition, in some feasible embodiments, user can be pre-designed for example with opens voluntarily terminal
The target sound of determination will be tested in the application programs such as acoustic control under the frequent residing place such as residence, office of user and the environment
Measure value range and correspond preservation, the target volume value range that user commonly uses can be saved as.
A kind of computer-readable recording medium, the computer-readable storage medium are provided in another embodiment of the invention
Matter is stored with computer program, and the computer program is realized when being executed by processor:
Detect in default application program whether there is audio signal, the audio signal includes input audio signal and the output
Audio signal.Specifically, the application program such as acoustic control that user can be pre-designed by terminal come pre-set need by
The application program of monitoring, can voluntarily add or delete what is needed monitored audio signal input or export according to demands of individuals
Application program, the minimum value and maximum of the target volume value range can also be set manually according to self-demand.Concrete condition
Fig. 3 is referred to, Fig. 3 is the acoustic control interface schematic diagram that terminal provided in an embodiment of the present invention is pre-designed.For example, can add micro-
The interactive applications such as letter, QQ can also add dial receive calls etc. system program to terminal be pre-designed such as acoustic control
In application program, i.e., whether the application program such as the acoustic control monitor and detection default application program will have the input of audio in real time
Or output.The application journey that can be voluntarily selected to need to be monitored in real-time according to self-demand by the acoustic control application user
Sequence, concrete condition refers to Fig. 4, and Fig. 4 is that journey is applied in the acoustic control interface addition that terminal provided in an embodiment of the present invention is pre-designed
The schematic diagram of sequence;
If having detected the audio signal, the currency of the audio signal is obtained;
Judge whether the currency of the audio signal exceeds the target volume value range;
If beyond the target volume value range, the audio signal is adjusted in real time according to preset algorithm, so that the sound
Frequency signal currency is revert in the target volume value range.Specifically, if exceeding the target volume value range, in real time certainly
It is dynamic to weaken or strengthen input or exports audio signal, so that the currency of the audio signal revert to best target volume scope
In value.
In the above-described embodiments, input or the exports audio signal in application program are preset by real-time monitor and detection, is sentenced
Whether the currency of disconnected input or exports audio signal exceeds the target volume value range, if beyond the target volume value range,
It is then automatic in real time to weaken or strengthen input or exports audio signal, so that the currency of the audio signal revert to best target
In volume range value, and the above-mentioned flow of circulating repetition, it is ensured that input or exports audio signal are all in the target volume value range
It is interior, with the section audio stream inputted or exports audio signal is best, meet the interaction demand of user.
Further realize:
Detect in default application program whether there is audio signal, the audio signal includes input audio signal and the output
Audio signal.Specifically, the application program such as acoustic control that user can be pre-designed by terminal come pre-set need by
The application program of monitoring, can voluntarily add or delete what is needed monitored audio signal input or export according to demands of individuals
Application program, the minimum value and maximum of the target volume value range can also be set manually according to self-demand.Concrete condition
Fig. 3 is referred to, Fig. 3 is the acoustic control interface schematic diagram that terminal provided in an embodiment of the present invention is pre-designed.For example, can add micro-
The interactive applications such as letter, QQ can also add dial receive calls etc. system program to terminal be pre-designed such as acoustic control
In application program, i.e., whether the application program such as the acoustic control monitor and detection default application program will have the input of audio in real time
Or output.The application journey that can be voluntarily selected to need to be monitored in real-time according to self-demand by the acoustic control application user
Sequence, concrete condition refers to Fig. 4, and Fig. 4 is that journey is applied in the acoustic control interface addition that terminal provided in an embodiment of the present invention is pre-designed
The schematic diagram of sequence;
If having detected the audio signal, the currency of the audio signal is obtained;
Judge whether the currency of the audio signal exceeds the target volume value range, wherein, the target sound should be exceeded
Value range is measured including the maximum beyond the target volume value range and more than the target volume value range and beyond the target
Volume range value and the minimum value for being less than the target volume value range.Specifically, the currency of the judgement audio signal is
It is no to include beyond the target volume value range:Judge whether the currency is more than the maximum of the target volume value range;
If beyond the target volume value range, the audio signal is adjusted in real time according to preset algorithm, so that the sound
Frequency signal currency is revert in the target volume value range.Specifically, this adjusts the audio according to preset algorithm in real time
Signal, includes so that the audio signal currency is revert in the target volume value range:It is current when the audio signal
When value exceeds the target volume value range and the maximum more than the target volume value range, automatically adjusted according to the preset algorithm
Reduce the currency of the audio signal, so that the currency of the audio signal is reduced to the maximum of the target volume value range;
Whether the currency for judging the audio signal includes beyond the target volume value range:Judge the currency
Whether the minimum value of the target volume value range is less than;
This adjusts the audio signal according to preset algorithm in real time, so that the audio signal currency revert to the mesh
Include in mark with phonetic symbols amount value range:When the currency of the audio signal is beyond the target volume value range and less than the target volume model
When enclosing the minimum value of value, the currency for increasing the audio signal is automatically adjusted according to the preset algorithm, so that the audio signal
Currency is increased to the minimum value of the target volume value range.
In the above-described embodiments, input or the exports audio signal in application program are preset by real-time monitor and detection, is sentenced
Whether the currency of disconnected input or exports audio signal exceeds the target volume value range, if beyond the target volume value range,
It is then automatic in real time to weaken or strengthen input or exports audio signal, so that the currency of the audio signal revert to best target
In volume range value, and the above-mentioned flow of circulating repetition, it is ensured that input or exports audio signal are all in the target volume value range
It is interior, with the section audio stream inputted or exports audio signal is best, meet the interaction demand of user.In addition, the target sound
Self-defined set can be carried out according to individual subscriber demand by measuring the maximum and minimum value of value range.
It can further realize:Test obtains the target volume value range for being adapted to current environment and auditory perceptual degree, specifically
Including:
Test the decibel value of the audio signal of current environment.Specifically, test obtains point of the audio signal of current environment
Shellfish value can carry out test acquisition according to sensors such as the sound transducers in terminal, can test the difference obtained residing for terminal
Decibel value under environment;
Determine that the volume range value for being adapted to current environment and auditory perceptual degree is used as target volume scope according to the decibel value
Value, the target volume value range includes the target volume value range of input audio and the target volume value range of output audio.
Be adapted to current environment input audio target volume value range can be tested according to the perception of sound degree of human ear draw it is most suitable
The target volume value range of the input audio of conjunction, because user with other people when interacting communication, user inputs the mesh of audio
Mark with phonetic symbols amount value range is maintained in relatively stable scope and is adapted to the perception of sound degree of human ear, can give user and be led to
The more preferable interactive experience of other side of letter.Therefore, if user with other people when interacting communication, in advance according to the sound sense of human ear
Degree of knowing is to determine the target volume value range of input audio, and stablizing the target volume value range inputted can be more preferable to communication counterpart
Interactive experience, and then ensure that the experience of communicating pair.Alternatively, the target volume value range of the input audio can basis
Individual subscriber demand carries out self-defined set.The target volume value range for being adapted to the output audio of current environment can be according to test
Different decibel values is adjusted under the varying environment of acquisition, i.e., the decibel value meeting under the environment such as office, residence, library
It is relatively low, and the decibel value under the environment such as playground, park, market can be of a relatively high, user can be according under varying environment
Different decibel values determines to be adapted to the target volume value range of the output audio of current environment.For example when user is located at more peace and quiet
Environment when, output audio audio object value range to be adapted to current environment, then export audio object value range accordingly to adjust
In the whole scope relatively low to decibel value, to leave the other users of surrounding environment while ensureing that user can hear audio alone;When
When user is located at more noisy environment, the audio object value range of output audio will be adapted to current environment, then export audio mesh
Mark value range will be accordingly adjusted in the higher scope of decibel value, to ensure that user can hear the sound of output in a noisy environment
Frequently.Alternatively, the target volume value range of the output audio can carry out self-defined set according to individual subscriber demand;
It is to be appreciated that ensure that in the above-described embodiments in the case where surrounding environment is continually changing residing for user, can
To be determined to be adapted to the target volume value range of current environment and auditory perceptual degree, and root according to the decibel value of different surrounding environment
The regulation input or exports audio signal are monitored automatically according to the target volume value range, it is to avoid user exports or input audio sound
The excessive too small puzzlement caused to itself or other people and trouble, contribute to the communication exchange of communicating pair, so as to effectively increase
The interactive experience of communicating pair.In addition, in some feasible embodiments, user can be pre-designed for example with opens voluntarily terminal
The target sound of determination will be tested in the application programs such as acoustic control under the frequent residing place such as residence, office of user and the environment
Measure value range and correspond preservation, the target volume value range that user commonly uses can be saved as.
The computer-readable recording medium can be the internal storage unit of the terminal described in foregoing any embodiment, example
Such as the hard disk or internal memory of terminal.The computer-readable recording medium can also be the External memory equipment of the terminal, for example
The plug-in type hard disk being equipped with the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, the computer-readable recording medium can also be wrapped both
Including the internal storage unit of the terminal also includes External memory equipment.The computer-readable recording medium is used to store described
Other programs and data needed for computer program and the terminal.The computer-readable recording medium can be also used for temporarily
When store the data that has exported or will export.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This
A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially
Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience of description and succinctly, the end of foregoing description
End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
, can be by it in several embodiments provided herein, it should be understood that disclosed terminal and method
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, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase
Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit
Connection or electricity, mechanical or other forms are connected.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially
The part contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product
Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain be defined.
Claims (10)
1. a kind of audio control method, applied to terminal, it is characterised in that including:
Detect whether there is audio signal in default application program, the audio signal includes input audio signal and output audio
Signal;
If having detected the audio signal, the currency of the audio signal is obtained;
Judge whether the currency of the audio signal exceeds target volume value range;
If beyond the target volume value range, adjusting the audio signal in real time according to preset algorithm, so that the audio is believed
Number currency is revert in the target volume value range.
2. method according to claim 1, it is characterised in that whether have in the default application program of detection audio signal it
Before, in addition to:
Test the decibel value of the audio signal of current environment;
Determine that the volume range value for being adapted to current environment and auditory perceptual degree is used as target volume value range according to the decibel value.
3. according to the method described in claim 1, it is characterised in that whether the currency for judging the audio signal exceeds
Target volume value range, including:
Judge whether the currency of the audio signal is more than the maximum of the target volume value range,
If the currency of the audio signal is more than the maximum of the target volume value range, judge that the currency exceeds
The target volume value range;
It is described to adjust the audio signal in real time according to preset algorithm, so that the audio signal currency revert to the target
In volume range value, including:
The currency for reducing the audio signal is automatically adjusted according to the preset algorithm, so that it is reduced to the target volume
The maximum of value range.
4. according to the method described in claim 1, it is characterised in that whether the currency for judging the audio signal exceeds
Target volume value range, in addition to:
Judge whether the currency of the audio signal is less than the minimum value of the target volume value range,
If the currency of the audio signal is less than the minimum value of the target volume value range, judge that the currency exceeds
The target volume value range;
It is described to adjust the audio signal in real time according to preset algorithm, so that the audio signal currency revert to the target
In volume range value, in addition to:
The currency for increasing the audio signal is automatically adjusted according to the preset algorithm, so that it is increased to the target volume
The minimum value of value range.
5. a kind of terminal, it is characterised in that including:
Detection unit, for detecting whether there is audio signal in default application program, the audio signal includes input audio
Signal and exports audio signal;
Acquiring unit, if for having detected the audio signal, obtaining the currency of the audio signal;
Judging unit, for judging whether the currency of the audio signal exceeds target volume value range;
Adjustment unit, if for beyond the target volume value range, adjusting the audio signal in real time according to preset algorithm, with
The audio signal currency is set to revert in the target volume value range.
6. terminal according to claim 5, it is characterised in that the terminal also includes:
Test cell, the decibel value of the audio signal for testing current environment;
Determining unit, for determined to be adapted to according to the decibel value volume range value of current environment and auditory perceptual degree using as
Target volume value range.
7. terminal according to claim 5, it is characterised in that the judging unit includes:
First judging unit, for judging whether the currency of the audio signal is more than the maximum of the target volume value range
Value,
First identifying unit, if the currency of the audio signal is more than the maximum of the target volume value range, is used for
Judge that the currency exceeds the target volume value range;
The adjustment unit includes:
First adjustment unit, reduces the currency of the audio signal for being automatically adjusted according to the preset algorithm, so that its
It is reduced to the maximum of the target volume value range.
8. terminal according to claim 5, it is characterised in that the judging unit includes:
Second judging unit, for judging whether the currency of the audio signal is less than the minimum of the target volume value range
Value,
Second identifying unit, if the currency for the audio signal is less than the minimum value of the target volume value range, sentences
The fixed currency exceeds the target volume value range;
The adjustment unit includes:
Second adjustment unit, increases the currency of the audio signal for being automatically adjusted according to the preset algorithm, so that its
It is increased to the minimum value of the target volume value range.
It is the processor, defeated 9. a kind of terminal, it is characterised in that including processor, input equipment, output equipment and memory
Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store application code, the processing
Device is arranged to call described program code, performs the method as described in claim any one of 1-4.
10. a kind of computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program,
The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor
It is required that the method described in any one of 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710358756.7A CN107193527A (en) | 2017-05-19 | 2017-05-19 | A kind of audio control method, terminal and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710358756.7A CN107193527A (en) | 2017-05-19 | 2017-05-19 | A kind of audio control method, terminal and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107193527A true CN107193527A (en) | 2017-09-22 |
Family
ID=59874245
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710358756.7A Withdrawn CN107193527A (en) | 2017-05-19 | 2017-05-19 | A kind of audio control method, terminal and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107193527A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107613134A (en) * | 2017-09-29 | 2018-01-19 | 惠州Tcl移动通信有限公司 | A kind of control method of In Call, mobile terminal and storage medium |
CN107864004A (en) * | 2017-09-27 | 2018-03-30 | 北京海格云熙技术有限公司 | The control method and its device of signal emission state |
CN109284080A (en) * | 2018-09-04 | 2019-01-29 | Oppo广东移动通信有限公司 | Audio method of adjustment, device, electronic equipment and storage medium |
CN110058837A (en) * | 2019-04-22 | 2019-07-26 | 维沃移动通信有限公司 | A kind of audio-frequency inputting method and terminal |
CN111277784A (en) * | 2018-12-05 | 2020-06-12 | 中兴通讯股份有限公司 | Volume automatic control method, device, terminal and readable storage medium |
CN113206968A (en) * | 2021-03-26 | 2021-08-03 | 深圳震有科技股份有限公司 | Sound processing method, device, equipment and medium based on audio and video call |
CN113730914A (en) * | 2021-09-07 | 2021-12-03 | 杭州雾联科技有限公司 | Audio adjusting method and device and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102710838A (en) * | 2012-04-25 | 2012-10-03 | 华为技术有限公司 | Volume regulation method and device as well as electronic equipment |
CN104978166A (en) * | 2015-06-30 | 2015-10-14 | 北京奇艺世纪科技有限公司 | Volume adjusting method and device |
CN105262452A (en) * | 2015-10-29 | 2016-01-20 | 小米科技有限责任公司 | Method and apparatus for adjusting volume, and terminal |
CN106161781A (en) * | 2016-06-22 | 2016-11-23 | 北京小米移动软件有限公司 | Method for regulation of sound volume and device |
CN106648527A (en) * | 2016-11-08 | 2017-05-10 | 乐视控股(北京)有限公司 | Volume control method, device and playing equipment |
-
2017
- 2017-05-19 CN CN201710358756.7A patent/CN107193527A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102710838A (en) * | 2012-04-25 | 2012-10-03 | 华为技术有限公司 | Volume regulation method and device as well as electronic equipment |
CN104978166A (en) * | 2015-06-30 | 2015-10-14 | 北京奇艺世纪科技有限公司 | Volume adjusting method and device |
CN105262452A (en) * | 2015-10-29 | 2016-01-20 | 小米科技有限责任公司 | Method and apparatus for adjusting volume, and terminal |
CN106161781A (en) * | 2016-06-22 | 2016-11-23 | 北京小米移动软件有限公司 | Method for regulation of sound volume and device |
CN106648527A (en) * | 2016-11-08 | 2017-05-10 | 乐视控股(北京)有限公司 | Volume control method, device and playing equipment |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107864004A (en) * | 2017-09-27 | 2018-03-30 | 北京海格云熙技术有限公司 | The control method and its device of signal emission state |
CN107613134A (en) * | 2017-09-29 | 2018-01-19 | 惠州Tcl移动通信有限公司 | A kind of control method of In Call, mobile terminal and storage medium |
CN107613134B (en) * | 2017-09-29 | 2021-04-20 | 惠州Tcl移动通信有限公司 | Control method of call volume, mobile terminal and storage medium |
CN109284080A (en) * | 2018-09-04 | 2019-01-29 | Oppo广东移动通信有限公司 | Audio method of adjustment, device, electronic equipment and storage medium |
WO2020048216A1 (en) * | 2018-09-04 | 2020-03-12 | Oppo广东移动通信有限公司 | Audio effect adjustment method and apparatus, electronic device, and storage medium |
CN111277784A (en) * | 2018-12-05 | 2020-06-12 | 中兴通讯股份有限公司 | Volume automatic control method, device, terminal and readable storage medium |
CN110058837A (en) * | 2019-04-22 | 2019-07-26 | 维沃移动通信有限公司 | A kind of audio-frequency inputting method and terminal |
CN110058837B (en) * | 2019-04-22 | 2022-05-03 | 维沃移动通信有限公司 | Audio output method and terminal |
CN113206968A (en) * | 2021-03-26 | 2021-08-03 | 深圳震有科技股份有限公司 | Sound processing method, device, equipment and medium based on audio and video call |
CN113730914A (en) * | 2021-09-07 | 2021-12-03 | 杭州雾联科技有限公司 | Audio adjusting method and device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107193527A (en) | A kind of audio control method, terminal and computer-readable recording medium | |
US11234077B2 (en) | User interfaces for managing audio exposure | |
US20200382867A1 (en) | User interfaces for managing audio exposure | |
CN107610698A (en) | A kind of method for realizing Voice command, robot and computer-readable recording medium | |
CN106406867B (en) | Screen reading method and device based on android system | |
CN107622483A (en) | A kind of image combining method and terminal | |
CN107885479A (en) | A kind of method for regulation of sound volume, terminal device and computer-readable medium | |
CN106502490A (en) | A kind of incoming call reminding method and terminal | |
JP7073592B1 (en) | User interface for managing audio exposure | |
WO2021184837A1 (en) | Fraudulent call identification method and device, storage medium, and terminal | |
CN110364156A (en) | Voice interactive method, system, terminal and readable storage medium storing program for executing | |
CN108810280A (en) | Processing method, device, storage medium and the electronic equipment of voice collecting frequency | |
CN107169920A (en) | A kind of intelligence repaiies drawing method and terminal | |
CN110246502A (en) | Voice de-noising method, device and terminal device | |
CN107465818A (en) | The method and terminal of a kind of virtual incoming call | |
CN107508979A (en) | volume adjusting method, device, terminal and storage medium | |
CN107343095B (en) | Call volume control method and device, storage medium and terminal | |
CN107515666A (en) | A kind of data managing method and terminal | |
CN110796147B (en) | Image segmentation method and related product | |
CN108021301A (en) | A kind of volume adjusting method, terminal device and computer-readable recording medium | |
CN107301009A (en) | A kind of method, terminal and the computer-readable recording medium of removal Toast message boxs | |
CN107291814A (en) | A kind of information processing method and terminal device | |
CN111326159A (en) | Voice recognition method, device and system | |
CN107911549A (en) | Terminal operation method and device, computer installation and computer-readable recording medium | |
CN106792182A (en) | Video playback method, mobile terminal and audio output apparatus |
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: 20170922 |
|
WW01 | Invention patent application withdrawn after publication |