MahtaFetrat
5d124160f7
enhance homograph disamniguation
7 months ago
Samuel Thibault
eed83cd937
Fix dropping last byte of stdin input (#2098)
1 year ago
Danstiv
d930e10f1a
Fix new line conversion on windows
`#if PLATFORM_WINDOWS` doesn't work for some reason.
Fix suggested by @beqabeqa473
1 year ago
Yury Popov
8e163d5072
ssml: support break time multiplier
2 years ago
Yury Popov
78ac6c4a88
code cleanup: do not compile mbrola if not enabled
3 years ago
Yury Popov
ca1f590101
code cleanup: standartize definitions
3 years ago
Samuel Thibault
b5b3231e52
espeak-ng: Add -P option to configure pitch range
3 years ago
Yury Popov
24892aae06
Support deterministic PRNG mode in CLI
3 years ago
Samuel Thibault
a660fc04cc
Add more const qualifiers on static arrays
So we know they are just tables, get protected from overflows, and get shared between processes
3 years ago
Valdis Vitolins
541cd906f7
Issue #686: make description of --stdin more clear
5 years ago
Reece H. Dunn
812ea81319
fix #699: avoid samplerate clashing with LTO in gcc 10.
6 years ago
Reece H. Dunn
e11cd42b03
fix #699: avoid samplerate clashing with LTO in gcc 10.
6 years ago
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 <[email protected] >
6 years ago
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 <[email protected] >
6 years ago
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