Smoothing PWM output

Do you mean doing the calibration without the uC?

I haven't read the rotary encoder tut but if it is restricted to 24 steps, this might be a problem unless using the volume profile idea we only need 24 steps?