@rasteri @Extelec IIRC 4016 is more amenable to using it in a linear mode but it's a while since I tried. 4066s are used with a PWM control signal in several 1980s and even early 1990s broadcast audio processors, you get a 40dB or so of control range with no meaningful distortion, just add low pass filters on the i/o to get rid of the switching noise and to prevent aliasing.