The pitch of speech signals are used in various speech algorithms such as speaker diarization, speaker recognition, secure voice activation, music stream recognition and person verification systems. Different algorithms are used with varying error rates and accompanying computational burdens. The most used pitch detection algorithm for real time operating systems is the average magnitude difference function (AMDF) due to is low computational complexity.
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. The AMDF algorithm proceeds on a frame by frame basis. Suppose a frame of length N is available,such that . Then the AMDF function is defined as:
The pitch is found using:
A smoothening function can be applied to to remove spurious noise. A sample performance of AMDF is shown in Figure 1 below:
Figure 1: Pitch detection in speech using AMDF
It is evident that higher lag values utilize fewer samples which leads to inadequacies at lags greater than half the frame size. With very noisy samples, AMDF can exhibit half pitch of double pitch errors by picking the maximum lag always.
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!
More Information