The use of average magnitude difference function (AMDF) comes with the problem of double pitch in noisy conditions. Double pitch is the scenario where twice the pitch is rather returned instead of the desired pitch period. A couple of ways are used to reduce the prevalence of double pitch detection.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:
The first approach to reduce the effect of noise in moving the pitch period to the double, is the use of high resolution AMDF, denoted HRAMDF. HRAMDF is defined as:
The pitch is found using:
The main difference between AMDF and HRAMDF are that, in HRAMDF, all time scales are averaged over the same number of samples. This reduces the effect of the falling trend and just a minimal effect on the double pitch problem. A further modification is used in the circular AMDF, which 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 and CAMDF
The differences in the two approaches are subtle and not very noticeable.
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