In a typical auditory environment, the onset of speech corresponds to a sudden increase in sound pressure level intensity whilst the drop off of speech corresponds to a sudden offset in the sound pressure level intensity. The interest in onset and offset of speech frames comes from the desire to extract features of only speech periods and not noise only frames especially when being used for auditory scene analysis. This detection becomes synonymous to edge detection as applied in image segmentation. A standard approach is to use a first order derivative of the sound pressure level with respect to time. The speech data available is sampled, hence, an approximation of the derivative using difference approach is used.
Suppose the received signal at the microphone is given as:
where is the desired speech signal and is i.i.d zero mean Gaussian noise with variance . The energy profile per frame is utilized, where the expectation of the energy profile is defined as:
Here, it is assumed that the speech and the noise signals are uncorrelated. The first order difference equation the becomes:
In reality, the speech signal and the noise may not be totally uncorrelated. There will therefore be the need to smooth the signal to remove any residual noise in the estimate using a low pass filter. The use of a standard Gaussian filter defines as:
Instead of pre applying the Gaussian filter, a post filter can be used. In this instance, the derivative Gaussian filter has to be applied.The derivative filter is given as:
where the derivative is with respect to time. The onset of speech corresponds to peaks whilst the offset corresponds to valleys. A threshold is used to used, centered about zero, to remove spurious peaks and valleys being returned.A sample performance of this algorithm is shown in Figure 1 below:
Figure 1: Speech onset and offset detection
VOCAL Technologies offers custom designed solutions for beamforming with a robust voice activity detector, acoustic echo cancellation and noise suppression. Our custom implementations of such systems are meant to deliver optimum performance for your specific beamforming task. Contact us today to discuss your solution!