This discussion is archived
2 Replies Latest reply: Dec 23, 2012 3:29 AM by 843024 RSS

Recognize dial tone in audio file

843024 Newbie
Currently Being Moderated
Hi all,

I've no knowledge at all about java sound programming, so I'm asking here how to solve my problem. I want to scan a little 2 seconds .wav file, sampled at 8000 samples/second at 16 bit. I need to recognize if in this audio file is present a dial tone. In my country, i. e. Italy, the dial tone is a 425 Hz audio wave, not continuos.

My idea is: switch to frequency domain with FFT, analize 425Hz frequency, if the frequency is present and is enough, return true, else false. However I don't know how to do that.

Can you make some example in order to help me?

Thank you.

Edited by: 840021 on 23-dic-2012 3.29

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points