home *** CD-ROM | disk | FTP | other *** search
/ Really Useful CD 1 / ReallyUsefulCD1.iso / extras / progutils / speechlib / h / speech
Encoding:
Text File  |  1991-06-10  |  1.6 KB  |  53 lines

  1. /*
  2.     Title: Interface for Computer Concepts Speech Module
  3.    Author: Anthony R J Brion
  4.   Version: 1.00 (11-Jun-91)
  5. */
  6.  
  7. #include "os.h"
  8.  
  9. #define swi_Speech_Ready?              0x042B80
  10. #define swi_Speech_Oldchannel          0x042B81
  11. #define swi_Speech_Error               0x042B82
  12. #define swi_Speech_Say                 0x042B83
  13. #define swi_Speech_Sayw                0x042B84
  14. #define swi_Speech_Speak               0x042B85
  15. #define swi_Speech_Speakw              0x042B86
  16. #define swi_Speech_Pitch               0x042B87
  17. #define swi_Speech_Speed               0x042B88
  18. #define swi_Speech_Mouth               0x042B89
  19. #define swi_Speech_Tongue              0x042B8A
  20. #define swi_Speech_GetDictionary       0x042B8B
  21. #define swi_Speech_Reset               0x042B8C
  22. #define swi_Speech_Level               0x042B8D
  23.  
  24. void speech_say(int);
  25. /* Say the word */
  26.  
  27. void speech_sayw(int);
  28. /* Say the word and wait for end of speech (resets channel settings) */
  29.  
  30. void speech_speak(int);
  31. /* Same as "SAY" but uses phonemes */
  32.  
  33. void speech_speakw(int);
  34. /* Same as "SAYW" but uses phonemes */
  35.  
  36. void speech_pitch(int);
  37. /* Change the pitch of the speech <0-200> (Default = 128) */
  38.  
  39. void speech_speed(int);
  40. /* Change the speed of voice <0-200> (Default = 128) */
  41.  
  42. void speech_mouth(int);
  43. /* Changes the lower formant centre frequency <0-200> (Default = 128) */
  44.  
  45. void speech_tongue(int);
  46. /* Changes the second formant centre frequency <0-200> (Default = 128) */
  47.  
  48. void speech_reset(void);
  49. /* Resets all commands to the default settings */
  50.  
  51. void speech_level(int);
  52. /* Sets the volume level of the speech <0-128> (Default = 128) */
  53.