Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using javax.telephony for DTMF detection?...

Status
Not open for further replies.

Cake

Programmer
Oct 22, 2000
12
US
Hi Java Forum,

I was looking around for examples of code that will take a prerecorded sound file (maybe .wav or .voc) of an analog telephone dialing. Recording the file is no problem. I'm running into a wall when decoding the file to DTMF (Dual Tone Multiple Frequency). I know I've seen programs that can do this in C or C++, but they have no code with them to even get me started. I've tried pulling the file apart piece by piece, but the data is always a little bit different for the same number pushed (probably due to a little noise in the handset).

Upon searhing, I found this javax.telephony.* package and only examples of pulling the signal from a telephone line??? (Don't quite understand their wording...). Does anyone know if it's possible to do DTMF detection on a prerecorded sound file and is there examples of this specific way? Or maybe a better question to ask is... Does anyone know of code in any other languages (C, C++, Perl, VB...) that will complete this task?

Thank you much for listening,
Cake.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top