home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / source / macintal.cpt / macintalk.h < prev   
Encoding:
C/C++ Source or Header  |  1992-05-15  |  1.3 KB  |  50 lines

  1.  #ifndef _TYPES
  2.  #include <types.h>
  3.  #endif
  4.  
  5.  #define noExcpsFile     ""
  6.  #define noReader        "\PnoReader"
  7.  #define fullUnitT       -4000
  8.  
  9.  typedef int             SpeechErr;
  10.  typedef Byte            SpeechRecord[100];
  11.  typedef SpeechRecord *  SpeechPointer;
  12.  typedef SpeechPointer * SpeechHandle;
  13.  
  14.  typedef Byte            Sex;
  15.  #define Male            0
  16.  #define Female          1
  17.  
  18.  typedef Byte            FOMode;
  19.  #define Natural         0
  20.  #define Robotic         1
  21.  #define NoChange        2
  22.  
  23.  typedef Byte            Language;
  24.  #define xEnglish        0
  25.  #define French          1
  26.  #define Spanish         2
  27.  #define German          3
  28.  #define Italian         4
  29.  
  30.  struct VoiceRecord {
  31.          Sex             theSex;
  32.          Language        theLanguage;
  33.          int             theRate;
  34.          int             thePitch;
  35.          FOMode          theMode;
  36.          Str255          theName;
  37.          long            refCon;
  38.  };
  39.  typedef struct VoiceRecord      VoiceRecord;
  40.  typedef VoiceRecord *           VoicePtr;
  41.  
  42.  SpeechErr               SpeechOn();
  43.  void                    SpeechOff();
  44.  void                    SpeechRate();
  45.  void                    SpeechPitch();
  46.  void                    SpeechSex();
  47.  SpeechErr               Reader();
  48.  SpeechErr               MacinTalk();
  49.  
  50.