A kind of single microphone voice de-noising method and device
Technical field
Noise reduction technology field, particularly a kind of single microphone voice de-noising method the present invention relates to communicate by letter.The method, by setting up functional module construction, is controlled computer system by computer program instructions and is completed.
Background technology
Along with the development of technology, mobile communication equipment is popularized greatly.In use mobile communication equipment carries out communication process, inevitably have background noise, the existence of background noise has had a strong impact on the quality of call, and different due to call environment, background noise is also different.To this, in order to improve speech quality, be mainly in the industry at present to adopt the mode of dual microphone to filter the processing of making an uproar.As the patent No. is: the patent document of CN 103219011A discloses a kind of for solving the noise-reduction method of the noise jamming problem in communication terminal when call, and this noise-reduction method comprises: control the first audio input device (i.e. the first microphone) and gather the residing neighbourhood noise of described communication terminal; The scene noise prestoring in described neighbourhood noise and described communication terminal is carried out to Spectrum Analysis Comparison, and obtain a comparing result; And according to described comparing result, call noise reduction parameters corresponding to described neighbourhood noise, and isolate according to described noise reduction parameters the user voice that described the second audio input device (being second microphone) gathers.
Visible, in the prior art, for filter out noise, mobile communication equipment must possess two microphones, one of them microphone is used for gathering background noise, another microphone is for gathering the voice of user's input, and this has not only increased the cost of mobile communication equipment, has also increased the design difficulty of the mobile communication equipment of miniaturization.
Summary of the invention
The object of the invention is to avoid above-mentioned weak point of the prior art and provide a kind of and can realize the voice de-noising method that carry out noise reduction process to communication process by microphone.
Object of the present invention is achieved through the following technical solutions:
A voice de-noising method, comprising:
Benchmark speech feature extraction step: the reference characteristic parameter T1 that obtains user voice signal before call under noiselessness environment;
Call noise acquisition step: judge in the received voice signal of communication process whether comprise user voice signal according to reference characteristic parameter T1, the voice signal that the time slot that does not comprise user voice signal in sent voice signal is received is defined as background noise;
Noise-filtering step: according to the noise in background noise filtering voice signal to be sent to form without noisy speech signal.
Wherein, also comprise timing step: call starts timing while starting, according to property time-count cycle, start described call noise acquisition step to periodically update described background noise.
Wherein, the method also comprises the preliminary filter step of making an uproar: when call starts, differ from the voice signal of reference characteristic parameter T1 in filtering voice signal to be sent.
Wherein, described noise-filtering step comprises:
Feature of noise parameter extraction step: the feature of noise parameter T2 that extracts background noise;
Direct filtering step: the noise signal that meets feature of noise parameter T2 in filtering voice signal to be sent is to form without noisy speech signal.
Beneficial effect of the present invention: the present invention by identifying the time slot of no user phonetic entry in communication process, the voice signal that microphone collects in the time slot of no user phonetic entry is background noise, therefore utilize this time slot to carry out background extraction noise signal, then according to this background noise, the voice signal in communication process is filtered to the processing of making an uproar, thereby realize, utilize a microphone can solve the problem of noise jamming, reduced cost and the design difficulty of mobile communication equipment.
Embodiment
The invention will be further described with the following Examples.
The embodiment of a kind of single microphone voice de-noising method of the present invention, comprising:
Steps A: the reference characteristic parameter T1 that obtains user voice signal before call under noiselessness environment; This step can be by the voice of user's typing oneself under quiet environment, then the characteristic parameter that system is extracted in voice is automatically realized, certainly, in Input Process, system also can detect to help user to obtain a noiseless input environment to environmental volume.Particularly, the characteristic parameter that extracts voice belongs to common practise in the art, does not repeat them here.
Step B: when call starts, obviously differ from the voice signal of reference characteristic parameter T1 in filtering voice signal to be sent.When call starts, user input voice, owing to only there being a microphone, now system also fails to gather the noise signal in environment, also with regard to failing, according to environmental noise signal, the voice signal of user's input is carried out to noise reduction process, therefore adopting this step will be obviously the characteristic parameter of user input voice from reference characteristic parameter T1(in the voice signal of user's input) (the method only can be for preliminary noise reduction in different voice signal filterings, background noise in filtering voice completely), with this, reach the preliminary noise reduction object of incipient stage in call.Certainly, the preliminary noise reduction that this step is only used for conversing before incipient stage background extraction noise signal not yet in effect is used, and in actual application, also can not adopt this step.
Step C: after call starts, every a time period T, according to reference characteristic parameter T1, judge in the received voice signal of communication process whether comprise user voice signal, the voice signal that the time slot that does not comprise user voice signal in sent voice signal is received is defined as background noise;
Concrete, according to reference characteristic parameter T1, judge that the method that whether comprises user voice signal in the received voice signal of communication process belongs to comparatively proven technique of this area, due to reference characteristic parameter, T1 has obvious speech envelope, and frequency spectrum and intensity voice and change, and ground unrest has more stable frequency and intensity, utilize first order IIR filtering device can obtain the spectrum distribution of noise, can instantaneously identify voice and noise signal thus, and whether can identify this voice signal be that this user says; System just can utilize this principle judgement user when speaking, and when has not spoken;
In addition, this method adopts and periodically updates background noise, concrete cycle length and cycle strategy can arrange flexibly, it is 5 seconds that update cycle is for example set, cycle strategy can be that system just starts whether to comprise user voice signal to gather background noise in the voice signal that receives of judgement every 5 seconds in communication process, can also be has also upgraded at every turn background noise after 5 seconds system start whether to comprise user voice signal with collection background noise in voice signal that judgement receives.
Step D: extract the feature of noise parameter T2 of background noise, the noise signal that meets feature of noise parameter T2 in filtering voice signal to be sent is to form without noisy speech signal.With this, realize the noise in filtering voice signal to be sent.Certainly, those skilled in the art also can adopt additive method according to the noise in background noise filtering voice signal to be sent, and for example adopting the patent No. is the filter method for de-noising in the patent document of CN 103219011A, and this is located to repeat no more.
The method providing herein, all or part of step wherein can, by setting up functional module construction, be controlled computer system by computer program instructions and complete.These computer program instructions are stored in computer-readable recording medium.
Finally should be noted that; above embodiment is only in order to illustrate technical scheme of the present invention; but not limiting the scope of the invention; although the present invention has been done to explain with reference to preferred embodiment; those of ordinary skill in the art is to be understood that; can modify or be equal to replacement technical scheme of the present invention, and not depart from essence and the scope of technical solution of the present invention.