I’d like to replace the potentiometer component (RV1) of a typical triac dimmer circuit with a voltage controlled resistor. The DC control voltage has a range of probably about 1 mV - 2.5 V. It seems like there are a couple options for this (namely linear optocouplers and jfets) but they each seem to have their own problems.
I would love to get an opinion on what would be best to use. I’ve attached a picture of a standard triac dimmer circuit in case this isn’t common knowledge.
Edit: I had initially hooked this up with a microcontroller but I want to see if I could do it analog. I have a mic going into a preamp I built and then attached to a full wave rectifier. I'd like to modulate the brightness of the lights in accordance with the amplitude of the audio signal.