Software interpolator using microprocessor