The output of the comparator is a variable mark/space ratio rectangular wave.
The signal may be converted to a rectangular wave which is applied to each of an array of EXCLUSIVE-OR gates.