I want to know if the ESP8266 is capable of detecting sin waves if the 2 GPIOs are connected directly to the speaker terminals. I don't want to use a sound detector to prevent false positives.
Once a sin wave is detected, and depending on the duration of the waves, I would like it to send 2 different types of alerts. short duration sounds, alert type 1, sounds lasting longer than 1 second, alert type 2.
does anyone have any ideas or links to code that would make this possible?
Thanks