How Get Low Frequency From Dtmf Tone
Solution 1:
To get frequencies that appear in a wave (any sound, not only DTMF, and all other wave forms), you can apply the Fast Fourier Transform.
When you apply it to a DTMF, you'll get two peaks for the two freqs that the signal contains.
http://en.wikipedia.org/wiki/Fast_Fourier_transform
Solution 2:
Since you only need information on a few frequencies with DTMF, you might want to try using the Goertzel algorithm for each frequency. You don't need all the FFT bins; and you might be able to target the frequencies of interest more precisely, depending on the time window, then wherever the FFT bins end up centered.
Compare the magnitude outputs of the Goertzel filters with the RMS total energy to make some decision for tone presence. Then do a table look up for the DTMF frequencies present to get the code.
Post a Comment for "How Get Low Frequency From Dtmf Tone"