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.