Converts a buffer of textual data into phonemic data.
- macOS 10.0–10.8Deprecated
A speech channel whose associated synthesizer and voice are to be used for the conversion process.
A pointer to a buffer of text to be converted.
The number of bytes of text to be converted.
A handle to a buffer to be used to store the phonemic data. The
Textfunction may resize the relocatable block referenced by this handle.
On return, a pointer to the number of bytes of phonemic data written to the handle.
A result code. See Result Codes.
Converting textual data into phonemic data is particularly useful during application development, when you might wish to adjust phrases that your application generates to produce smoother speech. By first converting the target phrase into phonemes, you can see what the synthesizer will try to speak. Then you need correct only the parts that would not have been spoken the way you want.
of textual data pointed to by the
to phonemic data, which it writes into the relocatable block specified
this relocatable block. The
to the number of bytes of phonemic data actually written.
If the textual data is contained in a relocatable block, a
handle to that block must be locked before the
The data returned by
precisely to the phonemes that would be spoken had the input text
been sent to
All current mode settings for the speech channel specified by
applied to the converted speech. No callbacks are generated while
is generating its output.