Debian Codegraph @

external/espeak/synthdata.h

raw
1 /*
2 * Copyright (C) 2005 to 2015 by Jonathan Duddington
3 * email: [email protected]
4 * Copyright (C) 2015-2018 Reece H. Dunn
5 * Copyright (C) 2018 Juho Hiltunen
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, see: <http://www.gnu.org/licenses/>.
19 */
20
21 #ifndef ESPEAK_NG_SYNTHDATA_H
22 #define ESPEAK_NG_SYNTHDATA_H
23
24 #ifdef __cplusplus
25 extern "C"
26 {
27 #endif
28
29 #include "espeak_ng.h" // for espeak_ng_ERROR_CONTEXT, espea...
30 #include "phoneme.h" // for PHONEME_TAB
31 #include "synthesize.h" // for PHONEME_DATA, PHONEME_LIST
32 #include "translate.h" // for Translator
33
34 void InterpretPhoneme(Translator *tr,
35 int control,
36 PHONEME_LIST *plist,
37 PHONEME_DATA *phdata,
38 WORD_PH_DATA *worddata);
39
40 void InterpretPhoneme2(int phcode,
41 PHONEME_DATA *phdata);
42
43 void FreePhData(void);
44 const unsigned char *GetEnvelope(int index);
45 espeak_ng_STATUS LoadPhData(int *srate, espeak_ng_ERROR_CONTEXT *context);
46 int LookupPhonemeString(const char *string);
47 int LookupPhonemeTable(const char *name);
48 frameref_t *LookupSpect(PHONEME_TAB *this_ph,
49 int which,
50 FMT_PARAMS *fmt_params,
51 int *n_frames,
52 PHONEME_LIST *plist);
53
54 int PhonemeCode(unsigned int mnem);
55 void SelectPhonemeTable(int number);
56 int SelectPhonemeTableName(const char *name);
57
58 extern int n_tunes;
59 extern TUNE *tunes;
60
61 #ifdef __cplusplus
62 }
63 #endif
64
65 #endif
66