31 #if defined(_WIN32) || defined(_WIN64)
32 #ifdef LIBESPEAK_NG_EXPORT
33 #define ESPEAK_API __declspec(dllexport)
35 #define ESPEAK_API __declspec(dllimport)
41 #define ESPEAK_API_REVISION 12
83 #define espeakRATE_MINIMUM 80
84 #define espeakRATE_MAXIMUM 450
85 #define espeakRATE_NORMAL 175
191 #define espeakINITIALIZE_PHONEME_EVENTS 0x0001
192 #define espeakINITIALIZE_PHONEME_IPA 0x0002
193 #define espeakINITIALIZE_DONT_EXIT 0x8000
280 #define espeakCHARS_AUTO 0
281 #define espeakCHARS_UTF8 1
282 #define espeakCHARS_8BIT 2
283 #define espeakCHARS_WCHAR 3
284 #define espeakCHARS_16BIT 4
286 #define espeakSSML 0x10
287 #define espeakPHONEMES 0x100
288 #define espeakENDPAUSE 0x1000
289 #define espeakKEEP_NAMEDATA 0x2000
296 unsigned int position,
298 unsigned int end_position,
300 unsigned int* unique_identifier,
356 const char *index_mark,
357 unsigned int end_position,
359 unsigned int* unique_identifier,
494 #define espeakPHONEMES_SHOW 0x01
495 #define espeakPHONEMES_IPA 0x02
496 #define espeakPHONEMES_TRACE 0x08
497 #define espeakPHONEMES_MBROLA 0x10
498 #define espeakPHONEMES_TIE 0x80
espeak_VOICE * espeak_GetCurrentVoice(void)
espeak_ERROR espeak_SetPunctuationList(const wchar_t *punctlist)
espeak_ERROR espeak_Char(wchar_t character)
espeak_ERROR
Definition: speak_lib.h:184
@ EE_NOT_FOUND
Definition: speak_lib.h:188
@ EE_INTERNAL_ERROR
Definition: speak_lib.h:186
@ EE_BUFFER_FULL
Definition: speak_lib.h:187
@ EE_OK
Definition: speak_lib.h:185
void espeak_SetUriCallback(int(*UriCallback)(int, const char *, const char *))
espeak_PUNCT_TYPE
Definition: speak_lib.h:428
@ espeakPUNCT_NONE
Definition: speak_lib.h:429
@ espeakPUNCT_ALL
Definition: speak_lib.h:430
@ espeakPUNCT_SOME
Definition: speak_lib.h:431
espeak_AUDIO_OUTPUT
Definition: speak_lib.h:168
@ AUDIO_OUTPUT_RETRIEVAL
Definition: speak_lib.h:173
@ AUDIO_OUTPUT_SYNCHRONOUS
Definition: speak_lib.h:176
@ AUDIO_OUTPUT_SYNCH_PLAYBACK
Definition: speak_lib.h:179
@ AUDIO_OUTPUT_PLAYBACK
Definition: speak_lib.h:170
int espeak_IsPlaying(void)
espeak_POSITION_TYPE
Definition: speak_lib.h:161
@ POS_CHARACTER
Definition: speak_lib.h:162
@ POS_SENTENCE
Definition: speak_lib.h:164
@ POS_WORD
Definition: speak_lib.h:163
const espeak_VOICE ** espeak_ListVoices(espeak_VOICE *voice_spec)
void espeak_CompileDictionary(const char *path, FILE *log, int flags)
espeak_ERROR espeak_SetVoiceByFile(const char *filename)
espeak_ERROR espeak_SetVoiceByProperties(espeak_VOICE *voice_spec)
#define ESPEAK_API
Definition: speak_lib.h:38
espeak_EVENT_TYPE
Definition: speak_lib.h:88
@ espeakEVENT_MARK
Definition: speak_lib.h:92
@ espeakEVENT_SAMPLERATE
Definition: speak_lib.h:97
@ espeakEVENT_WORD
Definition: speak_lib.h:90
@ espeakEVENT_END
Definition: speak_lib.h:94
@ espeakEVENT_MSG_TERMINATED
Definition: speak_lib.h:95
@ espeakEVENT_SENTENCE
Definition: speak_lib.h:91
@ espeakEVENT_PHONEME
Definition: speak_lib.h:96
@ espeakEVENT_LIST_TERMINATED
Definition: speak_lib.h:89
@ espeakEVENT_PLAY
Definition: speak_lib.h:93
const char * espeak_Info(const char **path_data)
int espeak_GetParameter(espeak_PARAMETER parameter, int current)
espeak_ERROR espeak_Synth_Mark(const void *text, size_t size, const char *index_mark, unsigned int end_position, unsigned int flags, unsigned int *unique_identifier, void *user_data)
espeak_ERROR espeak_Cancel(void)
espeak_ERROR espeak_Key(const char *key_name)
void espeak_SetPhonemeTrace(int phonememode, FILE *stream)
espeak_ERROR espeak_Terminate(void)
espeak_ERROR espeak_Synchronize(void)
void espeak_SetSynthCallback(t_espeak_callback *SynthCallback)
espeak_ERROR espeak_Synth(const void *text, size_t size, unsigned int position, espeak_POSITION_TYPE position_type, unsigned int end_position, unsigned int flags, unsigned int *unique_identifier, void *user_data)
const char * espeak_TextToPhonemes(const void **textptr, int textmode, int phonememode)
espeak_PARAMETER
Definition: speak_lib.h:408
@ espeakRANGE
Definition: speak_lib.h:413
@ N_SPEECH_PARAM
Definition: speak_lib.h:425
@ espeakEMPHASIS
Definition: speak_lib.h:422
@ espeakVOICETYPE
Definition: speak_lib.h:424
@ espeakWORDGAP
Definition: speak_lib.h:416
@ espeakVOLUME
Definition: speak_lib.h:411
@ espeakLINELENGTH
Definition: speak_lib.h:423
@ espeakPITCH
Definition: speak_lib.h:412
@ espeakOPTIONS
Definition: speak_lib.h:417
@ espeakINTONATION
Definition: speak_lib.h:418
@ espeakRATE
Definition: speak_lib.h:410
@ espeakSILENCE
Definition: speak_lib.h:409
@ espeakRESERVED1
Definition: speak_lib.h:420
@ espeakRESERVED2
Definition: speak_lib.h:421
@ espeakCAPITALS
Definition: speak_lib.h:415
@ espeakPUNCTUATION
Definition: speak_lib.h:414
espeak_ERROR espeak_SetVoiceByName(const char *name)
espeak_ERROR espeak_SetParameter(espeak_PARAMETER parameter, int value, int relative)
void espeak_SetPhonemeCallback(int(*PhonemeCallback)(const char *))
int espeak_Initialize(espeak_AUDIO_OUTPUT output, int buflength, const char *path, int options)
int() t_espeak_callback(short *, int, espeak_EVENT *)
Definition: speak_lib.h:215
Definition: speak_lib.h:102
void * user_data
Definition: speak_lib.h:109
espeak_EVENT_TYPE type
Definition: speak_lib.h:103
int text_position
Definition: speak_lib.h:105
int sample
Definition: speak_lib.h:108
unsigned int unique_identifier
Definition: speak_lib.h:104
int number
Definition: speak_lib.h:111
int audio_position
Definition: speak_lib.h:107
const char * name
Definition: speak_lib.h:112
int length
Definition: speak_lib.h:106
Definition: speak_lib.h:564
unsigned char xx1
Definition: speak_lib.h:571
unsigned char age
Definition: speak_lib.h:569
const char * name
Definition: speak_lib.h:565
int score
Definition: speak_lib.h:572
unsigned char gender
Definition: speak_lib.h:568
unsigned char variant
Definition: speak_lib.h:570
const char * languages
Definition: speak_lib.h:566
const char * identifier
Definition: speak_lib.h:567
void * spare
Definition: speak_lib.h:573