From f4da8ea6b95d172750e9b727a1489e9a345f1bb6 Mon Sep 17 00:00:00 2001 From: Reece Dunn Date: Thu, 14 Jun 2012 08:51:13 +0100 Subject: [PATCH] 1.46.18 (from espeak.sourceforge.net/test/latest.html) --- dictsource/pa_list | 13 +- docs/speak_lib.h | 56 ++++----- espeak-data/mbrola_ph/ee1_phtrans | Bin 1444 -> 1444 bytes espeak-data/mbrola_ph/fr1_phtrans | Bin 1900 -> 1972 bytes phsource/ph_irish | 198 ++++++++++++++++++++++++++++++ phsource/ph_punjabi | 5 + 6 files changed, 239 insertions(+), 33 deletions(-) create mode 100644 phsource/ph_irish diff --git a/dictsource/pa_list b/dictsource/pa_list index 4d876add..ebbb9966 100644 --- a/dictsource/pa_list +++ b/dictsource/pa_list @@ -1,4 +1,4 @@ - + // This file is UTF8 encoded // Punjabi/Gurmukhi @@ -130,6 +130,8 @@ _dpt _dOth // ?? ੱ VddVk ਃ visaRg ੍ hVlVnt +ॄ addak + ਅ 'ERV ੲ 'IRI @@ -155,6 +157,15 @@ _ਔ 'ERV||kVnOR'a ੌ kVn'ORa । d.'Vnd.i +₹ rupi + + ਸਰਕਾਰ sR@k'aR ਸਰਕਾਰੀ sR@k'aRi + +// English words +ਸੋਫਟਵਿਅਰ s'OftwER +ਵੈਬਪੇਜ w'EbpeIdZ +ਈਮੇਲ 'i:meIl +ਕੀਬੋਰਡ k'i:boRd diff --git a/docs/speak_lib.h b/docs/speak_lib.h index 8cf7f807..9ca01f59 100644 --- a/docs/speak_lib.h +++ b/docs/speak_lib.h @@ -28,12 +28,6 @@ #include #include -#ifdef __WIN32__ -#define ESPEAK_API __declspec(dllexport) -#else -#define ESPEAK_API -#endif - #define ESPEAK_API_REVISION 6 /* Revision 2 @@ -163,13 +157,11 @@ typedef enum { EE_NOT_FOUND=2 } espeak_ERROR; -#define espeakINITIALIZE_PHONEME_EVENTS 0x0001 -#define espeakINITIALIZE_DONT_EXIT 0x8000 #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. @@ -177,8 +169,8 @@ ESPEAK_API int espeak_Initialize(espeak_AUDIO_OUTPUT output, int buflength, cons path: The directory which contains the espeak-data directory, or NULL for the default location. - options: bit 0: 1=allow espeakEVENT_PHONEME events. - bit 15: 1=don't exit if espeak_data is not found (used for --help) + options: bit 0: 1=allow espeakEVENT_PHONEME events. + Returns: sample rate in Hz, or -1 (EE_INTERNAL_ERROR). */ @@ -188,7 +180,7 @@ typedef int (t_espeak_callback)(short*, int, espeak_EVENT*); #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. @@ -216,7 +208,7 @@ int SynthCallback(short *wav, int numsamples, espeak_EVENT *events); #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