Fixed issue with some ESP boards returning 0 when the audio was max value. This was caused by analogRead returning 1024 for some esp boards, and shifting to 2 bits to the right would return 256 and casting it to uint8_t would return 0. More info of the issue here: https://github.com/NicoHood/MSGEQ7/issues/14
change smooth type to uint16 to support 10 and 12 Bit.
changed casting of smoothing algorithm to uint32 to support 10 and 12 bit smoothing.
Should I implement analogReadResolution in the future? For some systems like AVR Duo or ESP32 who support 12 bit?
Should I implement analogReadResolution in the future? For some systems like AVR Duo or ESP32 who support 12 bit?