Reece H. Dunn
9638750579
Always flush stdout when reading stdin line by line.
7 years ago
Reece H. Dunn
d26fce3217
Be more specific in the missing --compile voice name, and fix punctuation.
7 years ago
Reece H. Dunn
7c7081cb32
Handle the '--compile=' case when reporting a 'Voice name not specified' error.
7 years ago
Juho Hiltunen
fb175ec600
Print an error message if voice is not specified with --compile
Prevents a segfault.
7 years ago
Reece H. Dunn
bb19c7a336
Release the memory allocated by p_text in espeak-ng.c.
7 years ago
Juho Hiltunen
4f56345fb5
Use stdbool instead of int (Issue #8)
See issue #8, https://github.com/espeak-ng/espeak-ng/issues/8
There might still be some ints that could be changed to boolean.
Possible regressions in fifo.c:
int fifo_is_busy() and int fifo_is_command_enabled() used to return an int. Now they return a boolean. This might cause problems on systems where stdbool true/false is something else than 1/0.
8 years ago
Reece H. Dunn
941f439ca7
espeak-ng.c: Fix -Wmissing-prototypes warnings.
8 years ago
Reece H. Dunn
882c2651e1
Fix setting the default voice from espeak_SetVoiceByProperties.
8 years ago
Reece H. Dunn
1a0594c62f
Fix reading stdin buffers larger than 1000.
Patch by https://github.com/ChliHug .
9 years ago
Reece H. Dunn
e372d84348
espeak-ng: add a <phsource-dir> argument to --compile-phonemes.
9 years ago
Reece H. Dunn
59ca718d40
Always use 'en' as the default voice/language.
9 years ago
Reece H. Dunn
a45b58d106
Fix the eSpeak NG project name used in '--version'.
9 years ago
Reece H. Dunn
4920ecc79c
Move espeak-data to espeak-ng-data to avoid conflicting with upstream espeak.
9 years ago
Ondřej Lysoněk
3817ee1e16
Moved speak_lib.h to espeak-ng directory
Moved include/espeak/speak_lib.h to include/espeak-ng/speak_lib.h and
created a symlink from the original location.
9 years ago
Reece H. Dunn
8f44217e70
Fix wave file truncation when reading multiline text from stdin or FIFO (line-by-line reading mode).
9 years ago
Reece H. Dunn
326d199f49
List the help option when displaying the help message.
9 years ago
Ondřej Lysoněk
7659aaa2e8
Support reading input from named pipes
Added support for line-by-line input reading from unix FIFOs.
9 years ago
Reece H. Dunn
1d4fa18884
speak-ng: use the espeak-ng.c implementation in synchronous playback mode
10 years ago
Reece H. Dunn
77b5f6a1c0
Use BCP 47 conformant language codes for the languages and accents.
10 years ago
Reece H. Dunn
03fdc8bc31
Check fseek calls in CloseWavFile(espeak-ng.c). [Coverity]
10 years ago
Reece H. Dunn
eaa0c9aa08
Fix truncated fgetc return value in main(espeak-ng.c). [Coverity]
10 years ago
Reece H. Dunn
96c43f3eb2
Clean up the include files to make them consistent.
10 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.
10 years ago
Reece H. Dunn
a64e048c51
Check malloc/realloc in the flag_stdin codepath of espeak-ng.c.
10 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.
10 years ago
Reece H. Dunn
0cc0300328
Fix gcc sign conversion warnings in espeak-ng.c.
10 years ago
Reece H. Dunn
11101806ce
Support building espeak-ng.exe with Visual C++.
10 years ago
Reece H. Dunn
5ebd28e4bc
Use HAVE_GETOPT_H for the getopt.h checks.
10 years ago
Reece H. Dunn
c45e70142b
espeak-ng: display the underlying error on failure
10 years ago
Reece H. Dunn
72db232ec3
Move include/espeak{-ng => }/speak_lib.h.
10 years ago
Reece H. Dunn
7aa506d145
Use the error context API in espeak_ng_CompilePhonemeData.
10 years ago
Reece H. Dunn
57eb9628d6
Use the error context API in espeak_ng_CompileIntonation.
10 years ago
Reece H. Dunn
82681567e5
Use the error context API in espeak_ng_CompileMbrolaVoice.
10 years ago
Reece H. Dunn
a3f0795fb7
Use the error context API in espeak_ng_CompileDictionary.
10 years ago
Reece H. Dunn
9d860cb180
Support displaying error context information.
10 years ago
Reece H. Dunn
013e282d1a
Use the error context API in espeak_ng_Initialize.
10 years ago
Reece H. Dunn
77eb4262f2
Use espeak_ng_PrintStatusCodeMessage for espeak_ng_Initialize error formatting.
10 years ago
Reece H. Dunn
563e4e3769
Use ENS_ for eSpeak NG error codes, and standardize on a numbering scheme.
10 years ago
Reece H. Dunn
09d071046a
Check for ENE_VERSION_MISMATCH from espeak_ng_Initialize.
10 years ago
Reece H. Dunn
0d0bb33297
espeak-ng: support specifying the device name from the command line
10 years ago
Reece H. Dunn
b28a0001c0
espeak-ng: use the new espeak-ng initialization APIs
10 years ago
Reece H. Dunn
660f18f3a3
Make use of the new espeak_ng_InitializePath API.
10 years ago
Reece H. Dunn
9e643b5620
Fix clang -Wunreachable-code-break warnings.
10 years ago
Reece H. Dunn
d9258426bd
Fix GCC -Wsign-compare warnings.
10 years ago
Reece H. Dunn
230ddd9fe2
Generate build errors if phoneme or language data files contain errors.
10 years ago
Reece H. Dunn
89a7829244
Add --help documentation for --compile-debug.
10 years ago
Reece H. Dunn
522e7c4d51
Revert commit 14a2fb39cf89c8e5561f833f961d8330059daaae
This commit has been reported to cause distortions in phoneme
pitches and speeds.
10 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
10 years ago
Reece H. Dunn
3e99752d0c
Check and fix source code formatting.
10 years ago
Reece H. Dunn
f0c2c4cca2
Remove extra newlines from the files to provide consistent spacing.
10 years ago