Detect a specific frequency/tone from raw wave-data

前端 未结 6 1959
天涯浪人
天涯浪人 2020-12-03 04:03

I am reading a raw wave stream coming from the microphone.
(This part works as I can send it to the speaker and get a nice echo.)

For simplicity lets say I want

6条回答
  •  不知归路
    2020-12-03 04:33

    You may want to look at the Goertzel algorithm if you're trying to detect specific frequencies such as DTMF input. There is a C# DTMF generator/detector library on Sourceforge based on this algorithm.

提交回复
热议问题