IE61863B1 - Voice activity detection - Google Patents
Voice activity detectionInfo
- Publication number
- IE61863B1 IE61863B1 IE77489A IE77489A IE61863B1 IE 61863 B1 IE61863 B1 IE 61863B1 IE 77489 A IE77489 A IE 77489A IE 77489 A IE77489 A IE 77489A IE 61863 B1 IE61863 B1 IE 61863B1
- Authority
- IE
- Ireland
- Prior art keywords
- signal
- speech
- measure
- coefficients
- filter
- Prior art date
Links
- 230000000694 effects Effects 0.000 title claims abstract description 32
- 238000001514 detection method Methods 0.000 title claims description 22
- 238000001228 spectrum Methods 0.000 claims abstract description 31
- 230000003595 spectral effect Effects 0.000 claims abstract description 26
- 230000004044 response Effects 0.000 claims abstract description 21
- 238000001914 filtration Methods 0.000 claims description 8
- 230000003044 adaptive effect Effects 0.000 claims description 6
- 238000000034 method Methods 0.000 claims description 6
- 238000011524 similarity measure Methods 0.000 claims 1
- 238000012545 processing Methods 0.000 description 4
- 206010019133 Hangover Diseases 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 101000822695 Clostridium perfringens (strain 13 / Type A) Small, acid-soluble spore protein C1 Proteins 0.000 description 1
- 101000655262 Clostridium perfringens (strain 13 / Type A) Small, acid-soluble spore protein C2 Proteins 0.000 description 1
- 101000655256 Paraclostridium bifermentans Small, acid-soluble spore protein alpha Proteins 0.000 description 1
- 101000655264 Paraclostridium bifermentans Small, acid-soluble spore protein beta Proteins 0.000 description 1
- 206010036086 Polymenorrhoea Diseases 0.000 description 1
- 101710096660 Probable acetoacetate decarboxylase 2 Proteins 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011045 prefiltration Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000010183 spectrum analysis Methods 0.000 description 1
- 238000012549 training 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
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
-
- 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
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/78—Detection of presence or absence of voice signals
-
- 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
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/78—Detection of presence or absence of voice signals
- G10L25/84—Detection of presence or absence of voice signals for discriminating voice from noise
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (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)
- Telephonic Communication Services (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
- Noise Elimination (AREA)
- Geophysics And Detection Of Objects (AREA)
- Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
- Signal Processing Not Specific To The Method Of Recording And Reproducing (AREA)
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
- Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
Abstract
Voice activity detector (VAD) for use in an LPC coder in a mobile radio system, uses autocorrelation coefficients R0, R1..... of the input signal, weighted and combined, to provide a measure M which depends on the power within that part of the spectrum containing no noise, which is thresholded against a variable threshold to provide a speech/no speech logic output. The measure is where Hi are the autocorrelation coefficients of the impulse response of an Nth order FIR inverse noise filter derived from LPC analysis of previous non-speech signal frames. Threshold adaption and coefficient update are controlled by a second VAD responsive to rate of spectral change between frames.
Description
VOICE ACTIVITY DETECTION A voice activity detector is a device which is supplied with a signal with the object of detecting periods of speech,, or periods containing only noise.
Although the present invention is not limited thereto, one application of particular interest for such detectors is in mobile radio telephone systems where the knowledge as to the presence or otherwise of speech can be used exploited by a speech coder to improve the efficient utilisation of radio spectrum, and where also the noise level (from a vehicle-mounted unit) is likely to be high.
The essence of voice activity detection is to locate a measure which differs appreciably between speech and non-speech periods. In apparatus which includes a speech 15 . coder, a number of parameters are readily available from one or other stage of the coder, and it is therefore desirable to economise on processing needed by utilising some such parameter- In many environments, the main noise sources occur in known defined areas of the frequency ? f) spectrum. For example, in a moving car much of the noise (eg, engine noise) is concentrated in the low frequency regions of the spectrum.. Where such knowledge of the spectral position of noise is available, it is desirable to base the decision as to whether speech is present or 25 absent upon measurements taken from that portion of the spectrum which contains relatively little noise. It would, of course, be possible in practice to pre-filter the signal before analysing to detect speech activity, but where the voice activity detector follows the output of a speech coder, prefiltering would distort the voice signal to be coded. la US4358738, a voice activity detector is disclosed which compares the input signal with predetermined noise characteristics, by filtering the input signal through a pair of manually balanced bandpass filters (employing analogue components) to form two frequency dependent energy segments. This method is of limited usefulness for many reasons; firstly, such a crude arrangement ignores the fact that many types of noise could have an energy balance between the two bands similar to a speech signal, secondly, balancing the filters is laborious and requires a manual detection of noise periods for balancing, and thirdly, such a device is unable to adjust to changing noise or spectral changes in the environment (or communications channel).
In IEEE transactions on acoustics, speech and signal processing, vol ASSP-25, No. 4, August 1977, page 338-343, Rabiner et al Application of an LPC distance measure to the voiced unvoiced silence detection problem", there is , disclosed a classifier for discriminating between silence, unvoiced speech, and voiced speech which has been transmitted over a telephone line- The method comprises initially using manually classified silence", voiced, and unvoiced·’ frames of speech signals to drive reference patterns, and then comparing the input signal to each of these using a comparison measure and selecting the reference pattern to which the input signal is closest. This method shares some of the disadvantages of US4358738, in that it requires extensive manual intervention in selecting silence85 frames from training data and forming therefrom the reference pattern, and that since the reference pattern is fixed changes in the environment result in wrong identifications. These problems are greatly exacerbated in high level noise environments (such as a moving vehicle) compared to the low level noise environment (silence over a telephone line) described by Rabiner. - 2a European patent application published as EP-A-0127718and US patent 4672669 describe a voice activity detection apparatus in which a first test is made on signal amplitude and a second test is based on analysis of changes in the short-term signal spectrum. Specifically, the spectral analysis is performed by comparing the autocorrelation of the signal with that of an earlier portion of the signal deemed to be speech-free.
According to one aspect of the present invention there is provided a voice activity detection apparatus comprising: (i) means for receiving a first, input, signal; (ii) means for periodically adaptively generating a second signal representing an estimated noise signal component of the first signal; (iii) means for periodically forming from the first and second signals a measure of the spectral similarity between a portion of the input signal and the said estimated noise signal component; and (iv) means for comparing the measure with a threshold value to produce an output indicating the presence or absence of speech; i n win, ch (v) the generating means includes analysis means operable to produce the coefficients of a filter having a spectral response which is the inverse of the frequency spectrum of one of the said two signals; and (vi) the measure forming means are operable to produce a measure which is proportional to the zero-order autocorrelation of the other of the said two signals after filtering by a filter having the said coefficients.
In another aspect, the invention provides a method of detecting voice activity in a first, input, signal, comprising 2b (a) periodically adaptively generating a second signal representing an estimated noise signal component of the first signal; (b) periodically forming from the first and second signals a measure of the spectral similarity between a portion of the input signal and the said estimated noise signal component; and (c) comparing the measure with a threshold value to produce an output indicating the presence or absence of speech; i n whi ch (d) the generating step includes producing the coefficients of a filter having a spectral response which is the inverse of the frequency spectrum of signals; and (e) the measure is proportional to the zero-order autocorrelation of the other of the said two signals after filtering by a filter having the said coefficients.
Other aspects of the present invention are as defined in the claims.
Some embodiments of the invention will now be described, by way of example, with reference to the accompanying drawings, in which: Figure 1 is a block diagram of a first embodiment of the invention; Figure 2 shows a second embodiment of the invention; Figure 3 shows a third, preferred embodiment of the invention.
The general principle underlying a first Voice Activity Detector according to the a first embodiment of the invention is as follows.
A frame of n signal samples (sQ, sv s^, Sg, s& ... ) will, when passed through a notional fourth order finite impulse response (FIR) digital filter of impulse response (1, hg, hp, h7, hg), result in a filtered signal (ignoring samples from previous frames) s i™ 0), Vo ), hgSX +l'ls0 ),hOs2hA -h2S0 ),h0S3 +hlS2 +h2sl + h^Sg),h0S4 +hA +h2S2 4· hgSx),h0S5 +hlS4 4·h2S3 + hgSg 1 - ) The zero order autocorrelation coefficient is the sun of each term squared, which may be normalized i.e. divided by the total number of terms (for constant frame lengths it is easier to omit the division); that of th© filtered signal is thus ο-· L-O and this Is therefore a measure of the power of the notional filtered signal s’ ~ ύι other words, of that part of the signal s which falls within the passband of the notional filter.
Expanding, neglecting the first 4 terms, R’g = (S^ + (Sg 1 0 9 9 * h0S3 * hlS2 T T 1 hnS^ ~ h^s«) ώ X J W ' h2S2 * h3Sl}’ = s2 4 ~ ^0^4.^3r ^1S4S2 4* h,s„s., 4 X ·»>h3S4S0 5+ h0S4S3 * A2 ' Il0sQr ^0^1S3S2 +h0h2s3sl ThOh3S3sO+ hAS2 ~ VlS3S2 • A2 r "ls2 +h?2S2Sl +filh3S2SQ * h^s. * hQh1s3s1+ hAS2sl + -,2 2 h2Sl *h2h3SlS0 T hjS^Sg + hQh3s3s0T ^1^3S2SO + .2 2 h3s0 A ... 10R0 (1 + h2, h2+ h2, h2) * R1 (2hQ + 2ίϊθ1ιΊ + ZhJb, + 2h9n3) + R^ ί 2k .j + + 2hgh7) + R3 (2h~. + 2hQh3) + R4 (2h") So S50 can be obtained from a combination of the autocorrelation coefficients RP' weighted by the bracketed constants which determine the frequency band to which the value of RSQ is responsive. In fact, the bracketed terms are the autocorrelation coefficients of the impulse response of the notional filter» so that the expression above may be simplified to ς: _ II i = 1 (1) where H is the filter order and are the (un-nonnalised) autocorrelation coefficients of the impulse response of the filter.
In other words, the effect on the signal autocorrelation coefficients of filtering a signal may be simulated by producing a weighted sum of the autocorrelation coefficients of the (unfiltered) signal» using the impulse response that the required filter would have had.
Thus, a relatively simple algorithm, involving a small number of multiplication operations, may simulate the effect of a digital filter requiring typically a hundred times this number of multiplication operations.
This filtering operation may alternatively be viewed as a form of spectrum comparison, with the signal spectrum being matched against a reference spectrum (the inverse of the response of the notional filter). Since the notional filter in this application is selected so as to approximate the inverse of the noise spectrum, this operation may be viewed as a spectral comparison between speech and noise spectra, and the zeroth autocorrelation coefficient thus generated (i.e. the energy of the inverse filtered signal) as a measure of dissimilarity between the spectra. The Itakura-Saito distortion measure is used in LPC to assess the match between the predictor filter and the input spectrum, and in one form is expressed as M = BA + 2y ΕΛ, FT where Αθ etc are the autocorrelation coefficients of the LPC parameter set. It will be seen that this is closely similar to the relationship derived above, and when it is .remembered that the LPC coefficients are the taps of an FIS filter having the inverse spectral response of the . input signal so that the LPC coefficient set is the impulse response of the inverse LPC filter, it will be apparent that the Itakura-Saito Distortion Measure is in fact merely a form of equation 1, wherein the filter response H is the inverse of the spectral shape of an all-pole model of the input signal.
In fact, it is also possible to transpose the spectra, using the LPC coefficients of the test spectrum and the 'autocorrelation coefficients of the reference spectrum, to obtain a different measure of spectral similarity.
The I-S Distortion measure is further discussed in Speech Coding based upon Vector Quantisation" by A Buzo, A H Gray, R M Gray and J D Karkel, IEEE Trans on ASSP, Vol ASSP-28, Mo 5, October 1980, Since the frames of signal have only a finite length, and a number of terms (K, where H is the filter order) are neglected, the above result is an approximation only; it gives, however, a surprisingly good indicator of the presence or absence of speech and thus may be used as a measure K in speech detection. In an environment where the noise spectrum is well known and stationary, it is quite possible to simply employ fixed .Ηθ, h, etc coefficients to model the inverse noise filter.
However, apparatus which can adapt to different noise environments is much more widely useful.
Referring to Figure 1, in a first embodiment, a signal from a microphone (not shown) is received at an input 1 and converted to digital samples s at a suitable sampling rate by an analogue to digital converter 2,. An LPC analysis unit 3 (in a known type of L?C coder) then derives, for successive frames of n (eg 160) samples, a set of 8 (eg 8 or 12) LPC filter coefficients L. which are transmitted to represent the input speech. The speech signal s also enters a correlator unit 4 (normally part of the LPC coder 3 since the autocorrelation vector R. of the speech is also usually produced as a step in the LPC analysis although it will be appreciated that a separate correlator could be provided). The correlator 4 produces the autocorrelation vector R^, including the zero order correlation coefficient Κθ and at least 2 further autocorrelation coefficients R R3. These are then supplied to a multiplier unit 5.
A second input 11 is connected to a second microphone located distant from the speaker so as to receive only background noise. The input from this microphone is converted to a digital input sample train by AD convertor 12 and LPC analysed by a second LPC analyser 13. The noise LFC coefficients produced from analyser 13 are passed to correlator unit 14, and the autocorrelation vector thus produced is multiplied term by term with the autocorrelation coefficients R,. of the input signal from the speech microphone in multiplier 5 and the weighted coefficients thus produced are combined in adder 6 according to Equation 1, so as to apply a filter having the inverse shape of the noise spectrum from the noise-only microphone (which in practice is the same as the shape of the noise spectrum in the signal-plus-noise microphone) and thus filter out most of the noise. The resulting measure M is thresholded by thresholder 7 to produce a logic output 8 indicating the presence or absence of speech; if M is high, speech is deemed to be present.
This embodiment does, however, require two microphones and two LPC analysers, which adds to the expense and -complexity of the equipment necessaryAlternatively, another embodiment uses a corresponding measure formed using the autocorrelations from the noise microphone 11 and the LPC coefficients from the main microphone 1, so that an extra autocorrelator rather than an LPC analyser is necessary.
These embodiments are therefore able to operate within different environments having noise at different frequencies, or within a changing noise spectrum in a given environment.
Referring to Figure 2, in the preferred embodiment of the invention, there is provided a buffer 15 which stores a set of LPC coefficients (or the autocorrelation vector of the set) derived from the microphone input 1 in a period identified as being a non speech (ie noise only) period. These coefficients are then used to derive a. measure using equation X, which also of course corresponds to the Itakura-Saito Distortion Measure, except that a single stored frame of LPC coefficients corresponding to an approximation of the inverse noise spectrum is used, rather than the present frame of LPC coefficients.
The LPC coefficient vector output by analyser 3 is also routed to a correlator 14, which produces the autocorrelation vector of the LPC coefficient vector- The buffer memory 15 is controlled by the speech/non-speech output of thresholder 7, in such a way that during speech frames the buffer retains the noise8 autocorrelation coefficients, but during noise frames a new set of LPC coefficients may be used to update the buffer, for example by a multiple switch 16, via which outputs of the correlator 14, carrying each autocorrelation coefficient, are connected to the buffer . It will be appreciated that correlator 14 could be positioned after buffer 15. Further, the speech/no-speech decision for coefficient update need not be from output 8, but could be (and preferably is) otherwise derived.
Since frequent periods without speech occur, the LPC coefficients stored in the buffer are updated from time to time, so that the apparatus is thus capable of tracking changes in the noise spectrum- It will be appreciated that such updating of the buffer may be necessary only occasionally, or may occur only once at the start of operation of the detector,, if (as is often the case) the noise spectrum is relatively stationary over time, but in a mobile radio environment frequent updating is preferred.
In a modification of this embodiment, the system initially employs equation 1 with coefficient terms corresponding to a simple fixed high pass filter^ and then subsequently starts to adapt by switching over to using noise period LPC coefficients. If, for some reason, speech detection fails, the system may return to using the simple high pass filter.
It is possible to normalise the above measure by dividing through by R^, so that the expression to be thresholded has the fora - 10 This measure is independent of the total signal energy in a frame and is thus compensated for gross signal level changes, but gives rather less marked contrast between noise and speech® levels and is hence preferably not employed in high-noise environments.
Instead of employing LPC analysis to derive the inverse filter coefficients of th® noise signal (from either the noise microphone or noise only periods, as in the various embodiments described above), it is possible to model the inverse noise spectrum using an adaptive filter of known type; as the noise spectrum changes only slowly (as discussed below) a relatively slow coefficient adaption rate common for such filters is acceptable. In one embodiment, which corresponds to Figure 1, L-PC analysis unit 13 is simply replaced by an adaptive filter (for example a transversal FIR or lattice filter), connected so as to whiten the noise input by modelling the inverse filter, and its coefficients are supplied as before to autocorrelator 14.
In a second embodiment, corresponding to that of Figure 2, LPC analysis means 3 is replaced by such an adaptive filter, and buffer means IS is omitted, but switch 16 operates to prevent the adaptive filter from adapting its coefficients during speech periods.
A second Voice Activity Detector for use with another embodiment of the invention will now be described.
From the foregoing, it will be apparent that the LFC coefficient vector is simply the impulse response of an FIR filter which has a response approximating the inverse spectral shape of the input signal. When the Itakura-Saito Distortion Measure between adjacent frames is formed, this is in fact equal to the power of the - 11 signal, as filtered by the LPC filter of the previous frame. So if spectra of adjacent frames differ little, a correspondingly small amount of the spectral power of a frame will escape filtering and the measure will be low. Correspondingly, a large interframe spectral difference produces a high Itakura-Saito Distortion Measure, so that the measure reflects the spectral similarity of adjacent frames. In a speech coder, it is desirable to minimise the data rate, so frame length is made as long as possible? in other words, if the frame length is long enough, then a speech signal should show a significant spectral change from frame to frame (if it does not, the coding is redundant). Noise, on the other hand, has a slowly varying spectral shape from frame to frame, and so in a period where speech is absent from the signal then the Itakura-Saito Distortion Measure will correspondingly be low - since applying the inverse LPC filter from the previous frame filters out most of the noise power.
Typically, the Itakura-Saito Distortion Measure between adjacent frames of a noisy signal containing intermittent speech is higher during periods of speech than periods of noise,· the degree of variation (as illustrated by the standard deviation) is also higher, and less intermittently variable.
It is noted that the standard deviation of the standard deviation of M is also a reliable measure; the effect of taking each standard deviation is essentially to smooth the measure.
In this second form of voice Activity Detector, the measured parameter used to decide whether speech is present is preferably the standard deviation of the Itakura-Saito Distortion Measure, but other measures of variance and other spectral distortion measures (based for example on FFT analysis) could be employed.
It is found advantageous to employ an adaptive threshold in voice activity detection. Such thresholds must not be adjusted during speech periods or the speech signal will be thresholded out. It is accordingly 5 necessary to control the threshold adapter using a speech/non-speech control signal, and it is preferable that this control signal should be independent of the output of the threshold adapter.
The threshold T is adaptively adjusted so as to keep the 10 threshold level just above the level of the measure M when noise only is present. Since the measure will in general vary randomly when noise is present, the threshold is varied by determining an average level over a number of blocks, and setting the threshold at a level proportional to this average. In a noisy environment this is not usually sufficient, however, and so an assessment of the degree of variation of the parameter over several blocks is also taken into account.
The threshold value T is therefore preferably 20 calculated according to T = M' + K.d where Ms is the average value of the measure over a number of consecutive frames, d is the standard deviation of tha measure over those frames, and K is a constant (which may typically be 2).
In practice, it is preferred not to resume adaptation immediately after speech is indicated to be absent, but to wait to ensure the fall is stable (to avoid rapid repeated switching between the adapting and non-adapting states).
Referring to Figure 3, in a preferred embodiment of tha invention incorporating the above aspects, an input 1 receives a signal which is sampled and digitised by analogue to digital converter (ADC) 2, and supplied to the input of an inverse filter analyser 3, which in practice - 13 is part of a speech coder with which the voice activity detector is to work, and which generates coefficients L(typically 8) of a filter corresponding to the inverse of the input signal spectrum. The digitised signal is also supplied to an autocorrelator 4, (which is part of analyser 3) which generates the autocorrelation vector R^ of the input signal (or at least as many low order terms as there are LFC coefficients). Operation of these parts of the apparatus is as described in Figures 1 and 2. Preferably, the autocorrelation coefficients are then averaged over several successive speech frames (typically 5-20 ms long) to improve their reliability. This may be achieved by storing each set of autocorrelations coefficients output by autocorrelator 4 in a buffer 4a, and employing an averager 4b to produce a weighted sum of the current autocorrelation coefficients R^ and those from previous frames stored in and supplied from buffer 4a. The averaged autocorrelation coefficients Ra^ thus derived are supplied to weighting and adding means 5,6 which receives also the autocorrelation vector Aj. of stored noise-period inverse filter coefficients from an autocorrelator 14 via buffer 15, and forms from Ra^ and a measure H preferably defined as-.
H = &0 +2^~ , 'V This measure is then thresholded by thresholder 7 against a threshold level, and the logical result provides an indication of the presence or absence of speech at output 8..
In order that the inverse filter coefficients correspond to a fair estimate of the inverse of the noise spectrum, it is desirable to update these coefficients during periods of noise (and, of course, not to update during periods of speech). It is, however, preferable that the speech/non-speech decision on which the updating is based does not depend upon the result of the updating, or else a single wrongly identified frame of signal may result in the voice activity detector subsequently going out of lock and wrongly identifying following frames_Preferably, therefore, there is provided a control signal generating circuit 20, effectively a separate voice activity detector, which forms an independent control signal indicating the presence or absence of speech to control inverse filter analyser 3 (or buffer 8) so that the inverse filter autocorrelation coefficients A- used to form the measure H are only updated during noise" periods- The control signal generator circuit 20 includes LPC analyser 21 (which again may be part of a speech coder and, specifically, may be performed by analyser 3), which produces a set of LPC coefficients corresponding to the input signal and an autocorrelator 21a (which may be performed by autocorrelator 3a) which derives the autocorrelation coefficients 3^ of ., If analyser 21 is performed by analyser 3, then £.=1^. and B.=Ar. These autocorrelation coefficients are then supplied to weighting and adding means 22,23 (equivalent to 5, 6) which receive also the autocorrelation vector of the input signal from autocorrelator 4- A measure of the spectral similarity between the input speech frame and the preceding speech frame is thus calculated; this may be the Itakura-Saito distortion measure between R. of the present frame and 0. of the preceding frame, as disclosed above, or it may instead be derived by calculating the Itakura - Saito distortion measure for R. and B^ of the present frame, and subtracting (in subtractor 25) the corresponding measure for the previous frame stored in buffer 24, to generate a spectral difference signal (in either case, the measure is preferably energy-normalised by dividing by RQ). The buffer 24 is then, of course, updated. This spectral difference signal, when thresholded by a thresholder 26 is, as discussed above, an indicator of the presence or absence of speech. We have found, however, that although this measure is excellent for distinguishing noise from unvoiced speech (a task which prior art systems are generally incapable of) it is in general rather less able to distinguish noise from voiced speech. Accordingly, there is preferably further provided within circuit 20 a voiced speech detection circuit comprising a pitch analyser 27 (which in practice may operate as part of a speech coder, and in particular may measure the long term predictor lag value produced in a. multipulse LPC coder). The pitch analyser 27 produces a logic signal which is •’true when voiced speech is detected, and this signal, together with the thresholded measure derived from thresholder 26 (which will generally be true when unvoiced speech is present) are supplied to the inputs of a NOR gate 28 to generate a signal which is false when speech is present and true when noise is present. This signal is supplied to buffer 8 (or to inverse filter analyser 3) so that inverse filter coefficients L. are only updated during noise periods.
Threshold adapter 29 is also connected to receive the non-speech signal control output of control signal generator circuit 20. The output of the threshold adapter 29 is supplied to thresholder 7. The threshold adapter operates to increment or decrement the threshold in steps which are a proportion of the instant threshold value, until the threshold approximates the noise power level (which may conveniently be derived from, for example, weighting and adding circuits 22, 23). When the input signal is very lew, it may he desirable that the threshold is automatically set to a fixed, low, level since at the low signal levels the effect of signal quantisation produced by ADC 2 can produce unreliable results.
There may be further provided ’hangover generating means 30, which operates to measure the duration of indications of speech after thresholder 7 and, when the presence of speech has been indicated for a period in excess of a predetermined time constant, the output is held high for a short hangover period* In this way, clipping of the middle of low-level' speech bursts is avoided, and appropriate selection of the time constant prevents, triggering of the hangover generator 30 by short spikes of noise which are falsely indicated as speech.
It will of course be appreciated that all the above functions may be executed by a single suitably programmed digital processing means such as a Digital Signal Processing (DSP) chip, as part of an LPC codec thus implemented (this is the preferred implementation), or as a suitably programmed microcomputer or microcontroller chip with an associated memory device.
Conveniently, as described above, the voice detection apparatus may be implemented as part of an LPC codec. Alternatively, where autocorrelation coefficients of the signal or related measures (partial correlation, or parcor, coefficients) are transmitted to a distant station the voice detection may take place distantly from the codec.
Claims (22)
1. 'voice activity detection apparatus comprising: (i) means (1) for receiving a first, input, signal; (ii) means (14,15) for periodically adaptively generating a second signal representing an estimated noise signal component of the first signal; (iii) means (4,5,6) for periodically forming from the first and second signals a measure M of the spectral similarity between a portion of the input signal and the said estimated noise signal component; and (iv) means (7) for comparing the measure M with a threshold value T to produce an output indicating the presence or absence of speech; characterised in that (v) the apparatus includes analysis means (13,3) operable to produce the coefficients of a filter having a spectral response which is the inverse of the frequency spectrum of one of the said two signals; and (vi) the measure forming means (4,5,6) are operable to produce a measure M which is proportional to the zero-order autocorrelation R* of a signal obtained by filtering of the other of the said two signals by a filter having the said coefficients .
2. Apparatus according to claim 1 in which the analysis means (13,3) includes an adaptive filter.
3. Apparatus according to claim 1, in which the generating means (14,15) are operable to compute the autocorrelation coefficients A ; of the impulse response of the said coefficients and the measure forming means (4) comprises means for computing the autocorrelation coefficients R f of the said other signal, and means (5, 6) connected to receive R. and A p and to calculate the measure M therefrom.
4. Apparatus according to claim 2 in which the means (4) f for computing the autocorrelation coefficients ...R^ of the said other signal are arranged (4a,4b) to do so in dependence upon the autocorrelation coefficients of several successive portions of the signal.
5. Apparatus according to claim 3 or 4, in which -22>A· where represents the i t ^ autocorrelation coefficient of the impulse response of said filter.
6. Apparatus according to claim 3 or 4, in which Μ*Λ Ο + 2T — where A. represents the autocorrelation coefficient of the impulse response of said filter.
7. Apparatus according to any one of claims 1 to S, in which the said one signal is the second, noise representing, signal and the said other signal is the first, input signal.,
8. Apparatus according to claim 7, further comprising an input (11) arranged to receive a second input signal, similarly subject to noise, from which speech is absent, in which the generating means comprise LPC analysis means (13) for deriving values of A. from the second input signal.
9. Apparatus according to any on® of claims 1 to 7, further comprising a buffer (15) connected to store data from which the autocorrelation coefficients A 5 of the said filter response may be obtained, in which the said filter response is periodically calculated from the signal by LPC analysis means (3), the apparatus being so connected and controlled that the measure M is calculated using the said stored data, and the said stored data is updated only from periods in which speech is indicated to be absent.
10. Apparatus according to claim 9 further comprising means (20) for indicating the absence of speech to control the updating of the stored data, the means (20) for indicating the absence of speech being a second voice activity detection means (20).
11. Apparatus according to any one of the preceding claims, further comprising means (29) for adjusting the said threshold value T during periods when speech is indicated to be absent.
12. Apparatus according to claim 11, further comprising second voice activity detection means (20) arranged to prevent adjustment of the threshold value when speech is present.
13. Apparatus according to claim 10 further comprising means (20) for adjusting the said threshold value T during periods when speech is indicated to be absent, the said second voice activity detection means (20) being arranged to prevent adjustment of the threshold value when speech is present.
14. Apparatus according to claim 11, 12 or 13 in which the threshold value T is, when adjusted, adjusted to be equal to the mean of the measure plus a term which is a fraction of the standard deviation of the measure.
15. Apparatus according to claim 10, 13 or 14 in which said second voice activity detection means (20) comprises means (4, 21, 21a, 22, 23, 24, 25, 26) for generating a measure of the spectral similarity between a portion of the input signal and earlier portions of the input signal.
16. Apparatus according to claim 15 in which the similarity measure generating means comprises means (4, 21, 22, 23) for providing, from LPG filter data and autocorrelation data relating to a present portion of the input signal, a present distortion measure; means (24) for providing an equivalent past frame distortion measure corresponding to a preceding portion of the input signal, and means (25, 26) for generating a signal indicating the degree of similarity therebetween as an indicator of speech presence or absence.
17. Apparatus according to claim 15 or 16, in which said second voice activity detection means (20) further comprises voiced speech detection means (27) comprising pitch analysis means (27), for generating a signal indicative of the presence of voiced speech, upon which the output of said second voice activity detection means (20) also depends.
18. A method of detecting voice activity in a first, input, signal, comprising (a) periodically adaptively generating a second signal representing an estimated noise signal component of the first signal; (b) periodically forming from the first and second signals a measure M of the spectral similarity between a portion of the input signal and the said estimated noise signal component; and (c) comparing the measure M with a threshold value T to produce an output indicating the presence or absence of speech; characterised by (d) the step of producing the coefficients of a filter having a spectral response which is the inverse of the frequency spectrum of one of the said two signals; and in that (e) the measure M is proportional to the zero-order autocorrelation R* of a signal obtained by filtering of the other of the said two signals by a filter having the said coefficients. 5
19. Apparatus for encoding speech signals including apparatus according to any one of claims 1 to 17.
20. Mobile telephone apparatus including apparatus according to any one claims 1 to 17.
21. A voice activity detection apparatus according to any one of claims 1 to 17» substantially as herein described with reference to the accompanying drawings.
22. A method of detecting voice activity in a first, input, signal, according to claim 18, substantially as herein described with reference to the accompanying drawings.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GB888805795A GB8805795D0 (en) | 1988-03-11 | 1988-03-11 | Voice activity detector |
GB888813346A GB8813346D0 (en) | 1988-06-06 | 1988-06-06 | Voice activity detection |
GB888820105A GB8820105D0 (en) | 1988-08-24 | 1988-08-24 | Voice activity detection |
Publications (2)
Publication Number | Publication Date |
---|---|
IE890774L IE890774L (en) | 1989-09-11 |
IE61863B1 true IE61863B1 (en) | 1994-11-30 |
Family
ID=27263821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
IE77489A IE61863B1 (en) | 1988-03-11 | 1989-03-10 | Voice activity detection |
Country Status (16)
Country | Link |
---|---|
EP (2) | EP0548054B1 (en) |
JP (2) | JP3321156B2 (en) |
KR (1) | KR0161258B1 (en) |
AU (1) | AU608432B2 (en) |
BR (1) | BR8907308A (en) |
CA (1) | CA1335003C (en) |
DE (2) | DE68929442T2 (en) |
DK (1) | DK175478B1 (en) |
ES (2) | ES2188588T3 (en) |
FI (2) | FI110726B (en) |
HK (1) | HK135896A (en) |
IE (1) | IE61863B1 (en) |
NO (2) | NO304858B1 (en) |
NZ (1) | NZ228290A (en) |
PT (1) | PT89978B (en) |
WO (1) | WO1989008910A1 (en) |
Families Citing this family (34)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2643593B2 (en) * | 1989-11-28 | 1997-08-20 | 日本電気株式会社 | Voice / modem signal identification circuit |
CA2040025A1 (en) * | 1990-04-09 | 1991-10-10 | Hideki Satoh | Speech detection apparatus with influence of input level and noise reduced |
US5241692A (en) * | 1991-02-19 | 1993-08-31 | Motorola, Inc. | Interference reduction system for a speech recognition device |
FR2697101B1 (en) * | 1992-10-21 | 1994-11-25 | Sextant Avionique | Speech detection method. |
SE470577B (en) * | 1993-01-29 | 1994-09-19 | Ericsson Telefon Ab L M | Method and apparatus for encoding and / or decoding background noise |
JPH06332492A (en) * | 1993-05-19 | 1994-12-02 | Matsushita Electric Ind Co Ltd | Method and device for voice detection |
SE501305C2 (en) * | 1993-05-26 | 1995-01-09 | Ericsson Telefon Ab L M | Method and apparatus for discriminating between stationary and non-stationary signals |
EP0633658A3 (en) * | 1993-07-06 | 1996-01-17 | Hughes Aircraft Co | Voice activated transmission coupled AGC circuit. |
IN184794B (en) * | 1993-09-14 | 2000-09-30 | British Telecomm | |
SE501981C2 (en) * | 1993-11-02 | 1995-07-03 | Ericsson Telefon Ab L M | Method and apparatus for discriminating between stationary and non-stationary signals |
US5742734A (en) * | 1994-08-10 | 1998-04-21 | Qualcomm Incorporated | Encoding rate selection in a variable rate vocoder |
FR2727236B1 (en) * | 1994-11-22 | 1996-12-27 | Alcatel Mobile Comm France | DETECTION OF VOICE ACTIVITY |
GB2317084B (en) * | 1995-04-28 | 2000-01-19 | Northern Telecom Ltd | Methods and apparatus for distinguishing speech intervals from noise intervals in audio signals |
GB2306010A (en) * | 1995-10-04 | 1997-04-23 | Univ Wales Medicine | A method of classifying signals |
FR2739995B1 (en) * | 1995-10-13 | 1997-12-12 | Massaloux Dominique | METHOD AND DEVICE FOR CREATING COMFORT NOISE IN A DIGITAL SPEECH TRANSMISSION SYSTEM |
US5794199A (en) * | 1996-01-29 | 1998-08-11 | Texas Instruments Incorporated | Method and system for improved discontinuous speech transmission |
DE69716266T2 (en) | 1996-07-03 | 2003-06-12 | British Telecommunications P.L.C., London | VOICE ACTIVITY DETECTOR |
US6618701B2 (en) | 1999-04-19 | 2003-09-09 | Motorola, Inc. | Method and system for noise suppression using external voice activity detection |
DE10052626A1 (en) * | 2000-10-24 | 2002-05-02 | Alcatel Sa | Adaptive noise level estimator |
CN1617606A (en) * | 2003-11-12 | 2005-05-18 | 皇家飞利浦电子股份有限公司 | Method and device for transmitting non voice data in voice channel |
US7155388B2 (en) * | 2004-06-30 | 2006-12-26 | Motorola, Inc. | Method and apparatus for characterizing inhalation noise and calculating parameters based on the characterization |
US7139701B2 (en) * | 2004-06-30 | 2006-11-21 | Motorola, Inc. | Method for detecting and attenuating inhalation noise in a communication system |
FI20045315A (en) * | 2004-08-30 | 2006-03-01 | Nokia Corp | Detection of voice activity in an audio signal |
US8708702B2 (en) * | 2004-09-16 | 2014-04-29 | Lena Foundation | Systems and methods for learning using contextual feedback |
US8775168B2 (en) | 2006-08-10 | 2014-07-08 | Stmicroelectronics Asia Pacific Pte, Ltd. | Yule walker based low-complexity voice activity detector in noise suppression systems |
US8175871B2 (en) | 2007-09-28 | 2012-05-08 | Qualcomm Incorporated | Apparatus and method of noise and echo reduction in multiple microphone audio systems |
US8954324B2 (en) | 2007-09-28 | 2015-02-10 | Qualcomm Incorporated | Multiple microphone voice activity detector |
US8223988B2 (en) | 2008-01-29 | 2012-07-17 | Qualcomm Incorporated | Enhanced blind source separation algorithm for highly correlated mixtures |
US8275136B2 (en) | 2008-04-25 | 2012-09-25 | Nokia Corporation | Electronic device speech enhancement |
US8244528B2 (en) | 2008-04-25 | 2012-08-14 | Nokia Corporation | Method and apparatus for voice activity determination |
US8611556B2 (en) | 2008-04-25 | 2013-12-17 | Nokia Corporation | Calibrating multiple microphones |
ES2371619B1 (en) * | 2009-10-08 | 2012-08-08 | Telefónica, S.A. | VOICE SEGMENT DETECTION PROCEDURE. |
EP2491549A4 (en) | 2009-10-19 | 2013-10-30 | Ericsson Telefon Ab L M | Detector and method for voice activity detection |
CN108985277B (en) * | 2018-08-24 | 2020-11-10 | 广东石油化工学院 | Method and system for filtering background noise in power signal |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3509281A (en) * | 1966-09-29 | 1970-04-28 | Ibm | Voicing detection system |
US4052568A (en) * | 1976-04-23 | 1977-10-04 | Communications Satellite Corporation | Digital voice switch |
US4358738A (en) * | 1976-06-07 | 1982-11-09 | Kahn Leonard R | Signal presence determination method for use in a contaminated medium |
JPS5636246A (en) * | 1979-08-31 | 1981-04-09 | Nec Corp | Stereo signal demodulating circuit |
JPS59115625A (en) * | 1982-12-22 | 1984-07-04 | Nec Corp | Voice detector |
EP0127718B1 (en) * | 1983-06-07 | 1987-03-18 | International Business Machines Corporation | Process for activity detection in a voice transmission system |
JPS6196817A (en) * | 1984-10-17 | 1986-05-15 | Sharp Corp | Filter |
-
1989
- 1989-03-10 IE IE77489A patent/IE61863B1/en not_active IP Right Cessation
- 1989-03-10 PT PT89978A patent/PT89978B/en not_active IP Right Cessation
- 1989-03-10 NZ NZ228290A patent/NZ228290A/en unknown
- 1989-03-10 ES ES93200015T patent/ES2188588T3/en not_active Expired - Lifetime
- 1989-03-10 DE DE68929442T patent/DE68929442T2/en not_active Expired - Lifetime
- 1989-03-10 AU AU33554/89A patent/AU608432B2/en not_active Expired
- 1989-03-10 KR KR1019890702099A patent/KR0161258B1/en not_active IP Right Cessation
- 1989-03-10 DE DE68910859T patent/DE68910859T2/en not_active Expired - Lifetime
- 1989-03-10 JP JP50377289A patent/JP3321156B2/en not_active Expired - Lifetime
- 1989-03-10 ES ES89302422T patent/ES2047664T3/en not_active Expired - Lifetime
- 1989-03-10 EP EP93200015A patent/EP0548054B1/en not_active Expired - Lifetime
- 1989-03-10 BR BR898907308A patent/BR8907308A/en not_active IP Right Cessation
- 1989-03-10 WO PCT/GB1989/000247 patent/WO1989008910A1/en active IP Right Grant
- 1989-03-10 EP EP89302422A patent/EP0335521B1/en not_active Expired - Lifetime
- 1989-03-10 CA CA000593386A patent/CA1335003C/en not_active Expired - Lifetime
-
1990
- 1990-09-07 DK DK199002156A patent/DK175478B1/en not_active IP Right Cessation
- 1990-09-07 FI FI904410A patent/FI110726B/en not_active IP Right Cessation
- 1990-09-10 NO NO903936A patent/NO304858B1/en not_active IP Right Cessation
-
1996
- 1996-07-25 HK HK135896A patent/HK135896A/en not_active IP Right Cessation
-
1998
- 1998-06-04 NO NO982568A patent/NO316610B1/en not_active IP Right Cessation
-
1999
- 1999-11-18 JP JP32819899A patent/JP3423906B2/en not_active Expired - Lifetime
-
2001
- 2001-05-04 FI FI20010933A patent/FI115328B/en not_active IP Right Cessation
Also Published As
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0548054B1 (en) | Voice activity detector | |
US5276765A (en) | Voice activity detection | |
US4630304A (en) | Automatic background noise estimator for a noise suppression system | |
KR100546468B1 (en) | Noise suppression system and method | |
US8204754B2 (en) | System and method for an improved voice detector | |
KR100742443B1 (en) | A speech communication system and method for handling lost frames | |
US5963901A (en) | Method and device for voice activity detection and a communication device | |
CA1123955A (en) | Speech analysis and synthesis apparatus | |
FI92118B (en) | Improved noise reduction system | |
US5579435A (en) | Discriminating between stationary and non-stationary signals | |
US5970441A (en) | Detection of periodicity information from an audio signal | |
JP2002516420A (en) | Voice coder | |
KR20010075343A (en) | Noise suppression for low bitrate speech coder | |
KR102012325B1 (en) | Estimation of background noise in audio signals | |
US5579432A (en) | Discriminating between stationary and non-stationary signals | |
US5632004A (en) | Method and apparatus for encoding/decoding of background sounds | |
FI111572B (en) | Procedure for processing speech in the presence of acoustic interference | |
JPH08221097A (en) | Detection method of audio component | |
Vahatalo et al. | Voice activity detection for GSM adaptive multi-rate codec | |
NZ286953A (en) | Speech encoder/decoder: discriminating between speech and background sound |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MK9A | Patent expired |