You might also try looking at File > Examples > Audio > Analysis > DialTone_Serial. It detects the 7 standard DTMF tones using the simpler AudioAnalyzeToneDetect object.