473,508 Members | 2,396 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

looking for a java framework do extract DTMF tones

hi all,
i need to write an application that listen for DTMF tones from
standard audio input (from the mic) and execute an action depending on
the digit extracted from the DTMF tone. Unfortunaly i have short time
to set up this application and i'm really new to this kind of problem
(sound analisys). I take a look at JTAPI but i don't have any
telephone in this context, i just have to analyze a normal sound
signal from the sound card. I found some applications on the net but
most of them need a modem and don't manage the input from the sound
card, the other are win apps and i cannot configure the actions.

I'm a java programmer so it would be nice if there's a library that i
can use and accept an audio stream in input and give the digit in
output ... if something like that doesn't exists i need at least a
java implementation of a DTMF decoder

thank you for your help

nemo
ne*****@libero.it
Jul 17 '05 #1
1 4267

"nemokid" <ne*****@libero.it> wrote in message
news:8a*************************@posting.google.co m...
hi all,
i need to write an application that listen for DTMF tones from
standard audio input (from the mic) and execute an action depending on
the digit extracted from the DTMF tone. Unfortunaly i have short time
to set up this application and i'm really new to this kind of problem
(sound analisys). I take a look at JTAPI but i don't have any
telephone in this context, i just have to analyze a normal sound
signal from the sound card. I found some applications on the net but
most of them need a modem and don't manage the input from the sound
card, the other are win apps and i cannot configure the actions.

I'm a java programmer so it would be nice if there's a library that i
can use and accept an audio stream in input and give the digit in
output ... if something like that doesn't exists i need at least a
java implementation of a DTMF decoder

thank you for your help

nemo
ne*****@libero.it


what you need is FFT, fast fourier transform which translates sound into an
array of frequencies. i understand that DTMF tones are made up of 7 tones,
each digit is a combination of 3x4 tones (i cant remember off hand what
these frequencies are).

http://www.musicdsp.org/showone.php?id=156

here is some fft analysis code, you will have to get some code to read the
audio to feed it into this algorithm - you should get around 0.9 at the
frequency of your choice.

i know its only a building block but its half the solution to your problem.

dave
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
6163
by: jinoy | last post by:
how can i detect the dtmf tone using the mscomm control. pls send me the code of it.
1
12308
by: Thomas Rokamp | last post by:
Hi! I'm testing a russian webpage with HttpUnit, but it seems, that it doesn't support the encoding (Win-1251). How can I add support for this in Java or HttpUnit? ...
3
6981
by: SOB-like MIDIs | last post by:
The applet for endlessly rising/falling scale (auditory illusion) on this page is fantastic! http://www.cs.ubc.ca/nest/imager/contributions/flinn/Illusions/ST/st.html How is this done?...
0
6783
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what...
2
11447
by: Suresh Tri | last post by:
Hi all, I am interested in extracting the class or jar files which are stored as java stored procedures in Oracle. But I want to know if these are stored as references to external files in...
0
396
by: Rotem925 | last post by:
hello, im trying to generate and detect dtmf tones frequencies can anyone please tell me if there is ant class that handles it? or any direction where to start? i have searched the MSDN and saw...
1
2490
by: Florian Göttsch | last post by:
Hi, I have the following problem: I must send a DTMF tone "A" for at least 3 seconds. But i can only find solutions for sending tones with a normal length ( about 200ms ). In Details: I...
3
1300
by: clintonG | last post by:
This article has shown me how to playing system sounds and .wav files via a web page. Very nice to know. It got me wondering if we could somehow play one or more tones of a musical scale somehow...
7
1458
by: Brent White | last post by:
We're looking into building an in-house integrated enterprise system to manage inventory, work-in-process, and finances, among others. I am somewhat familiar with VB.NET (veteran VB 6 programmer)...
0
7224
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7118
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7493
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5625
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4706
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1550
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.