Have phoneme generator in a distinct function