Text this: Hearing the shape of a compact Riemannian manifold with a finite number of piecewise impedance boundary conditions