CN107682529B - A kind of acoustic signal processing method and mobile terminal - Google Patents
A kind of acoustic signal processing method and mobile terminal Download PDFInfo
- Publication number
- CN107682529B CN107682529B CN201710801652.9A CN201710801652A CN107682529B CN 107682529 B CN107682529 B CN 107682529B CN 201710801652 A CN201710801652 A CN 201710801652A CN 107682529 B CN107682529 B CN 107682529B
- Authority
- CN
- China
- Prior art keywords
- audio signal
- signal
- mobile terminal
- target
- microphone
- 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.)
- Active
Links
Classifications
-
- 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
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides a kind of acoustic signal processing method and mobile terminal, it is related to field of communication technology, applied to the mobile terminal for having diamylose decrease of noise functions, the mobile terminal includes the first microphone and second microphone, this method comprises: judging whether the noise signal of the first microphone acquisition and the intensity of the noise signal of second microphone acquisition are below target value, and judge whether mobile terminal is in hands-free state;If the intensity of the noise signal of the noise signal and second microphone acquisition of the first microphone acquisition is below target value, and mobile terminal is in hands-free state, then closes diamylose decrease of noise functions;According to the second audio signal of the first audio signal of the first microphone acquisition and second microphone acquisition, target audio signal is obtained.The embodiment of the present invention can obtain the biggish target audio signal of volume.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of acoustic signal processing methods and mobile terminal.
Background technique
With the continuous development of the communication technology, more and more new technologies start to be applied on mobile terminal, such as: diamylose
Noise reduction technology on mobile terminals using more and more common.Diamylose noise reduction technology can reduce the defeated of noise present in environment
Enter, so as to improve the clarity for the audio signal that mobile terminal inputs.But has the mobile terminal of diamylose decrease of noise functions
Under hands-free state, the volume of the audio signal inputted in mobile terminal is usually smaller, it is seen then that currently has diamylose noise reduction function
The volume that the mobile terminal of energy is in the audio signal inputted under hands-free state is smaller.
Summary of the invention
The embodiment of the present invention provides a kind of acoustic signal processing method and mobile terminal, to solve currently to have diamylose noise reduction
The mobile terminal of function is in the lesser problem of volume of the audio signal inputted under hands-free state.
In a first aspect, the embodiment of the invention provides a kind of acoustic signal processing method, applied to having diamylose noise reduction function
The mobile terminal of energy, the mobile terminal include the first microphone and second microphone, comprising:
Judge the intensity of the noise signal of the first microphone acquisition and the noise signal of second microphone acquisition
Whether target value is below, and, judge whether the mobile terminal is in hands-free state;
If the intensity of the noise signal of the noise signal and second microphone acquisition of the first microphone acquisition is equal
Lower than target value, and the mobile terminal is in hands-free state, then closes diamylose decrease of noise functions;
According to the second audio letter of the first audio signal of first microphone acquisition and second microphone acquisition
Number, obtain target audio signal, wherein the target audio signal is to believe first audio signal and second audio
Number obtained audio signal of superposition or the target audio signal are first audio signal and second audio signal
The biggish audio signal of amplitude.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, the mobile terminal include the first microphone and
Second microphone, comprising:
Judgment module, for judging the noise signal of the first microphone acquisition and making an uproar for second microphone acquisition
Whether the intensity of sound signal is below target value, and, judge whether the mobile terminal is in hands-free state;
Closedown module, if for the noise signal of first microphone acquisition and the noise of second microphone acquisition
The intensity of signal is below target value, and the mobile terminal is in hands-free state, then closes diamylose decrease of noise functions;
Module is obtained, the first audio signal and second microphone acquisition for acquiring according to first microphone
The second audio signal, obtain target audio signal, wherein the target audio signal is by first audio signal and institute
It states audio signal that the second audio signal is superimposed or the target audio signal is first audio signal and described
The biggish audio signal of second audio signal amplitude.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal, comprising: memory, processor and are stored in
On reservoir and the computer program that can run on a processor, realize when the computer program is executed by the processor such as this
The step in acoustic signal processing method that inventive embodiments provide.
In this way, judging the noise signal of the first microphone acquisition and making an uproar for second microphone acquisition in the embodiment of the present invention
Whether sound signal is lower than target value, and judges whether mobile terminal is in hands-free state;If the noise letter of the first microphone acquisition
Number and the intensity of noise signal of second microphone acquisition be below target value, and mobile terminal is in hands-free state, then closes
Diamylose decrease of noise functions;Second audio signal of the first audio signal and the second microphone acquisition acquired according to the first microphone,
Obtain target audio signal.When mobile terminal meets above-mentioned two condition by judgement in this way, diamylose decrease of noise functions is closed, thus
Improve the volume of the target audio signal obtained.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of acoustic signal processing method flow chart provided in an embodiment of the present invention;
Fig. 2 is another acoustic signal processing method flow chart provided in an embodiment of the present invention;
Fig. 3 is a kind of structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 4 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 5 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 6 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 7 is the structure chart of another mobile terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Referring to Figure 1, Fig. 1 is a kind of acoustic signal processing method flow chart provided in an embodiment of the present invention, and this method can
To be applied to have the mobile terminal of diamylose decrease of noise functions, above-mentioned mobile terminal includes the first microphone and second microphone, such as
Shown in Fig. 1, comprising the following steps:
The noise letter of step 101, the noise signal for judging the first microphone acquisition and second microphone acquisition
Number intensity whether be below target value, and, judge whether the mobile terminal is in hands-free state;
Wherein, what the first microphone and second microphone acquired can be audio signal, and above-mentioned audio signal may include
Noise signal, one's voice in speech or other kinds of audio signal.It should be noted that mobile terminal can use filter
It separates noise signal and other kinds of audio signal, and making an uproar after separation can be detected by intensity of sound detector
The intensity value of sound signal.
Wherein, the value range of target value can be 50-60 decibels, and specific numerical value is it is not limited here.Target value
Specific value can be arranged on mobile terminals.
If the noise signal of step 102, first microphone acquisition and the noise signal of second microphone acquisition
Intensity be below target value, and the mobile terminal is in hands-free state, then closes diamylose decrease of noise functions;
Wherein, the existing mobile terminal for having diamylose decrease of noise functions can be default and open diamylose noise reduction function when enabling
Can.When the noise signal of the first microphone acquisition and the intensity of noise signal of second microphone acquisition are below target value,
And mobile terminal is in hands-free state, in the case that mobile terminal judges that above-mentioned two condition meets, mobile terminal can be closed
Diamylose decrease of noise functions.
Wherein, meet the intensity of noise signal at 60 decibels hereinafter, and mobile terminal be in hands-free state the two
When part, mobile terminal can close diamylose decrease of noise functions.And the intensity of noise signal at 60 decibels hereinafter, and at mobile terminal
Can be in the scene of hands-free state it is a variety of, such as can be user meeting room carry out videoconference, be also possible to user and exist
The intensity of one noise signal is conversed by the way of hands-free lower than 60 decibels of place, for example, can be office or
Study.It should be noted that specific scene type is it is not limited here.
Step 103, according to the of the first audio signal of first microphone acquisition and second microphone acquisition
Two audio signals obtain target audio signal, wherein the target audio signal is by first audio signal and described the
The audio signal or the target audio signal that two audio signals are superimposed are first audio signal and described second
The biggish audio signal of audio signal amplitude.
Wherein, the first audio signal and the second audio signal can be mobile terminal and acquire after closing diamylose decrease of noise functions
The audio signal arrived.First audio signal and the second audio signal may include noise signal or people's one's voice in speech etc. no
The sound of same type.
Wherein, after obtaining target audio signal, mobile terminal can be by above-mentioned target audio signal by way of radio frequency
It is sent to the mobile terminal of an other side.
In the embodiment of the present invention, the noise signal of the first microphone acquisition and the noise signal of second microphone acquisition are judged
Whether it is lower than target value, and judges whether mobile terminal is in hands-free state;If the noise signal and the of the first microphone acquisition
The intensity of the noise signal of two microphones acquisition is below target value, and mobile terminal is in hands-free state, then closes diamylose drop
It makes an uproar function;According to the second audio signal of the first audio signal of the first microphone acquisition and second microphone acquisition, mesh is obtained
Mark audio signal.When mobile terminal meets above-mentioned two condition by judgement in this way, diamylose decrease of noise functions is closed, is obtained to improve
The volume of the target audio signal obtained.
Fig. 2 is referred to, Fig. 2 is another acoustic signal processing method flow chart provided in an embodiment of the present invention, is applied to
Have a mobile terminal of diamylose decrease of noise functions, above-mentioned mobile terminal includes the first microphone and second microphone, the present embodiment with
The main distinction of embodiment illustrated in fig. 1 is: increasing after closing diamylose decrease of noise functions, for the first audio signal and the second sound
The specific processing mode of frequency signal, as shown in Figure 2, comprising the following steps:
The noise letter of step 201, the noise signal for judging the first microphone acquisition and second microphone acquisition
Number intensity whether be below target value, and, judge whether the mobile terminal is in hands-free state.
Wherein, what the first microphone and second microphone acquired can be audio signal, and above-mentioned audio signal may include
Noise signal, one's voice in speech or other kinds of audio signal.It should be noted that mobile terminal can use filter
It separates noise signal and other kinds of audio signal, and making an uproar after separation can be detected by intensity of sound detector
The intensity value of sound signal.In addition, the value range of target value can be 50-60 decibels, specific numerical value is it is not limited here.
If the noise signal of step 202, first microphone acquisition and the noise signal of second microphone acquisition
Intensity be below target value, and the mobile terminal is in hands-free state, then closes diamylose decrease of noise functions.
Wherein, the existing mobile terminal for having diamylose decrease of noise functions can be default and open diamylose noise reduction function when enabling
Can.When the noise signal of the first microphone acquisition and the intensity of noise signal of second microphone acquisition are below target value,
And mobile terminal is in hands-free state, in the case that mobile terminal judges that above-mentioned two condition meets, mobile terminal can be closed
Diamylose decrease of noise functions.
Step 203, according to the of the first audio signal of first microphone acquisition and second microphone acquisition
Two audio signals obtain target audio signal, wherein the target audio signal is by first audio signal and described the
The audio signal or the target audio signal that two audio signals are superimposed are first audio signal and described second
The biggish audio signal of audio signal amplitude.
Wherein, the first audio signal and the second audio signal can be mobile terminal and acquire after closing diamylose decrease of noise functions
The audio signal arrived.First audio signal and the second audio signal may include noise signal or people's one's voice in speech etc. no
The sound of same type.
Wherein, after obtaining target audio signal, mobile terminal can be by above-mentioned target audio signal by way of radio frequency
It is sent to the mobile terminal of an other side.
Optionally, step 203 may include:
Whether the frequency difference of the frequency and second audio signal that judge first audio signal is pre- less than first
If value;
If the frequency difference is less than first preset value, first audio signal and second audio are selected
The biggish audio signal of amplitude in signal obtains target audio signal.
Wherein, the value of the first preset value can be that user is pre-set on mobile terminals or mobile terminal is pre-
First automatically configure, such as: the value of the first preset value can be 0.001,0.005 or 0.0001 etc..In addition, it is necessary to say
It is bright, if it is determined that the frequency difference of the frequency of the first audio signal and the second audio signal is 0, that is, the first audio letter
Number frequency and the second audio signal frequency it is equal in the case where, be optimal situation, above situation equally may determine that
It is the frequency of the first audio signal and the frequency difference of the second audio signal less than the first preset value.
Wherein, the frequency difference of the frequency of the first audio signal and the second audio signal can be the first audio signal
Frequency subtracts the obtained frequency difference of frequency of the second audio signal, and the frequency for being also possible to the second audio signal subtracts first
The obtained frequency difference of the frequency of audio signal.
Wherein, in the waveform diagram of sound, the amplitude of sound wave is bigger, it is believed that the volume of sound wave is bigger.
In present embodiment, the frequency difference of the frequency and the second audio signal that judge the first audio signal is pre- less than first
If value, then select in the first audio signal and the second audio signal the biggish audio signal of amplitude as target audio signal,
Through the above steps, the target audio signal that ensure that acquisition is the biggish sound of volume in the collected audio signal of mobile terminal
Frequency signal.
Optionally, step 203 may include:
Whether the frequency difference of the frequency and second audio signal that judge first audio signal is pre- less than first
If value, and, judge whether the phase difference value of the first audio signal initial phase and the second audio signal initial phase is small
In the second preset value;
If the frequency difference is less than first preset value, and the phase difference value is less than second preset value, then
First audio signal and second audio signal are superimposed, target audio signal is obtained.
Wherein, the second preset value be also possible to that user is pre-set on mobile terminals or mobile terminal in advance from
Dynamic configuration, such as: the value of the second preset value can be 0.001,0.005 or 0.0001 etc..In addition, the first preset value
Value range it is already discussed above, details are not described herein.It should be noted that if the first audio signal initial phase and second
When the phase difference value of audio signal initial phase is 0, that is, the first audio signal initial phase and the second audio signal initial phase phase
It is optimal situation, the initial phase and the second sound that above situation equally may determine that as the first audio signal Deng in the case where
The phase difference value of the initial phase of frequency signal is less than the second preset value.
Wherein, when determination frequency difference is less than the first preset value, and phase difference value is full less than two condition of the second preset value
When sufficient, the first audio signal and the second audio signal are superimposed, obtain target audio signal, it should be noted that target audio
Signal is also less than the first preset value, target audio letter with the frequency difference of the first audio signal and the second audio signal respectively
Number the second preset value is also less than with the phase difference value of the first audio signal and the second audio signal respectively.In addition, target sound
The amplitude of the phase of frequency signal is all larger than the amplitude of the first audio signal or the second audio signal.
In present embodiment, the first audio signal and the second audio signal are superimposed, target audio signal is obtained, after superposition
The amplitude of obtained target audio signal is greater than the amplitude of the first audio signal and any audio signal of the second audio signal, i.e. mesh
The volume for marking audio signal is greater than the volume of any audio signal in the first audio signal and the second audio signal, so as to cause obtaining
The volume of the target audio signal obtained is larger.
Optionally, step 203 further can also include:
If the frequency difference is less than first preset value, and the phase difference value is greater than second preset value, then
First phase bit correction is carried out to the lesser audio signal of initial phase in first audio signal and the second audio signal;
After the biggish audio signal of initial phase in first audio signal and the second audio signal and first phase bit correction
Audio signal superposition, obtain target audio signal.
It wherein, can be right when frequency difference is less than first preset value, but phase difference value is greater than the second preset value
The lesser audio signal of initial phase carries out first phase bit correction in first audio signal and the second audio signal, so that the first audio is believed
Number and the second audio signal in audio signal after the biggish audio signal of initial phase and correction phase difference value it is pre- less than second
If value, meets condition.
In addition, audio after the biggish audio signal of initial phase in the first audio signal and the second audio signal and correction
The phase difference value of signal is less than the second preset value, then by the biggish sound of initial phase in the first audio signal and the second audio signal
Frequency signal is superimposed with the audio signal after first phase bit correction, obtains target audio signal, the target sound obtained through the above steps
The amplitude of frequency signal is larger, i.e. the volume of target audio signal is larger.
In present embodiment, the lesser audio signal of initial phase in the first audio signal and the second audio signal is carried out just
Phasing, then will be after the biggish audio signal of initial phase in the first audio signal and the second audio signal and first phase bit correction
Audio signal superposition, obtain target audio signal, through the above steps, phase difference value can be made to be greater than second preset value
First audio signal and the second audio signal can equally obtain after the treatment processes such as the correction of initial phase and superposition
The biggish target audio signal of volume, and the volume of target audio signal be greater than collected first audio signal of mobile terminal and
The volume of any audio signal in second audio signal.
Optionally, described that the lesser audio signal of initial phase in first audio signal and the second audio signal is carried out
First phase bit correction, comprising:
In first audio signal and the second audio signal in the lesser audio signal of initial phase, target audio is intercepted
Signal segment, the biggish audio signal of initial phase and the target audio signal in first audio signal and the second audio signal
The initial phase difference of section is less than second preset value;
It is described by first audio signal and the second biggish audio signal of audio signal initial phase and first phase bit correction
Audio signal superposition afterwards, obtains target audio signal, comprising:
First audio signal and the second biggish audio signal of audio signal initial phase and the target audio are believed
Number section superposition, obtains target audio signal.
In the present embodiment, in first audio signal and the second audio signal in the lesser audio signal of initial phase,
Target audio signal section is intercepted, and by the first audio signal and the biggish audio signal of the second audio signal initial phase and target sound
The superposition of frequency signal segment, obtains target audio signal, through the above steps, phase difference value can be made to be greater than the of the second preset value
One audio signal and the second audio signal can equally obtain sound after the treatment processes such as the correction of initial phase and superposition
Measure biggish target audio signal, and the volume of target audio signal is greater than collected first audio signal of mobile terminal and the
The volume of any audio signal in two audio signals.
Referring to Fig. 3, Fig. 3 is a kind of structure chart of mobile terminal provided in an embodiment of the present invention, the mobile terminal 300
Including the first microphone and second microphone, as shown in figure 3, mobile terminal 300 includes:
Judgment module 301, for judging noise signal and the second microphone acquisition of the first microphone acquisition
The intensity of noise signal whether be below target value, and, judge whether the mobile terminal is in hands-free state;
Closedown module 302, if acquired for the noise signal of first microphone acquisition and the second microphone
The intensity of noise signal is below target value, and the mobile terminal is in hands-free state, then closes diamylose decrease of noise functions;
Obtain module 303, the first audio signal and the second microphone for acquiring according to first microphone
Second audio signal of acquisition obtains target audio signal, wherein the target audio signal is by first audio signal
The audio signal or the target audio signal being superimposed with second audio signal be first audio signal and
The biggish audio signal of second audio signal amplitude.
Optionally, as shown in figure 4, acquisition module 303 includes:
First judging submodule 3031, for judging the frequency and second audio signal of first audio signal
Whether frequency difference is less than the first preset value;
Submodule 3032 is selected, if being less than first preset value for the frequency difference, selects first sound
The biggish audio signal of amplitude in frequency signal and second audio signal obtains target audio signal.
Optionally, as shown in figure 5, acquisition module 303 includes:
Second judgment submodule 3033, for judging the frequency and second audio signal of first audio signal
Frequency difference whether less than the first preset value, and, judge the first audio signal initial phase and second audio signal
Whether the phase difference value of initial phase is less than the second preset value;
First obtains submodule 3034, if being less than first preset value, and the phase difference for the frequency difference
Value is less than second preset value, then is superimposed first audio signal and second audio signal, obtains target audio
Signal.
Optionally, further comprise as shown in fig. 6, obtaining module 303:
Correction module 3035, if being less than first preset value for the frequency difference, and the phase difference value is big
In second preset value, then the lesser audio signal of initial phase in first audio signal and the second audio signal is carried out
First phase bit correction;
Second obtains submodule 3036, for initial phase in first audio signal and the second audio signal is biggish
Audio signal is superimposed with the audio signal after first phase bit correction, obtains target audio signal.
Optionally, it is smaller to be used for the initial phase in first audio signal and the second audio signal for correction module 3035
Audio signal in, intercept target audio signal section, initial phase is biggish in first audio signal and the second audio signal
The initial phase difference of audio signal and the target audio signal section is less than second preset value;
Second, which obtains submodule 3036, is used for first audio signal and the second biggish sound of audio signal initial phase
Frequency signal is superimposed with the target audio signal section, obtains target audio signal.
It should be noted that above-mentioned mobile terminal 300 can be embodiment of the method in the embodiment of the present invention in the present embodiment
In any embodiment mobile terminal, any embodiment of mobile terminal all may be used in embodiment of the method in the embodiment of the present invention
To be realized by the above-mentioned mobile terminal 300 in the present embodiment, and reach identical beneficial effect, details are not described herein again.
Fig. 7 is referred to, Fig. 7 is the structure chart of another mobile terminal provided in an embodiment of the present invention.As shown in fig. 7, moving
Dynamic terminal 700 includes: at least one processor 701, memory 702, at least one network interface 704 and user interface 703.It moves
Various components in dynamic terminal 700 are coupled by bus system 705.It is understood that bus system 705 is for realizing these
Connection communication between component.Bus system 705 further includes power bus, control bus and shape in addition to including data/address bus
State signal bus.But for the sake of clear explanation, various buses are all designated as bus system 705 in Fig. 7.Mobile terminal
700 further include the first microphone 706 and second microphone 707, and the first microphone 706 and second microphone 707 pass through total linear system
System 705 is connect with the various components of mobile terminal.
Wherein, user interface 703 may include display, keyboard or pointing device (for example, mouse, trace ball
(track ball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 702 of system and method described herein is intended to include but is not limited to these and arbitrarily its
It is suitble to the memory of type.
In some embodiments, memory 702 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 7022 includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 7022.
In embodiments of the present invention, mobile terminal 700 further includes being stored on memory 702 and can be on processor 701
The computer program of operation, specifically, can be the computer program stored in application program 7022, computer program is processed
Device 701 realizes following steps when executing:
Judge the intensity of the noise signal of the first microphone acquisition and the noise signal of second microphone acquisition
Whether target value is below, and, judge whether the mobile terminal is in hands-free state;
If the intensity of the noise signal of the noise signal and second microphone acquisition of the first microphone acquisition is equal
Lower than target value, and the mobile terminal is in hands-free state, then closes diamylose decrease of noise functions;
According to the second audio letter of the first audio signal of first microphone acquisition and second microphone acquisition
Number, obtain target audio signal, wherein the target audio signal is to believe first audio signal and second audio
Number obtained audio signal of superposition or the target audio signal are first audio signal and second audio signal
The biggish audio signal of amplitude.
The method that the embodiments of the present invention disclose can be applied in processor 701, or be realized by processor 701.
Processor 701 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 701 or the instruction of software form.Above-mentioned processing
Device 701 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the computer readable storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The meter
Calculation machine readable storage medium storing program for executing is located at memory 702, and processor 701 reads the information in memory 702, completes in conjunction with its hardware
The step of stating method.Specifically, Audio Signal Processing program, Audio Signal Processing are stored on the computer readable storage medium
The step of program realizes acoustic signal processing method provided in an embodiment of the present invention when being executed by processor 701.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein
The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or
It is realized outside processor.
Optionally, the processor 701 execute according to the first audio signal of first microphone acquisition and described
Second audio signal of second microphone acquisition, obtains target audio signal, comprising:
Whether the frequency difference of the frequency and second audio signal that judge first audio signal is pre- less than first
If value;
If the frequency difference is less than first preset value, first audio signal and second audio are selected
The biggish audio signal of amplitude in signal obtains target audio signal.
Optionally, the processor 701 execute according to the first audio signal of first microphone acquisition and described
Second audio signal of second microphone acquisition, obtains target audio signal, comprising:
Whether the frequency difference of the frequency and second audio signal that judge first audio signal is pre- less than first
If value, and, judge whether the phase difference value of the first audio signal initial phase and the second audio signal initial phase is small
In the second preset value;
If the frequency difference is less than first preset value, and the phase difference value is less than second preset value, then
First audio signal and second audio signal are superimposed, target audio signal is obtained.
Optionally, the processor 701 execute according to the first audio signal of first microphone acquisition and described
Second audio signal of second microphone acquisition, obtains target audio signal, further comprises:
If the frequency difference is less than first preset value, and the phase difference value is greater than second preset value, then
First phase bit correction is carried out to the lesser audio signal of initial phase in first audio signal and the second audio signal;
After the biggish audio signal of initial phase in first audio signal and the second audio signal and first phase bit correction
Audio signal superposition, obtain target audio signal.
Optionally, the processor 701 execute to initial phase in first audio signal and the second audio signal compared with
Small audio signal carries out first phase bit correction, comprising:
In first audio signal and the second audio signal in the lesser audio signal of initial phase, target audio is intercepted
Signal segment, the biggish audio signal of initial phase and the target audio signal in first audio signal and the second audio signal
The initial phase difference of section is less than second preset value;
It is described by first audio signal and the second biggish audio signal of audio signal initial phase and first phase bit correction
Audio signal superposition afterwards, obtains target audio signal, comprising:
First audio signal and the second biggish audio signal of audio signal initial phase and the target audio are believed
Number section superposition, obtains target audio signal.
It should be noted that above-mentioned mobile terminal 700 can be embodiment of the method in the embodiment of the present invention in the present embodiment
In any embodiment mobile terminal, any embodiment of mobile terminal all may be used in embodiment of the method in the embodiment of the present invention
To be realized by the above-mentioned mobile terminal 700 in the present embodiment, and reach identical beneficial effect, details are not described herein again.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (3)
1. a kind of acoustic signal processing method, applied to the mobile terminal for having diamylose decrease of noise functions, the mobile terminal includes
First microphone and second microphone characterized by comprising
Judge the noise signal of first microphone acquisition and the noise signal of second microphone acquisition intensity whether
It is below target value, and, judge whether the mobile terminal is in hands-free state;
If the intensity of the noise signal of the noise signal and second microphone acquisition of the first microphone acquisition is below
Target value, and the mobile terminal is in hands-free state, then closes diamylose decrease of noise functions;
According to the second audio signal of the first audio signal of first microphone acquisition and second microphone acquisition, obtain
Obtain target audio signal, wherein the target audio signal is to fold first audio signal and second audio signal
The audio signal added;
It is described to be believed according to the first audio signal of first microphone acquisition and the second audio of second microphone acquisition
Number, obtain target audio signal, comprising:
The frequency difference of the frequency and second audio signal that judge first audio signal whether less than the first preset value,
And judge the phase difference value of the first audio signal initial phase and the second audio signal initial phase whether less than second
Preset value;
If the frequency difference is less than first preset value, and the phase difference value is less than second preset value, then by institute
The first audio signal and second audio signal superposition are stated, target audio signal is obtained;
It is described to be believed according to the first audio signal of first microphone acquisition and the second audio of second microphone acquisition
Number, target audio signal is obtained, is further comprised:
If the frequency difference is less than first preset value, and the phase difference value is greater than second preset value, then to institute
It states the lesser audio signal of initial phase in the first audio signal and the second audio signal and carries out first phase bit correction;
By the sound after the biggish audio signal of initial phase in first audio signal and the second audio signal and first phase bit correction
Frequency Signal averaging obtains target audio signal;
It is described that first phase bit correction is carried out to the lesser audio signal of initial phase in first audio signal and the second audio signal,
Include:
In first audio signal and the second audio signal in the lesser audio signal of initial phase, target audio signal is intercepted
Section, the biggish audio signal of initial phase and the target audio signal section in first audio signal and the second audio signal
Initial phase difference is less than second preset value;
It is described will be after first audio signal and the second biggish audio signal of audio signal initial phase and first phase bit correction
Audio signal superposition, obtains target audio signal, comprising:
By first audio signal and the second biggish audio signal of audio signal initial phase and the target audio signal section
Superposition obtains target audio signal.
2. a kind of mobile terminal, the mobile terminal includes the first microphone and second microphone characterized by comprising
Judgment module, for judging the noise signal of the first microphone acquisition and the noise letter of second microphone acquisition
Number intensity whether be below target value, and, judge whether the mobile terminal is in hands-free state;
Closedown module, if for the noise signal of first microphone acquisition and the noise signal of second microphone acquisition
Intensity be below target value, and the mobile terminal is in hands-free state, then closes diamylose decrease of noise functions;
Obtain module, the first audio signal for acquire according to first microphone and the second microphone acquire the
Two audio signals obtain target audio signal, wherein the target audio signal is by first audio signal and described the
The audio signal that two audio signals are superimposed;
The acquisition module includes:
Second judgment submodule, for judging the frequency of first audio signal and the frequency difference of second audio signal
Whether less than the first preset value, and, judge the first audio signal initial phase and the second audio signal initial phase
Whether phase difference value is less than the second preset value;
First obtains submodule, if being less than first preset value for the frequency difference, and the phase difference value is less than institute
The second preset value is stated, then is superimposed first audio signal and second audio signal, target audio signal is obtained;
The acquisition module further comprises:
Correction module, if being less than first preset value for the frequency difference, and the phase difference value is greater than described the
Two preset values then carry out initial phase school to the lesser audio signal of initial phase in first audio signal and the second audio signal
Just;
Second obtains submodule, is used for the biggish audio signal of initial phase in first audio signal and the second audio signal
It is superimposed with the audio signal after first phase bit correction, obtains target audio signal;
The correction module is used for the lesser audio signal of initial phase in first audio signal and the second audio signal
In, intercept target audio signal section, in first audio signal and the second audio signal the biggish audio signal of initial phase with
The initial phase difference of the target audio signal section is less than second preset value;
Described second, which obtains submodule, is used to believe first audio signal and the biggish audio of the second audio signal initial phase
It number is superimposed with the target audio signal section, obtains target audio signal.
3. a kind of mobile terminal characterized by comprising memory, processor and storage are on a memory and can be in processor
The computer program of upper operation, the computer program realize audio as described in claim 1 when being executed by the processor
Step in signal processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710801652.9A CN107682529B (en) | 2017-09-07 | 2017-09-07 | A kind of acoustic signal processing method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710801652.9A CN107682529B (en) | 2017-09-07 | 2017-09-07 | A kind of acoustic signal processing method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107682529A CN107682529A (en) | 2018-02-09 |
CN107682529B true CN107682529B (en) | 2019-11-26 |
Family
ID=61136151
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710801652.9A Active CN107682529B (en) | 2017-09-07 | 2017-09-07 | A kind of acoustic signal processing method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107682529B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110675889A (en) * | 2018-07-03 | 2020-01-10 | 阿里巴巴集团控股有限公司 | Audio signal processing method, client and electronic equipment |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101002505A (en) * | 2004-08-03 | 2007-07-18 | 杜比实验室特许公司 | Combining audio signals using auditory scene analysis |
CN102340565A (en) * | 2011-07-07 | 2012-02-01 | 瑞声声学科技(深圳)有限公司 | De-noising assembly |
CN102611965A (en) * | 2012-03-01 | 2012-07-25 | 广东步步高电子工业有限公司 | Method for eliminating influence of distance between dual-microphone de-noising mobilephone and mouth on sending loudness of dual-microphone de-noising mobilephone |
CN102857598A (en) * | 2012-09-19 | 2013-01-02 | 惠州Tcl移动通信有限公司 | Control method for eliminating noise of double microphones of cellphone automatically and cellphone utilizing control method |
CN102986254A (en) * | 2010-07-12 | 2013-03-20 | 华为技术有限公司 | Audio signal generator |
CN104538040A (en) * | 2014-11-28 | 2015-04-22 | 广东欧珀移动通信有限公司 | Method and device for dynamically selecting communication voice signals |
US9094744B1 (en) * | 2012-09-14 | 2015-07-28 | Cirrus Logic, Inc. | Close talk detector for noise cancellation |
CN105991857A (en) * | 2015-02-12 | 2016-10-05 | 中兴通讯股份有限公司 | Method and device for adjusting reference signal |
CN106506803A (en) * | 2016-09-28 | 2017-03-15 | 广东小天才科技有限公司 | A kind of control method of mobile device and mobile device |
CN106790882A (en) * | 2016-12-29 | 2017-05-31 | 贵州财富之舟科技有限公司 | Communication Dolby circuit and noise-reduction method |
CN107040843A (en) * | 2017-03-06 | 2017-08-11 | 联想(北京)有限公司 | The method and collecting device of same source of sound are obtained by two microphones |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7206421B1 (en) * | 2000-07-14 | 2007-04-17 | Gn Resound North America Corporation | Hearing system beamformer |
-
2017
- 2017-09-07 CN CN201710801652.9A patent/CN107682529B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101002505A (en) * | 2004-08-03 | 2007-07-18 | 杜比实验室特许公司 | Combining audio signals using auditory scene analysis |
CN102986254A (en) * | 2010-07-12 | 2013-03-20 | 华为技术有限公司 | Audio signal generator |
CN102340565A (en) * | 2011-07-07 | 2012-02-01 | 瑞声声学科技(深圳)有限公司 | De-noising assembly |
CN102611965A (en) * | 2012-03-01 | 2012-07-25 | 广东步步高电子工业有限公司 | Method for eliminating influence of distance between dual-microphone de-noising mobilephone and mouth on sending loudness of dual-microphone de-noising mobilephone |
US9094744B1 (en) * | 2012-09-14 | 2015-07-28 | Cirrus Logic, Inc. | Close talk detector for noise cancellation |
CN102857598A (en) * | 2012-09-19 | 2013-01-02 | 惠州Tcl移动通信有限公司 | Control method for eliminating noise of double microphones of cellphone automatically and cellphone utilizing control method |
CN104538040A (en) * | 2014-11-28 | 2015-04-22 | 广东欧珀移动通信有限公司 | Method and device for dynamically selecting communication voice signals |
CN105991857A (en) * | 2015-02-12 | 2016-10-05 | 中兴通讯股份有限公司 | Method and device for adjusting reference signal |
CN106506803A (en) * | 2016-09-28 | 2017-03-15 | 广东小天才科技有限公司 | A kind of control method of mobile device and mobile device |
CN106790882A (en) * | 2016-12-29 | 2017-05-31 | 贵州财富之舟科技有限公司 | Communication Dolby circuit and noise-reduction method |
CN107040843A (en) * | 2017-03-06 | 2017-08-11 | 联想(北京)有限公司 | The method and collecting device of same source of sound are obtained by two microphones |
Non-Patent Citations (1)
Title |
---|
双麦降噪技术及其解决方案详解;牛红岩;《科技创新导报》;20130811;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN107682529A (en) | 2018-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107369459B (en) | A kind of audio-frequency processing method and mobile terminal | |
CN106341535B (en) | A kind of audio play control method and mobile terminal | |
CN105827853B (en) | A kind of output control method and mobile terminal of the outer playback amount of terminal | |
EP3287969A1 (en) | Mobile payment device and mobile payment system | |
CN105827852B (en) | A kind of method and terminal adjusting volume | |
CN106303804A (en) | The control method of a kind of mike and mobile terminal | |
US9749329B2 (en) | Network connection managing device, system and method | |
CN106101909B (en) | A kind of method and mobile terminal of earphone noise reduction | |
CN106101929A (en) | A kind of protection human ear audition method and mobile terminal | |
CN106357871A (en) | Voice amplifying method and mobile terminal | |
CN104753484A (en) | Volume control method for wireless loudspeaker boxes and terminal | |
CN106648374B (en) | A kind of mobile terminal screen brightness adjusting method and mobile terminal | |
CN106502545B (en) | A kind of operating method and mobile terminal for sliding control | |
CN106125884B (en) | A kind of processing method and mobile terminal of the background task of mobile terminal | |
CN107277225A (en) | Method, device and the smart machine of Voice command smart machine | |
CN107682529B (en) | A kind of acoustic signal processing method and mobile terminal | |
CN111081257A (en) | Voice acquisition method, device, equipment and storage medium | |
WO2018153159A1 (en) | Antenna structure, mobile terminal, and antenna control method | |
CN106714038B (en) | A kind of control method and mobile terminal of sound intensity | |
CN111564161B (en) | Sound processing device and method for intelligently suppressing noise, terminal equipment and readable medium | |
CN109144420A (en) | More particle self-adaptive initial method, apparatus, computer equipment and storage medium | |
CN104915588B (en) | The method for secret protection and device of electronic equipment | |
CN109324780A (en) | Promote the method and electronic equipment of sound output effect | |
CN106385489B (en) | A kind of method and mobile terminal of determining upstream voice data | |
CN105099674B (en) | User authen method, authentication device and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |