home *** CD-ROM | disk | FTP | other *** search
- /*
- Title: Interface for Computer Concepts Speech Module
- Author: Anthony R J Brion
- Version: 1.00 (11-Jun-91)
- */
-
- #include "os.h"
-
- #define swi_Speech_Ready? 0x042B80
- #define swi_Speech_Oldchannel 0x042B81
- #define swi_Speech_Error 0x042B82
- #define swi_Speech_Say 0x042B83
- #define swi_Speech_Sayw 0x042B84
- #define swi_Speech_Speak 0x042B85
- #define swi_Speech_Speakw 0x042B86
- #define swi_Speech_Pitch 0x042B87
- #define swi_Speech_Speed 0x042B88
- #define swi_Speech_Mouth 0x042B89
- #define swi_Speech_Tongue 0x042B8A
- #define swi_Speech_GetDictionary 0x042B8B
- #define swi_Speech_Reset 0x042B8C
- #define swi_Speech_Level 0x042B8D
-
- void speech_say(int);
- /* Say the word */
-
- void speech_sayw(int);
- /* Say the word and wait for end of speech (resets channel settings) */
-
- void speech_speak(int);
- /* Same as "SAY" but uses phonemes */
-
- void speech_speakw(int);
- /* Same as "SAYW" but uses phonemes */
-
- void speech_pitch(int);
- /* Change the pitch of the speech <0-200> (Default = 128) */
-
- void speech_speed(int);
- /* Change the speed of voice <0-200> (Default = 128) */
-
- void speech_mouth(int);
- /* Changes the lower formant centre frequency <0-200> (Default = 128) */
-
- void speech_tongue(int);
- /* Changes the second formant centre frequency <0-200> (Default = 128) */
-
- void speech_reset(void);
- /* Resets all commands to the default settings */
-
- void speech_level(int);
- /* Sets the volume level of the speech <0-128> (Default = 128) */
-