Historical phonetics involves the study of how speech sounds have changed over time in different languages.