Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Mac > speech
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 58 of 145
Post > Topic >>

speech

by Mark Schonewille <nospam@[EMAIL PROTECTED] > May 23, 2004 at 01:17 PM

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
 




 2 Posts in Topic:
speech
Mark Schonewille <nosp  2004-05-23 13:17:28 
Re: speech
"Ken" <kjbea  2004-05-24 08:26:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 6:22:13 CDT 2008.