Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  DTMF recognition
« previous next »
  • Print
Pages: [1]

Author Topic: DTMF recognition  (Read 1998 times)

Offline rknobbe

  • Member
  • *
  • Posts: 1
DTMF recognition
« on: November 11, 2008, 06:14:20 PM »
For the spy crowd there -- how hard would it be to use the microphone to record an audio sample then parse that audio sample for DTMF tones (then printing out the equivalent keypad numbers).  Seems you would need to do a fast fourier transform to get the tone frequency, don't know if the typical rockbox (like my e260) would have the horsepower.

Anybody know how hard this would be?

Perhaps the http://en.wikipedia.org/wiki/Goertzel_algorithm Goertzel algorithm would be better suited for DTMF?
« Last Edit: November 11, 2008, 06:17:28 PM by rknobbe »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: DTMF recognition
« Reply #1 on: November 11, 2008, 06:36:57 PM »
Quote from: rknobbe on November 11, 2008, 06:14:20 PM
Anybody know how hard this would be?

You want to record PCM, and then FFT it to find out which two frequencies in contains?  Thats trivial for compared to actually decoding compressed audio.
Logged

Offline Multiplex

  • Member
  • *
  • Posts: 440
Re: DTMF recognition
« Reply #2 on: November 12, 2008, 09:26:26 AM »
You probably want to do it in real time, and DFTs like Goertzel are often used, there is plenty of stuff available, the 'interesting' bit is discerning tones from other noise.

There have also been discussions about Guitar Tuners, as well as more general purpose Frequency analysers.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  DTMF recognition
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.071 seconds with 15 queries.