Files espeak-1.44.05-source/espeak-data/intonations and espeak-1.44.05-source.last/espeak-data/intonations differ diff -ruN -B -b espeak-1.44.05-source/platforms/windows/windows_dll/src/speak_lib.h espeak-1.44.05-source.last/platforms/windows/windows_dll/src/speak_lib.h --- espeak-1.44.05-source/platforms/windows/windows_dll/src/speak_lib.h 2010-06-29 23:18:32.000000000 +0200 +++ espeak-1.44.05-source.last/platforms/windows/windows_dll/src/speak_lib.h 2010-09-14 21:30:10.000000000 +0200 @@ -1,7 +1,7 @@ #ifndef SPEAK_LIB_H #define SPEAK_LIB_H /*************************************************************************** - * Copyright (C) 2005 to 2007 by Jonathan Duddington * + * Copyright (C) 2005 to 2010 by Jonathan Duddington * * email: jonsd@users.sourceforge.net * * * * This program is free software; you can redistribute it and/or modify * @@ -24,11 +24,11 @@ /* This is the header file for the library version of espeak */ /* */ /*************************************************************/ -#define ESPEAK_API __declspec(dllexport) #include +#include -#define ESPEAK_API_REVISION 5 +#define ESPEAK_API_REVISION 6 /* Revision 2 Added parameter "options" to eSpeakInitialize() @@ -41,11 +41,19 @@ Revision 5 Added espeakCHARS_16BIT + +Revision 6 + Added macros: espeakRATE_MINIMUM, espeakRATE_MAXIMUM, espeakRATE_NORMAL */ /********************/ /* Initialization */ /********************/ +// values for 'value' in espeak_SetParameter(espeakRATE, value, 0), nominally in words-per-minute +#define espeakRATE_MINIMUM 80 +#define espeakRATE_MAXIMUM 450 +#define espeakRATE_NORMAL 175 + typedef enum { espeakEVENT_LIST_TERMINATED = 0, // Retrieval mode: terminates the event list. @@ -153,7 +161,7 @@ #ifdef __cplusplus extern "C" #endif -ESPEAK_API int espeak_Initialize(espeak_AUDIO_OUTPUT output, int buflength, const char *path, int options); +int espeak_Initialize(espeak_AUDIO_OUTPUT output, int buflength, const char *path, int options); /* Must be called before any synthesis functions are called. output: the audio data can either be played by eSpeak or passed back by the SynthCallback function. @@ -172,7 +180,7 @@ #ifdef __cplusplus extern "C" #endif -ESPEAK_API void espeak_SetSynthCallback(t_espeak_callback* SynthCallback); +void espeak_SetSynthCallback(t_espeak_callback* SynthCallback); /* Must be called before any synthesis functions are called. This specifies a function in the calling program which is called when a buffer of speech sound data has been produced. @@ -200,7 +208,7 @@ #ifdef __cplusplus extern "C" #endif -ESPEAK_API void espeak_SetUriCallback(int (*UriCallback)(int, const char*, const char*)); +void espeak_SetUriCallback(int (*UriCallback)(int, const char*, const char*)); /* This function may be called before synthesis functions are used, in order to deal with