Flexible PWM including phase control of multiple channels

right around minute 4 of this video shows a CMOS project doing basically what I'd like to do with a microcontroller. It uses multiple square waves attenuated separately to control an oscillator. Project page at the cat girl synth site.