Alberto Pettarin
08862224a5
Minor edits per EI suggestion
8 years ago
Alberto Pettarin
ba91db79fe
Adding emscripten files
8 years ago
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
96c43f3eb2
Clean up the include files to make them consistent.
9 years ago
Reece H. Dunn
9c5820f72a
Create an initial compatibility shim for unistd.h.
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
cf740ae6e8
Fix gcc sign conversion warnings in speak-ng.c.
9 years ago
Reece H. Dunn
a0717e72bb
Fix building other source files from the 11101806ce change.
9 years ago
Reece H. Dunn
5ebd28e4bc
Use HAVE_GETOPT_H for the getopt.h checks.
9 years ago
Reece H. Dunn
9f699d825d
speak-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
75f7558801
Share the initialise implementation between libespeak-ng and speak-ng.
9 years ago
Reece H. Dunn
660f18f3a3
Make use of the new espeak_ng_InitializePath API.
9 years ago
Reece H. Dunn
44dbfc1b31
Share the init_path implementation between libespeak-ng and speak-ng.
9 years ago
Reece H. Dunn
c2811d074e
Make LoadPhData return an espeak_ng_STATUS code.
9 years ago
Reece H. Dunn
d9258426bd
Fix GCC -Wsign-compare warnings.
9 years ago
Reece H. Dunn
b11d540718
Fix GCC -Wunused-parameter warnings.
9 years ago
Reece H. Dunn
8091938430
The fill_zeros parameter of WavegenFill is not used, so remove it.
9 years ago
Reece H. Dunn
bc288a04f4
Implement espeak_SetVoiceByProperties directly from the SetVoiceByProperties implementation.
9 years ago
Reece H. Dunn
9ab5fad596
Implement espeak_SetVoiceByName directly from the SetVoiceByName implementation.
9 years ago
Reece H. Dunn
7afdd17fca
Merge identical code branches in speak-ng.
9 years ago
Reece H. Dunn
230ddd9fe2
Generate build errors if phoneme or language data files contain errors.
9 years ago
Reece H. Dunn
d460f1c448
Support the additional --compile-... options in speak-ng.
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
Reece H. Dunn
5bbc0d3743
Remove the PLATFORM_RISCOS code.
This is from the old espeak RiscOS port that has been removed.
If/when the espeak-ng program is ported to RiscOS, this will be
done in a different, more maintainable way.
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
66c2831bed
Use intptr_t from stdint.h instead of a custom long64 typedef.
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
406d74b216
Restructure the Makefile to simplify its layout.
9 years ago
Reece H. Dunn
d9771ada20
Link speak-ng to the static library build of libespeak-ng.
9 years ago
Reece H. Dunn
db8451e9a2
Rename speak => speak-ng.
9 years ago