For this homework assignment, we were tasked to create a program that would detect the dual-tone frequency of a dial tone and determine which number is being pressed on the phone. The input from the microphone was split into a low-pass and a high-pass filter in order to split the high and low frequencies from the dial tone. After that, each sample was passed through a tone analyzer in order to determine the frequency. Each frequency went through a series of range comparisons to match with the frequency for each dial tone number, then they were ran through a huge series of and-statements in order to combine the high and low frequencies to light up the corresponding light on the number pad.
Unfortunately, the program itself bugged out at some point and I was unable to save it after demonstrating the program for the homework check.
No comments:
Post a Comment