Defines a pointer to a phoneme callback function that is called by the Speech Synthesis Manager before it pronounces a phoneme.
- macOS 10.0+
The speech channel that has finished processing input text.
The reference constant associated with the speech channel.
The phoneme about to be pronounced.
The Speech Synthesis Manager calls a speech channel’s phoneme
callback function just before it pronounces a phoneme. For example,
your application might use such a callback function to enable mouth
synchronization. In this case, the callback function would set a global
flag variable to indicate that the phoneme being pronounced is changing
and another global variable to
A function called by your application’s main event loop could
detect that the phoneme being pronounced is changing and update
a picture of a mouth to reflect the current phoneme. In practice,
providing a visual indication of the pronunciation of a phoneme
requires several consecutive pictures of mouth movement to be rapidly
displayed. Consult the linguistics literature for information on mouth
movements associated with different phonemes.
You can specify a phoneme callback function by passing the