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
11101806ce
Support building espeak-ng.exe with Visual C++.
2016-01-09 13:32:16 +00:00
Reece H. Dunn
9c7179189b
Add a stdint.h compatibility shim.
2016-01-09 13:09:50 +00:00
Reece H. Dunn
dea7d441f2
Avoid passing 0 to realloc in ReadPhondataManifest(compiledata.c). [clang scan-build]
2016-01-07 20:46:31 +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
378490b65f
Create an error context API.
...
This will allow the espeak-ng methods to provide more context
information for the errors that can then be used in things like
GUI applications.
2016-01-04 10:24:38 +00:00
Reece H. Dunn
619fc6424d
Make LoadDataFile return an espeak_ng_STATUS code.
2016-01-03 14:53:11 +00:00
Reece H. Dunn
f8b3764bef
Create espeak-ng APIs for formatting espeak_ng_STATUS codes.
2016-01-03 14:16:17 +00:00
Reece H. Dunn
ccb409c600
Return an espeak_ng_STATUS code in LoadSpectSeq.
2016-01-03 14:15:37 +00:00
Reece H. Dunn
6aeb5a26f0
Replace the remaining espeak_ERROR code usage with espeak_ng_STATUS.
2016-01-02 19:24:39 +00:00
Reece H. Dunn
3343bb45b6
Make the event API use espeak_ng_STATUS.
2016-01-02 19:17:19 +00:00
Reece H. Dunn
e69f0f41f0
Make LoadMbrolaTable return espeak_ng_STATUS.
2016-01-02 18:59:18 +00:00
Reece H. Dunn
df170d1c48
Create an espeak-ng version of espeak_SetVoiceBy(Name|Properties).
2016-01-02 18:42:26 +00:00
Reece H. Dunn
d5fdd0eb92
Create an espeak-ng version of espeak_Terminate.
2016-01-02 18:24:53 +00:00
Reece H. Dunn
4ba60623e8
Create an espeak-ng version of espeak_Synchronize.
2016-01-02 18:20:22 +00:00
Reece H. Dunn
079712ab79
Create an espeak-ng version of espeak_Cancel.
2016-01-02 18:10:35 +00:00
Reece H. Dunn
50120034ad
Create an espeak-ng version of espeak_SetPunctuationList.
2016-01-02 18:06:44 +00:00
Reece H. Dunn
93898d7960
Create an espeak-ng version of espeak_SetParameter.
2016-01-02 17:32:32 +00:00
Reece H. Dunn
95b1fdc4b9
Create an espeak-ng version of espeak_Synth_Mark.
2016-01-02 17:17:52 +00:00
Reece H. Dunn
06cbd9d096
Create an espeak-ng version of espeak_Synth.
2016-01-02 17:06:01 +00:00
Reece H. Dunn
bf6f6f093f
Make Synthesize return an espeak_ng_STATUS code.
2016-01-02 15:55:28 +00:00
Reece H. Dunn
7569d1c4c3
Create an espeak-ng version of espeak_Key.
2016-01-02 14:33:32 +00:00
Reece H. Dunn
4ca39ab26c
Create an espeak-ng version of espeak_Char.
2016-01-02 14:23:36 +00:00
Reece H. Dunn
dfdc76e1d8
Use espeak_ng_STATUS codes for the fifo API.
2016-01-02 13:27:35 +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
f9ea83430e
Use errno codes in place of ENE_(READ|WRITE)_ERROR.
2016-01-02 11:58:12 +00:00
Reece H. Dunn
74db6dac63
Use the ENOMEM errno code instead of ENE_OUT_OF_MEMORY.
2016-01-02 10:49:37 +00:00
Reece H. Dunn
b28a0001c0
espeak-ng: use the new espeak-ng initialization APIs
2016-01-01 19:01:16 +00:00
Reece H. Dunn
386d11a637
Expose a parameter specifying the device name to espeak_ng_InitializeOutput.
2016-01-01 17:23:38 +00:00
Reece H. Dunn
9fe525fb13
Move more code into espeak_ng_InitializeOutput.
2016-01-01 16:40:16 +00:00
Reece H. Dunn
4f1e7af0da
Expose select_output as espeak_ng_InitializeOutput.
2016-01-01 16:27:32 +00:00
Reece H. Dunn
32819f7957
Map the espeak_AUDIO_OUTPUT enumeration to espeak_ng_OUTPUT_MODE flags.
2016-01-01 16:18:24 +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
230ddd9fe2
Generate build errors if phoneme or language data files contain errors.
2015-12-29 15:00:31 +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
bda5252b3f
espeak-ng: implement and use --compile-intonations and --compile-phonemes command-line options
2015-12-13 17:45:11 +00:00
Reece H. Dunn
8b358594f7
Expose the CompileIntonations and CompilePhonemeData functions via the espeak_ng.h API.
2015-12-13 17:28:56 +00:00
Reece H. Dunn
bd608a8451
CompileIntonation: pass the file to log errors to as a parameter
2015-12-12 18:54:26 +00:00
Reece H. Dunn
b8378c2667
Expose the CompileMbrola function via a new espeak_ng.h API.
2015-12-12 12:29:48 +00:00
Reece H. Dunn
3ca931f55f
Move speak_lib.h to src/include/espeak-ng.
2015-12-10 07:24:10 +00:00