Hello,
The Speech.p interface file for Pascal contains the following
line (probably wrapped, everything is on one line in Speech.p):
function TextToPhonemes (chan: SpeechChannel; textBuf: Ptr;
textBytes: LONGINT; phonemeBuf: Handle; var phonemeBytes:
LONGINT): OSErr;
{$IFC NOT GENERATINGCFM}
How exactly do I call this function? It should be something like
myErr := TextToPhonemes(...parameters...);
but I have no idea what the parameters refer to. I guess that
the variable chan is a number (the SpeechChannel type is a
LONGINT). I don't know what textBuf and phonemeBug are. Perhaps,
textBytes is the length of the string converted by this
function, but what is phonemeBytes?
Help is very much appreciated.
Best regards,
Mark