Pulse Feedback

Converting to an analog signal or to a quadrature A,B signal is the best method.
We have some suggestions in this topic: Pulse Train signal converters