D
David Segall
I have written an applet, based on a couple of other applets on the
Internet, that plays DTMF tones from an input phone number.
My applet plays some, but not all, of the tones but there is no
individual tone that cannot be played. The two second sleep is more
than enough to play a tone and, in any case, the status message is
followed by silence sometimes. A simplified form of the play loop to
play numbers is shown below.
for (int i = 0; i < phoneCount; i++) {
appletParent.showStatus("Dial in progress ..." + sepPhone);
appletParent.play(appletParent.getCodeBase( ),
"audio/"+sepPhone+".au");
sleep(2000);
}
What should I look for in order to fix the problem?
Internet, that plays DTMF tones from an input phone number.
My applet plays some, but not all, of the tones but there is no
individual tone that cannot be played. The two second sleep is more
than enough to play a tone and, in any case, the status message is
followed by silence sometimes. A simplified form of the play loop to
play numbers is shown below.
for (int i = 0; i < phoneCount; i++) {
appletParent.showStatus("Dial in progress ..." + sepPhone);
appletParent.play(appletParent.getCodeBase( ),
"audio/"+sepPhone+".au");
sleep(2000);
}
What should I look for in order to fix the problem?