Functions for phonetics in R.