Text this: Piecewise deterministic processes following two alternating patterns