I have been trying to setup a decent control voltage conversion into and out of microcontrollers on and off for a while now. Getting a decent and responsive signal out to audio modules and other systems has become a bit of a white whale for me. I can get a signal out of a PWM with a low pass filter but this isn't exactly as accurate as it should be. I figure I'm going to have to dive into a decent op-amp managed setup and though I should ask around before I re-invent the proverbial wheel. I doubt that reading an input is going to be much of an issue and haven't worried too much about that but getting a smooth and reliable output CV with sharp cut leading and trailing edges is a bit of a stunt. I envision reading the signal through a shmitt trigger and then gating the original low passed filter result through a 4016 or 4066. Any thoughts out there and be sure to call me an idiot if it is constructive.