Hi.
Currently this is my code to activate the relay (Currently an LED). The problem is everything I search for is on how to detect noise and not silence
If the codes you have looked at have a variable that is TRUE or 1 when noise is detected
Then when that variable is FALSE or 0, there must be NO Noise or SILENCE...
Your sensor reacts/detects sound.
So no reaction/detection == silence.
So write your code to detect sound...
silencedetected != noisedetected;
Tom.. ![]()