I'm trying to replace the obsolete AN6878 led driver (logarithmic response, used for audio level indicator) with a modern and available solution. I'd like to keep the same functionality of the original.
this is the bit of the circuit that I'm trying to replace
looking at the datasheet, I think I can replace it using an opamp and some comparator IC, but I only get a basic idea and don't know how to procede. Can anyone help me understand?
Edit: I’m open to software solution, if I only could understand the exact voltage values where the various leds go on