DTMF Decoder with touch tones
显示 更早的评论
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
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 个)
类别
在 帮助中心 和 File Exchange 中查找有关 DTMF 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!