473,662 Members | 2,352 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 4276

"nemokid" <ne*****@libero .it> wrote in message
news:8a******** *************** **@posting.goog le.com...
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
6174
by: jinoy | last post by:
how can i detect the dtmf tone using the mscomm control. pls send me the code of it.
1
12382
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? java.io.UnsupportedEncodingException: WIN-1251 at sun.io.Converters.getConverterClass(Converters.java:114) at sun.io.Converters.newConverter(Converters.java:145) at
3
6984
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? (I'm assuming it uses MIDI.)
0
6803
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 the issue is. Thanks Ravi
2
11473
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 Oracle database or directly inside the database. In case if it is directly stored inside the database is there any way to extract it?. If I can extract these java files, can these be used in non Oracle applications? Please help,
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 nothing that can help me maybe i missed something thats for the helpers :) Good Day
1
2502
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 have a client that is calling a server. Both are using DTMF-Tones to
3
1310
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 without downloading or streaming files? I'm ignorant about it but I though Windows had native support for generating beeps as tonal values. <%= Clinton Gallagher NET csgallagher AT metromilwaukee.com URL...
7
1464
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) and think that using the .NET framework would be best. What programming language is ideal for programming in the .NET framework, just overall, and what has been people's experiences taking on a massive project like this? Right now, we use a...
0
8432
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8762
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8545
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8633
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7365
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5653
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1992
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1747
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.