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
013e282d1a
Use the error context API in espeak_ng_Initialize.
10 years ago
Reece H. Dunn
59006f4762
Fix the LoadDataFile logic from commit 619fc6424d093b9a684eda77a9916361af15b563
10 years ago
Reece H. Dunn
32655d264d
Make LoadSpect return an espeak_ng_STATUS code.
10 years ago
Reece H. Dunn
619fc6424d
Make LoadDataFile return an espeak_ng_STATUS code.
10 years ago
Reece H. Dunn
1210464a31
CompileToneSpec always returns 0, so make it return void.
10 years ago
Reece H. Dunn
a04a7af003
CompileSound always returns 0, so make it return void.
10 years ago
Reece H. Dunn
ccb409c600
Return an espeak_ng_STATUS code in LoadSpectSeq.
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
f9ea83430e
Use errno codes in place of ENE_(READ|WRITE)_ERROR.
10 years ago
Reece H. Dunn
74db6dac63
Use the ENOMEM errno code instead of ENE_OUT_OF_MEMORY.
10 years ago
Reece H. Dunn
53aac7f3a5
Fix clang -Wconditional-uninitialized warnings.
10 years ago
Reece H. Dunn
c1f0529747
DecompilePhoneme does nothing (returns before doing anything), so remove it (it was used to debug/trace CompilePhoneme).
10 years ago
Reece H. Dunn
75758a9712
Fix GCC -Wunused-but-set-variable 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
dfdb4e2391
Remove the Error wrapper -- use error directly.
10 years ago
Reece H. Dunn
6821f0dab0
Use variable arguments to simplify error(...) usage.
10 years ago
Reece H. Dunn
17c61b25d7
Output phoneme compilation errors to stderr.
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
Reece H. Dunn
1a36df1206
Remove the remaining MAKE_ENVELOPES usage.
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
Reece H. Dunn
d345d74f64
Remove braces around single-line if/while/for/etc. and related cleanup.
10 years ago
Reece H. Dunn
9a837c8182
Remove parentheses around return statements.
10 years ago
Reece H. Dunn
12e0bb122b
Reformat the code using the uncrustify program.
10 years ago
Reece H. Dunn
7d8b983ee7
strcasecmp is no longer used, so remove the compatibility code
10 years ago
Reece H. Dunn
f84fdc2d98
Don't call the no longer implemented DrawEnvelopes
This was part of espeakedit, and used wxWidgets to draw the
envelope graphs.
10 years ago
Reece H. Dunn
4ec02683f1
Remove the unused ph_sorter function in compiledata.c
10 years ago
Reece H. Dunn
f099f6cc80
Remove the unused PrintPhonemesUsed function in compiledata.c
10 years ago
Reece H. Dunn
6aee7b721f
Fix a value conversion warning on 64-bit builds.
10 years ago
Reece H. Dunn
66c2831bed
Use intptr_t from stdint.h instead of a custom long64 typedef.
10 years ago
Reece H. Dunn
c71b24a9a5
Use a consistent license notice in the source files.
10 years ago
Reece H. Dunn
cbe8695fcb
Remove the * box around the file headers.
10 years ago
Michael Curran
5353e125dc
Allow compilePhonemeData and compileIntonations to be called with a NULL log argument. If so, log is set to stderr.
10 years ago
Reece H. Dunn
36be9ac13f
Use the default uncrustify config (with indentation changes) to reformat the code.
10 years ago
Reece H. Dunn
603f046154
Avoid implicit function messages when building the project.
10 years ago
Reece H. Dunn
5e0050419d
Remove comments that deliniate the start and end of functions, etc..
10 years ago
Reece H. Dunn
08821f262f
Remove commented out code.
10 years ago
Reece H. Dunn
8b358594f7
Expose the CompileIntonations and CompilePhonemeData functions via the espeak_ng.h API.
10 years ago
Reece H. Dunn
8218109400
Convert src/compiledata.cpp to src/libespeak-ng/compiledata.c.
10 years ago
Reece H. Dunn
56ddf6c339
espeakedit: remove wxWidgets from compiledata.cpp
10 years ago
Reece H. Dunn
d1b06c6591
espeakedit: convert SpectSeq to a struct
10 years ago
Reece H. Dunn
e5610301b0
espeakedit: move the definition of SpectFrame::GetRms out of the class
10 years ago
Reece H. Dunn
1a19319979
espeakedit: move the remaining prosodydisplay.cpp code into compiledata.cpp
10 years ago
Reece H. Dunn
3fde1a2d53
espeakedit: simplify and inline the ConfigInit logic
10 years ago
Michael Curran
7ebca8cb53
strftime on windows no longer supports %F. Therefore use %Y-%m-%d which is equivilent. Stops a crash in espeakEdit on Windows.
10 years ago
Reece H. Dunn
50377416cf
espeakedit: remove all but the --compile support
This removes the GUI part of espeakedit, keeping the part that is
responsible for compiling the voice and intonation data. The
motivation for this is:
1. the voice and intonation data compilation will move into
libespeak-ng after removing the wxWidgets logic and converting
the code to C;
2. the espeakedit code is tightly coupled to the internals of
libespeak-ng at a source code level, not a binary/API level,
making the code harder to maintain;
3. a new GUI will be written in Qt that better supports creating
and editing voices and languages.
10 years ago
Reece H. Dunn
bd608a8451
CompileIntonation: pass the file to log errors to as a parameter
10 years ago