Browse Source

Merge remote-tracking branch 'jaacoppi/includes'

master
Reece H. Dunn 7 years ago
parent
commit
9ff086a2f1

+ 13
- 14
src/libespeak-ng/compiledata.c View File

#include <espeak-ng/encoding.h> #include <espeak-ng/encoding.h>


#include "error.h" #include "error.h"
#include "speech.h"
#include "phoneme.h" #include "phoneme.h"
#include "voice.h" #include "voice.h"
#include "synthesize.h" #include "synthesize.h"
char proc_names[N_ITEM_STRING+1][N_PROCS]; char proc_names[N_ITEM_STRING+1][N_PROCS];


#define MAX_PROG_BUF 2000 #define MAX_PROG_BUF 2000
USHORT *prog_out;
USHORT *prog_out_max;
USHORT prog_buf[MAX_PROG_BUF+20];
unsigned short *prog_out;
unsigned short *prog_out_max;
unsigned short prog_buf[MAX_PROG_BUF+20];


static espeak_ng_STATUS ReadPhondataManifest(espeak_ng_ERROR_CONTEXT *context) static espeak_ng_STATUS ReadPhondataManifest(espeak_ng_ERROR_CONTEXT *context)
{ {
#define N_IF_STACK 12 #define N_IF_STACK 12
int if_level; int if_level;
typedef struct { typedef struct {
USHORT *p_then;
USHORT *p_else;
unsigned short *p_then;
unsigned short *p_else;
bool returned; bool returned;
} IF_STACK; } IF_STACK;
IF_STACK if_stack[N_IF_STACK]; IF_STACK if_stack[N_IF_STACK];
int bitmap; int bitmap;
int brackets; int brackets;
bool not_flag; bool not_flag;
USHORT *prog_last_if = NULL;
unsigned short *prog_last_if = NULL;


then_count = 2; then_count = 2;
after_if = true; after_if = true;


static void FillThen(int add) static void FillThen(int add)
{ {
USHORT *p;
unsigned short *p;
int offset; int offset;


p = if_stack[if_level].p_then; p = if_stack[if_level].p_then;


static int CompileElse(void) static int CompileElse(void)
{ {
USHORT *ref;
USHORT *p;
unsigned short *ref;
unsigned short *p;


if (if_level < 1) { if (if_level < 1) {
error("ELSE not expected"); error("ELSE not expected");


static int CompileEndif(void) static int CompileEndif(void)
{ {
USHORT *p;
unsigned short *p;
int chain; int chain;
int offset; int offset;


if (prog_out > prog_buf) { if (prog_out > prog_buf) {
// write out the program for this phoneme // write out the program for this phoneme
fflush(f_phindex); fflush(f_phindex);
phoneme_out->program = ftell(f_phindex) / sizeof(USHORT);
phoneme_out->program = ftell(f_phindex) / sizeof(unsigned short);


if (f_prog_log != NULL) { if (f_prog_log != NULL) {
phoneme_prog_log.addr = phoneme_out->program; phoneme_prog_log.addr = phoneme_out->program;
} }


if (compile_phoneme == 0) if (compile_phoneme == 0)
proc_addr[n_procs++] = ftell(f_phindex) / sizeof(USHORT);
fwrite(prog_buf, sizeof(USHORT), prog_out - prog_buf, f_phindex);
proc_addr[n_procs++] = ftell(f_phindex) / sizeof(unsigned short);
fwrite(prog_buf, sizeof(unsigned short), prog_out - prog_buf, f_phindex);
} }


return 0; return 0;

+ 1
- 0
src/libespeak-ng/compiledict.c View File



#include <ctype.h> #include <ctype.h>
#include <errno.h> #include <errno.h>
#include <stdbool.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

+ 8
- 0
src/libespeak-ng/dictionary.c View File

#include "synthesize.h" #include "synthesize.h"
#include "translate.h" #include "translate.h"


typedef struct {
int points;
const char *phonemes;
int end_type;
char *del_fwd;
} MatchRecord;


int dictionary_skipwords; int dictionary_skipwords;
char dictionary_name[40]; char dictionary_name[40];



+ 2
- 0
src/libespeak-ng/error.h View File

#ifndef ESPEAK_NG_ERROR_API #ifndef ESPEAK_NG_ERROR_API
#define ESPEAK_NG_ERROR_API #define ESPEAK_NG_ERROR_API


#include <espeak-ng/espeak_ng.h>

#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {

+ 0
- 1
src/libespeak-ng/espeak_api.c View File

#include <espeak-ng/speak_lib.h> #include <espeak-ng/speak_lib.h>
#include <espeak-ng/encoding.h> #include <espeak-ng/encoding.h>


#include "speech.h"
#include "phoneme.h" #include "phoneme.h"
#include "voice.h" #include "voice.h"
#include "synthesize.h" #include "synthesize.h"

+ 0
- 1
src/libespeak-ng/espeak_command.c View File



#include <espeak-ng/espeak_ng.h> #include <espeak-ng/espeak_ng.h>


#include "speech.h"
#include "espeak_command.h" #include "espeak_command.h"


#ifdef USE_ASYNC #ifdef USE_ASYNC

+ 4
- 2
src/libespeak-ng/espeak_command.h View File

* along with this program; if not, see: <http://www.gnu.org/licenses/>. * along with this program; if not, see: <http://www.gnu.org/licenses/>.
*/ */


#ifndef ESPEAK_COMMAND_H
#define ESPEAK_COMMAND_H
#ifndef ESPEAK_NG_COMMAND_H
#define ESPEAK_NG_COMMAND_H

#include <espeak-ng/espeak_ng.h>


#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"

+ 0
- 1
src/libespeak-ng/event.c View File

#include <espeak-ng/espeak_ng.h> #include <espeak-ng/espeak_ng.h>
#include <espeak-ng/speak_lib.h> #include <espeak-ng/speak_lib.h>


#include "speech.h"
#include "event.h" #include "event.h"


// my_mutex: protects my_thread_is_talking, // my_mutex: protects my_thread_is_talking,

+ 5
- 3
src/libespeak-ng/event.h View File

* along with this program; if not, see: <http://www.gnu.org/licenses/>. * along with this program; if not, see: <http://www.gnu.org/licenses/>.
*/ */


#ifndef EVENT_H
#define EVENT_H

/* /*
Manage events (sentence, word, mark, end,...), is responsible of calling the external Manage events (sentence, word, mark, end,...), is responsible of calling the external
callback as soon as the relevant audio sample is played. callback as soon as the relevant audio sample is played.


*/ */


#ifndef ESPEAK_NG_EVENT_H
#define ESPEAK_NG_EVENT_H

#include <espeak-ng/espeak_ng.h>

#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {

+ 6
- 3
src/libespeak-ng/fifo.h View File

* along with this program; if not, see: <http://www.gnu.org/licenses/>. * along with this program; if not, see: <http://www.gnu.org/licenses/>.
*/ */


#ifndef FIFO_H
#define FIFO_H

// Helps to add espeak commands in a first-in first-out queue // Helps to add espeak commands in a first-in first-out queue
// and run them asynchronously. // and run them asynchronously.


#ifndef ESPEAK_NG_FIFO_H
#define ESPEAK_NG_FIFO_H

#include <espeak-ng/espeak_ng.h>
#include "espeak_command.h"

#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {

+ 1
- 0
src/libespeak-ng/ieee80.h View File

* conversions, and accommodated conversions involving +/- infinity, * conversions, and accommodated conversions involving +/- infinity,
* NaN's, and denormalized numbers. * NaN's, and denormalized numbers.
*/ */

#ifndef IEEE_H #ifndef IEEE_H
#define IEEE_H #define IEEE_H



+ 0
- 1
src/libespeak-ng/intonation.c View File

#include <espeak-ng/speak_lib.h> #include <espeak-ng/speak_lib.h>
#include <espeak-ng/encoding.h> #include <espeak-ng/encoding.h>


#include "speech.h"
#include "phoneme.h" #include "phoneme.h"
#include "voice.h" #include "voice.h"
#include "synthesize.h" #include "synthesize.h"

+ 1
- 2
src/libespeak-ng/klatt.c View File

#include <espeak-ng/espeak_ng.h> #include <espeak-ng/espeak_ng.h>
#include <espeak-ng/speak_lib.h> #include <espeak-ng/speak_lib.h>


#include "speech.h"
#include "phoneme.h" #include "phoneme.h"
#include "voice.h" #include "voice.h"
#include "synthesize.h" #include "synthesize.h"
static void SetSynth_Klatt(int length, frame_t *fr1, frame_t *fr2, voice_t *v, int control) static void SetSynth_Klatt(int length, frame_t *fr1, frame_t *fr2, voice_t *v, int control)
{ {
int ix; int ix;
DOUBLEX next;
double next;
int qix; int qix;
int cmd; int cmd;
frame_t *fr3; frame_t *fr3;

+ 16
- 8
src/libespeak-ng/klatt.h View File

* along with this program; if not, see: <http://www.gnu.org/licenses/>. * along with this program; if not, see: <http://www.gnu.org/licenses/>.
*/ */


#ifndef ESPEAK_NG_KLATT_H
#define ESPEAK_NG_KLATT_H

#include "speech.h"
#include "synthesize.h"

#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {
int bw; // klatt bandwidth int bw; // klatt bandwidth
int ap; // parallel amplitude int ap; // parallel amplitude
int bp; // parallel bandwidth int bp; // parallel bandwidth
DOUBLEX freq1; // floating point versions of the above
DOUBLEX bw1;
DOUBLEX ap1;
DOUBLEX bp1;
DOUBLEX freq_inc; // increment by this every 64 samples
DOUBLEX bw_inc;
DOUBLEX ap_inc;
DOUBLEX bp_inc;
double freq1; // floating point versions of the above
double bw1;
double ap1;
double bp1;
double freq_inc; // increment by this every 64 samples
double bw_inc;
double ap_inc;
double bp_inc;
} klatt_peaks_t; } klatt_peaks_t;


void KlattInit(void); void KlattInit(void);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

#endif

+ 0
- 1
src/libespeak-ng/mbrowrap.c View File

#include <unistd.h> #include <unistd.h>


#include <espeak-ng/espeak_ng.h> #include <espeak-ng/espeak_ng.h>
#include "speech.h"


/* /*
* mbrola instance parameters * mbrola instance parameters

+ 0
- 1
src/libespeak-ng/numbers.c View File

#include <espeak-ng/speak_lib.h> #include <espeak-ng/speak_lib.h>
#include <espeak-ng/encoding.h> #include <espeak-ng/encoding.h>


#include "speech.h"
#include "phoneme.h" #include "phoneme.h"
#include "voice.h" #include "voice.h"
#include "synthesize.h" #include "synthesize.h"

+ 7
- 0
src/libespeak-ng/phoneme.h View File

* along with this program; if not, see: <http://www.gnu.org/licenses/>. * along with this program; if not, see: <http://www.gnu.org/licenses/>.
*/ */


#ifndef ESPEAK_NG_PHONEME_H
#define ESPEAK_NG_PHONEME_H

#include <espeak-ng/espeak_ng.h>

#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

#endif

+ 0
- 1
src/libespeak-ng/phonemelist.c View File

#include <espeak-ng/speak_lib.h> #include <espeak-ng/speak_lib.h>
#include <espeak-ng/encoding.h> #include <espeak-ng/encoding.h>


#include "speech.h"
#include "phoneme.h" #include "phoneme.h"
#include "voice.h" #include "voice.h"
#include "synthesize.h" #include "synthesize.h"

+ 0
- 1
src/libespeak-ng/setlengths.c View File

#include <espeak-ng/speak_lib.h> #include <espeak-ng/speak_lib.h>
#include <espeak-ng/encoding.h> #include <espeak-ng/encoding.h>


#include "speech.h"
#include "phoneme.h" #include "phoneme.h"
#include "voice.h" #include "voice.h"
#include "synthesize.h" #include "synthesize.h"

+ 5
- 0
src/libespeak-ng/sintab.h View File

* along with this program; if not, see: <http://www.gnu.org/licenses/>. * along with this program; if not, see: <http://www.gnu.org/licenses/>.
*/ */


#ifndef ESPEAK_NG_SINTAB_H
#define ESPEAK_NG_SINTAB_H

#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

#endif

+ 1
- 2
src/libespeak-ng/spect.c View File

#include <espeak-ng/espeak_ng.h> #include <espeak-ng/espeak_ng.h>
#include <espeak-ng/speak_lib.h> #include <espeak-ng/speak_lib.h>


#include "speech.h"
#include "phoneme.h" #include "phoneme.h"
#include "voice.h" #include "voice.h"
#include "synthesize.h" #include "synthesize.h"
} }
} }


spect_data = malloc(sizeof(USHORT) * frame->nx);
spect_data = malloc(sizeof(unsigned short) * frame->nx);


if (spect_data == NULL) if (spect_data == NULL)
return ENOMEM; return ENOMEM;

+ 10
- 1
src/libespeak-ng/spect.h View File

* along with this program; if not, see: <http://www.gnu.org/licenses/>. * along with this program; if not, see: <http://www.gnu.org/licenses/>.
*/ */


#ifndef ESPEAK_NG_SPECT_H
#define ESPEAK_NG_SPECT_H

#include <espeak-ng/espeak_ng.h>
#include "synthesize.h"
#include "speech.h"

#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {
unsigned short nx; unsigned short nx;
short markers; short markers;
int max_y; int max_y;
USHORT *spect; // sqrt of harmonic amplitudes, 1-nx at 'pitch'
unsigned short *spect; // sqrt of harmonic amplitudes, 1-nx at 'pitch'


short klatt_param[N_KLATTP2]; short klatt_param[N_KLATTP2];


#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

#endif

+ 4
- 6
src/libespeak-ng/speech.h View File

* along with this program; if not, see: <http://www.gnu.org/licenses/>. * along with this program; if not, see: <http://www.gnu.org/licenses/>.
*/ */


#ifndef SPEECH_H
#define SPEECH_H
#ifndef ESPEAK_NG_SPEECH_H
#define ESPEAK_NG_SPEECH_H

#include <espeak-ng/espeak_ng.h>


#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
#define PATH_ESPEAK_DATA "/usr/share/espeak-ng-data" #define PATH_ESPEAK_DATA "/usr/share/espeak-ng-data"
#endif #endif


typedef unsigned short USHORT;
typedef unsigned char UCHAR;
typedef double DOUBLEX;

typedef struct { typedef struct {
const char *mnem; const char *mnem;
int value; int value;

+ 5
- 0
src/libespeak-ng/ssml.h View File

#ifndef ESPEAK_NG_SSML_API #ifndef ESPEAK_NG_SSML_API
#define ESPEAK_NG_SSML_API #define ESPEAK_NG_SSML_API


#include <stdbool.h>
#include <wchar.h>

#include <espeak-ng/speak_lib.h>

#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {

+ 8
- 8
src/libespeak-ng/synthdata.c View File

PHONEME_TAB *phoneme_tab[N_PHONEME_TAB]; PHONEME_TAB *phoneme_tab[N_PHONEME_TAB];
unsigned char phoneme_tab_flags[N_PHONEME_TAB]; // bit 0: not inherited unsigned char phoneme_tab_flags[N_PHONEME_TAB]; // bit 0: not inherited


USHORT *phoneme_index = NULL;
unsigned short *phoneme_index = NULL;
char *phondata_ptr = NULL; char *phondata_ptr = NULL;
unsigned char *wavefile_data = NULL; unsigned char *wavefile_data = NULL;
static unsigned char *phoneme_tab_data = NULL; static unsigned char *phoneme_tab_data = NULL;
return count; return count;
} }


static bool InterpretCondition(Translator *tr, int control, PHONEME_LIST *plist, USHORT *p_prog, WORD_PH_DATA *worddata)
static bool InterpretCondition(Translator *tr, int control, PHONEME_LIST *plist, unsigned short *p_prog, WORD_PH_DATA *worddata)
{ {
int which; int which;
int ix; int ix;
return false; return false;
} }


static void SwitchOnVowelType(PHONEME_LIST *plist, PHONEME_DATA *phdata, USHORT **p_prog, int instn_type)
static void SwitchOnVowelType(PHONEME_LIST *plist, PHONEME_DATA *phdata, unsigned short **p_prog, int instn_type)
{ {
USHORT *prog;
unsigned short *prog;
int voweltype; int voweltype;
signed char x; signed char x;


*p_prog += 12; *p_prog += 12;
} }


int NumInstnWords(USHORT *prog)
int NumInstnWords(unsigned short *prog)
{ {
int instn; int instn;
int instn2; int instn2;
// bit 8: change phonemes // bit 8: change phonemes


PHONEME_TAB *ph; PHONEME_TAB *ph;
USHORT *prog;
USHORT instn;
unsigned short *prog;
unsigned short instn;
int instn2; int instn2;
int or_flag; int or_flag;
bool truth; bool truth;


#define N_RETURN 10 #define N_RETURN 10
int n_return = 0; int n_return = 0;
USHORT *return_addr[N_RETURN]; // return address stack
unsigned short *return_addr[N_RETURN]; // return address stack


ph = plist->ph; ph = plist->ph;



+ 0
- 1
src/libespeak-ng/synthesize.c View File

#include <espeak-ng/speak_lib.h> #include <espeak-ng/speak_lib.h>
#include <espeak-ng/encoding.h> #include <espeak-ng/encoding.h>


#include "speech.h"
#include "phoneme.h" #include "phoneme.h"
#include "voice.h" #include "voice.h"
#include "synthesize.h" #include "synthesize.h"

+ 19
- 10
src/libespeak-ng/synthesize.h View File

* along with this program; if not, see: <http://www.gnu.org/licenses/>. * along with this program; if not, see: <http://www.gnu.org/licenses/>.
*/ */


#include <stdbool.h>
#ifndef ESPEAK_NG_SYNTHESIZE_H
#define ESPEAK_NG_SYNTHESIZE_H


#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {
#endif #endif


#include <stdint.h>
#include <stdbool.h>
#include <espeak-ng/espeak_ng.h>
#include "phoneme.h"
#include "voice.h"

#define espeakINITIALIZE_PHONEME_IPA 0x0002 // move this to speak_lib.h, after eSpeak version 1.46.02 #define espeakINITIALIZE_PHONEME_IPA 0x0002 // move this to speak_lib.h, after eSpeak version 1.46.02


#define N_PHONEME_LIST 1000 // enough for source[N_TR_SOURCE] full of text, else it will truncate #define N_PHONEME_LIST 1000 // enough for source[N_TR_SOURCE] full of text, else it will truncate
int height; // height<<15 int height; // height<<15
int left; // Hz<<16 int left; // Hz<<16
int right; // Hz<<16 int right; // Hz<<16
DOUBLEX freq1; // floating point versions of the above
DOUBLEX height1;
DOUBLEX left1;
DOUBLEX right1;
DOUBLEX freq_inc; // increment by this every 64 samples
DOUBLEX height_inc;
DOUBLEX left_inc;
DOUBLEX right_inc;
double freq1; // floating point versions of the above
double height1;
double left1;
double right1;
double freq_inc; // increment by this every 64 samples
double height_inc;
double left_inc;
double right_inc;
} wavegen_peaks_t; } wavegen_peaks_t;


typedef struct { typedef struct {
int PauseLength(int pause, int control); int PauseLength(int pause, int control);
int LookupPhonemeTable(const char *name); int LookupPhonemeTable(const char *name);
unsigned char *GetEnvelope(int index); unsigned char *GetEnvelope(int index);
int NumInstnWords(USHORT *prog);
int NumInstnWords(unsigned short *prog);


void InitBreath(void); void InitBreath(void);


#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

#endif

+ 0
- 1
src/libespeak-ng/tr_languages.c View File

#include <espeak-ng/speak_lib.h> #include <espeak-ng/speak_lib.h>
#include <espeak-ng/encoding.h> #include <espeak-ng/encoding.h>


#include "speech.h"
#include "phoneme.h" #include "phoneme.h"
#include "voice.h" #include "voice.h"
#include "synthesize.h" #include "synthesize.h"

+ 12
- 18
src/libespeak-ng/translate.h View File

* along with this program; if not, see: <http://www.gnu.org/licenses/>. * along with this program; if not, see: <http://www.gnu.org/licenses/>.
*/ */


#ifndef ESPEAK_NG_TRANSLATE_H
#define ESPEAK_NG_TRANSLATE_H

#include <stdbool.h>

#include <espeak-ng/espeak_ng.h>
#include <espeak-ng/encoding.h>

#include "synthesize.h"

#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {


typedef const char *constcharptr; typedef const char *constcharptr;


typedef struct {
int points;
const char *phonemes;
int end_type;
char *del_fwd;
} MatchRecord;

// used to mark words with the source[] buffer // used to mark words with the source[] buffer
typedef struct { typedef struct {
unsigned int flags; unsigned int flags;
int suffix_add_e; // replace a suffix (which has the SUFX_E flag) with this character int suffix_add_e; // replace a suffix (which has the SUFX_E flag) with this character
} LANGUAGE_OPTIONS; } LANGUAGE_OPTIONS;


// a parameter of ChangePhonemes()
typedef struct {
int flags;
unsigned char stress; // stress level of this vowel
unsigned char stress_highest; // the highest stress level of a vowel in this word
unsigned char n_vowels; // number of vowels in the word
unsigned char vowel_this; // syllable number of this vowel (counting from 1)
unsigned char vowel_stressed; // syllable number of the highest stressed vowel
} CHANGEPH;

typedef struct { typedef struct {
LANGUAGE_OPTIONS langopts; LANGUAGE_OPTIONS langopts;
int translator_name; int translator_name;
char *DecodeRule(const char *group_chars, int group_length, char *rule, int control); char *DecodeRule(const char *group_chars, int group_length, char *rule, int control);


void MakePhonemeList(Translator *tr, int post_pause, bool new_sentence); void MakePhonemeList(Translator *tr, int post_pause, bool new_sentence);
int ChangePhonemes_ru(Translator *tr, PHONEME_LIST2 *phlist, int n_ph, int index, PHONEME_TAB *ph, CHANGEPH *ch);
void ApplySpecialAttribute2(Translator *tr, char *phonemes, int dict_flags); void ApplySpecialAttribute2(Translator *tr, char *phonemes, int dict_flags);
void AppendPhonemes(Translator *tr, char *string, int size, const char *ph); void AppendPhonemes(Translator *tr, char *string, int size, const char *ph);


#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

#endif

+ 8
- 1
src/libespeak-ng/voice.h View File

* along with this program; if not, see: <http://www.gnu.org/licenses/>. * along with this program; if not, see: <http://www.gnu.org/licenses/>.
*/ */


#ifndef ESPEAK_NG_VOICE_H
#define ESPEAK_NG_VOICE_H

#include <espeak-ng/espeak_ng.h>

#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {
} voice_t; } voice_t;


// percentages shown to user, ix=N_PEAKS means ALL peaks // percentages shown to user, ix=N_PEAKS means ALL peaks
extern USHORT voice_pcnt[N_PEAKS+1][3];
extern unsigned short voice_pcnt[N_PEAKS+1][3];


extern espeak_VOICE current_voice_selected; extern espeak_VOICE current_voice_selected;


#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

#endif

+ 2
- 2
src/libespeak-ng/wavegen.c View File

#include <espeak-ng/espeak_ng.h> #include <espeak-ng/espeak_ng.h>
#include <espeak-ng/speak_lib.h> #include <espeak-ng/speak_lib.h>


#include "synthesize.h"
#include "speech.h" #include "speech.h"
#include "phoneme.h" #include "phoneme.h"
#include "voice.h" #include "voice.h"
#include "synthesize.h"


#ifdef INCLUDE_KLATT #ifdef INCLUDE_KLATT
#include "klatt.h" #include "klatt.h"
return; return;


int ix; int ix;
DOUBLEX next;
double next;
int length2; int length2;
int length4; int length4;
int qix; int qix;

Loading…
Cancel
Save