|
|
User login
Feeds |
detecting DTMF
|
|||||
| Fri, 2005-08-19 05:46 | |
Forum posts: 174
I don't know if there's any functionality for this in the public API in newer releases, but at least I know that there wasn't in the first edition Series 60 SDK. So unless someone can point you to something that I've missed in the API, you'll have to do it manually: record the sound and analyze it. There's some source code for decoding DTMF in an old issue of Phrack (google for phrack and dtmf).
http://ptrmobile.blogspot.com/
Forum posts: 44
So, you mean...I have to search google for phrack?
but, if I record it, how can I make a difference whether it's a dtmf or people speaking?
thx in advance
\
irma
Forum posts: 174
Yes, you have to search google. Type the words "phrack" and "dtmf" and you'll find it.
And the difference between speech and dtmf signals is, obviously, quite big, so it's not a problem. Just take the code from Phrack and play around with it.
http://ptrmobile.blogspot.com/
Forum posts: 44
I've tried it, but...I'm confused because it's not working in visual c++ (symbian), and, the open and read method caused error "undeclared identifier"
I don't understand too, why the input is int ? what is argv[0] ? argv[1] ? argv[2]?
Is it, opening the .wav and then read it per frame and then decode it to char?
I've tried to change the read and open method by using RFile, but...it can be build okay in the emulator...but if I did ABLD BUILD ARMI UREL,it caused unknown error....really-really confused
Please, if you don't mind, copy paste me the detect.cpp and detect.h (your version), I only need those files, I don't need the gen.c.
Or, please guide me ...
What lib should I link stdio.h?
Thank you a lot...your help will help me a lot
thanx in advance
Irma
Forum posts: 174
http://ptrmobile.blogspot.com/
Forum posts: 44
I'm making an IVR application, so any calls to my NOKIA60 phone are answered by the IVR mode.
I tested it with ordinary home phone, it is okay...no problem at all....but when I tested it from NOKIA6670 and NOKIA6680, it doesn't work !!!!
I'm using the GOERTZEL method (like you said) -> record first using audiostreaming method, analyze and then decide which tone is pressed
Is key-pressing at house phone and NOKIA phone different?
thank you,
irma