Phonon code