New to Arduino Sound detection project

Never realised a space between the # and the define is allowed :slight_smile: Anyway it may compile but it won't work (completely).
Writing outside an array tends to cause a crash on the ESP8266, I haven't tried this out on the ATmega/ATtiny processors.