When I was working on voice detection, I used fft to make frequency buckets from audio samples.
You can assign frequency buckets value as a triggering point in code to take actions when that tone has sufficient amplitude.
1 Like