DTMF Decoder with touch tones

4 vues (au cours des 30 derniers jours)
Ilker Kurtulan
Ilker Kurtulan le 30 Déc 2018
Commenté : Walter Roberson le 31 Déc 2018
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 commentaire
Walter Roberson
Walter Roberson le 31 Déc 2018
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.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by