Text this: Design of crystal and other harmonic oscillators