Question: I need to build a DTMF encoder in Python. I attached the DTMF table with the given tonal frequencies. For each keypress on pad the
I need to build a DTMF encoder in Python. I attached the DTMF table with the given tonal frequencies. For each keypress on pad the system combines a row tone and a column tone and sends in both. The code takes in a string "(302)-673-8362" and encodes the value that corresponds to the valid keys. I need each keypress to be a half a second long and puts a tenth of a second of silence between the keypresses. and uses Fs=8000 as the standard sampling rate for the telephone quality audio.
DTMF keypad frequencies (with sound clips) 1209 Hz 1336 Hz 1477 Hz 1633 Hz 697 Hz 770 Hz 852 Hz 941 Hz 4 8 9 0 DTMF keypad frequencies (with sound clips) 1209 Hz 1336 Hz 1477 Hz 1633 Hz 697 Hz 770 Hz 852 Hz 941 Hz 4 8 9 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
