View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

4.0 | 1 rating Rate this file 21 Downloads (last 30 days) File Size: 3.28 MB File ID: #45274 Version: 1.4
image thumbnail




29 Jan 2014 (Updated )

This exercise computes the short-time average magnitude difference function (AMDF) of a speech frame

| Watch this File

File Information

This MATLAB exercise calculates and displays the AMDF of a frame of speech from a designated speech file and implements a pitch detection algorithm based on using the AMDF on a frame-by-frame basis. The program can operate in a frame mode, displaying each analysis frame and its associated AMDF (with a marking for best estimate of pitch period in voiced regions), or in a pitch detection mode. In the AMDF pitch detection mode a non-voiced frame detector (when the frame log energy falls below a fixed threshold) is utilized. The code also uses a procedure for determining whether the location of the minimum of the AMDF, for a given analysis frame, represents a case of pitch period doubling or even pitch period tripling, and provides an appropriate correction measure for such cases. The exercise plots the pitch period contour along with a plot of a confidence measure based on how strong a minimum of the AMDF was obtained for each analysis frame.

Required Products MATLAB
MATLAB release MATLAB 8.5 (R2015a)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
20 Jun 2015 JUN HUANG

useful code

29 Jan 2014 1.1

Added users guide

18 Apr 2014 1.2

code updates; Read_Me.txt setup file; pathnew_matlab_central example

31 May 2015 1.4

Updated to work with post-R2014b graphics

23 Jun 2015 1.4

Minor layout tweak

Contact us