Ares
Ares

Reputation: 1461

Detecting pitched sounds

I have an application that is attempting to detect sirens from audio data. However, my understanding of audio concepts and terminology is elementary.

The first step of my application is to detect pitched sounds. The algorithm I implemented for this is as follows:

Does this algorithm make sense? Is my terminology correct?

Thank you.

Upvotes: 0

Views: 218

Answers (1)

janm
janm

Reputation: 18339

If you are detecting a single tone (or a small set of tones) you don't need to do a full FFT. You can use the Goertzel Algorithm to detect a specific tone. You probably don't care about the level of the tone you are looking for relative to everything else, so you should be able to avoid the "dominant frequency" test unless you have some reason for only detecting the tone if it is the loudest tone in the environment.

Upvotes: 1

Related Questions