DTMF Decoder with touch tones

4 次查看(过去 30 天)
Ilker Kurtulan
Ilker Kurtulan 2018-12-30
Hi everybody . Im trying to make a DTMF decoder by using touch tones (my keypad dialing sound files) as a input . As an output ; I have to show the which key is pressed and its FFT graph with a sound of a key itself .
I shared the example that I found on the MATLAB forum done by someone . It should be in this format but instead of using " sound " command for input , I must be entering touch tones (phone keypad sound files ) on input.
Thanks.
  1 个评论
Walter Roberson
Walter Roberson 2018-12-31
That code does not use sound as input. It sythesizes DTMF tones according to the known frequencies of the buttons and it uses sound() to play them.
If you have a different input source, then just make sure that the sounds are put into the variable y and that the sample times are put into the variable t and then call subdecode()
Note: that code is only set up to decode one key per call. If you want to decode from a file with multiple key presses, then you will need to find the boundaries between the key presses and send only one at a time to the script.

请先登录,再进行评论。

回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by