Reece H. Dunn
cfb0a8a111
espeakedit: move the definition of SpectFrame::Load into spect.cpp
2015-12-13 11:36:03 +00:00
Reece H. Dunn
bb2d73a875
espeakedit: move the definition of GetFrameLength into spect.cpp
2015-12-13 11:30:52 +00:00
Reece H. Dunn
d35da4b8b8
espeakedit: inline SpectSeq::Load2 into SpectSeq::Load
2015-12-13 11:25:26 +00:00
Reece H. Dunn
c5407fe147
espeakedit: remove unused methods from spect.h
2015-12-13 11:20:45 +00:00
Reece H. Dunn
aa3bc83139
espeakedit: remove support for importing the old SPC2 files (these are not present when building the project)
2015-12-13 11:03:44 +00:00
Reece H. Dunn
ab9e1d9b4e
espeakedit: remove the epseakedit praat data import code
2015-12-13 10:40:51 +00:00
Reece H. Dunn
1a19319979
espeakedit: move the remaining prosodydisplay.cpp code into compiledata.cpp
2015-12-13 10:29:41 +00:00
Reece H. Dunn
a008fb4f8b
espeakedit: move the spectseq.cpp code into spect.cpp
2015-12-13 10:22:38 +00:00
Reece H. Dunn
d64df4c0a2
espeakedit: remove wxWidgets from prosodydisplay.cpp
2015-12-13 09:03:52 +00:00
Reece H. Dunn
3fde1a2d53
espeakedit: simplify and inline the ConfigInit logic
2015-12-13 08:59:13 +00:00
Reece H. Dunn
917619c914
espeakedit: further removal of code not relevant to --compile
2015-12-13 08:17:21 +00:00
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.
2015-12-12 23:14:09 +00:00
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.
2015-12-12 22:37:47 +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
0a48ca015f
compiledata - don't include options.h
...
This is part of the process of making compiledata.cpp independent
of espeakedit.
2015-12-12 17:50:45 +00:00
Reece H. Dunn
83d26f48fc
compiledata - don't include main.h
...
This is part of the process of making compiledata.cpp independent
of espeakedit.
2015-12-12 17:43:54 +00:00
Reece H. Dunn
156c622ed6
Rename compiledata.c => compilembrola.c.
2015-12-12 17:03:48 +00:00
Reece H. Dunn
cf872e5e5a
Use espeak-ng to build the mbrola voices, not espeakedit.
2015-12-12 13:36:34 +00:00
Reece H. Dunn
6bd44bd926
espeak-ng: implement a --compile-mbrola command-line option
2015-12-12 13:27:37 +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
257b6b33a5
Move CompileMbrola to libespeak-ng.
2015-12-12 11:26:20 +00:00
Reece H. Dunn
4e4a0e8f40
frame_t3 is not used, so remove it
2015-12-12 09:58:05 +00:00
Reece H. Dunn
186916afb6
Remove the code within '#ifdef deleted' statements.
2015-12-12 09:46:03 +00:00
Reece H. Dunn
96cc9dbae2
Always build espeakedit specific data in libespeak-ng.
2015-12-11 20:56:24 +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
Reece H. Dunn
cf1f15af76
Rename espeak => espeak-ng.
2015-12-11 07:25:50 +00:00
Reece H. Dunn
66aa52e485
Define a compatibility macro for platforms that don't have S_ISDIR.
2015-12-10 22:26:35 +00:00
Reece H. Dunn
1042d88f56
Use S_ISDIR instead of S_IFMT/S_IFDIR to fix building with gcc in c11 mode.
2015-12-10 22:20:51 +00:00
Reece H. Dunn
3ca931f55f
Move speak_lib.h to src/include/espeak-ng.
2015-12-10 07:24:10 +00:00
Reece H. Dunn
f185786b87
Move libespeak-ng internal headers to src/libespeak-ng.
2015-12-10 07:14:37 +00:00
Reece H. Dunn
f7dfc38dd7
Use the C compiler to build C files; restructuring.
...
This moves the libespeak source (*.cpp) files to src/libespeak-ng
and renames the C files (libespeak, espeak, speak) so they have
a .c file extension.
2015-12-09 23:33:00 +00:00
Reece H. Dunn
1e01ce9202
Use C linkage for all libespeak internal headers.
...
The libespeak files are supposed to be C code, so use C linkage
for all the functions defined in that code when they are being
referenced in the C++ code (i.e. espeakedit).
2015-12-09 22:35:48 +00:00
Reece H. Dunn
5b3cf74f21
Remove StdAfx.h
...
StdAfx.h is only needed for Microsoft Visual Studio C++ projects
that specify the "use pre-compiled headers" setting.
2015-12-09 21:18:49 +00:00
Reece H. Dunn
ebb5c28c9c
Remove portaudio1{8,9}.h -- these are included from the system.
2015-12-09 20:58:59 +00:00
Reece H. Dunn
2ce955c387
Remove tr_languages.h -- it is not used and is empty.
2015-12-09 20:48:03 +00:00
Reece H. Dunn
c885d1543e
Take the mbrola voice sample rate from the mbrola wav file.
2015-12-07 20:36:00 +00:00
Reece H. Dunn
9826e9cc30
Initial support for SSML phoneme tags.
2015-11-28 13:57:56 +00:00
Reece H. Dunn
910a4129ba
Free w_list in MakeWordFreqList on exit.
2015-10-04 17:03:46 +01:00
Reece H. Dunn
7dfbdb56ea
Fix the logic in Lexicon_It to avoid leaking f_list_in when pass is not 1 or 2.
2015-10-04 17:01:26 +01:00
Reece H. Dunn
01dc335708
Close f_in on error in Lexicon_It.
2015-10-04 16:56:51 +01:00
Reece H. Dunn
ae1a016e58
Close f_in on error in Lexicon_De.
2015-10-04 16:55:38 +01:00
Reece H. Dunn
fd687c3162
Close f on error in LoadDictionary.
2015-10-04 16:53:34 +01:00
Reece H. Dunn
c39564c11f
Close f_in on error in CompileDictionary.
2015-10-04 16:48:42 +01:00
Reece H. Dunn
0b7a5a6ff1
Free new_translator on error in LoadVoice.
2015-10-04 16:46:25 +01:00
Reece H. Dunn
ebd64d961b
Fix a file leak in MakeVowelLists.
2015-10-04 15:42:54 +01:00
Reece H. Dunn
66eaac1d6c
Free f_prog_log on error in MakeVowelLists.
2015-10-04 15:37:30 +01:00
Reece H. Dunn
a77a4330ec
Free f_in in VowelChartList on exit.
2015-10-04 15:33:29 +01:00
Reece H. Dunn
6722fdaca2
Free frame on error in SpectSeq::Load2.
2015-10-04 15:10:12 +01:00
Reece H. Dunn
72d8be8c89
Free f_logespeak in LoadConfig if it has already been loaded.
2015-10-04 15:01:10 +01:00