Reece H. Dunn
1d4fa18884
speak-ng: use the espeak-ng.c implementation in synchronous playback mode
9 years ago
Reece H. Dunn
77b5f6a1c0
Use BCP 47 conformant language codes for the languages and accents.
9 years ago
Reece H. Dunn
03fdc8bc31
Check fseek calls in CloseWavFile(espeak-ng.c). [Coverity]
9 years ago
Reece H. Dunn
eaa0c9aa08
Fix truncated fgetc return value in main(espeak-ng.c). [Coverity]
9 years ago
Reece H. Dunn
96c43f3eb2
Clean up the include files to make them consistent.
9 years ago
Reece H. Dunn
c22550afb5
Use the NetBSD getopt_long implementation on Windows.
This makes the espeak-ng.c and speak-ng.c source code easier to
read and maintain. It also addresses bugs in command-line argument
parsing with the espeak implementation, for example it treats
`--compile-phonemes` as `--compile` due to an argument matching bug.
9 years ago
Reece H. Dunn
a64e048c51
Check malloc/realloc in the flag_stdin codepath of espeak-ng.c.
9 years ago
Reece H. Dunn
0ca520a4ec
Revert the gcc sign conversion warning fixes.
This reverts commits 0cc0300328
to
38d15f8f90
.
The 0cc03003
commit breaks MBROLA voice support. As such, there
may be other breakages in those commits.
9 years ago
Reece H. Dunn
0cc0300328
Fix gcc sign conversion warnings in espeak-ng.c.
9 years ago
Reece H. Dunn
11101806ce
Support building espeak-ng.exe with Visual C++.
9 years ago
Reece H. Dunn
5ebd28e4bc
Use HAVE_GETOPT_H for the getopt.h checks.
9 years ago
Reece H. Dunn
c45e70142b
espeak-ng: display the underlying error on failure
9 years ago
Reece H. Dunn
72db232ec3
Move include/espeak{-ng => }/speak_lib.h.
9 years ago
Reece H. Dunn
7aa506d145
Use the error context API in espeak_ng_CompilePhonemeData.
9 years ago
Reece H. Dunn
57eb9628d6
Use the error context API in espeak_ng_CompileIntonation.
9 years ago
Reece H. Dunn
82681567e5
Use the error context API in espeak_ng_CompileMbrolaVoice.
9 years ago
Reece H. Dunn
a3f0795fb7
Use the error context API in espeak_ng_CompileDictionary.
9 years ago
Reece H. Dunn
9d860cb180
Support displaying error context information.
9 years ago
Reece H. Dunn
013e282d1a
Use the error context API in espeak_ng_Initialize.
9 years ago
Reece H. Dunn
77eb4262f2
Use espeak_ng_PrintStatusCodeMessage for espeak_ng_Initialize error formatting.
9 years ago
Reece H. Dunn
563e4e3769
Use ENS_ for eSpeak NG error codes, and standardize on a numbering scheme.
9 years ago
Reece H. Dunn
09d071046a
Check for ENE_VERSION_MISMATCH from espeak_ng_Initialize.
9 years ago
Reece H. Dunn
0d0bb33297
espeak-ng: support specifying the device name from the command line
9 years ago
Reece H. Dunn
b28a0001c0
espeak-ng: use the new espeak-ng initialization APIs
9 years ago
Reece H. Dunn
660f18f3a3
Make use of the new espeak_ng_InitializePath API.
9 years ago
Reece H. Dunn
9e643b5620
Fix clang -Wunreachable-code-break warnings.
9 years ago
Reece H. Dunn
d9258426bd
Fix GCC -Wsign-compare warnings.
9 years ago
Reece H. Dunn
230ddd9fe2
Generate build errors if phoneme or language data files contain errors.
9 years ago
Reece H. Dunn
89a7829244
Add --help documentation for --compile-debug.
9 years ago
Reece H. Dunn
522e7c4d51
Revert commit 14a2fb39cf89c8e5561f833f961d8330059daaae
This commit has been reported to cause distortions in phoneme
pitches and speeds.
9 years ago
Fredrik Nyqvist
14a2fb39cf
Declare variables at their first point of use
Also use size_t instead of int in some places
where it make sense
9 years ago
Reece H. Dunn
3e99752d0c
Check and fix source code formatting.
9 years ago
Reece H. Dunn
f0c2c4cca2
Remove extra newlines from the files to provide consistent spacing.
9 years ago
Reece H. Dunn
d345d74f64
Remove braces around single-line if/while/for/etc. and related cleanup.
9 years ago
Reece H. Dunn
9a837c8182
Remove parentheses around return statements.
9 years ago
Reece H. Dunn
12e0bb122b
Reformat the code using the uncrustify program.
9 years ago
Reece H. Dunn
1c6681e3d4
Make espeak-ng use strncpy0, etc. from libespeak-ng.
This removes the implementation of those functions from espeak-ng
and use the versions in libespeak-ng.
NOTE: This is needed to cross-compile to Windows.
9 years ago
Reece H. Dunn
c71b24a9a5
Use a consistent license notice in the source files.
9 years ago
Reece H. Dunn
cbe8695fcb
Remove the * box around the file headers.
9 years ago
Reece H. Dunn
36be9ac13f
Use the default uncrustify config (with indentation changes) to reformat the code.
9 years ago
Reece H. Dunn
5e0050419d
Remove comments that deliniate the start and end of functions, etc..
9 years ago
Reece H. Dunn
bda5252b3f
espeak-ng: implement and use --compile-intonations and --compile-phonemes command-line options
9 years ago
Reece H. Dunn
6bd44bd926
espeak-ng: implement a --compile-mbrola command-line option
9 years ago
Reece H. Dunn
cf1f15af76
Rename espeak => espeak-ng.
9 years ago
Reece H. Dunn
66aa52e485
Define a compatibility macro for platforms that don't have S_ISDIR.
9 years ago
Reece H. Dunn
1042d88f56
Use S_ISDIR instead of S_IFMT/S_IFDIR to fix building with gcc in c11 mode.
9 years ago
Reece H. Dunn
f7dfc38dd7
Use the C compiler to build C files; restructuring.
This moves the libespeak source (*.cpp) files to src/libespeak-ng
and renames the C files (libespeak, espeak, speak) so they have
a .c file extension.
9 years ago
jonsd
b27f69bb5a
[1.48.11]
Command-line: added options --sep --tie.
API, changed the meaning of the "phonememode" parameter in espeak_SetPhonemeTrace() and espeak_TextToPhonemes().
Language changes to: en, eu, pt.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@385 d46cf337-b52f-0410-862d-fd96e6ae7743
11 years ago
jonsd
10bd23b3b4
[1.47.12]
Change program code for espeak/libespeak to C, remove C++ features.
Language changes: af, ga, grc, hu, nl, sw, ta
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@364 d46cf337-b52f-0410-862d-fd96e6ae7743
12 years ago
jonsd
43b2ae4987
[1.47.05]
Fix: [v] sound missing in French voice.
Fix: command-line -w '' caused crash.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@339 d46cf337-b52f-0410-862d-fd96e6ae7743
12 years ago