Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version 1.0 Netnews CMS/BITNET; site NCSUVM.BITNET Path: utzoo!linus!philabs!cmcl2!seismo!rochester!cmu-cs-pt!cadre!psuvax1!psuvm.bitnet!ncsuvm!alan From: ALAN@NCSUVM.BITNET Newsgroups: net.sources.mac Subject: SPEECH.H (part 2/2 of C interface for MacIntalk) Message-ID: <47@NCSUVM> Date: Tue, 6-Aug-85 01:33:10 EDT Article-I.D.: NCSUVM.47 Posted: Tue Aug 6 01:33:10 1985 Date-Received: Wed, 7-Aug-85 04:14:00 EDT Lines: 58 This is the header file for use with SPEECH.C Posted with permission by Alan Clegg, ALAN@NCSUVM.BITNET for Michael Hecht. Respond to ALAN@NCSUVM.BITNET ------------------------------------Cut Here----------------------------------- #ifndef _TYPES #include#endif #define noExcpsFile "" #define noReader "\PnoReader" #define fullUnitT -4000 typedef int SpeechErr; typedef Byte SpeechRecord[100]; typedef SpeechRecord * SpeechPointer; typedef SpeechPointer * SpeechHandle; typedef Byte Sex; #define Male 0 #define Female 1 typedef Byte FOMode; #define Natural 0 #define Robotic 1 #define NoChange 2 typedef Byte Language; #define xEnglish 0 #define French 1 #define Spanish 2 #define German 3 #define Italian 4 struct VoiceRecord { Sex theSex; Language theLanguage; int theRate; int thePitch; FOMode theMode; Str255 theName; long refCon; }; typedef struct VoiceRecord VoiceRecord; typedef VoiceRecord * VoicePtr; SpeechErr SpeechOn(); void SpeechOff(); void SpeechRate(); void SpeechPitch(); void SpeechSex(); SpeechErr Reader(); SpeechErr MacinTalk();