Spacetime representation of topological phononics