Reece H. Dunn
1d4fa18884
speak-ng: use the espeak-ng.c implementation in synchronous playback mode
2016-02-02 07:34:57 +00:00
Reece H. Dunn
77b5f6a1c0
Use BCP 47 conformant language codes for the languages and accents.
2016-01-23 18:41:00 +00:00
Reece H. Dunn
96c43f3eb2
Clean up the include files to make them consistent.
2016-01-16 17:54:39 +00:00
Reece H. Dunn
9c5820f72a
Create an initial compatibility shim for unistd.h.
2016-01-15 07:22:46 +00:00
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.
2016-01-13 22:05:41 +00:00
Reece H. Dunn
cf740ae6e8
Fix gcc sign conversion warnings in speak-ng.c.
2016-01-10 11:31:10 +00:00
Reece H. Dunn
a0717e72bb
Fix building other source files from the 11101806ce change.
2016-01-09 14:47:55 +00:00
Reece H. Dunn
5ebd28e4bc
Use HAVE_GETOPT_H for the getopt.h checks.
2016-01-09 14:17:07 +00:00
Reece H. Dunn
9f699d825d
speak-ng: display the underlying error on failure
2016-01-07 23:15:53 +00:00
Reece H. Dunn
72db232ec3
Move include/espeak{-ng => }/speak_lib.h.
2016-01-04 19:45:23 +00:00
Reece H. Dunn
7aa506d145
Use the error context API in espeak_ng_CompilePhonemeData.
2016-01-04 13:42:43 +00:00
Reece H. Dunn
57eb9628d6
Use the error context API in espeak_ng_CompileIntonation.
2016-01-04 13:28:38 +00:00
Reece H. Dunn
82681567e5
Use the error context API in espeak_ng_CompileMbrolaVoice.
2016-01-04 11:35:24 +00:00
Reece H. Dunn
a3f0795fb7
Use the error context API in espeak_ng_CompileDictionary.
2016-01-04 11:28:18 +00:00
Reece H. Dunn
9d860cb180
Support displaying error context information.
2016-01-04 11:07:12 +00:00
Reece H. Dunn
013e282d1a
Use the error context API in espeak_ng_Initialize.
2016-01-04 10:51:19 +00:00
Reece H. Dunn
77eb4262f2
Use espeak_ng_PrintStatusCodeMessage for espeak_ng_Initialize error formatting.
2016-01-03 14:21:13 +00:00
Reece H. Dunn
563e4e3769
Use ENS_ for eSpeak NG error codes, and standardize on a numbering scheme.
2016-01-02 12:20:25 +00:00
Reece H. Dunn
09d071046a
Check for ENE_VERSION_MISMATCH from espeak_ng_Initialize.
2016-01-02 11:34:58 +00:00
Reece H. Dunn
75f7558801
Share the initialise implementation between libespeak-ng and speak-ng.
2016-01-01 14:39:52 +00:00
Reece H. Dunn
660f18f3a3
Make use of the new espeak_ng_InitializePath API.
2016-01-01 14:05:33 +00:00
Reece H. Dunn
44dbfc1b31
Share the init_path implementation between libespeak-ng and speak-ng.
2016-01-01 13:52:53 +00:00
Reece H. Dunn
c2811d074e
Make LoadPhData return an espeak_ng_STATUS code.
2016-01-01 13:17:11 +00:00
Reece H. Dunn
d9258426bd
Fix GCC -Wsign-compare warnings.
2015-12-30 15:11:27 +00:00
Reece H. Dunn
b11d540718
Fix GCC -Wunused-parameter warnings.
2015-12-30 15:01:31 +00:00
Reece H. Dunn
8091938430
The fill_zeros parameter of WavegenFill is not used, so remove it.
2015-12-30 09:06:19 +00:00
Reece H. Dunn
bc288a04f4
Implement espeak_SetVoiceByProperties directly from the SetVoiceByProperties implementation.
2015-12-29 17:24:59 +00:00
Reece H. Dunn
9ab5fad596
Implement espeak_SetVoiceByName directly from the SetVoiceByName implementation.
2015-12-29 17:15:43 +00:00
Reece H. Dunn
7afdd17fca
Merge identical code branches in speak-ng.
2015-12-29 17:14:41 +00:00
Reece H. Dunn
230ddd9fe2
Generate build errors if phoneme or language data files contain errors.
2015-12-29 15:00:31 +00:00
Reece H. Dunn
d460f1c448
Support the additional --compile-... options in speak-ng.
2015-12-29 11:39:51 +00:00
Reece H. Dunn
89a7829244
Add --help documentation for --compile-debug.
2015-12-29 11:27:00 +00:00
Reece H. Dunn
522e7c4d51
Revert commit 14a2fb39cf
...
This commit has been reported to cause distortions in phoneme
pitches and speeds.
2015-12-28 17:54:17 +00:00
Reece H. Dunn
5d295bdd30
Merge remote-tracking branch 'nyqvist/master'
...
Conflicts:
src/libespeak-ng/compiledict.c
src/libespeak-ng/readclause.c
src/libespeak-ng/speak_lib.c
src/libespeak-ng/voices.c
src/libespeak-ng/wave_sada.c
src/libespeak-ng/wavegen.c
2015-12-28 13:14:46 +00:00
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.
2015-12-28 12:46:14 +00:00
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
2015-12-28 12:05:17 +01:00
Reece H. Dunn
3e99752d0c
Check and fix source code formatting.
2015-12-27 22:34:53 +00:00
Reece H. Dunn
f0c2c4cca2
Remove extra newlines from the files to provide consistent spacing.
2015-12-23 11:32:03 +00:00
Reece H. Dunn
d345d74f64
Remove braces around single-line if/while/for/etc. and related cleanup.
2015-12-22 20:40:10 +00:00
Reece H. Dunn
9a837c8182
Remove parentheses around return statements.
2015-12-22 16:24:01 +00:00
Reece H. Dunn
12e0bb122b
Reformat the code using the uncrustify program.
2015-12-22 15:06:50 +00:00
Reece H. Dunn
66c2831bed
Use intptr_t from stdint.h instead of a custom long64 typedef.
2015-12-18 21:41:28 +00:00
Reece H. Dunn
c71b24a9a5
Use a consistent license notice in the source files.
2015-12-18 07:06:29 +00:00
Reece H. Dunn
cbe8695fcb
Remove the * box around the file headers.
2015-12-17 23:45:36 +00:00
Reece H. Dunn
36be9ac13f
Use the default uncrustify config (with indentation changes) to reformat the code.
2015-12-17 07:40:24 +00:00
Reece H. Dunn
5e0050419d
Remove comments that deliniate the start and end of functions, etc..
2015-12-15 22:26:02 +00:00
Reece H. Dunn
406d74b216
Restructure the Makefile to simplify its layout.
2015-12-13 18:41:56 +00:00
Reece H. Dunn
d9771ada20
Link speak-ng to the static library build of libespeak-ng.
2015-12-11 20:41:18 +00:00
Reece H. Dunn
db8451e9a2
Rename speak => speak-ng.
2015-12-11 07:30:17 +00:00