dtmf-decoder icon indicating copy to clipboard operation
dtmf-decoder copied to clipboard

The app is very very slow

Open GoogleCodeExporter opened this issue 9 years ago • 1 comments

What steps will reproduce the problem?
1. Launch the application
2. Hit Start button.
3. Play DTMF tones from any other device.
4. It shows the proper decoded digits but takes very long time(almost a minute 
for each digit)

Is there any way to speed it up?


I am using it in Android Froyo(2.2).


It would be better if u can give comments in the 
application and give some additional info on how can we integrate it with our 
apps.

Any suggestion is appreciated. Thanks.

Original issue reported on code.google.com by [email protected] on 3 Sep 2013 at 8:03

GoogleCodeExporter avatar Aug 05 '15 20:08 GoogleCodeExporter

It's not that slow.. I have been testing it all day today. It detects key presses upto 1024 samples. Look at Recognizer.java. You can possibly speed up by reducing the history size and count variables.

You can also play with the magic numbers in StatelessRecognizer.java to go down on number of samples.

Nice App !

code-walkers avatar Jun 08 '16 04:06 code-walkers