How does the speech synthesis system work?