HW1 for CR311, Image Processing in Java
As a review, you are to create a Java program that
is able to dial the phone with the speaker.
Reference
the DTMF specification.
Using a static synchronized
method, create
a class called Dial
so that you may invoke:
Dial.speaker("203,,555-1212");
The "," is used to symbolize a pause of 1 second. Synthesize
your tones using an oscillator. How will you parse the string?
String.toCharArray
may help you.
Pulsing Rate:
Minimum duration of two-frequency tone signal:
50 ms normally;
90 ms if transmitted by radio. Minimum inter-digital time: 45 ms.
Use the 90 ms duration for your program. Keep the 45 ms inter-digit
time.
be sure to include digits "0123456789*#ABCD". Your program should not be case sensitive.
This homework is due in one week. Demo your program at the beginning of class. Please come with the program already printed out.
Send an e-mail to the instructor asking to be added to the course e-mail list.