Commit Graph
120 Commits
Author SHA1 Message Date
Yury Popov 09cdf8ce66 Add public API to seed PRNG 2022-11-15 09:59:06 +03:00
Beqa Gozalishvili e3487d0cf8 Android: Fix compatibility issues with some vendors
add tolower and toupper to be processed by ucd-tools in WCTYPE_H_COMPAT_SHIM

some vendors don't provide conformance with c standard in bionic
2022-11-04 00:58:37 +04:00
Yury Popov 4e5bc19047 Allow out-of-tree intonations compilation 2022-10-28 12:34:56 +03:00
Yury Popov 9b3b916163 Add ng API to enable phoneme events 2022-10-17 18:48:23 +03:00
Alexander Epaneshnikov 4ca505d01e windows: don't include winsock2.h
otherwise we get many errors
2022-04-01 23:38:34 +03:00
Jakub Kulík 4b090ad8a1 Add support for Solaris 2022-03-01 11:56:48 +01:00
freddii 61efed30fa fixed spelling mistakes 2021-01-13 01:55:34 +01:00
Tobias Platen a6dbed8168 add output hooks for wavegen 2020-07-07 21:53:03 +02:00
golubovsky 009b6b5d14 Finished the voice load code. Dumping voice def does not seem possible
because it is not stored in a single place.

Signed-off-by: golubovsky <golubovsky@gmail.com>
2019-02-23 22:51:32 -05:00
golubovsky 439f7f32d5 First part of the patch: add option --load
Option --load makes espeak-ng consider the voice name provided a name of
a file relative to the current directory.

Signed-off-by: golubovsky <golubovsky@gmail.com>
2019-02-21 22:50:09 -05:00
Sascha Brawer 2e2afe5cdf Fix typo: “Kirshenbaum” encoding, not “Hirshenbaum” 2018-02-16 16:34:55 +01:00
Reece H. Dunn 7ea0d0d7e9 speech.c: Fix -Wmissing-prototypes warnings. 2017-10-06 07:36:09 +01:00
Anthony Cornehl 897fad64c1 Remove definitions for towlower/towupper
The definitions for towlower() and towupper() are defined in /usr/include/wctype.h on FreeBSD platforms. I just removed the define and used  the ucd_ equivilent where towlower/towupper were found.

/bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -fPIC -fvisibility=hidden -pedantic -fno-exceptions -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak-
ng-data\" -DLIBESPEAK_NG_EXPORT  -Isrc/include -Isrc/include/compat -I src/ucd-tools/src/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112L -Wno-endif-lab
els    -g -O2 -std=c99 -MT src/libespeak-ng/src_libespeak_ng_la-readclause.lo -MD -MP -MF src/libespeak-ng/.deps/src_libespeak_ng_la-readclause.Tpo -c -o src/libespeak-n
g/src_libespeak_ng_la-readclause.lo `test -f 'src/libespeak-ng/readclause.c' || echo './'`src/libespeak-ng/readclause.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -fPIC -fvisibility=hidden -pedantic -fno-exceptions -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak-ng-data\" -DLIBESPEAK_NG_EXPO
RT -Isrc/include -Isrc/include/compat -I src/ucd-tools/src/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112L -Wno-endif-labels -g -O2 -std=c99 -MT src/li
bespeak-ng/src_libespeak_ng_la-readclause.lo -MD -MP -MF src/libespeak-ng/.deps/src_libespeak_ng_la-readclause.Tpo -c src/libespeak-ng/readclause.c  -fPIC -DPIC -o src/l
ibespeak-ng/.libs/src_libespeak_ng_la-readclause.o
In file included from src/libespeak-ng/readclause.c:32:
In file included from src/include/compat/wctype.h:30:
/usr/include/wctype.h:73:8: error: conflicting types for 'ucd_tolower'
wint_t  towlower(wint_t);
        ^
src/include/compat/wchar.h:37:18: note: expanded from macro 'towlower'
                 ^
src/ucd-tools/src/include/ucd/ucd.h:503:13: note: previous declaration is here
codepoint_t ucd_tolower(codepoint_t c);
            ^
In file included from src/libespeak-ng/readclause.c:32:
In file included from src/include/compat/wctype.h:30:
/usr/include/wctype.h:74:8: error: conflicting types for 'ucd_toupper'
wint_t  towupper(wint_t);
        ^
src/include/compat/wchar.h:38:18: note: expanded from macro 'towupper'
                 ^
src/ucd-tools/src/include/ucd/ucd.h:491:13: note: previous declaration is here
codepoint_t ucd_toupper(codepoint_t c);
            ^
src/libespeak-ng/readclause.c:366:19: warning: implicit declaration of function 'mkstemp' is invalid in C99 [-Wimplicit-function-declaration]
                        if ((fd_temp = mkstemp(fname_temp)) >= 0)
                                       ^
1 warning and 2 errors generated.
2017-08-31 17:42:17 -07:00
Reece H. Dunn 882c2651e1 Fix setting the default voice from espeak_SetVoiceByProperties. 2017-08-19 12:08:39 +01:00
Reece H. Dunn cec0e773a4 Remove the tokenizer code. This is not currently used, and should be designed from espeak's behaviour. 2017-08-16 19:04:26 +01:00
yorkie db79bd12eb build, encoding: include stdint
The stdint.h is not included when building test, then including this module inside encoding.h
2017-06-15 20:52:55 +08:00
Reece H. Dunn dd90d3812d tokenizer.c: Support general symbol tokens. 2017-05-03 08:08:40 +01:00
Reece H. Dunn 786575c6ed tokenizer.c: Support general punctuation tokens. 2017-05-03 07:56:53 +01:00
Reece H. Dunn 683579f403 Make the tokenizer.h API public. 2017-05-02 18:52:06 +01:00
Reece H. Dunn 9af96da469 Make the encoding.h API public. 2017-05-02 18:40:16 +01:00
Reece H. Dunn b74f756f00 encoding.c: Support the ISO-10646-UCS-2 encoding. 2017-03-30 22:33:22 +01:00
Reece H. Dunn fa5d31a8af encoding.c: Support the UTF-8 encoding. 2017-03-30 21:17:56 +01:00
Reece H. Dunn 2499610433 encoding.c: Support the ISCII encoding. 2017-03-29 08:01:24 +01:00
Reece H. Dunn 39f3ea54cf encoding.c: Support the KOI8-R encoding. 2017-03-29 07:49:48 +01:00
Reece H. Dunn b8a1006dd8 encoding.c: Support the ISO 8859-16 encoding. 2017-03-29 07:42:00 +01:00
Reece H. Dunn 166e815723 encoding.c: Support the ISO 8859-15 encoding. 2017-03-29 07:36:42 +01:00
Reece H. Dunn 0235c42652 encoding.c: Support the ISO 8859-14 encoding. 2017-03-29 07:19:16 +01:00
Reece H. Dunn 24faceab57 encoding.c: Support the ISO 8859-13 encoding. 2017-03-28 23:26:33 +01:00
Reece H. Dunn 495c0aed20 encoding.c: Support the ISO 8859-11 encoding. 2017-03-28 23:13:41 +01:00
Reece H. Dunn 84f20f8bb8 encoding.c: Support the ISO 8859-10 encoding. 2017-03-28 22:50:50 +01:00
Reece H. Dunn 0421f127e8 encoding.c: Support the ISO 8859-9 encoding. 2017-03-28 21:02:22 +01:00
Reece H. Dunn 7da585e25e encoding.c: Support the ISO 8859-8 encoding. 2017-03-28 07:57:44 +01:00
Reece H. Dunn 56c0b38785 encoding.c: Support the ISO 8859-7 encoding. 2017-03-28 07:17:26 +01:00
Reece H. Dunn 9e4638ff25 encoding.c: Support the ISO 8859-6 encoding. 2017-03-28 06:59:26 +01:00
Reece H. Dunn 51295d9d1b encoding.c: Support the ISO 8859-5 encoding. 2017-03-28 06:33:10 +01:00
Reece H. Dunn b5589fc5ee encoding.c: Support the ISO 8859-4 encoding. 2017-03-28 06:32:41 +01:00
Reece H. Dunn a93b0f3d64 encoding.c: Support the ISO 8859-3 encoding. 2017-03-27 23:56:28 +01:00
Reece H. Dunn 0a0e84a322 encoding.c: Support the ISO 8859-2 encoding. 2017-03-27 23:46:15 +01:00
Reece H. Dunn 26bec1eedf encoding.c: Support the ISO 8859-1 encoding. 2017-03-27 23:31:30 +01:00
Reece H. Dunn 0590da5da7 encoding.c: Create a string decoding API; support US-ASCII decoding. 2017-03-27 22:49:47 +01:00
Reece H. Dunn 26f4eb4f8f encoding.c: Support US-ASCII encoding names. 2017-03-27 21:30:17 +01:00
Reece H. Dunn b47363b7d3 Create an espeak_ng_EncodingFromName API. 2017-03-27 20:59:37 +01:00
Reece H. Dunn c4ca7a1202 Add wchar.h and wctype.h compatibility shims using ucd-tools. This is applied to all platforms to provide consistent behaviour. 2017-02-13 19:49:30 +00:00
Reece H. Dunn 9ecde56231 Build the ucd-tools files with libespeak. 2017-02-10 07:45:43 +00:00
Reece H. Dunn f6147085cd Use enumeration constants for the voice gender field values. 2017-02-05 19:06:27 +00:00
Reece H. Dunn 5118891f20 windows: Visual Studio 2013 compatibility. 2017-01-27 13:12:37 +00:00
Reece H. Dunn 3081fe7287 windows: Fix the msvc version check in stat.h. 2017-01-27 12:51:12 +00:00
Reece H. Dunn f76d2558c9 phoneme: add a phoneme_add_feature internal API method. 2017-01-25 07:52:39 +00:00
Reece H. Dunn eb91c8dfce espeak_ng_CompilePhonemeDataPath: Allow the user to specify the source and destination paths for the phoneme data. 2017-01-19 21:20:49 +00:00
Reece H. Dunn 96e34565ed Use a default buffer length of 60mS to fix using MBROLA voices. 2017-01-16 19:41:34 +00:00