Text this: Discrete Spectral Synthesis and Its Applications