Code covered by the BSD License  

Highlights from
DTMF Detector

Be the first to rate this file! 25 Downloads (last 30 days) File Size: 2.78 KB File ID: #3127

DTMF Detector

by

 

14 Mar 2003 (Updated )

Detects DTMF tones in audio by Goertzel algorithm.

| Watch this File

File Information
Description

Detects DTMF tones in audio by Goertzel algorithm.

MATLAB release MATLAB 6.0 (R12)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
02 Aug 2014 Walter Roberson

Code will break in the case that all detected digits are the same, or all the same followed by pause. To fix that, replace "ct = 1" and the following "for" loop with code such as

y = r;
for i = length(r) : -1 : 2
if y(i) == y(i-1); y(i) = []; end
end
if y(end) == '-'; y(end) = []; end
if y(1) == '-'; y(1) = []; end

This might not be the most efficient version but sometimes it is not worth writing and debugging for maximum efficiency when more clarity will do the job.

26 Feb 2012 Mustafa Hawai

why this is not working in my matlab software
what do you mean by varargin

16 Dec 2003 mohammad mirzaei

thanks i want make circuit about controler of herbalrum full control with dtmf detector

Contact us