Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve DTMF detection #10

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

fwojcik
Copy link

@fwojcik fwojcik commented May 17, 2024

This PR contains a few improvements to detecting DTMF signals:

  • Make FFT inputs look more like periodic inputs, to reduce low-frequency noise
  • Slide input window by less than 100% (default to 50%)
  • Consider more frequencies than just highest amplitude when matching
  • Don't consider high frequencies to be a match if they are too weak (default to minimum of 1/3 of low frequency amplitude)

It also has some minor code cleanups.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant