Reece H. Dunn
7d8b983ee7
strcasecmp is no longer used, so remove the compatibility code
9 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.
9 years ago
Reece H. Dunn
85c87e83a9
Remove the LOG_FRAMES code which was only used in espeakedit.
9 years ago
Reece H. Dunn
1c6681e3d4
Make espeak-ng use strncpy0, etc. from libespeak-ng.
This removes the implementation of those functions from espeak-ng
and use the versions in libespeak-ng.
NOTE: This is needed to cross-compile to Windows.
9 years ago
Reece H. Dunn
bf64b4ec3b
The pk_shape_x and pk_shape_y variables are not used, so remove them.
9 years ago
Reece H. Dunn
4ec02683f1
Remove the unused ph_sorter function in compiledata.c
9 years ago
Reece H. Dunn
41ab4715d8
The group_tone_emph variable is set but not used, so remove it.
9 years ago
Reece H. Dunn
8486c5d678
The post_tonic variable is set but not used, so remove it.
9 years ago
Reece H. Dunn
08b6ad3a00
Fix a logical check in numbers.c
9 years ago
Reece H. Dunn
26b1e83b9c
Remove the unused PeaksZero function in spect.c
9 years ago
Reece H. Dunn
f099f6cc80
Remove the unused PrintPhonemesUsed function in compiledata.c
9 years ago
Reece H. Dunn
6aee7b721f
Fix a value conversion warning on 64-bit builds.
9 years ago
Reece H. Dunn
66c2831bed
Use intptr_t from stdint.h instead of a custom long64 typedef.
9 years ago
Reece H. Dunn
91cd9bdc21
Fix building espeak-ng using --with-mbrola=no
9 years ago
Reece H. Dunn
a47bf04657
Add copyright notices to files that are missing them.
9 years ago
Reece H. Dunn
c71b24a9a5
Use a consistent license notice in the source files.
9 years ago
Reece H. Dunn
cbe8695fcb
Remove the * box around the file headers.
9 years ago
Reece H. Dunn
4f02a09242
Incorporate the missing compatibility defines for Windows in speech.h.
9 years ago
Michael Curran
5353e125dc
Allow compilePhonemeData and compileIntonations to be called with a NULL log argument. If so, log is set to stderr.
9 years ago
Michael Curran
9d187f0588
Stop leaking file streams in libespeak-ng's LoadSpectSeq function.
9 years ago
Reece H. Dunn
36be9ac13f
Use the default uncrustify config (with indentation changes) to reformat the code.
9 years ago
Reece H. Dunn
603f046154
Avoid implicit function messages when building the project.
9 years ago
Reece H. Dunn
5e0050419d
Remove comments that deliniate the start and end of functions, etc..
9 years ago
Reece H. Dunn
08821f262f
Remove commented out code.
9 years ago
Reece H. Dunn
406d74b216
Restructure the Makefile to simplify its layout.
9 years ago
Reece H. Dunn
3d6b0d15d1
Remove wxWidgets and the remaining parts of espeakedit from the build.
9 years ago
Reece H. Dunn
bda5252b3f
espeak-ng: implement and use --compile-intonations and --compile-phonemes command-line options
9 years ago
Reece H. Dunn
8b358594f7
Expose the CompileIntonations and CompilePhonemeData functions via the espeak_ng.h API.
9 years ago
Reece H. Dunn
8218109400
Convert src/compiledata.cpp to src/libespeak-ng/compiledata.c.
9 years ago
Reece H. Dunn
408a12a79f
Convert src/spect.cpp to src/libespeak-ng/spect.c.
9 years ago
Reece H. Dunn
e2ba3703bb
espeakedit: remove wxWidgets from spect.cpp
9 years ago
Reece H. Dunn
7d3a8f9983
LoadSpectSeq: use an fread API to read wxInputStream data
This creates an fread compatible API on wxInputStream objects and
uses that API in LoadSpectSeq. This is to help the transition from
the wxWidgets wxInputStream API to the C FILE API.
9 years ago
Reece H. Dunn
56ddf6c339
espeakedit: remove wxWidgets from compiledata.cpp
9 years ago
Reece H. Dunn
d1b06c6591
espeakedit: convert SpectSeq to a struct
9 years ago
Reece H. Dunn
6ad68e2082
espeakedit: convert SpectFrame to a struct
9 years ago
Reece H. Dunn
e5610301b0
espeakedit: move the definition of SpectFrame::GetRms out of the class
9 years ago
Reece H. Dunn
cfb0a8a111
espeakedit: move the definition of SpectFrame::Load into spect.cpp
9 years ago
Reece H. Dunn
bb2d73a875
espeakedit: move the definition of GetFrameLength into spect.cpp
9 years ago
Reece H. Dunn
d35da4b8b8
espeakedit: inline SpectSeq::Load2 into SpectSeq::Load
9 years ago
Reece H. Dunn
c5407fe147
espeakedit: remove unused methods from spect.h
9 years ago
Reece H. Dunn
aa3bc83139
espeakedit: remove support for importing the old SPC2 files (these are not present when building the project)
9 years ago
Reece H. Dunn
ab9e1d9b4e
espeakedit: remove the epseakedit praat data import code
9 years ago
Reece H. Dunn
1a19319979
espeakedit: move the remaining prosodydisplay.cpp code into compiledata.cpp
9 years ago
Reece H. Dunn
a008fb4f8b
espeakedit: move the spectseq.cpp code into spect.cpp
9 years ago
Reece H. Dunn
d64df4c0a2
espeakedit: remove wxWidgets from prosodydisplay.cpp
9 years ago
Reece H. Dunn
3fde1a2d53
espeakedit: simplify and inline the ConfigInit logic
9 years ago
Reece H. Dunn
917619c914
espeakedit: further removal of code not relevant to --compile
9 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.
9 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.
9 years ago
Reece H. Dunn
bd608a8451
CompileIntonation: pass the file to log errors to as a parameter
9 years ago