I can't remember exactly where,

@chad_steinglass I haven’t implemented that yet, but I will

@chad_steinglass I use a MAX4466. I haven’t experimented yet with controlling gain in the code, but I have to admit it’s one of the problems I’ll need to tackle one day. Right now I manually tune the decibel range and bass offset through a Bluetooth module. I’ve kind of shelved the idea of sound reactive projects though. I found that it works really well in controlled environments (what I refer to as “good results”), but when it matters most (music shows, festivals) the frequencies just get drowned and jumbled. The animations don’t come out clean and satisfying.

@Franck_Marcotte I’m porting @Jason_Coon 's code which includes software automatic gain control. I’ve not fully tested it in very loud environments yet, but it’s very good in quiet and reasonably loud environments.

@Jeremy_Spencer @Franck_Marcotte I suppose if you’re using an ESP32 (and not the 8266 which has only one analog pin) you could potentially take a MAX4466, rip off the potentiometer and feed it with an anolog output from the microcontroller, and then you could do your gain automatically in software and have it be totally fine tunable, vs using a digital pin for the MAX9814 and just having a binary “loud” and “quiet” setting. Could be a fun hack!

(also - I don’t know if the MAX9814 is perhaps analog tunable if you feed the gain pin with an analog level… have to look up the spec sheet)

A year ago I had an idea of using hearing aid device to feed the audio signal to msgeq7 - most of them have potentiometer for fine tune and could be find for very cheap price - don’t expect to have studio quality but you’ll get the idea :wink: