mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-27 13:23:49 +00:00
[1.41]
Added language da (Danish) Fixed to wave_sada.cpp git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@222 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#define ESPEAK_API_REVISION 3
|
||||
#define ESPEAK_API_REVISION 5
|
||||
/*
|
||||
Revision 2
|
||||
Added parameter "options" to eSpeakInitialize()
|
||||
@@ -39,6 +39,8 @@ Revision 3
|
||||
Revision 4
|
||||
Added flags parameter to espeak_CompileDictionary()
|
||||
|
||||
Revision 5
|
||||
Added espeakCHARS_16BIT
|
||||
*/
|
||||
/********************/
|
||||
/* Initialization */
|
||||
@@ -228,6 +230,7 @@ int UriCallback(int type, const char *uri, const char *base);
|
||||
#define espeakCHARS_UTF8 1
|
||||
#define espeakCHARS_8BIT 2
|
||||
#define espeakCHARS_WCHAR 3
|
||||
#define espeakCHARS_16BIT 4
|
||||
|
||||
#define espeakSSML 0x10
|
||||
#define espeakPHONEMES 0x100
|
||||
@@ -319,7 +322,8 @@ extern "C"
|
||||
#endif
|
||||
ESPEAK_API espeak_ERROR espeak_Key(const char *key_name);
|
||||
/* Speak the name of a keyboard key.
|
||||
Currently this just speaks the "key_name" as given
|
||||
If key_name is a single character, it speaks the name of the character.
|
||||
Otherwise, it speaks key_name as a text string.
|
||||
|
||||
Return: EE_OK: operation achieved
|
||||
EE_BUFFER_FULL: the command can not be buffered;
|
||||
@@ -341,6 +345,7 @@ ESPEAK_API espeak_ERROR espeak_Char(wchar_t character);
|
||||
|
||||
|
||||
|
||||
|
||||
/***********************/
|
||||
/* Speech Parameters */
|
||||
/***********************/
|
||||
@@ -390,7 +395,7 @@ ESPEAK_API espeak_ERROR espeak_SetParameter(espeak_PARAMETER parameter, int valu
|
||||
|
||||
espeakPUNCTUATION: which punctuation characters to announce:
|
||||
value in espeak_PUNCT_TYPE (none, all, some),
|
||||
see espeak_GetParameter() to specify which characters are announced.
|
||||
see espeak_GetParameter() to specify which characters are announced.
|
||||
|
||||
espeakCAPITALS: announce capital letters by:
|
||||
0=none,
|
||||
@@ -463,9 +468,9 @@ ESPEAK_API void espeak_CompileDictionary(const char *path, FILE *log, int flags)
|
||||
|
||||
// voice table
|
||||
typedef struct {
|
||||
char *name; // a given name for this voice. UTF8 string.
|
||||
char *languages; // list of pairs of (byte) priority + (string) language (and dialect qualifier)
|
||||
char *identifier; // the filename for this voice within espeak-data/voices
|
||||
const char *name; // a given name for this voice. UTF8 string.
|
||||
const char *languages; // list of pairs of (byte) priority + (string) language (and dialect qualifier)
|
||||
const char *identifier; // the filename for this voice within espeak-data/voices
|
||||
unsigned char gender; // 0=none 1=male, 2=female,
|
||||
unsigned char age; // 0=not specified, or age in years
|
||||
unsigned char variant; // only used when passed as a parameter to espeak_SetVoiceByProperties
|
||||
|
||||
Reference in New Issue
Block a user