CN107910015A - A kind of terminal device noise-reduction method and terminal device - Google Patents
A kind of terminal device noise-reduction method and terminal device Download PDFInfo
- Publication number
- CN107910015A CN107910015A CN201711318562.0A CN201711318562A CN107910015A CN 107910015 A CN107910015 A CN 107910015A CN 201711318562 A CN201711318562 A CN 201711318562A CN 107910015 A CN107910015 A CN 107910015A
- Authority
- CN
- China
- Prior art keywords
- distance
- terminal device
- voice signal
- main microphon
- noise
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000011946 reduction process Methods 0.000 claims abstract description 51
- 230000003321 amplification Effects 0.000 claims description 22
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 22
- 230000006854 communication Effects 0.000 claims description 14
- 238000004891 communication Methods 0.000 claims description 12
- 230000005055 memory storage Effects 0.000 claims description 2
- 238000012545 processing Methods 0.000 abstract description 10
- 238000005516 engineering process Methods 0.000 abstract description 4
- 230000009467 reduction Effects 0.000 description 7
- 230000005236 sound signal Effects 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 230000009977 dual effect Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 241000209140 Triticum Species 0.000 description 2
- 235000021307 Triticum Nutrition 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0208—Noise filtering
- G10L21/0216—Noise filtering characterised by the method used for estimating noise
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0272—Voice signal separating
- G10L21/0308—Voice signal separating characterised by the type of parameter measurement, e.g. correlation techniques, zero crossing techniques or predictive techniques
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0208—Noise filtering
- G10L21/0216—Noise filtering characterised by the method used for estimating noise
- G10L2021/02161—Number of inputs available containing the signal or the noise to be suppressed
- G10L2021/02165—Two microphones, one receiving mainly the noise signal and the other one mainly the speech signal
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Quality & Reliability (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The present embodiments relate to signal processing technology field, discloses a kind of terminal device noise-reduction method and terminal device.In the present invention, the terminal device noise-reduction method includes:Obtain the first distance and the second distance of the sound generation source and secondary microphone of sound generation source and main microphon;According to the second distance and first distance, the characteristic quantity for being used for characterizing the distance between the second distance and the described first distance difference is obtained;When the characteristic quantity is more than the first predetermined threshold value, and the second distance be more than described first apart from when, the voice signal that the voice signal picked up according to the main microphon and the secondary microphone are picked up, noise reduction process is carried out to the voice signal of main microphon pickup, exports the voice signal after noise reduction process.Terminal device noise-reduction method and terminal device provided by the invention targetedly can carry out noise reduction process to the voice signal of main microphon pickup.
Description
Technical field
The present embodiments relate to signal processing technology field, more particularly to a kind of terminal device noise-reduction method and terminal are set
It is standby.
Background technology
Dual microphone decrease of noise functions is widely used in terminal device at present to improve the clarity in communication process,
Its principle be in terminal device setting two microphones, be used for pick up voice communication signal (including user voice signal and
Environmental noise signal).In actual use, the voice communication signal of main microphon pickup leads to than the voice that secondary microphone is picked up
Words signal is much larger, and the voice communication signal use of secondary microphone pickup is subtracted to the voice communication signal of main microphon pickup,
The noise in communication process is reduced, improves speech quality.
Inventor has found that at least there are the following problems in the prior art:The main wheat only when user speaks close to main microphon
The voice communication signal of gram wind pickup just can be more much larger than the voice communication signal that secondary microphone is picked up, if deviate main microphon compared with
The voice communication signal difference of remote speak the voice communication signal that main microphon can be caused to pick up and secondary microphone pickup is little, on
It is entirely ineffective to state processing method, it is not necessary that noise reduction process is carried out again to the voice communication signal of main microphon pickup.
The content of the invention
The purpose of embodiment of the present invention is to provide a kind of terminal device noise-reduction method and terminal device, can pin
Noise reduction process is carried out to the voice signal to main microphon pickup of property.
In order to solve the above technical problems, embodiments of the present invention provide a kind of terminal device noise-reduction method, including with
Lower step:
Obtain the first distance and the second distance of the sound generation source and secondary microphone of sound generation source and main microphon;According to
The second distance and first distance, it is poor for characterizing the distance between the second distance and the described first distance to obtain
Characteristic quantity;When the characteristic quantity is more than the first predetermined threshold value, and the second distance be more than described first apart from when, according to institute
The voice signal of main microphon pickup and the voice signal of secondary microphone pickup are stated, to the voice of main microphon pickup
Signal carries out noise reduction process, exports the voice signal after noise reduction process.
Embodiments of the present invention additionally provide a kind of terminal device, including:
At least one processor;
And the memory being connected with least one processor communication;
Wherein, the memory storage has the instruction that can be performed by least one processor, and described instruction is described
At least one processor performs, so that at least one processor is able to carry out above-mentioned terminal device noise-reduction method.
Embodiment of the present invention in terms of existing technologies, by obtain the first distance of sound generation source and main microphon with
And the second distance of the sound generation source and secondary microphone, obtain for characterizing between the second distance and first distance
The characteristic quantity of range difference, when the characteristic quantity be more than the first predetermined threshold value and the second distance be more than described first apart from when,
The voice signal that the voice signal picked up according to the main microphon and the secondary microphone are picked up, picks up the main microphon
Voice signal carry out noise reduction process, finally export noise reduction process after voice signal.By judge the characteristic quantity with it is described
The magnitude relationship of first predetermined threshold value so that the terminal device is more than in the characteristic quantity in the case of first predetermined threshold value
Noise reduction process is carried out to the voice signal of main microphon pickup.Due to also need to judge the second distance with described first away from
From magnitude relationship, further ensure the terminal device will also it is relatively near apart from the main microphon in the sound generation source and away from
From the secondary microphone farther out in the case of just to the main microphon pickup voice signal carry out noise reduction process so that institute
State terminal device targetedly can carry out noise reduction process to the voice signal of main microphon pickup, without in any situation
Under all can to the main microphon pick up voice signal carry out noise reduction process.
In addition, the characteristic quantity is the second distance and the ratio of first distance.
In addition, when the characteristic quantity is less than or equal to first predetermined threshold value, the main microphon pickup is exported
Voice signal.When characteristic quantity is less than or equal to the first predetermined threshold value, think that the mouth of user from main microphon is to compare at this time
Remote, the voice signal size that at this time main microphon and secondary microphone pickup user say is not much different, directly using main Mike
The voice signal of wind pickup, avoid in the case where noise reduction process is entirely ineffective still to the voice signal of main microphon pickup into
Row processing, reduces the power consumption of terminal device, improves the cruising ability of battery.
In addition, the voice signal to main microphon pickup carries out noise reduction process, specifically include:The main Mike
It is poor that the voice signal of wind pickup and the voice signal of secondary microphone pickup are made, and obtains difference signal St;The difference is believed
Number St is amplified, using amplified signal as the voice signal after the noise reduction process.
In addition, described be amplified the difference signal St, specifically include:If it is default that the characteristic quantity is more than second
Threshold value, then be amplified the difference signal St using the first amplification factor;If the characteristic quantity is less than or equal to described
Second predetermined threshold value, then be amplified the difference signal St using the second amplification factor;Wherein, second predetermined threshold value
More than first predetermined threshold value;First amplification factor is more than second amplification factor.Pass through judging characteristic amount and the
The magnitude relationship of one predetermined threshold value and the second predetermined threshold value, different times magnifications is used according to different situations to difference signal
Number so that terminal device carries out corresponding noise reduction process mode to the voice signal of acquisition in varied situations, to be optimal
Noise reduction.
In addition, it is described the difference signal St is amplified before, further include:The language picked up according to the main microphon
Signal strength difference between sound signal and the voice signal of secondary microphone pickup, obtains first amplification factor and institute
State the second amplification factor.
In addition, the signal strength difference is calculated according to the following formula:Vc=20Lg (c/a), wherein, a is described
First distance, c are the second distance, VcFor the signal strength difference.
In addition, described obtain the second of sound generation source and the first distance of main microphon and the sound generation source and secondary microphone
Distance, specifically includes:Obtain the vertical range of the terminal device and face, and using the vertical range as described first away from
From;According to the following formula, the second distance is calculated:c2=a2+b2, wherein, the c is the second distance, and a is institute
State the first distance, air line distances of the b between the main microphon and the secondary microphone.
In addition, the vertical range for obtaining the terminal device and face, is specially:Set by being arranged at the terminal
Standby upper range sensor, obtains the vertical range of the terminal device and face.It can be measured easily by range sensor
The vertical range of terminal device and face, so as to obtain the second distance of sound generation source and secondary microphone, greatly reduces noise reduction
The complexity of processing procedure.
Brief description of the drawings
One or more embodiments are illustrative by the picture in corresponding attached drawing, these exemplary theorys
The bright restriction not formed to embodiment, the element for having same reference numbers label in attached drawing are expressed as similar element, remove
Non- have a special statement, and composition does not limit the figure in attached drawing.
Fig. 1 is a kind of flow chart of terminal device noise-reduction method that first embodiment provides according to the present invention;
Fig. 2 is a kind of flow chart of terminal device noise-reduction method that second embodiment provides according to the present invention;
Fig. 3 is a kind of structure diagram of terminal device that the 3rd embodiment provides according to the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with attached drawing to the present invention
Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention
In formula, many ins and outs are proposed in order to make reader more fully understand the present invention.But even if without these ins and outs
With many variations based on following embodiment and modification, claimed technical solution of the invention can also be realized.
The first embodiment of the present invention is related to a kind of terminal device noise-reduction method, and the core of present embodiment is:Obtain
Take the first distance and the second distance of the sound generation source and secondary microphone of sound generation source and main microphon;According to described second away from
With a distance from described first, the characteristic quantity for being used for characterizing the distance between the second distance and the described first distance difference is obtained;
When the characteristic quantity is more than the first predetermined threshold value, and the second distance be more than described first apart from when, according to the main Mike
The voice signal of wind pickup and the voice signal of secondary microphone pickup, carry out the voice signal of main microphon pickup
Noise reduction process, exports the voice signal after noise reduction process.By judging the characteristic quantity and first predetermined threshold value and institute
State the magnitude relationship of second distance and first distance so that the terminal device can be targetedly to the main microphon
The voice signal of pickup carries out noise reduction process, without under any circumstance all can to the voice signal that the main microphon is picked up into
Row noise reduction process.The implementation detail of the noise-reduction method of present embodiment is specifically described below, herein below is only side
The implementation detail of offer is just provided, not implements the necessary of this programme.
Terminal device noise-reduction method in present embodiment is as shown in Figure 1, specifically include:
S101:Obtain the first distance and the second distance of sound generation source and secondary microphone of sound generation source and main microphon.
Specifically, in step S101, ultrasonic distance-measuring sensor, infrared distance measuring sensor, laser can be passed through
The equidistant sensor of distance measuring sensor obtains the first distance of sound generation source and main microphon.Below with infrared distance measuring Distance-sensing
Illustrated exemplified by device:One infrared distance measuring sensor, infrared distance measuring sensor profit are set in the middle and lower part of terminal device
Vertical range of the terminal device from user face is measured with infrared signal, is approximately equal to the mouth of user to the first of main microphon
Distance.Because infrared distance measuring sensor and main microphon are in one plane, the face of people and mouth also in approximately the same plane,
Infrared distance measuring sensor test for vertical range, the mouth of owner and the plane where main microphon are also under this scene
Vertical.I.e. translator is approximately equal to a distance from first from the vertical range of user face.
Since the distance between main microphon and secondary microphone are known quantity on terminal device, the first distance a, main microphon
The distance between secondary microphone b and second distance c forms an approximate right angle triangle, it is possible to according to Pythagorean theorem
c2=a2+b2The length of second distance can be calculated.It is understood that second distance is greater than the first distance.
S102:According to second distance and the first distance, obtain and be used to characterize the distance between second distance and the first distance
The characteristic quantity of difference.
Specifically, in step s 102, characteristic quantity can be second distance and the ratio of the first distance, or the
Two distances and the first distance, illustrate by second distance and the ratio citing of the first distance of characteristic quantity below:Ratio is bigger,
Represent that sound generation source is nearer apart from main microphon, it is more remote apart from secondary microphone;Ratio is smaller, represents that sound generation source is got over apart from main microphon
Far, it is nearer apart from secondary microphone.
S103:Whether judging characteristic amount is more than the first predetermined threshold value, if it is not, step S104 is then performed, if so, then performing step
Rapid S105.
Specifically, in step s 103, the first predetermined threshold value will be according to the survey of physical end equipment and terminal device
Depending on examination situation, to ensure that terminal device can be while user demand be met targetedly to the voice of main microphon pickup
Signal carries out noise reduction process, so that avoiding the occurrence of does not have the situation for carrying out noise reduction process when needing to carry out noise reduction process.
S104:Export the voice signal of main microphon pickup.
Specifically, in step S104, when characteristic quantity is less than or equal to the first predetermined threshold value, think user's at this time
Mouth is voice signal size difference distant, that at this time main microphon and secondary microphone pickup user say from main microphon
Less, dual microphone noise reduction process cannot be at this time done, the voice data that processor is collected without using secondary microphone, directly makes
The voice signal picked up with main microphon.Avoid in the case where noise reduction process is entirely ineffective still to the language of main microphon pickup
Sound signal is handled, and reduces the power consumption of terminal device, improves the cruising ability of battery.
In the prior art, terminal device is usually mobile phone, and mobile phone has the identical condenser type Mike of two performances of A, B
Wind, wherein A are main microphones, and for picking up the voice of call, microphone B is background sound pickup transmitter, it is typically mounted on mobile phone words
The back side of cylinder, and have mainboard isolation in inside away from A microphones, two microphones.When normal voice is conversed, face on-mike A,
It produces larger audio signal Va, and at the same time, microphone B more or less can also obtain some voice signals Vb, but it is than A
Much smaller, the two signals input microphone processor, its input terminal is difference amplifier, that is, after two paths of signals is subtracted each other
Amplify again, the signal then obtained is Vm=Va-Vb.If having powerful connections noise in use environment, because source of sound is away from hand
Machine, so as the intensity of sound wave is almost when reaching two microphones of mobile phone, that is, Va ≈ Vb, then for background
Although noise, two microphones are all to pick up, but Vm=Va-Vb ≈ 0 are as can be seen from the above analysis, and such design can be with
The ambient noise interference on mobile phone periphery is effectively resisted, greatly improves the clarity of normal talking.
And in embodiments of the present invention, terminal device can be translator, and translator is different from mobile phone, and user makes
When with translator, most scenes is that the face of user faces translator and speaks, but face is to the distance of translator
It is random.Dual microphone noise reduction is effective when machine is close to face, if apart from machine apart from face farther out
When this noise reduction process with regard to entirely ineffective.Present embodiment is by detecting the distance of translator and face, further according to detection
Distance coordinates different processing modes to handle the voice signal of pickup so that will not because user distance translator farther out and
Cause the voice signal effect of output bad.
S105:The voice signal that the voice signal and secondary microphone picked up according to main microphon picks up, picks up main microphon
The voice signal taken carries out noise reduction process.
Specifically, two microphones of installing terminal equipment are allowed in step S105, then by technical finesse, by the external world
Noise eliminate so that earpiece sound is very clean.This design also comes from the principle of " sound wave superposition is mutually supported ", due to
The propagation of sound is realized by the vibration of medium, if the waveform between ripple and ripple is in anti-phase, under academic conditions
It can offset.
S106:Export the voice signal after noise reduction process.
Compared with prior art, embodiment of the present invention by obtain sound generation source and main microphon first distance and institute
The second distance of sound generation source and secondary microphone is stated, obtains being used to characterize the distance between the second distance and the described first distance
The characteristic quantity of difference, when the characteristic quantity be more than the first predetermined threshold value and the second distance be more than described first apart from when, according to
The voice signal of the main microphon pickup and the voice signal of secondary microphone pickup, to the language of main microphon pickup
Sound signal carries out noise reduction process, finally exports the voice signal after noise reduction process.By judging the characteristic quantity and described first
The magnitude relationship of predetermined threshold value so that the terminal device is in the case of the characteristic quantity is more than first predetermined threshold value to institute
The voice signal for stating main microphon pickup carries out noise reduction process.Due to also needing to judge the second distance and first distance
Magnitude relationship, further ensure the terminal device will also be relatively near apart from the main microphon in the sound generation source and apart from institute
Noise reduction process just is carried out to the voice signal of main microphon pickup in the case of stating secondary microphone farther out, so that the end
End equipment targetedly can carry out noise reduction process to the voice signal of main microphon pickup, without equal under any circumstance
Noise reduction process can be carried out to the voice signal of main microphon pickup.
Second embodiment of the present invention is related to a kind of terminal device noise-reduction method.Second embodiment is the first embodiment party
The further improvement of formula, mainly thes improvement is that:In second embodiment of the invention, to the voice signal of main microphon pickup
Noise reduction process is carried out to specifically include:The voice signal and the voice signal of secondary microphone pickup of main microphon pickup are made
Difference, obtains difference signal St, and difference signal St is amplified using corresponding amplification factor further according to different situations, passes through this
It is corresponding that kind causes the processing mode of voice signal terminal device in varied situations can carry out the voice signal of acquisition
Noise reduction process mode, with the noise reduction being optimal.Terminal device noise-reduction method in present embodiment is as shown in Fig. 2, tool
Body includes:
S201:Obtain the first distance and the second distance of sound generation source and secondary microphone of sound generation source and main microphon.
S202:According to second distance and the first distance, obtain and be used to characterize the distance between second distance and the first distance
The characteristic quantity of difference.
S203:Whether judging characteristic amount is more than the first predetermined threshold value, if it is not, step S204 is then performed, if so, then performing step
Rapid S205.
S204:Export the voice signal of main microphon pickup.
In second embodiment of the invention step S201 to step S204 respectively with step S101 in first embodiment extremely
Step S104 is roughly the same, and to avoid repeating, details are not described herein.
S205:It is poor that the voice signal of voice signal and secondary microphone pickup to main microphon pickup is made, and obtains difference letter
Number St.
S206:Whether judging characteristic amount is more than the second predetermined threshold value, if so, step S207 is then performed, if it is not, then performing step
Rapid S208.
S207:Difference signal St is amplified using the first amplification factor.
S208:The difference signal St is amplified using the second amplification factor.
Specifically, in step S206 into step S208, the second predetermined threshold value will be according to physical end equipment and end
Depending on the test case of end equipment, and the second predetermined threshold value is more than the first predetermined threshold value, to ensure that terminal device can be smoothly right
Difference signal St is amplified processing.When characteristic quantity is more than the second predetermined threshold value, the face of thinking user at this time be very close to
Main microphon, difference signal St is amplified using the first amplification factor, when characteristic quantity is less than the second predetermined threshold value and big
When the first predetermined threshold value, user's mouth is close to main microphon at this time, but from nor especially remote, the can be used
Two amplification factors are amplified the difference signal St, and the second amplification factor is less than the with amplification factor.It is special by judging
Sign amount and the first predetermined threshold value and the magnitude relationship of the second predetermined threshold value, according to different situations to difference signal St using not
Same amplification factor so that terminal device can carry out corresponding noise reduction process side to the voice signal of acquisition in varied situations
Formula, with the noise reduction being optimal.
It is noted that in the present embodiment, the voice signal and secondary microphone picked up according to main microphon picks up
Voice signal between signal strength difference, obtain first amplification factor and second amplification factor.Voice signal
Between signal strength difference be calculated according to the following formula:Vc=20Lg (c/a), wherein, a is first distance, and c is
The second distance, VcFor the signal strength difference.By fairly simple computing, the noise reduction to voice signal is achieved that
Processing, subtracts each other middle endpoint detection algorithm compared to traditional spectrum, greatly reduces the complexity of algorithm.
S209:Export the voice signal after noise reduction process.
In order to make it easy to understand, the core concept of present embodiment is specifically described below, present embodiment is intended to root
Divide the voice signal that following three situation picks up main microphon and secondary wheat according to the ratio size of the first distance a and second distance c
The voice signal of gram wind pickup is handled:
When c distance more than n (equivalent to the second predetermined threshold value in present embodiment) times a apart from when, i.e. c/a>
n.The mouth for thinking user at this time is very close to main microphon, and place is amplified to difference signal St using the first amplification factor
Reason.
When c distance less than m (equivalent to the first predetermined threshold value in present embodiment) times a apart from when, i.e. c/a<
m.Think that the mouth of user from main main microphon is distant at this time, at this time main microphon and secondary microphone pickup user say
Voice signal size be not much different, cannot at this time do dual microphone noise reduction process, processor is gathered without using secondary microphone
The voice data arrived, the voice directly picked up using main microphon are believed
When the distance of c be more than the distance of m times of a and a less than n times apart from when.That is m<c/a<n.User's mouth at this time
Portion not close to main microphon, but from nor especially remote, certain noise reduction process can be done, i.e., using the second times magnification
It is several that processing is amplified to difference signal St.
Compared with prior art, embodiment of the present invention by obtain sound generation source and main microphon first distance and institute
The second distance of sound generation source and secondary microphone is stated, obtains being used to characterize the distance between the second distance and the described first distance
The characteristic quantity of difference, when the characteristic quantity be more than the first predetermined threshold value and the second distance be more than described first apart from when, according to
The voice signal of the main microphon pickup and the voice signal of secondary microphone pickup, to the language of main microphon pickup
Sound signal carries out noise reduction process, finally exports the voice signal after noise reduction process.By judging the characteristic quantity and described first
The magnitude relationship of predetermined threshold value so that the terminal device is in the case of the characteristic quantity is more than first predetermined threshold value to institute
The voice signal for stating main microphon pickup carries out noise reduction process.Due to also needing to judge the second distance and first distance
Magnitude relationship, further ensure the terminal device will also be relatively near apart from the main microphon in the sound generation source and apart from institute
Noise reduction process just is carried out to the voice signal of main microphon pickup in the case of stating secondary microphone farther out, so that the end
End equipment targetedly can carry out noise reduction process to the voice signal of main microphon pickup, without equal under any circumstance
Noise reduction process can be carried out to the voice signal of main microphon pickup.
The step of various methods divide above, be intended merely to describe it is clear, can be merged into when realizing a step or
Some steps are split, are decomposed into multiple steps, as long as including identical logical relation, all protection domain in this patent
It is interior;To either adding inessential modification in algorithm in flow or introducing inessential design, but its algorithm is not changed
Core design with flow is all in the protection domain of the patent.
Third embodiment of the invention is related to a kind of terminal device, as shown in figure 3, including:
At least one processor 301;And
With the memory 302 of at least one processor 301 communication connection;Wherein,
Memory 302 is stored with the instruction that can be performed by least one processor 301, instructs by least one processor
301 perform, so that at least one processor 301 is able to carry out such as the side of the terminal device noise reduction in first or second embodiment
Method.
Wherein, memory 302 is connected with processor 301 using bus mode, and bus can include any number of interconnection
Bus and bridge, bus one or more processors 301 and the various of memory 302 are electrically connected to together.Bus may be used also
The various other of such as ancillary equipment, voltage-stablizer and management circuit or the like to be electrically connected to together, these are all
It is known in the art, therefore, no longer it is described further herein.Bus interface provides between bus and transceiver
Interface.Transceiver can be an element or multiple element, such as multiple receivers and transmitter, there is provided for
The unit to communicate on transmission medium with various other devices.Through processor 301 handle data by antenna on the radio medium
It is transmitted, further, antenna also receives data and transfers data to processor 301.
Processor 301 is responsible for bus and common processing, can also provide various functions, including timing, periphery connects
Mouthful, voltage adjusting, power management and other control functions.And memory 302 can be used for storage processor 301 and perform
Used data during operation.
It will be understood by those skilled in the art that the respective embodiments described above are to realize the specific embodiment of the present invention,
And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.
Claims (10)
- A kind of 1. terminal device noise-reduction method, it is characterised in that including:Obtain the first distance and the second distance of the sound generation source and secondary microphone of sound generation source and main microphon;According to the second distance and first distance, obtain and be used to characterize between the second distance and first distance Range difference characteristic quantity;When the characteristic quantity is more than the first predetermined threshold value, and the second distance be more than described first apart from when, according to the master The voice signal of microphone pickup and the voice signal of secondary microphone pickup, to the voice signal of main microphon pickup Noise reduction process is carried out, exports the voice signal after noise reduction process.
- 2. a kind of terminal device noise-reduction method according to claim 1, it is characterised in that the characteristic quantity is described second The ratio of distance and first distance.
- 3. a kind of terminal device noise-reduction method according to claim 1, it is characterised in that further include:When the characteristic quantity is less than or equal to first predetermined threshold value, the voice signal of the main microphon pickup is exported.
- 4. a kind of terminal device noise-reduction method according to claim 1, it is characterised in that described to be picked up to the main microphon The voice signal taken carries out noise reduction process, specifically includes:It is poor that the voice signal of the main microphon pickup and the voice signal of secondary microphone pickup are made, and obtains difference signal St;The difference signal St is amplified, using amplified signal as the voice signal after the noise reduction process.
- 5. a kind of terminal device noise-reduction method according to claim 4, it is characterised in that described to the difference signal St It is amplified, specifically includes:If the characteristic quantity is more than the second predetermined threshold value, the difference signal St is put using the first amplification factor Greatly;If the characteristic quantity is less than or equal to second predetermined threshold value, using the second amplification factor to the difference signal St is amplified;Wherein, second predetermined threshold value is more than first predetermined threshold value;First amplification factor is put more than described second Big multiple.
- 6. a kind of terminal device noise-reduction method according to claim 5, it is characterised in that described to the difference signal Before St is amplified, further include:Signal strength between the voice signal that the voice signal picked up according to the main microphon and the secondary microphone are picked up Difference, obtains first amplification factor and second amplification factor.
- A kind of 7. terminal device noise-reduction method according to claim 6, it is characterised in that the signal strength difference according to The following formula is calculated:Vc=20Lg (c/a)Wherein, a is first distance, and c is the second distance, VcFor the signal strength difference.
- A kind of 8. terminal device noise-reduction method according to any one of claim 1 to 7, it is characterised in that the acquisition The first distance and the second distance of the sound generation source and secondary microphone of sound generation source and main microphon, specifically include:The vertical range of the terminal device and face is obtained, and using the vertical range as first distance;According to the following formula, the second distance is calculated:c2=a2+b2Wherein, the c is the second distance, and a is first distance, and the b is the main microphon and the pair Air line distance between microphone.
- 9. a kind of terminal device noise-reduction method according to claim 8, it is characterised in that described to obtain the terminal device With the vertical range of face, it is specially:By the range sensor being arranged on the terminal device, the terminal device is obtained With the vertical range of face.
- A kind of 10. terminal device, it is characterised in that including:At least one processor;AndThe memory being connected with least one processor communication;Wherein,The memory storage has the instruction that can be performed by least one processor, and described instruction is by least one place Manage device to perform, so that at least one processor is able to carry out terminal device drop as claimed in any one of claims 1-9 wherein Method for de-noising.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711318562.0A CN107910015A (en) | 2017-12-12 | 2017-12-12 | A kind of terminal device noise-reduction method and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711318562.0A CN107910015A (en) | 2017-12-12 | 2017-12-12 | A kind of terminal device noise-reduction method and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107910015A true CN107910015A (en) | 2018-04-13 |
Family
ID=61865544
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711318562.0A Pending CN107910015A (en) | 2017-12-12 | 2017-12-12 | A kind of terminal device noise-reduction method and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107910015A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108322845A (en) * | 2018-04-27 | 2018-07-24 | 歌尔股份有限公司 | A kind of noise cancelling headphone |
CN109767766A (en) * | 2019-01-23 | 2019-05-17 | 海信集团有限公司 | A kind of audio recognition method and device |
CN111443351A (en) * | 2020-04-29 | 2020-07-24 | 潍坊歌尔微电子有限公司 | Device with ultrasonic distance measurement function and distance measurement method |
CN111565252A (en) * | 2020-04-30 | 2020-08-21 | 展讯通信(深圳)有限公司 | Mobile terminal and call control method thereof |
CN111986688A (en) * | 2020-09-09 | 2020-11-24 | 北京小米松果电子有限公司 | Method, device and medium for improving speech definition |
CN113301461A (en) * | 2021-05-14 | 2021-08-24 | 深圳波洛斯科技有限公司 | Active noise reduction method and system based on ambient sound elimination |
CN117135280A (en) * | 2023-04-17 | 2023-11-28 | 荣耀终端有限公司 | Voice call method and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005151042A (en) * | 2003-11-13 | 2005-06-09 | Sony Corp | Sound source position specifying apparatus, and imaging apparatus and imaging method |
CN102543097A (en) * | 2012-01-16 | 2012-07-04 | 华为终端有限公司 | Denoising method and equipment |
CN102801861A (en) * | 2012-08-07 | 2012-11-28 | 歌尔声学股份有限公司 | Voice enhancing method and device applied to cell phone |
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 |
CN105872898A (en) * | 2016-04-12 | 2016-08-17 | 北京奇虎科技有限公司 | Noise reduction processing method and apparatus based on double microphones |
CN106954126A (en) * | 2017-03-31 | 2017-07-14 | 深圳壹秘科技有限公司 | A kind of audio-frequency information processing method and its conference terminal |
CN107103904A (en) * | 2017-04-12 | 2017-08-29 | 奇瑞汽车股份有限公司 | A kind of dual microphone noise reduction system recognized applied to vehicle-mounted voice and noise-reduction method |
CN107371079A (en) * | 2017-04-17 | 2017-11-21 | 恒玄科技(上海)有限公司 | The diamylose gram noise reduction system and noise-reduction method of a kind of earphone |
-
2017
- 2017-12-12 CN CN201711318562.0A patent/CN107910015A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005151042A (en) * | 2003-11-13 | 2005-06-09 | Sony Corp | Sound source position specifying apparatus, and imaging apparatus and imaging method |
CN102543097A (en) * | 2012-01-16 | 2012-07-04 | 华为终端有限公司 | Denoising method and equipment |
CN102801861A (en) * | 2012-08-07 | 2012-11-28 | 歌尔声学股份有限公司 | Voice enhancing method and device applied to cell phone |
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 |
CN105872898A (en) * | 2016-04-12 | 2016-08-17 | 北京奇虎科技有限公司 | Noise reduction processing method and apparatus based on double microphones |
CN106954126A (en) * | 2017-03-31 | 2017-07-14 | 深圳壹秘科技有限公司 | A kind of audio-frequency information processing method and its conference terminal |
CN107103904A (en) * | 2017-04-12 | 2017-08-29 | 奇瑞汽车股份有限公司 | A kind of dual microphone noise reduction system recognized applied to vehicle-mounted voice and noise-reduction method |
CN107371079A (en) * | 2017-04-17 | 2017-11-21 | 恒玄科技(上海)有限公司 | The diamylose gram noise reduction system and noise-reduction method of a kind of earphone |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108322845A (en) * | 2018-04-27 | 2018-07-24 | 歌尔股份有限公司 | A kind of noise cancelling headphone |
CN108322845B (en) * | 2018-04-27 | 2020-05-15 | 歌尔股份有限公司 | Noise reduction earphone |
CN109767766A (en) * | 2019-01-23 | 2019-05-17 | 海信集团有限公司 | A kind of audio recognition method and device |
CN111443351A (en) * | 2020-04-29 | 2020-07-24 | 潍坊歌尔微电子有限公司 | Device with ultrasonic distance measurement function and distance measurement method |
CN111565252A (en) * | 2020-04-30 | 2020-08-21 | 展讯通信(深圳)有限公司 | Mobile terminal and call control method thereof |
CN111986688A (en) * | 2020-09-09 | 2020-11-24 | 北京小米松果电子有限公司 | Method, device and medium for improving speech definition |
CN113301461A (en) * | 2021-05-14 | 2021-08-24 | 深圳波洛斯科技有限公司 | Active noise reduction method and system based on ambient sound elimination |
CN117135280A (en) * | 2023-04-17 | 2023-11-28 | 荣耀终端有限公司 | Voice call method and electronic equipment |
CN117135280B (en) * | 2023-04-17 | 2024-05-31 | 荣耀终端有限公司 | Voice call method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107910015A (en) | A kind of terminal device noise-reduction method and terminal device | |
US10984815B1 (en) | Techniques for removing non-linear echo in acoustic echo cancellers | |
KR102056993B1 (en) | Echo cancellation methods, devices, and computer storage media | |
US20210217433A1 (en) | Voice processing method and apparatus, and device | |
CN105280195B (en) | The processing method and processing device of voice signal | |
CN103238182B (en) | Noise reduction system with remote noise detector | |
CN102411936B (en) | Speech enhancement method and device as well as head de-noising communication earphone | |
US20160205263A1 (en) | Echo Cancellation Method and Apparatus | |
WO2021114953A1 (en) | Voice signal acquisition method and apparatus, electronic device, and storage medium | |
CN108630219B (en) | Processing system, method and device for echo suppression audio signal feature tracking | |
US9344050B2 (en) | Dynamic speaker management with echo cancellation | |
CN206349145U (en) | Audio signal processing apparatus | |
CN108322845A (en) | A kind of noise cancelling headphone | |
US20140341386A1 (en) | Noise reduction | |
CN110995951B (en) | Echo cancellation method, device and system based on double-end sounding detection | |
CN103997561A (en) | Communication apparatus and voice processing method therefor | |
CN203057371U (en) | Camera device having echo elimination function and television set | |
CN107958671B (en) | Echo cancellation device of law enforcement recorder | |
CN107204192B (en) | Voice test method, voice enhancement method and device | |
CN112394771A (en) | Communication method, communication device, wearable device and readable storage medium | |
CN115835094A (en) | Audio signal processing method, system, device, product and medium | |
CN115691524A (en) | Audio signal processing method, device, equipment and storage medium | |
TWM621689U (en) | Micro-electromechanical microphone system with adaptive short-range sound receiving function | |
CN209390369U (en) | A kind of microphone and electronic equipment with echo sound-attenuating system | |
CN202634674U (en) | Denoising device under the state of listening to music via earphone |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180413 |